summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsys
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libsys')
-rw-r--r--usr/src/lib/libsys/Makefile.com4
-rw-r--r--usr/src/lib/libsys/common/mapfile-vers (renamed from usr/src/lib/libsys/sparc/mapfile-vers)476
-rw-r--r--usr/src/lib/libsys/i386/mapfile-vers395
3 files changed, 253 insertions, 622 deletions
diff --git a/usr/src/lib/libsys/Makefile.com b/usr/src/lib/libsys/Makefile.com
index 86630ea862..cd829c5c1b 100644
--- a/usr/src/lib/libsys/Makefile.com
+++ b/usr/src/lib/libsys/Makefile.com
@@ -19,8 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
#
LIBRARY = libsys.a
@@ -30,7 +29,6 @@ VERS = .1
# the soname.
SONAME = /usr/lib/ld.so.1
DYNFLAGS += -F /usr/lib/libc.so.1
-MAPFILEDIR = . # redirect mapfile-vers
COMSRC = $(COMOBJ:%.o=%.c)
MACHSRC = $(MACHOBJ:%.o=%.s)
diff --git a/usr/src/lib/libsys/sparc/mapfile-vers b/usr/src/lib/libsys/common/mapfile-vers
index 01dc7ecd0f..c847354409 100644
--- a/usr/src/lib/libsys/sparc/mapfile-vers
+++ b/usr/src/lib/libsys/common/mapfile-vers
@@ -1,6 +1,5 @@
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
#
# CDDL HEADER START
#
@@ -36,388 +35,417 @@
# MAPFILE HEADER END
#
-SISCD_2.3 {
+$mapfile_version 2
+
+$if !_ELF32
+$error libsys is only supported in 32-bit form
+$endif
+
+$if _sparc
+SYMBOL_VERSION SISCD_2.3 {
global:
SISCD_2.3;
- local:
- *;
} SYSVABI_1.3;
+$endif
-SYSVABI_1.3 {
+SYMBOL_VERSION SYSVABI_1.3 {
global:
- makecontext;
- swapcontext;
_makecontext;
+ makecontext;
_swapcontext;
+ swapcontext;
+ local:
+ *;
} SYSVABI_1.2;
-SYSVABI_1.2 {
+SYMBOL_VERSION SYSVABI_1.2 {
global:
+ _access;
access;
+ _acct;
acct;
+ _alarm;
alarm;
+ _altzone;
atexit;
- .div;
- .mul;
- .rem;
- .stret1;
- .stret2;
- .stret4;
- .stret8;
- .udiv;
- .umul;
- .urem;
- _Q_add;
- _Q_cmp;
- _Q_cmpe;
- _Q_div;
- _Q_dtoq;
- _Q_feq;
- _Q_fge;
- _Q_fgt;
- _Q_fle;
- _Q_flt;
- _Q_fne;
- _Q_itoq;
- _Q_mul;
- _Q_neg;
- _Q_qtod;
- _Q_qtoi;
- _Q_qtos;
- _Q_qtou;
- _Q_sqrt;
- _Q_stoq;
- _Q_sub;
- _Q_utoq;
- chdir;
- fchdir;
- chmod;
- fchmod;
- chown;
- lchown;
- fchown;
- chroot;
- close;
- creat;
- closedir;
- opendir;
- readdir;
- rewinddir;
- seekdir;
- telldir;
- dup;
- __dtou;
- __ftou;
- _alarm;
- _fcntl;
- _fork;
- _rename;
- _sigaction;
- _siglongjmp;
- _sigprocmask;
- exit;
- _exit;
- fattach;
- fdetach;
- fcntl;
- fork;
- fpathconf;
- pathconf;
- fsync;
- ftok;
- getcontext;
- setcontext;
- getcwd;
- getgrnam;
- getgrgid;
- getgroups;
- setgroups;
- getlogin;
- getmsg;
- getpmsg;
- getpid;
- getpgrp;
- getppid;
- getpgid;
- getpwnam;
- getpwuid;
- getrlimit;
- setrlimit;
- getsid;
- gettxt;
- getuid;
- geteuid;
- getgid;
- getegid;
- grantpt;
- initgroups;
- ioctl;
- isastream;
- kill;
- link;
- localeconv;
- lseek;
- malloc;
calloc;
- free;
- realloc;
- memcntl;
- mkdir;
- mknod;
- mlock;
- munlock;
- mmap;
- mount;
- mprotect;
- msgctl;
- msgget;
- msgrcv;
- msgsnd;
- msync;
- munmap;
- nice;
- open;
- pause;
- pipe;
- poll;
- profil;
- ptrace;
- ptsname;
- putmsg;
- putpmsg;
- read;
- readv;
- readlink;
- remove;
- rename;
- rmdir;
- setlocale;
- setpgid;
- setpgrp;
- setsid;
- setuid;
- setgid;
- shmctl;
- shmget;
- shmat;
- shmdt;
- sigaction;
- sigaltstack;
- signal;
- sigset;
- sighold;
- sigrelse;
- sigignore;
- sigpause;
- sigemptyset;
- sigfillset;
- sigaddset;
- sigdelset;
- sigismember;
- sigpending;
- sigprocmask;
- sigsend;
- sigsendset;
- sigsuspend;
- stat;
- lstat;
- fstat;
- statvfs;
- fstatvfs;
- stime;
- strcoll;
- strerror;
- strftime;
- strxfrm;
- symlink;
- sync;
- sysconf;
- system;
- time;
- times;
- ttyname;
- ulimit;
- umask;
- umount;
- uname;
- unlink;
- unlockpt;
- utime;
- wait;
- waitid;
- waitpid;
- write;
- writev;
- __ctype;
- __huge_val;
- _access;
- _acct;
- _altzone;
_catclose;
+ catclose;
_catgets;
+ catgets;
_catopen;
+ catopen;
_chdir;
+ chdir;
_chmod;
+ chmod;
_chown;
+ chown;
_chroot;
+ chroot;
_close;
+ close;
_closedir;
+ closedir;
_creat;
+ creat;
+ __ctype;
_daylight;
+ daylight;
_dup;
+ dup;
_environ;
+ environ;
_execl;
+ execl;
_execle;
+ execle;
_execlp;
+ execlp;
_execv;
+ execv;
_execve;
+ execve;
_execvp;
+ execvp;
+ _exit;
+ exit;
_fattach;
+ fattach;
_fchdir;
+ fchdir;
_fchmod;
+ fchmod;
_fchown;
+ fchown;
+ _fcntl;
+ fcntl;
_fdetach;
+ fdetach;
+ _fork;
+ fork;
_fpathconf;
+ fpathconf;
+ free;
_fstat;
+ fstat;
_fstatvfs;
+ fstatvfs;
_fsync;
+ fsync;
_ftok;
+ ftok;
_getcontext;
+ getcontext;
_getcwd;
+ getcwd;
_getegid;
+ getegid;
_geteuid;
+ geteuid;
_getgid;
+ getgid;
_getgrgid;
+ getgrgid;
_getgrnam;
+ getgrnam;
_getgroups;
+ getgroups;
_getlogin;
+ getlogin;
_getmsg;
+ getmsg;
_getpgid;
+ getpgid;
_getpgrp;
+ getpgrp;
_getpid;
+ getpid;
_getpmsg;
+ getpmsg;
_getppid;
+ getppid;
_getpwnam;
+ getpwnam;
_getpwuid;
+ getpwuid;
_getrlimit;
+ getrlimit;
_getsid;
+ getsid;
_gettxt;
+ gettxt;
_getuid;
+ getuid;
_grantpt;
+ grantpt;
+ __huge_val;
_initgroups;
+ initgroups;
_ioctl;
+ ioctl;
_isastream;
+ isastream;
_kill;
+ kill;
_lchown;
+ lchown;
_link;
+ link;
+ localeconv;
_lseek;
+ lseek;
_lstat;
+ lstat;
+ malloc;
_memcntl;
+ memcntl;
_mkdir;
+ mkdir;
_mknod;
+ mknod;
_mlock;
- _mmap = NODYNSORT;
+ mlock;
+ mmap;
_mount;
+ mount;
_mprotect;
+ mprotect;
_msgctl;
+ msgctl;
_msgget;
+ msgget;
_msgrcv;
+ msgrcv;
_msgsnd;
+ msgsnd;
_msync;
+ msync;
_munlock;
+ munlock;
_munmap;
+ munmap;
_nice;
+ nice;
_numeric;
_open;
+ open;
_opendir;
+ opendir;
_pathconf;
+ pathconf;
_pause;
+ pause;
_pipe;
+ pipe;
_poll;
+ poll;
_profil;
+ profil;
_ptrace;
+ ptrace;
_ptsname;
+ ptsname;
_putmsg;
+ putmsg;
_putpmsg;
+ putpmsg;
_read;
+ read;
_readdir;
+ readdir;
_readlink;
+ readlink;
_readv;
+ readv;
+ realloc;
+ remove;
+ _rename;
+ rename;
_rewinddir;
+ rewinddir;
_rmdir;
+ rmdir;
_seekdir;
+ seekdir;
_semctl;
+ semctl;
_semget;
+ semget;
_semop;
+ semop;
_setcontext;
+ setcontext;
_setgid;
+ setgid;
_setgroups;
+ setgroups;
+ setlocale;
_setpgid;
+ setpgid;
_setpgrp;
+ setpgrp;
_setrlimit;
+ setrlimit;
_setsid;
+ setsid;
_setuid;
+ setuid;
_shmat;
+ shmat;
_shmctl;
+ shmctl;
_shmdt;
+ shmdt;
_shmget;
+ shmget;
+ _sigaction;
+ sigaction;
_sigaddset;
+ sigaddset;
_sigaltstack;
+ sigaltstack;
_sigdelset;
+ sigdelset;
_sigemptyset;
+ sigemptyset;
_sigfillset;
+ sigfillset;
_sighold;
+ sighold;
_sigignore;
+ sigignore;
_sigismember;
+ sigismember;
+ _siglongjmp;
+ siglongjmp;
+ signal;
_sigpause;
+ sigpause;
_sigpending;
+ sigpending;
+ _sigprocmask;
+ sigprocmask;
_sigrelse;
+ sigrelse;
_sigsend;
+ sigsend;
_sigsendset;
+ sigsendset;
_sigset;
+ sigset;
_sigsetjmp;
+ sigsetjmp;
_sigsuspend;
+ sigsuspend;
_stat;
+ stat;
_statvfs;
+ statvfs;
_stime;
+ stime;
+ strcoll;
+ strerror;
+ strftime;
+ strxfrm;
_symlink;
+ symlink;
_sync;
+ sync;
_sysconf;
+ sysconf;
+ system;
_telldir;
+ telldir;
_time;
+ time;
_times;
+ times;
_timezone;
+ timezone;
_ttyname;
+ ttyname;
_tzname;
+ tzname;
_ulimit;
+ ulimit;
_umask;
+ umask;
_umount;
+ umount;
_uname;
+ uname;
_unlink;
+ unlink;
_unlockpt;
+ unlockpt;
_utime;
+ utime;
_wait;
+ wait;
_waitid;
+ waitid;
_waitpid;
+ waitpid;
_write;
+ write;
_writev;
- catclose;
- catgets;
- catopen;
- daylight;
- environ;
- execl;
- execle;
- execlp;
- execv;
- execve;
- execvp;
- semctl;
- semget;
- semop;
- siglongjmp;
- sigsetjmp;
- timezone;
- tzname;
-};
+ writev;
+$if _sparc
+ # Sparc-only interfaces
+ _Q_add;
+ _Q_cmp;
+ _Q_cmpe;
+ _Q_div;
+ _Q_dtoq;
+ _Q_feq;
+ _Q_fge;
+ _Q_fgt;
+ _Q_fle;
+ _Q_flt;
+ _Q_fne;
+ _Q_itoq;
+ _Q_mul;
+ _Q_neg;
+ _Q_qtod;
+ _Q_qtoi;
+ _Q_qtos;
+ _Q_qtou;
+ _Q_sqrt;
+ _Q_stoq;
+ _Q_sub;
+ _Q_utoq;
+ .div;
+ __dtou;
+ __ftou;
+ _mmap { FLAGS = NODYNSORT };
+ .mul;
+ .rem;
+ .stret1;
+ .stret2;
+ .stret4;
+ .stret8;
+ .udiv;
+ .umul;
+ .urem;
+$endif
+
+$if _x86
+ # X86-only interfaces
+ __flt_rounds;
+ _fp_hw;
+ _fpstart;
+ _fxstat;
+ _lxstat;
+ _mmap;
+ _nuname;
+ nuname;
+ _sbrk;
+ sbrk;
+ _xmknod;
+ _xstat;
+$endif
+
+
+};
diff --git a/usr/src/lib/libsys/i386/mapfile-vers b/usr/src/lib/libsys/i386/mapfile-vers
deleted file mode 100644
index 3925b47925..0000000000
--- a/usr/src/lib/libsys/i386/mapfile-vers
+++ /dev/null
@@ -1,395 +0,0 @@
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# MAPFILE HEADER START
-#
-# WARNING: STOP NOW. DO NOT MODIFY THIS FILE.
-# Object versioning must comply with the rules detailed in
-#
-# usr/src/lib/README.mapfiles
-#
-# You should not be making modifications here until you've read the most current
-# copy of that file. If you need help, contact a gatekeeper for guidance.
-#
-# MAPFILE HEADER END
-#
-
-SYSVABI_1.3 {
- global:
- _makecontext;
- makecontext;
- swapcontext;
- _swapcontext;
- local:
- *;
-} SYSVABI_1.2;
-
-SYSVABI_1.2 {
- global:
- _fdetach;
- munlock;
- geteuid;
- setlocale;
- lchown;
- _sigsendset;
- _tzname;
- execl;
- fattach;
- _getrlimit;
- _execlp;
- _getsid;
- _msgget;
- _rmdir;
- _ptsname;
- _waitpid;
- pathconf;
- sigfillset;
- profil;
- shmget;
- sysconf;
- __ctype;
- _getgrgid;
- _sigaddset;
- _ulimit;
- execle;
- fchown;
- fdetach;
- getgid;
- getgroups;
- __huge_val;
- _execv;
- _gettxt;
- _msgrcv;
- _sbrk;
- _grantpt;
- _sigsend;
- mprotect;
- ptrace;
- shmat;
- system;
- _access;
- _putpmsg;
- catclose;
- _umask;
- execlp;
- chroot;
- fcntl;
- getegid;
- fpathconf;
- sigaddset;
- _execve;
- _getuid;
- _msgsnd;
- _semctl;
- _getgrnam;
- _sigismember;
- setgroups;
- _catclose;
- ptsname;
- shmdt;
- time;
- _acct;
- _initgroups;
- _umount;
- execv;
- close;
- fork;
- grantpt;
- readlink;
- _execvp;
- _ioctl;
- _msync;
- _semget;
- _readdir;
- siglongjmp;
- _sigaction;
- sigdelset;
- mmap;
- putmsg;
- signal;
- times;
- _getgroups;
- _sigdelset;
- _uname;
- execve;
- creat;
- fsync;
- ioctl;
- getlogin;
- _daylight;
- _fchdir;
- _kill;
- _munmap;
- _semop;
- _memcntl;
- _sigsetjmp;
- sigaction;
- mount;
- putpmsg;
- sigset;
- ttyname;
- _setcontext;
- daylight;
- _setuid;
- _unlink;
- execvp;
- opendir;
- ftok;
- kill;
- _siglongjmp;
- sigprocmask;
- _fchmod;
- _lchown;
- _nice;
- _setgid;
- _getlogin;
- _sigemptyset;
- getpwnam;
- _catopen;
- msgctl;
- read;
- sighold;
- ulimit;
- _numeric;
- _timezone;
- _shmat;
- _utime;
- nuname;
- readdir;
- getcwd;
- link;
- sigaltstack;
- _fchown;
- _link;
- _nuname;
- _setsid;
- _seekdir;
- _sigprocmask;
- sigsendset;
- msgget;
- readv;
- sigsend;
- umask;
- _getpmsg;
- _sigfillset;
- _shmctl;
- _wait;
- sbrk;
- access;
- seekdir;
- getmsg;
- lseek;
- getpwuid;
- _catgets;
- _chdir;
- _fp_hw;
- _lseek;
- _open;
- _mprotect;
- _statvfs;
- sigrelse;
- msgrcv;
- remove;
- stat;
- umount;
- _getcontext;
- _setpgid;
- _shmdt;
- _waitid;
- semctl;
- acct;
- telldir;
- getpmsg;
- malloc;
- getcontext;
- sigsuspend;
- _chmod;
- _fstat;
- _lstat;
- _pause;
- _sighold;
- getrlimit;
- _fpstart;
- msgsnd;
- rename;
- lstat;
- uname;
- _pathconf;
- _ttyname;
- _shmget;
- _write;
- semget;
- alarm;
- dup;
- getpid;
- calloc;
- sigignore;
- _chown;
- _fsync;
- _lxstat;
- _pipe;
- _fstatvfs;
- _setpgrp;
- timezone;
- setcontext;
- fstatvfs;
- msync;
- rmdir;
- fstat;
- unlink;
- _isastream;
- _sigpause;
- _sigset;
- _writev;
- semop;
- atexit;
- _alarm;
- getpgrp;
- free;
- setrlimit;
- _closedir;
- _chroot;
- _ftok;
- _mkdir;
- _poll;
- _munlock;
- _symlink;
- sigpause;
- munmap;
- setpgid;
- statvfs;
- utime;
- _getpgrp;
- _setgroups;
- _stat;
- _xmknod;
- sigsetjmp;
- chdir;
- _fcntl;
- getppid;
- realloc;
- localeconv;
- strerror;
- _close;
- _fxstat;
- _mknod;
- _profil;
- _getppid;
- _sigpending;
- initgroups;
- _environ;
- nice;
- setpgrp;
- stime;
- wait;
- _opendir;
- _sysconf;
- _stime;
- _xstat;
- fchdir;
- _fork;
- getpgid;
- memcntl;
- rewinddir;
- sigismember;
- _creat;
- _getcwd;
- _mlock;
- _ptrace;
- _getpgid;
- _sigignore;
- isastream;
- strftime;
- open;
- setsid;
- strcoll;
- waitid;
- _getpwnam;
- _sigrelse;
- _sync;
- catgets;
- chmod;
- _rename;
- getsid;
- mkdir;
- _fpathconf;
- _dup;
- _getgid;
- _mmap;
- _putmsg;
- _readlink;
- _telldir;
- __flt_rounds;
- sigpending;
- pause;
- setuid;
- strxfrm;
- waitpid;
- _getegid;
- _sigaltstack;
- _time;
- catopen;
- fchmod;
- exit;
- gettxt;
- mknod;
- getgrnam;
- unlockpt;
- _execl;
- _getmsg;
- _mount;
- _read;
- _getpwuid;
- _sigsuspend;
- _fattach;
- pipe;
- setgid;
- symlink;
- write;
- _rewinddir;
- _unlockpt;
- _times;
- environ;
- chown;
- _exit;
- getuid;
- mlock;
- closedir;
- sigemptyset;
- _execle;
- _getpid;
- _msgctl;
- _readv;
- _geteuid;
- _setrlimit;
- getgrgid;
- _altzone;
- poll;
- shmctl;
- sync;
- writev;
- tzname;
-};
-