summaryrefslogtreecommitdiff
path: root/usr/src/lib/libthread
diff options
context:
space:
mode:
authorstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
committerstevel@tonic-gate <none@none>2005-06-14 00:00:00 -0700
commit7c478bd95313f5f23a4c958a745db2134aa03244 (patch)
treec871e58545497667cbb4b0a4f2daf204743e1fe7 /usr/src/lib/libthread
downloadillumos-gate-7c478bd95313f5f23a4c958a745db2134aa03244.tar.gz
OpenSolaris Launch
Diffstat (limited to 'usr/src/lib/libthread')
-rw-r--r--usr/src/lib/libthread/Makefile49
-rw-r--r--usr/src/lib/libthread/Makefile.com61
-rw-r--r--usr/src/lib/libthread/amd64/Makefile34
-rw-r--r--usr/src/lib/libthread/amd64/mapfile-vers432
-rw-r--r--usr/src/lib/libthread/common/llib-lthread32
-rw-r--r--usr/src/lib/libthread/i386/Makefile31
-rw-r--r--usr/src/lib/libthread/i386/mapfile-vers437
-rw-r--r--usr/src/lib/libthread/sparc/Makefile31
-rw-r--r--usr/src/lib/libthread/sparc/mapfile-vers450
-rw-r--r--usr/src/lib/libthread/sparcv9/Makefile34
-rw-r--r--usr/src/lib/libthread/sparcv9/mapfile-vers432
11 files changed, 2023 insertions, 0 deletions
diff --git a/usr/src/lib/libthread/Makefile b/usr/src/lib/libthread/Makefile
new file mode 100644
index 0000000000..a6afdbbb90
--- /dev/null
+++ b/usr/src/lib/libthread/Makefile
@@ -0,0 +1,49 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (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
+#
+#
+# Copyright 1999-2003 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+include ../Makefile.lib
+
+SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
+
+all := TARGET= all
+clean := TARGET= clean
+clobber := TARGET= clobber
+install := TARGET= install
+lint := TARGET= lint
+
+.KEEP_STATE:
+
+all clean clobber install: $(SUBDIRS)
+
+lint: $(SUBDIRS)
+
+$(SUBDIRS): FRC
+ @cd $@; pwd; $(MAKE) $(TARGET)
+
+FRC:
diff --git a/usr/src/lib/libthread/Makefile.com b/usr/src/lib/libthread/Makefile.com
new file mode 100644
index 0000000000..f193f22a6b
--- /dev/null
+++ b/usr/src/lib/libthread/Makefile.com
@@ -0,0 +1,61 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (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
+#
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+LIBRARY = libthread.a
+VERS = .1
+
+include ../../Makefile.lib
+include ../../Makefile.rootfs
+
+MAPFILES= mapfile-vers $(MAPFILE-FLTR)
+MAPOPTS= $(MAPFILES:%=-M %)
+
+DYNFLAGS += -F libc.so.1 $(MAPOPTS)
+
+LIBS = $(DYNLIB) $(LINTLIB)
+
+SRCDIR = ../common
+$(LINTLIB) := SRCS = $(SRCDIR)/llib-lthread
+
+
+# Redefine shared object build rule to use $(LD) directly (this avoids .init
+# and .fini sections being added). Also, since there are no OBJECTS, turn
+# off CTF.
+
+BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS)
+CTFMERGE_LIB= :
+
+.KEEP_STATE:
+
+include ../../Makefile.targ
+
+all: $(LIBS)
+
+lint:
+
+$(DYNLIB): $(MAPFILES)
diff --git a/usr/src/lib/libthread/amd64/Makefile b/usr/src/lib/libthread/amd64/Makefile
new file mode 100644
index 0000000000..9c1d6cf6cd
--- /dev/null
+++ b/usr/src/lib/libthread/amd64/Makefile
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (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
+#
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+include ../Makefile.com
+include ../../Makefile.lib.64
+
+BUILD.SO= $(LD) -o $@ -G -64 $(DYNFLAGS)
+
+install: all $(ROOTLIBDIR64) .WAIT $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/libthread/amd64/mapfile-vers b/usr/src/lib/libthread/amd64/mapfile-vers
new file mode 100644
index 0000000000..f4a4e58730
--- /dev/null
+++ b/usr/src/lib/libthread/amd64/mapfile-vers
@@ -0,0 +1,432 @@
+#
+# Copyright 2005 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, Version 1.0 only
+# (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
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+#
+# DO NOT TOUCH THIS FILE.
+# This file declares interfaces that are cast in stone.
+# They offer interfaces that will never change.
+# DO NOT TOUCH THIS FILE.
+#
+
+SUNW_1.6.1 {
+ global:
+ _stack_grow = FUNCTION;
+ local:
+ *;
+} SUNW_1.6;
+
+SUNW_1.6 {
+ global:
+ pthread_cond_reltimedwait_np = FUNCTION;
+ cond_reltimedwait = FUNCTION;
+} SUNW_1.5;
+
+SUNW_1.5 {
+ global:
+ pthread_mutexattr_setrobust_np = FUNCTION;
+ pthread_mutexattr_getrobust_np = FUNCTION;
+ pthread_mutex_consistent_np = FUNCTION;
+} SUNW_1.4;
+
+SUNW_1.4 {
+ global:
+ pthread_attr_getguardsize = FUNCTION;
+ pthread_attr_setguardsize = FUNCTION;
+ pthread_getconcurrency = FUNCTION;
+ pthread_rwlock_destroy = FUNCTION;
+ pthread_rwlock_init = FUNCTION;
+ pthread_rwlock_rdlock = FUNCTION;
+ pthread_rwlock_tryrdlock = FUNCTION;
+ pthread_rwlock_trywrlock = FUNCTION;
+ pthread_rwlock_unlock = FUNCTION;
+ pthread_rwlock_wrlock = FUNCTION;
+ pthread_rwlockattr_destroy = FUNCTION;
+ pthread_rwlockattr_getpshared = FUNCTION;
+ pthread_rwlockattr_init = FUNCTION;
+ pthread_rwlockattr_setpshared = FUNCTION;
+ pthread_setconcurrency = FUNCTION;
+ __xpg4_putmsg = FUNCTION;
+ __xpg4_putpmsg = FUNCTION;
+ getmsg = FUNCTION;
+ getpmsg = FUNCTION;
+ lockf = FUNCTION;
+ msgrcv = FUNCTION;
+ msgsnd = FUNCTION;
+ poll = FUNCTION;
+ putmsg = FUNCTION;
+ putpmsg = FUNCTION;
+ select = FUNCTION;
+ sigpause = FUNCTION;
+ usleep = FUNCTION;
+ wait3 = FUNCTION;
+ waitid = FUNCTION;
+ pthread_mutexattr_gettype = FUNCTION;
+ pthread_mutexattr_settype = FUNCTION;
+ pread = FUNCTION;
+ pwrite = FUNCTION;
+ readv = FUNCTION;
+ writev = FUNCTION;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ kill = FUNCTION;
+} SUNW_0.9;
+
+SUNW_0.9 {
+ global:
+ pthread_attr_destroy = FUNCTION;
+ pthread_attr_getdetachstate = FUNCTION;
+ pthread_attr_getinheritsched = FUNCTION;
+ pthread_attr_getschedparam = FUNCTION;
+ pthread_attr_getschedpolicy = FUNCTION;
+ pthread_attr_getscope = FUNCTION;
+ pthread_attr_getstackaddr = FUNCTION;
+ pthread_attr_getstacksize = FUNCTION;
+ pthread_attr_init = FUNCTION;
+ pthread_attr_setdetachstate = FUNCTION;
+ pthread_attr_setinheritsched = FUNCTION;
+ pthread_attr_setschedparam = FUNCTION;
+ pthread_attr_setschedpolicy = FUNCTION;
+ pthread_attr_setscope = FUNCTION;
+ pthread_attr_setstackaddr = FUNCTION;
+ pthread_attr_setstacksize = FUNCTION;
+ pthread_cancel = FUNCTION;
+ __pthread_cleanup_pop = FUNCTION;
+ __pthread_cleanup_push = FUNCTION;
+ pthread_cond_broadcast = FUNCTION;
+ pthread_cond_destroy = FUNCTION;
+ pthread_cond_init = FUNCTION;
+ pthread_cond_signal = FUNCTION;
+ pthread_cond_timedwait = FUNCTION;
+ pthread_cond_wait = FUNCTION;
+ pthread_condattr_destroy = FUNCTION;
+ pthread_condattr_getpshared = FUNCTION;
+ pthread_condattr_init = FUNCTION;
+ pthread_condattr_setpshared = FUNCTION;
+ pthread_create = FUNCTION;
+ pthread_detach = FUNCTION;
+ pthread_equal = FUNCTION;
+ pthread_exit = FUNCTION;
+ pthread_getschedparam = FUNCTION;
+ pthread_getspecific = FUNCTION;
+ pthread_join = FUNCTION;
+ pthread_key_create = FUNCTION;
+ pthread_key_delete = FUNCTION;
+ pthread_kill = FUNCTION;
+ pthread_mutex_destroy = FUNCTION;
+ pthread_mutex_getprioceiling = FUNCTION;
+ pthread_mutex_init = FUNCTION;
+ pthread_mutex_lock = FUNCTION;
+ pthread_mutex_setprioceiling = FUNCTION;
+ pthread_mutex_trylock = FUNCTION;
+ pthread_mutex_unlock = FUNCTION;
+ pthread_mutexattr_destroy = FUNCTION;
+ pthread_mutexattr_getprioceiling = FUNCTION;
+ pthread_mutexattr_getprotocol = FUNCTION;
+ pthread_mutexattr_getpshared = FUNCTION;
+ pthread_mutexattr_init = FUNCTION;
+ pthread_mutexattr_setprioceiling = FUNCTION;
+ pthread_mutexattr_setprotocol = FUNCTION;
+ pthread_mutexattr_setpshared = FUNCTION;
+ pthread_once = FUNCTION;
+ pthread_self = FUNCTION;
+ pthread_setcancelstate = FUNCTION;
+ pthread_setcanceltype = FUNCTION;
+ pthread_setschedparam = FUNCTION;
+ pthread_setspecific = FUNCTION;
+ pthread_sigmask = FUNCTION;
+ pthread_testcancel = FUNCTION;
+ thr_main = FUNCTION;
+ thr_stksegment = FUNCTION;
+ alarm = FUNCTION;
+ close = FUNCTION;
+ creat = FUNCTION;
+ fcntl = FUNCTION;
+ fork = FUNCTION;
+ fsync = FUNCTION;
+ msync = FUNCTION;
+ open = FUNCTION;
+ pause = FUNCTION;
+ read = FUNCTION;
+ setitimer = FUNCTION;
+ sigsetjmp = FUNCTION;
+ sigsuspend = FUNCTION;
+ tcdrain = FUNCTION;
+ wait = FUNCTION;
+ waitpid = FUNCTION;
+ write = FUNCTION;
+ sigpending = FUNCTION;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ thr_continue = FUNCTION;
+ thr_create = FUNCTION;
+ thr_exit = FUNCTION;
+ thr_getconcurrency = FUNCTION;
+ thr_getprio = FUNCTION;
+ thr_getspecific = FUNCTION;
+ thr_join = FUNCTION;
+ thr_keycreate = FUNCTION;
+ thr_kill = FUNCTION;
+ thr_min_stack = FUNCTION;
+ thr_self = FUNCTION;
+ thr_setconcurrency = FUNCTION;
+ thr_setprio = FUNCTION;
+ thr_setspecific = FUNCTION;
+ thr_sigsetmask = FUNCTION;
+ thr_suspend = FUNCTION;
+ thr_yield = FUNCTION;
+ lwp_self = FUNCTION;
+ cond_broadcast = FUNCTION;
+ cond_destroy = FUNCTION;
+ cond_init = FUNCTION;
+ cond_signal = FUNCTION;
+ cond_timedwait = FUNCTION;
+ cond_wait = FUNCTION;
+ fork1 = FUNCTION;
+ mutex_destroy = FUNCTION;
+ mutex_init = FUNCTION;
+ mutex_lock = FUNCTION;
+ mutex_trylock = FUNCTION;
+ mutex_unlock = FUNCTION;
+ rw_rdlock = FUNCTION;
+ rw_tryrdlock = FUNCTION;
+ rw_trywrlock = FUNCTION;
+ rw_unlock = FUNCTION;
+ rw_wrlock = FUNCTION;
+ rwlock_destroy = FUNCTION;
+ rwlock_init = FUNCTION;
+ sema_destroy = FUNCTION;
+ sema_init = FUNCTION;
+ sema_post = FUNCTION;
+ sema_trywait = FUNCTION;
+ sema_wait = FUNCTION;
+ _getfp = FUNCTION;
+ sigaction = FUNCTION;
+ sigprocmask = FUNCTION;
+ sigwait = FUNCTION;
+ sleep = FUNCTION;
+ setcontext = FUNCTION;
+ _mutex_held = FUNCTION;
+ _rw_read_held = FUNCTION;
+ _rw_write_held = FUNCTION;
+ _sema_held = FUNCTION;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _pthread_rwlock_trywrlock = FUNCTION;
+ _resume = FUNCTION;
+ _resume_ret = FUNCTION;
+ _canceloff = FUNCTION;
+ _cancelon = FUNCTION;
+ __pthread_min_stack = FUNCTION;
+ _pthread_mutexattr_gettype = FUNCTION;
+ _pthread_mutexattr_settype = FUNCTION;
+ _pthread_setcleanupinit = FUNCTION;
+ _pthread_rwlockattr_setpshared = FUNCTION;
+ _pthread_create = FUNCTION;
+ _pthread_join = FUNCTION;
+ _pthread_detach = FUNCTION;
+ _pthread_once = FUNCTION;
+ _pthread_equal = FUNCTION;
+ _pthread_setschedparam = FUNCTION;
+ _pthread_getschedparam = FUNCTION;
+ _pthread_getspecific = FUNCTION;
+ _pthread_setspecific = FUNCTION;
+ _pthread_key_create = FUNCTION;
+ _pthread_key_delete = FUNCTION;
+ _pthread_exit = FUNCTION;
+ _pthread_kill = FUNCTION;
+ _pthread_self = FUNCTION;
+ _pthread_sigmask = FUNCTION;
+ _pthread_cancel = FUNCTION;
+ _pthread_testcancel = FUNCTION;
+ _pthread_setcanceltype = FUNCTION;
+ _pthread_setcancelstate = FUNCTION;
+ _pthread_attr_init = FUNCTION;
+ _pthread_attr_destroy = FUNCTION;
+ _pthread_attr_setstacksize = FUNCTION;
+ _pthread_attr_getstacksize = FUNCTION;
+ _pthread_attr_setstackaddr = FUNCTION;
+ _pthread_attr_getstackaddr = FUNCTION;
+ _pthread_attr_setdetachstate = FUNCTION;
+ _pthread_attr_getdetachstate = FUNCTION;
+ _pthread_attr_setscope = FUNCTION;
+ _pthread_attr_getscope = FUNCTION;
+ _pthread_attr_setinheritsched = FUNCTION;
+ _pthread_attr_getinheritsched = FUNCTION;
+ _pthread_attr_setschedpolicy = FUNCTION;
+ _pthread_attr_getschedpolicy = FUNCTION;
+ _pthread_attr_setschedparam = FUNCTION;
+ _pthread_attr_getschedparam = FUNCTION;
+ _pthread_mutexattr_init = FUNCTION;
+ _pthread_mutexattr_destroy = FUNCTION;
+ _pthread_mutexattr_setpshared = FUNCTION;
+ _pthread_mutexattr_getpshared = FUNCTION;
+ _pthread_mutexattr_setprotocol = FUNCTION;
+ _pthread_mutexattr_getprotocol = FUNCTION;
+ _pthread_mutexattr_setprioceiling = FUNCTION;
+ _pthread_mutexattr_getprioceiling = FUNCTION;
+ _pthread_mutex_setprioceiling = FUNCTION;
+ _pthread_mutex_getprioceiling = FUNCTION;
+ _pthread_mutex_init = FUNCTION;
+ _pthread_condattr_init = FUNCTION;
+ _pthread_condattr_destroy = FUNCTION;
+ _pthread_condattr_setpshared = FUNCTION;
+ _pthread_condattr_getpshared = FUNCTION;
+ _pthread_cond_init = FUNCTION;
+ _pthread_mutex_destroy = FUNCTION;
+ _pthread_mutex_lock = FUNCTION;
+ _pthread_mutex_unlock = FUNCTION;
+ _pthread_mutex_trylock = FUNCTION;
+ _pthread_cond_destroy = FUNCTION;
+ _pthread_cond_wait = FUNCTION;
+ _pthread_cond_timedwait = FUNCTION;
+ _pthread_cond_reltimedwait_np = FUNCTION;
+ _pthread_cond_signal = FUNCTION;
+ _pthread_cond_broadcast = FUNCTION;
+ _pthread_attr_getguardsize = FUNCTION;
+ _pthread_attr_setguardsize = FUNCTION;
+ _pthread_getconcurrency = FUNCTION;
+ _pthread_setconcurrency = FUNCTION;
+ _pthread_rwlock_init = FUNCTION;
+ _pthread_rwlock_destroy = FUNCTION;
+ _pthread_rwlock_rdlock = FUNCTION;
+ _pthread_rwlock_tryrdlock = FUNCTION;
+ _pthread_rwlock_wrlock = FUNCTION;
+ _pthread_rwlock_unlock = FUNCTION;
+ _pthread_rwlockattr_init = FUNCTION;
+ _pthread_rwlockattr_destroy = FUNCTION;
+ _pthread_rwlockattr_getpshared = FUNCTION;
+ _pthread_mutexattr_setrobust_np = FUNCTION;
+ _pthread_mutexattr_getrobust_np = FUNCTION;
+ _pthread_mutex_consistent_np = FUNCTION;
+ thr_probe_setup = FUNCTION;
+ __thr_door_unbind = FUNCTION;
+ _thr_detach = FUNCTION;
+ _thr_key_delete = FUNCTION;
+ _thr_continue_allmutators = FUNCTION;
+ _thr_continue_mutator = FUNCTION;
+ _thr_getstate = FUNCTION;
+ _thr_mutators_barrier = FUNCTION;
+ _thr_setmutator = FUNCTION;
+ _thr_setstate = FUNCTION;
+ _thr_sighndlrinfo = FUNCTION;
+ _thr_suspend_allmutators = FUNCTION;
+ _thr_suspend_mutator = FUNCTION;
+ _thr_wait_mutator = FUNCTION;
+ thr_continue_allmutators = FUNCTION;
+ thr_continue_mutator = FUNCTION;
+ thr_getstate = FUNCTION;
+ thr_mutators_barrier = FUNCTION;
+ thr_setmutator = FUNCTION;
+ thr_setstate = FUNCTION;
+ thr_sighndlrinfo = FUNCTION;
+ thr_suspend_allmutators = FUNCTION;
+ thr_suspend_mutator = FUNCTION;
+ thr_wait_mutator = FUNCTION;
+ _cond_broadcast = FUNCTION;
+ _cond_init = FUNCTION;
+ _cond_destroy = FUNCTION;
+ _cond_signal = FUNCTION;
+ _cond_timedwait = FUNCTION;
+ _cond_reltimedwait = FUNCTION;
+ _cond_wait = FUNCTION;
+ _mutex_destroy = FUNCTION;
+ _mutex_init = FUNCTION;
+ _mutex_lock = FUNCTION;
+ _mutex_trylock = FUNCTION;
+ _mutex_unlock = FUNCTION;
+ _rw_rdlock = FUNCTION;
+ _rw_tryrdlock = FUNCTION;
+ _rw_trywrlock = FUNCTION;
+ _rw_unlock = FUNCTION;
+ _rw_wrlock = FUNCTION;
+ _rwlock_init = FUNCTION;
+ _sema_init = FUNCTION;
+ _sema_destroy = FUNCTION;
+ _sema_post = FUNCTION;
+ _sema_trywait = FUNCTION;
+ _sema_wait = FUNCTION;
+ _thr_continue = FUNCTION;
+ _thr_create = FUNCTION;
+ _thr_exit = FUNCTION;
+ _thr_getconcurrency = FUNCTION;
+ _thr_getprio = FUNCTION;
+ _thr_getspecific = FUNCTION;
+ _thr_join = FUNCTION;
+ _thr_keycreate = FUNCTION;
+ _thr_kill = FUNCTION;
+ _thr_self = FUNCTION;
+ _thr_setconcurrency = FUNCTION;
+ _thr_setprio = FUNCTION;
+ _thr_setspecific = FUNCTION;
+ _thr_sigsetmask = FUNCTION;
+ _thr_suspend = FUNCTION;
+ _thr_yield = FUNCTION;
+ _thr_main = FUNCTION;
+ _thr_min_stack = FUNCTION;
+ _thr_stksegment = FUNCTION;
+ __tls_get_addr = FUNCTION;
+ __sigtimedwait = FUNCTION;
+ _getsp = FUNCTION;
+ _rwlock_destroy = FUNCTION;
+ __gettsp = FUNCTION;
+ _assfail = FUNCTION;
+ _sigoff = FUNCTION;
+ _sigon = FUNCTION;
+ __nanosleep = FUNCTION;
+ _fork = FUNCTION;
+ _fork1 = FUNCTION;
+ _setcontext = FUNCTION;
+ _sigaction = FUNCTION;
+ _sigprocmask = FUNCTION;
+ _sigwait = FUNCTION;
+ _sigsuspend = FUNCTION;
+ _sigsetjmp = FUNCTION;
+ _sleep = FUNCTION;
+ _alarm = FUNCTION;
+ _setitimer = FUNCTION;
+ mutex_held = FUNCTION;
+ rw_read_held = FUNCTION;
+ rw_write_held = FUNCTION;
+ sema_held = FUNCTION;
+};
+
diff --git a/usr/src/lib/libthread/common/llib-lthread b/usr/src/lib/libthread/common/llib-lthread
new file mode 100644
index 0000000000..dc50169c18
--- /dev/null
+++ b/usr/src/lib/libthread/common/llib-lthread
@@ -0,0 +1,32 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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
+ */
+/* LINTLIBRARY */
+/* PROTOLIB1 */
+
+/*
+ * Copyright (c) 1999 by Sun Microsystems, Inc.
+ * All rights reserved.
+ */
+#pragma ident "%Z%%M% %I% %E% SMI"
+
+#include <thread.h>
+#include <pthread.h>
diff --git a/usr/src/lib/libthread/i386/Makefile b/usr/src/lib/libthread/i386/Makefile
new file mode 100644
index 0000000000..5a6c1eeff6
--- /dev/null
+++ b/usr/src/lib/libthread/i386/Makefile
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (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
+#
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+include ../Makefile.com
+
+install: all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libthread/i386/mapfile-vers b/usr/src/lib/libthread/i386/mapfile-vers
new file mode 100644
index 0000000000..f9e692cf95
--- /dev/null
+++ b/usr/src/lib/libthread/i386/mapfile-vers
@@ -0,0 +1,437 @@
+#
+# Copyright 2005 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, Version 1.0 only
+# (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
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+#
+# DO NOT TOUCH THIS FILE.
+# This file declares interfaces that are cast in stone.
+# They offer interfaces that will never change.
+# DO NOT TOUCH THIS FILE.
+#
+
+SUNW_1.6.1 {
+ global:
+ _stack_grow = FUNCTION;
+ local:
+ *;
+} SUNW_1.6;
+
+SUNW_1.6 {
+ global:
+ pthread_cond_reltimedwait_np = FUNCTION;
+ cond_reltimedwait = FUNCTION;
+} SUNW_1.5;
+
+SUNW_1.5 {
+ global:
+ pthread_mutexattr_setrobust_np = FUNCTION;
+ pthread_mutexattr_getrobust_np = FUNCTION;
+ pthread_mutex_consistent_np = FUNCTION;
+} SUNW_1.4;
+
+SUNW_1.4 {
+ global:
+ lockf64 = FUNCTION;
+ pthread_rwlock_wrlock = FUNCTION;
+ pthread_rwlock_tryrdlock = FUNCTION;
+ pthread_setconcurrency = FUNCTION;
+ getmsg = FUNCTION;
+ lockf = FUNCTION;
+ pthread_rwlock_trywrlock = FUNCTION;
+ __xpg4_putmsg = FUNCTION;
+ msgrcv = FUNCTION;
+ msgsnd = FUNCTION;
+ __xpg4_putpmsg = FUNCTION;
+ pthread_rwlockattr_destroy = FUNCTION;
+ pthread_getconcurrency = FUNCTION;
+ poll = FUNCTION;
+ pread64 = FUNCTION;
+ putmsg = FUNCTION;
+ pread = FUNCTION;
+ pthread_mutexattr_gettype = FUNCTION;
+ pthread_rwlock_destroy = FUNCTION;
+ select = FUNCTION;
+ pwrite = FUNCTION;
+ pthread_rwlockattr_getpshared = FUNCTION;
+ usleep = FUNCTION;
+ pthread_mutexattr_settype = FUNCTION;
+ putpmsg = FUNCTION;
+ pthread_rwlock_init = FUNCTION;
+ wait3 = FUNCTION;
+ readv = FUNCTION;
+ waitid = FUNCTION;
+ pthread_rwlockattr_init = FUNCTION;
+ sigpause = FUNCTION;
+ pwrite64 = FUNCTION;
+ pthread_attr_getguardsize = FUNCTION;
+ pthread_rwlock_rdlock = FUNCTION;
+ pthread_rwlockattr_setpshared = FUNCTION;
+ getpmsg = FUNCTION;
+ pthread_rwlock_unlock = FUNCTION;
+ pthread_attr_setguardsize = FUNCTION;
+ writev = FUNCTION;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ open64 = FUNCTION;
+ creat64 = FUNCTION;
+ kill = FUNCTION;
+} SUNW_0.9;
+
+SUNW_0.9 {
+ global:
+ pthread_attr_setschedpolicy = FUNCTION;
+ fcntl = FUNCTION;
+ pthread_mutexattr_setpshared = FUNCTION;
+ pthread_once = FUNCTION;
+ pthread_attr_getschedpolicy = FUNCTION;
+ pthread_attr_init = FUNCTION;
+ pthread_cond_timedwait = FUNCTION;
+ pthread_mutex_lock = FUNCTION;
+ pthread_setspecific = FUNCTION;
+ fork = FUNCTION;
+ pthread_mutex_getprioceiling = FUNCTION;
+ thr_main = FUNCTION;
+ pthread_attr_setstackaddr = FUNCTION;
+ pthread_self = FUNCTION;
+ pthread_attr_setscope = FUNCTION;
+ pthread_cond_wait = FUNCTION;
+ pthread_setcancelstate = FUNCTION;
+ fsync = FUNCTION;
+ pthread_attr_getstackaddr = FUNCTION;
+ pthread_mutex_setprioceiling = FUNCTION;
+ msync = FUNCTION;
+ pthread_cancel = FUNCTION;
+ setitimer = FUNCTION;
+ pthread_attr_setstacksize = FUNCTION;
+ __pthread_cleanup_pop = FUNCTION;
+ pthread_condattr_init = FUNCTION;
+ pthread_mutex_trylock = FUNCTION;
+ pthread_testcancel = FUNCTION;
+ open = FUNCTION;
+ pthread_attr_getstacksize = FUNCTION;
+ pthread_create = FUNCTION;
+ sigsetjmp = FUNCTION;
+ pthread_mutexattr_destroy = FUNCTION;
+ __pthread_cleanup_push = FUNCTION;
+ pthread_getschedparam = FUNCTION;
+ pthread_mutex_unlock = FUNCTION;
+ pause = FUNCTION;
+ pthread_condattr_destroy = FUNCTION;
+ pthread_detach = FUNCTION;
+ sigsuspend = FUNCTION;
+ pthread_attr_setdetachstate = FUNCTION;
+ pthread_mutexattr_getpshared = FUNCTION;
+ pthread_equal = FUNCTION;
+ pthread_cond_broadcast = FUNCTION;
+ pthread_key_create = FUNCTION;
+ pthread_mutexattr_init = FUNCTION;
+ pthread_attr_getdetachstate = FUNCTION;
+ thr_stksegment = FUNCTION;
+ pthread_condattr_getpshared = FUNCTION;
+ read = FUNCTION;
+ pthread_exit = FUNCTION;
+ pthread_mutexattr_setprioceiling = FUNCTION;
+ pthread_attr_setschedparam = FUNCTION;
+ pthread_getspecific = FUNCTION;
+ pthread_cond_destroy = FUNCTION;
+ pthread_key_delete = FUNCTION;
+ pthread_setcanceltype = FUNCTION;
+ pthread_mutexattr_getprioceiling = FUNCTION;
+ pthread_mutexattr_getprotocol = FUNCTION;
+ pthread_attr_getschedparam = FUNCTION;
+ pthread_join = FUNCTION;
+ tcdrain = FUNCTION;
+ pthread_attr_destroy = FUNCTION;
+ pthread_cond_init = FUNCTION;
+ pthread_mutex_destroy = FUNCTION;
+ pthread_sigmask = FUNCTION;
+ alarm = FUNCTION;
+ pthread_attr_setinheritsched = FUNCTION;
+ pthread_kill = FUNCTION;
+ waitpid = FUNCTION;
+ pthread_mutexattr_setprotocol = FUNCTION;
+ close = FUNCTION;
+ wait = FUNCTION;
+ pthread_attr_getinheritsched = FUNCTION;
+ pthread_condattr_setpshared = FUNCTION;
+ pthread_attr_getscope = FUNCTION;
+ pthread_cond_signal = FUNCTION;
+ pthread_mutex_init = FUNCTION;
+ pthread_setschedparam = FUNCTION;
+ creat = FUNCTION;
+ write = FUNCTION;
+ sigpending = FUNCTION;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ sigaction = FUNCTION;
+ sema_trywait = FUNCTION;
+ cond_init = FUNCTION;
+ thr_kill = FUNCTION;
+ thr_getconcurrency = FUNCTION;
+ rw_tryrdlock = FUNCTION;
+ sema_wait = FUNCTION;
+ cond_signal = FUNCTION;
+ fork1 = FUNCTION;
+ rw_trywrlock = FUNCTION;
+ lwp_self = FUNCTION;
+ thr_setconcurrency = FUNCTION;
+ cond_timedwait = FUNCTION;
+ thr_min_stack = FUNCTION;
+ rw_unlock = FUNCTION;
+ cond_wait = FUNCTION;
+ _mutex_held = FUNCTION;
+ thr_self = FUNCTION;
+ rw_wrlock = FUNCTION;
+ mutex_destroy = FUNCTION;
+ _rw_read_held = FUNCTION;
+ thr_setprio = FUNCTION;
+ rwlock_destroy = FUNCTION;
+ _rw_write_held = FUNCTION;
+ thr_sigsetmask = FUNCTION;
+ rwlock_init = FUNCTION;
+ sigwait = FUNCTION;
+ mutex_init = FUNCTION;
+ thr_create = FUNCTION;
+ sigprocmask = FUNCTION;
+ mutex_lock = FUNCTION;
+ thr_setspecific = FUNCTION;
+ mutex_unlock = FUNCTION;
+ thr_suspend = FUNCTION;
+ thr_exit = FUNCTION;
+ sema_destroy = FUNCTION;
+ mutex_trylock = FUNCTION;
+ _getfp = FUNCTION;
+ thr_yield = FUNCTION;
+ thr_getprio = FUNCTION;
+ sema_init = FUNCTION;
+ sleep = FUNCTION;
+ thr_join = FUNCTION;
+ thr_continue = FUNCTION;
+ rw_rdlock = FUNCTION;
+ cond_broadcast = FUNCTION;
+ sema_post = FUNCTION;
+ thr_getspecific = FUNCTION;
+ setcontext = FUNCTION;
+ thr_keycreate = FUNCTION;
+ cond_destroy = FUNCTION;
+ _sema_held = FUNCTION;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _thr_suspend_allmutators = FUNCTION;
+ __nanosleep = FUNCTION;
+ _thr_join = FUNCTION;
+ _pthread_setcancelstate = FUNCTION;
+ _thr_detach = FUNCTION;
+ _cond_wait = FUNCTION;
+ _pthread_mutexattr_getprioceiling = FUNCTION;
+ _pthread_mutex_getprioceiling = FUNCTION;
+ _sigoff = FUNCTION;
+ _rwlock_init = FUNCTION;
+ _pthread_setcleanupinit = FUNCTION;
+ _pthread_join = FUNCTION;
+ _pthread_setspecific = FUNCTION;
+ _pthread_attr_destroy = FUNCTION;
+ _pthread_mutex_unlock = FUNCTION;
+ _pthread_rwlock_tryrdlock = FUNCTION;
+ _thr_sighndlrinfo = FUNCTION;
+ thr_suspend_mutator = FUNCTION;
+ _thr_setspecific = FUNCTION;
+ _sigaction = FUNCTION;
+ _thr_keycreate = FUNCTION;
+ _pthread_attr_setinheritsched = FUNCTION;
+ _pthread_mutexattr_destroy = FUNCTION;
+ _mutex_destroy = FUNCTION;
+ _resume = FUNCTION;
+ _pthread_attr_setguardsize = FUNCTION;
+ _sema_init = FUNCTION;
+ _sigon = FUNCTION;
+ _pthread_mutexattr_init = FUNCTION;
+ _pthread_once = FUNCTION;
+ _setcontext = FUNCTION;
+ _thr_kill = FUNCTION;
+ _pthread_create = FUNCTION;
+ _pthread_key_create = FUNCTION;
+ _pthread_attr_setscope = FUNCTION;
+ _pthread_mutex_trylock = FUNCTION;
+ _pthread_getconcurrency = FUNCTION;
+ _thr_setmutator = FUNCTION;
+ thr_wait_mutator = FUNCTION;
+ _thr_stksegment = FUNCTION;
+ __sigtimedwait = FUNCTION;
+ _mutex_init = FUNCTION;
+ _fork = FUNCTION;
+ _pthread_attr_setstacksize = FUNCTION;
+ _resume_ret = FUNCTION;
+ _pthread_mutexattr_setrobust_np = FUNCTION;
+ _pthread_rwlockattr_destroy = FUNCTION;
+ _sema_destroy = FUNCTION;
+ _pthread_attr_getinheritsched = FUNCTION;
+ _pthread_equal = FUNCTION;
+ _pthread_mutexattr_setpshared = FUNCTION;
+ _sigprocmask = FUNCTION;
+ _thr_getstate = FUNCTION;
+ _thr_self = FUNCTION;
+ _fork1 = FUNCTION;
+ _pthread_attr_getguardsize = FUNCTION;
+ _mutex_lock = FUNCTION;
+ _pthread_attr_getstacksize = FUNCTION;
+ __pthread_min_stack = FUNCTION;
+ _pthread_key_delete = FUNCTION;
+ _pthread_attr_getscope = FUNCTION;
+ _pthread_cond_destroy = FUNCTION;
+ thr_mutators_barrier = FUNCTION;
+ _thr_getspecific = FUNCTION;
+ _rwlock_destroy = FUNCTION;
+ _sema_post = FUNCTION;
+ _sleep = FUNCTION;
+ _pthread_exit = FUNCTION;
+ _pthread_condattr_getpshared = FUNCTION;
+ _sigwait = FUNCTION;
+ _thr_setstate = FUNCTION;
+ _thr_setprio = FUNCTION;
+ _pthread_mutexattr_settype = FUNCTION;
+ _pthread_rwlockattr_getpshared = FUNCTION;
+ _mutex_trylock = FUNCTION;
+ _alarm = FUNCTION;
+ _pthread_attr_setschedpolicy = FUNCTION;
+ _pthread_mutexattr_getrobust_np = FUNCTION;
+ _pthread_mutexattr_getpshared = FUNCTION;
+ _sema_trywait = FUNCTION;
+ _pthread_kill = FUNCTION;
+ _pthread_detach = FUNCTION;
+ _pthread_cancel = FUNCTION;
+ _pthread_mutex_init = FUNCTION;
+ _pthread_cond_wait = FUNCTION;
+ _pthread_setconcurrency = FUNCTION;
+ _pthread_rwlock_init = FUNCTION;
+ thr_probe_setup = FUNCTION;
+ _thr_suspend_mutator = FUNCTION;
+ _cond_timedwait = FUNCTION;
+ _sigsuspend = FUNCTION;
+ thr_getstate = FUNCTION;
+ _thr_suspend = FUNCTION;
+ _pthread_attr_setstackaddr = FUNCTION;
+ _mutex_unlock = FUNCTION;
+ _canceloff = FUNCTION;
+ _pthread_condattr_setpshared = FUNCTION;
+ _sema_wait = FUNCTION;
+ _pthread_self = FUNCTION;
+ _pthread_mutex_consistent_np = FUNCTION;
+ _sigsetjmp = FUNCTION;
+ thr_setmutator = FUNCTION;
+ _thr_yield = FUNCTION;
+ _pthread_attr_getschedpolicy = FUNCTION;
+ _pthread_setschedparam = FUNCTION;
+ _pthread_testcancel = FUNCTION;
+ _pthread_condattr_init = FUNCTION;
+ _pthread_cond_signal = FUNCTION;
+ _pthread_mutexattr_setprioceiling = FUNCTION;
+ _pthread_mutexattr_setprotocol = FUNCTION;
+ _pthread_rwlock_rdlock = FUNCTION;
+ _thr_key_delete = FUNCTION;
+ _thr_wait_mutator = FUNCTION;
+ _thr_getconcurrency = FUNCTION;
+ ___tls_get_addr = FUNCTION;
+ _rw_rdlock = FUNCTION;
+ _cancelon = FUNCTION;
+ thr_suspend_allmutators = FUNCTION;
+ _thr_continue = FUNCTION;
+ _pthread_attr_getstackaddr = FUNCTION;
+ _setitimer = FUNCTION;
+ thr_setstate = FUNCTION;
+ _thr_main = FUNCTION;
+ _pthread_rwlock_trywrlock = FUNCTION;
+ _pthread_cond_timedwait = FUNCTION;
+ _rw_tryrdlock = FUNCTION;
+ _pthread_getspecific = FUNCTION;
+ _pthread_cond_init = FUNCTION;
+ _thr_continue_allmutators = FUNCTION;
+ _pthread_rwlock_wrlock = FUNCTION;
+ __thr_door_unbind = FUNCTION;
+ thr_continue_mutator = FUNCTION;
+ _cond_reltimedwait = FUNCTION;
+ __gettsp = FUNCTION;
+ _thr_create = FUNCTION;
+ _pthread_attr_setschedparam = FUNCTION;
+ _pthread_mutexattr_getprotocol = FUNCTION;
+ mutex_held = FUNCTION;
+ _cond_init = FUNCTION;
+ _thr_min_stack = FUNCTION;
+ _pthread_mutexattr_gettype = FUNCTION;
+ _pthread_rwlock_destroy = FUNCTION;
+ _rw_trywrlock = FUNCTION;
+ _pthread_attr_setdetachstate = FUNCTION;
+ _pthread_attr_getschedparam = FUNCTION;
+ _assfail = FUNCTION;
+ _thr_exit = FUNCTION;
+ _pthread_sigmask = FUNCTION;
+ _pthread_setcanceltype = FUNCTION;
+ _pthread_mutex_destroy = FUNCTION;
+ _pthread_cond_broadcast = FUNCTION;
+ _pthread_rwlock_unlock = FUNCTION;
+ _thr_continue_mutator = FUNCTION;
+ thr_sighndlrinfo = FUNCTION;
+ _thr_sigsetmask = FUNCTION;
+ rw_read_held = FUNCTION;
+ _cond_destroy = FUNCTION;
+ __tls_get_addr = FUNCTION;
+ _pthread_rwlockattr_setpshared = FUNCTION;
+ thr_continue_allmutators = FUNCTION;
+ _rw_unlock = FUNCTION;
+ _pthread_mutex_setprioceiling = FUNCTION;
+ _thr_getprio = FUNCTION;
+ _pthread_rwlockattr_init = FUNCTION;
+ rw_write_held = FUNCTION;
+ _cond_signal = FUNCTION;
+ _pthread_attr_getdetachstate = FUNCTION;
+ _pthread_getschedparam = FUNCTION;
+ _pthread_attr_init = FUNCTION;
+ _pthread_mutex_lock = FUNCTION;
+ _pthread_condattr_destroy = FUNCTION;
+ _thr_mutators_barrier = FUNCTION;
+ _cond_broadcast = FUNCTION;
+ _thr_setconcurrency = FUNCTION;
+ _rw_wrlock = FUNCTION;
+ _pthread_cond_reltimedwait_np = FUNCTION;
+ sema_held = FUNCTION;
+};
+
diff --git a/usr/src/lib/libthread/sparc/Makefile b/usr/src/lib/libthread/sparc/Makefile
new file mode 100644
index 0000000000..5a6c1eeff6
--- /dev/null
+++ b/usr/src/lib/libthread/sparc/Makefile
@@ -0,0 +1,31 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (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
+#
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+include ../Makefile.com
+
+install: all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/libthread/sparc/mapfile-vers b/usr/src/lib/libthread/sparc/mapfile-vers
new file mode 100644
index 0000000000..6e9f16b63a
--- /dev/null
+++ b/usr/src/lib/libthread/sparc/mapfile-vers
@@ -0,0 +1,450 @@
+#
+# Copyright 2005 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, Version 1.0 only
+# (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
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+#
+# DO NOT TOUCH THIS FILE.
+# This file declares interfaces that are cast in stone.
+# They offer interfaces that will never change.
+# DO NOT TOUCH THIS FILE.
+#
+
+SUNW_1.6.1 {
+ global:
+ _stack_grow = FUNCTION;
+ local:
+ *;
+} SUNW_1.6;
+
+SUNW_1.6 {
+ global:
+ pthread_cond_reltimedwait_np = FUNCTION;
+ cond_reltimedwait = FUNCTION;
+} SUNW_1.5;
+
+SUNW_1.5 {
+ global:
+ pthread_mutexattr_setrobust_np = FUNCTION;
+ pthread_mutexattr_getrobust_np = FUNCTION;
+ pthread_mutex_consistent_np = FUNCTION;
+} SUNW_1.4;
+
+SUNW_1.4 {
+ global:
+ pthread_attr_getguardsize = FUNCTION;
+ pthread_attr_setguardsize = FUNCTION;
+ pthread_getconcurrency = FUNCTION;
+ pthread_rwlock_destroy = FUNCTION;
+ pthread_rwlock_init = FUNCTION;
+ pthread_rwlock_rdlock = FUNCTION;
+ pthread_rwlock_tryrdlock = FUNCTION;
+ pthread_rwlock_trywrlock = FUNCTION;
+ pthread_rwlock_unlock = FUNCTION;
+ pthread_rwlock_wrlock = FUNCTION;
+ pthread_rwlockattr_destroy = FUNCTION;
+ pthread_rwlockattr_getpshared = FUNCTION;
+ pthread_rwlockattr_init = FUNCTION;
+ pthread_rwlockattr_setpshared = FUNCTION;
+ pthread_setconcurrency = FUNCTION;
+ __xpg4_putmsg = FUNCTION;
+ __xpg4_putpmsg = FUNCTION;
+ getmsg = FUNCTION;
+ getpmsg = FUNCTION;
+ lockf64 = FUNCTION;
+ lockf = FUNCTION;
+ msgrcv = FUNCTION;
+ msgsnd = FUNCTION;
+ poll = FUNCTION;
+ putmsg = FUNCTION;
+ putpmsg = FUNCTION;
+ select = FUNCTION;
+ sigpause = FUNCTION;
+ usleep = FUNCTION;
+ wait3 = FUNCTION;
+ waitid = FUNCTION;
+ pthread_mutexattr_gettype = FUNCTION;
+ pthread_mutexattr_settype = FUNCTION;
+ pread = FUNCTION;
+ pread64 = FUNCTION;
+ pwrite = FUNCTION;
+ pwrite64 = FUNCTION;
+ readv = FUNCTION;
+ writev = FUNCTION;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ creat64 = FUNCTION;
+ open64 = FUNCTION;
+ kill = FUNCTION;
+} SUNW_0.9;
+
+SUNW_0.9 {
+ global:
+ pthread_attr_destroy = FUNCTION;
+ pthread_attr_getdetachstate = FUNCTION;
+ pthread_attr_getinheritsched = FUNCTION;
+ pthread_attr_getschedparam = FUNCTION;
+ pthread_attr_getschedpolicy = FUNCTION;
+ pthread_attr_getscope = FUNCTION;
+ pthread_attr_getstackaddr = FUNCTION;
+ pthread_attr_getstacksize = FUNCTION;
+ pthread_attr_init = FUNCTION;
+ pthread_attr_setdetachstate = FUNCTION;
+ pthread_attr_setinheritsched = FUNCTION;
+ pthread_attr_setschedparam = FUNCTION;
+ pthread_attr_setschedpolicy = FUNCTION;
+ pthread_attr_setscope = FUNCTION;
+ pthread_attr_setstackaddr = FUNCTION;
+ pthread_attr_setstacksize = FUNCTION;
+ pthread_cancel = FUNCTION;
+ __pthread_cleanup_pop = FUNCTION;
+ __pthread_cleanup_push = FUNCTION;
+ pthread_cond_broadcast = FUNCTION;
+ pthread_cond_destroy = FUNCTION;
+ pthread_cond_init = FUNCTION;
+ pthread_cond_signal = FUNCTION;
+ pthread_cond_timedwait = FUNCTION;
+ pthread_cond_wait = FUNCTION;
+ pthread_condattr_destroy = FUNCTION;
+ pthread_condattr_getpshared = FUNCTION;
+ pthread_condattr_init = FUNCTION;
+ pthread_condattr_setpshared = FUNCTION;
+ pthread_create = FUNCTION;
+ pthread_detach = FUNCTION;
+ pthread_equal = FUNCTION;
+ pthread_exit = FUNCTION;
+ pthread_getschedparam = FUNCTION;
+ pthread_getspecific = FUNCTION;
+ pthread_join = FUNCTION;
+ pthread_key_create = FUNCTION;
+ pthread_key_delete = FUNCTION;
+ pthread_kill = FUNCTION;
+ pthread_mutex_destroy = FUNCTION;
+ pthread_mutex_getprioceiling = FUNCTION;
+ pthread_mutex_init = FUNCTION;
+ pthread_mutex_lock = FUNCTION;
+ pthread_mutex_setprioceiling = FUNCTION;
+ pthread_mutex_trylock = FUNCTION;
+ pthread_mutex_unlock = FUNCTION;
+ pthread_mutexattr_destroy = FUNCTION;
+ pthread_mutexattr_getprioceiling = FUNCTION;
+ pthread_mutexattr_getprotocol = FUNCTION;
+ pthread_mutexattr_getpshared = FUNCTION;
+ pthread_mutexattr_init = FUNCTION;
+ pthread_mutexattr_setprioceiling = FUNCTION;
+ pthread_mutexattr_setprotocol = FUNCTION;
+ pthread_mutexattr_setpshared = FUNCTION;
+ pthread_once = FUNCTION;
+ pthread_self = FUNCTION;
+ pthread_setcancelstate = FUNCTION;
+ pthread_setcanceltype = FUNCTION;
+ pthread_setschedparam = FUNCTION;
+ pthread_setspecific = FUNCTION;
+ pthread_sigmask = FUNCTION;
+ pthread_testcancel = FUNCTION;
+ alarm = FUNCTION;
+ close = FUNCTION;
+ creat = FUNCTION;
+ fcntl = FUNCTION;
+ fork = FUNCTION;
+ fsync = FUNCTION;
+ msync = FUNCTION;
+ open = FUNCTION;
+ pause = FUNCTION;
+ read = FUNCTION;
+ setitimer = FUNCTION;
+ sigsetjmp = FUNCTION;
+ sigsuspend = FUNCTION;
+ tcdrain = FUNCTION;
+ wait = FUNCTION;
+ waitpid = FUNCTION;
+ write = FUNCTION;
+ sigpending = FUNCTION;
+} SUNW_0.7 SISCD_2.3b;
+
+SUNW_0.7 {
+ global:
+ lwp_self = FUNCTION;
+ _getfp = FUNCTION;
+ sigaction = FUNCTION;
+ sigprocmask = FUNCTION;
+ sleep = FUNCTION;
+ setcontext = FUNCTION;
+ _mutex_held = FUNCTION;
+ _rw_read_held = FUNCTION;
+ _rw_write_held = FUNCTION;
+ _sema_held = FUNCTION;
+} SISCD_2.3a;
+
+SISCD_2.3a {
+ global:
+ thr_continue = FUNCTION;
+ thr_create = FUNCTION;
+ thr_exit = FUNCTION;
+ thr_getconcurrency = FUNCTION;
+ thr_getprio = FUNCTION;
+ thr_getspecific = FUNCTION;
+ thr_join = FUNCTION;
+ thr_keycreate = FUNCTION;
+ thr_kill = FUNCTION;
+ thr_min_stack = FUNCTION;
+ thr_self = FUNCTION;
+ thr_setconcurrency = FUNCTION;
+ thr_setprio = FUNCTION;
+ thr_setspecific = FUNCTION;
+ thr_sigsetmask = FUNCTION;
+ thr_suspend = FUNCTION;
+ thr_yield = FUNCTION;
+ cond_broadcast = FUNCTION;
+ cond_destroy = FUNCTION;
+ cond_init = FUNCTION;
+ cond_signal = FUNCTION;
+ cond_timedwait = FUNCTION;
+ cond_wait = FUNCTION;
+ fork1 = FUNCTION;
+ mutex_destroy = FUNCTION;
+ mutex_init = FUNCTION;
+ mutex_lock = FUNCTION;
+ mutex_trylock = FUNCTION;
+ mutex_unlock = FUNCTION;
+ rw_rdlock = FUNCTION;
+ rw_tryrdlock = FUNCTION;
+ rw_trywrlock = FUNCTION;
+ rw_unlock = FUNCTION;
+ rw_wrlock = FUNCTION;
+ rwlock_destroy = FUNCTION;
+ rwlock_init = FUNCTION;
+ sema_destroy = FUNCTION;
+ sema_init = FUNCTION;
+ sema_post = FUNCTION;
+ sema_trywait = FUNCTION;
+ sema_wait = FUNCTION;
+ sigwait = FUNCTION;
+};
+
+SISCD_2.3b {
+ global:
+ thr_main = FUNCTION;
+ thr_stksegment = FUNCTION;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _pthread_rwlock_trywrlock = FUNCTION;
+ _resume = FUNCTION;
+ _resume_ret = FUNCTION;
+ _canceloff = FUNCTION;
+ _cancelon = FUNCTION;
+ __pthread_min_stack = FUNCTION;
+ _pthread_mutexattr_gettype = FUNCTION;
+ _pthread_mutexattr_settype = FUNCTION;
+ _pthread_setcleanupinit = FUNCTION;
+ _pthread_rwlockattr_setpshared = FUNCTION;
+ _pthread_create = FUNCTION;
+ _pthread_join = FUNCTION;
+ _pthread_detach = FUNCTION;
+ _pthread_once = FUNCTION;
+ _pthread_equal = FUNCTION;
+ _pthread_setschedparam = FUNCTION;
+ _pthread_getschedparam = FUNCTION;
+ _pthread_getspecific = FUNCTION;
+ _pthread_setspecific = FUNCTION;
+ _pthread_key_create = FUNCTION;
+ _pthread_key_delete = FUNCTION;
+ _pthread_exit = FUNCTION;
+ _pthread_kill = FUNCTION;
+ _pthread_self = FUNCTION;
+ _pthread_sigmask = FUNCTION;
+ _pthread_cancel = FUNCTION;
+ _pthread_testcancel = FUNCTION;
+ _pthread_setcanceltype = FUNCTION;
+ _pthread_setcancelstate = FUNCTION;
+ _pthread_attr_init = FUNCTION;
+ _pthread_attr_destroy = FUNCTION;
+ _pthread_attr_setstacksize = FUNCTION;
+ _pthread_attr_getstacksize = FUNCTION;
+ _pthread_attr_setstackaddr = FUNCTION;
+ _pthread_attr_getstackaddr = FUNCTION;
+ _pthread_attr_setdetachstate = FUNCTION;
+ _pthread_attr_getdetachstate = FUNCTION;
+ _pthread_attr_setscope = FUNCTION;
+ _pthread_attr_getscope = FUNCTION;
+ _pthread_attr_setinheritsched = FUNCTION;
+ _pthread_attr_getinheritsched = FUNCTION;
+ _pthread_attr_setschedpolicy = FUNCTION;
+ _pthread_attr_getschedpolicy = FUNCTION;
+ _pthread_attr_setschedparam = FUNCTION;
+ _pthread_attr_getschedparam = FUNCTION;
+ _pthread_mutexattr_init = FUNCTION;
+ _pthread_mutexattr_destroy = FUNCTION;
+ _pthread_mutexattr_setpshared = FUNCTION;
+ _pthread_mutexattr_getpshared = FUNCTION;
+ _pthread_mutexattr_setprotocol = FUNCTION;
+ _pthread_mutexattr_getprotocol = FUNCTION;
+ _pthread_mutexattr_setprioceiling = FUNCTION;
+ _pthread_mutexattr_getprioceiling = FUNCTION;
+ _pthread_mutex_setprioceiling = FUNCTION;
+ _pthread_mutex_getprioceiling = FUNCTION;
+ _pthread_mutex_init = FUNCTION;
+ _pthread_condattr_init = FUNCTION;
+ _pthread_condattr_destroy = FUNCTION;
+ _pthread_condattr_setpshared = FUNCTION;
+ _pthread_condattr_getpshared = FUNCTION;
+ _pthread_cond_init = FUNCTION;
+ _pthread_mutex_destroy = FUNCTION;
+ _pthread_mutex_lock = FUNCTION;
+ _pthread_mutex_unlock = FUNCTION;
+ _pthread_mutex_trylock = FUNCTION;
+ _pthread_cond_destroy = FUNCTION;
+ _pthread_cond_wait = FUNCTION;
+ _pthread_cond_timedwait = FUNCTION;
+ _pthread_cond_reltimedwait_np = FUNCTION;
+ _pthread_cond_signal = FUNCTION;
+ _pthread_cond_broadcast = FUNCTION;
+ _pthread_attr_getguardsize = FUNCTION;
+ _pthread_attr_setguardsize = FUNCTION;
+ _pthread_getconcurrency = FUNCTION;
+ _pthread_setconcurrency = FUNCTION;
+ _pthread_rwlock_init = FUNCTION;
+ _pthread_rwlock_destroy = FUNCTION;
+ _pthread_rwlock_rdlock = FUNCTION;
+ _pthread_rwlock_tryrdlock = FUNCTION;
+ _pthread_rwlock_wrlock = FUNCTION;
+ _pthread_rwlock_unlock = FUNCTION;
+ _pthread_rwlockattr_init = FUNCTION;
+ _pthread_rwlockattr_destroy = FUNCTION;
+ _pthread_rwlockattr_getpshared = FUNCTION;
+ _pthread_mutexattr_setrobust_np = FUNCTION;
+ _pthread_mutexattr_getrobust_np = FUNCTION;
+ _pthread_mutex_consistent_np = FUNCTION;
+ thr_probe_setup = FUNCTION;
+ __thr_door_unbind = FUNCTION;
+ _thr_detach = FUNCTION;
+ _thr_key_delete = FUNCTION;
+ _thr_continue_allmutators = FUNCTION;
+ _thr_continue_mutator = FUNCTION;
+ _thr_getstate = FUNCTION;
+ _thr_mutators_barrier = FUNCTION;
+ _thr_setmutator = FUNCTION;
+ _thr_setstate = FUNCTION;
+ _thr_sighndlrinfo = FUNCTION;
+ _thr_suspend_allmutators = FUNCTION;
+ _thr_suspend_mutator = FUNCTION;
+ _thr_wait_mutator = FUNCTION;
+ thr_continue_allmutators = FUNCTION;
+ thr_continue_mutator = FUNCTION;
+ thr_getstate = FUNCTION;
+ thr_mutators_barrier = FUNCTION;
+ thr_setmutator = FUNCTION;
+ thr_setstate = FUNCTION;
+ thr_sighndlrinfo = FUNCTION;
+ thr_suspend_allmutators = FUNCTION;
+ thr_suspend_mutator = FUNCTION;
+ thr_wait_mutator = FUNCTION;
+ _cond_broadcast = FUNCTION;
+ _cond_init = FUNCTION;
+ _cond_destroy = FUNCTION;
+ _cond_signal = FUNCTION;
+ _cond_timedwait = FUNCTION;
+ _cond_reltimedwait = FUNCTION;
+ _cond_wait = FUNCTION;
+ _mutex_destroy = FUNCTION;
+ _mutex_init = FUNCTION;
+ _mutex_lock = FUNCTION;
+ _mutex_trylock = FUNCTION;
+ _mutex_unlock = FUNCTION;
+ _rw_rdlock = FUNCTION;
+ _rw_tryrdlock = FUNCTION;
+ _rw_trywrlock = FUNCTION;
+ _rw_unlock = FUNCTION;
+ _rw_wrlock = FUNCTION;
+ _rwlock_init = FUNCTION;
+ _sema_init = FUNCTION;
+ _sema_destroy = FUNCTION;
+ _sema_post = FUNCTION;
+ _sema_trywait = FUNCTION;
+ _sema_wait = FUNCTION;
+ _thr_continue = FUNCTION;
+ _thr_create = FUNCTION;
+ _thr_exit = FUNCTION;
+ _thr_getconcurrency = FUNCTION;
+ _thr_getprio = FUNCTION;
+ _thr_getspecific = FUNCTION;
+ _thr_join = FUNCTION;
+ _thr_keycreate = FUNCTION;
+ _thr_kill = FUNCTION;
+ _thr_self = FUNCTION;
+ _thr_setconcurrency = FUNCTION;
+ _thr_setprio = FUNCTION;
+ _thr_setspecific = FUNCTION;
+ _thr_sigsetmask = FUNCTION;
+ _thr_suspend = FUNCTION;
+ _thr_yield = FUNCTION;
+ _thr_main = FUNCTION;
+ _thr_min_stack = FUNCTION;
+ _thr_stksegment = FUNCTION;
+ __tls_get_addr = FUNCTION;
+ __sigtimedwait = FUNCTION;
+ _getsp = FUNCTION;
+ _rwlock_destroy = FUNCTION;
+ __gettsp = FUNCTION;
+ _assfail = FUNCTION;
+ _sigoff = FUNCTION;
+ _sigon = FUNCTION;
+ __nanosleep = FUNCTION;
+ _fork = FUNCTION;
+ _fork1 = FUNCTION;
+ _setcontext = FUNCTION;
+ _sigaction = FUNCTION;
+ _sigprocmask = FUNCTION;
+ _sigwait = FUNCTION;
+ _sigsuspend = FUNCTION;
+ _sigsetjmp = FUNCTION;
+ _sleep = FUNCTION;
+ _alarm = FUNCTION;
+ _setitimer = FUNCTION;
+ mutex_held = FUNCTION;
+ rw_read_held = FUNCTION;
+ rw_write_held = FUNCTION;
+ sema_held = FUNCTION;
+};
+
+SISCD_2.3 {
+ global:
+ SISCD_2.3;
+} SISCD_2.3a SISCD_2.3b;
+
diff --git a/usr/src/lib/libthread/sparcv9/Makefile b/usr/src/lib/libthread/sparcv9/Makefile
new file mode 100644
index 0000000000..9c1d6cf6cd
--- /dev/null
+++ b/usr/src/lib/libthread/sparcv9/Makefile
@@ -0,0 +1,34 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (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
+#
+#
+# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+include ../Makefile.com
+include ../../Makefile.lib.64
+
+BUILD.SO= $(LD) -o $@ -G -64 $(DYNFLAGS)
+
+install: all $(ROOTLIBDIR64) .WAIT $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/libthread/sparcv9/mapfile-vers b/usr/src/lib/libthread/sparcv9/mapfile-vers
new file mode 100644
index 0000000000..f4a4e58730
--- /dev/null
+++ b/usr/src/lib/libthread/sparcv9/mapfile-vers
@@ -0,0 +1,432 @@
+#
+# Copyright 2005 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, Version 1.0 only
+# (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
+#
+# ident "%Z%%M% %I% %E% SMI"
+#
+
+#
+# DO NOT TOUCH THIS FILE.
+# This file declares interfaces that are cast in stone.
+# They offer interfaces that will never change.
+# DO NOT TOUCH THIS FILE.
+#
+
+SUNW_1.6.1 {
+ global:
+ _stack_grow = FUNCTION;
+ local:
+ *;
+} SUNW_1.6;
+
+SUNW_1.6 {
+ global:
+ pthread_cond_reltimedwait_np = FUNCTION;
+ cond_reltimedwait = FUNCTION;
+} SUNW_1.5;
+
+SUNW_1.5 {
+ global:
+ pthread_mutexattr_setrobust_np = FUNCTION;
+ pthread_mutexattr_getrobust_np = FUNCTION;
+ pthread_mutex_consistent_np = FUNCTION;
+} SUNW_1.4;
+
+SUNW_1.4 {
+ global:
+ pthread_attr_getguardsize = FUNCTION;
+ pthread_attr_setguardsize = FUNCTION;
+ pthread_getconcurrency = FUNCTION;
+ pthread_rwlock_destroy = FUNCTION;
+ pthread_rwlock_init = FUNCTION;
+ pthread_rwlock_rdlock = FUNCTION;
+ pthread_rwlock_tryrdlock = FUNCTION;
+ pthread_rwlock_trywrlock = FUNCTION;
+ pthread_rwlock_unlock = FUNCTION;
+ pthread_rwlock_wrlock = FUNCTION;
+ pthread_rwlockattr_destroy = FUNCTION;
+ pthread_rwlockattr_getpshared = FUNCTION;
+ pthread_rwlockattr_init = FUNCTION;
+ pthread_rwlockattr_setpshared = FUNCTION;
+ pthread_setconcurrency = FUNCTION;
+ __xpg4_putmsg = FUNCTION;
+ __xpg4_putpmsg = FUNCTION;
+ getmsg = FUNCTION;
+ getpmsg = FUNCTION;
+ lockf = FUNCTION;
+ msgrcv = FUNCTION;
+ msgsnd = FUNCTION;
+ poll = FUNCTION;
+ putmsg = FUNCTION;
+ putpmsg = FUNCTION;
+ select = FUNCTION;
+ sigpause = FUNCTION;
+ usleep = FUNCTION;
+ wait3 = FUNCTION;
+ waitid = FUNCTION;
+ pthread_mutexattr_gettype = FUNCTION;
+ pthread_mutexattr_settype = FUNCTION;
+ pread = FUNCTION;
+ pwrite = FUNCTION;
+ readv = FUNCTION;
+ writev = FUNCTION;
+} SUNW_1.3;
+
+SUNW_1.3 {
+ global:
+ SUNW_1.3;
+} SUNW_1.2;
+
+SUNW_1.2 {
+ global:
+ SUNW_1.2;
+} SUNW_1.1;
+
+SUNW_1.1 {
+ global:
+ kill = FUNCTION;
+} SUNW_0.9;
+
+SUNW_0.9 {
+ global:
+ pthread_attr_destroy = FUNCTION;
+ pthread_attr_getdetachstate = FUNCTION;
+ pthread_attr_getinheritsched = FUNCTION;
+ pthread_attr_getschedparam = FUNCTION;
+ pthread_attr_getschedpolicy = FUNCTION;
+ pthread_attr_getscope = FUNCTION;
+ pthread_attr_getstackaddr = FUNCTION;
+ pthread_attr_getstacksize = FUNCTION;
+ pthread_attr_init = FUNCTION;
+ pthread_attr_setdetachstate = FUNCTION;
+ pthread_attr_setinheritsched = FUNCTION;
+ pthread_attr_setschedparam = FUNCTION;
+ pthread_attr_setschedpolicy = FUNCTION;
+ pthread_attr_setscope = FUNCTION;
+ pthread_attr_setstackaddr = FUNCTION;
+ pthread_attr_setstacksize = FUNCTION;
+ pthread_cancel = FUNCTION;
+ __pthread_cleanup_pop = FUNCTION;
+ __pthread_cleanup_push = FUNCTION;
+ pthread_cond_broadcast = FUNCTION;
+ pthread_cond_destroy = FUNCTION;
+ pthread_cond_init = FUNCTION;
+ pthread_cond_signal = FUNCTION;
+ pthread_cond_timedwait = FUNCTION;
+ pthread_cond_wait = FUNCTION;
+ pthread_condattr_destroy = FUNCTION;
+ pthread_condattr_getpshared = FUNCTION;
+ pthread_condattr_init = FUNCTION;
+ pthread_condattr_setpshared = FUNCTION;
+ pthread_create = FUNCTION;
+ pthread_detach = FUNCTION;
+ pthread_equal = FUNCTION;
+ pthread_exit = FUNCTION;
+ pthread_getschedparam = FUNCTION;
+ pthread_getspecific = FUNCTION;
+ pthread_join = FUNCTION;
+ pthread_key_create = FUNCTION;
+ pthread_key_delete = FUNCTION;
+ pthread_kill = FUNCTION;
+ pthread_mutex_destroy = FUNCTION;
+ pthread_mutex_getprioceiling = FUNCTION;
+ pthread_mutex_init = FUNCTION;
+ pthread_mutex_lock = FUNCTION;
+ pthread_mutex_setprioceiling = FUNCTION;
+ pthread_mutex_trylock = FUNCTION;
+ pthread_mutex_unlock = FUNCTION;
+ pthread_mutexattr_destroy = FUNCTION;
+ pthread_mutexattr_getprioceiling = FUNCTION;
+ pthread_mutexattr_getprotocol = FUNCTION;
+ pthread_mutexattr_getpshared = FUNCTION;
+ pthread_mutexattr_init = FUNCTION;
+ pthread_mutexattr_setprioceiling = FUNCTION;
+ pthread_mutexattr_setprotocol = FUNCTION;
+ pthread_mutexattr_setpshared = FUNCTION;
+ pthread_once = FUNCTION;
+ pthread_self = FUNCTION;
+ pthread_setcancelstate = FUNCTION;
+ pthread_setcanceltype = FUNCTION;
+ pthread_setschedparam = FUNCTION;
+ pthread_setspecific = FUNCTION;
+ pthread_sigmask = FUNCTION;
+ pthread_testcancel = FUNCTION;
+ thr_main = FUNCTION;
+ thr_stksegment = FUNCTION;
+ alarm = FUNCTION;
+ close = FUNCTION;
+ creat = FUNCTION;
+ fcntl = FUNCTION;
+ fork = FUNCTION;
+ fsync = FUNCTION;
+ msync = FUNCTION;
+ open = FUNCTION;
+ pause = FUNCTION;
+ read = FUNCTION;
+ setitimer = FUNCTION;
+ sigsetjmp = FUNCTION;
+ sigsuspend = FUNCTION;
+ tcdrain = FUNCTION;
+ wait = FUNCTION;
+ waitpid = FUNCTION;
+ write = FUNCTION;
+ sigpending = FUNCTION;
+} SUNW_0.7;
+
+SUNW_0.7 {
+ global:
+ thr_continue = FUNCTION;
+ thr_create = FUNCTION;
+ thr_exit = FUNCTION;
+ thr_getconcurrency = FUNCTION;
+ thr_getprio = FUNCTION;
+ thr_getspecific = FUNCTION;
+ thr_join = FUNCTION;
+ thr_keycreate = FUNCTION;
+ thr_kill = FUNCTION;
+ thr_min_stack = FUNCTION;
+ thr_self = FUNCTION;
+ thr_setconcurrency = FUNCTION;
+ thr_setprio = FUNCTION;
+ thr_setspecific = FUNCTION;
+ thr_sigsetmask = FUNCTION;
+ thr_suspend = FUNCTION;
+ thr_yield = FUNCTION;
+ lwp_self = FUNCTION;
+ cond_broadcast = FUNCTION;
+ cond_destroy = FUNCTION;
+ cond_init = FUNCTION;
+ cond_signal = FUNCTION;
+ cond_timedwait = FUNCTION;
+ cond_wait = FUNCTION;
+ fork1 = FUNCTION;
+ mutex_destroy = FUNCTION;
+ mutex_init = FUNCTION;
+ mutex_lock = FUNCTION;
+ mutex_trylock = FUNCTION;
+ mutex_unlock = FUNCTION;
+ rw_rdlock = FUNCTION;
+ rw_tryrdlock = FUNCTION;
+ rw_trywrlock = FUNCTION;
+ rw_unlock = FUNCTION;
+ rw_wrlock = FUNCTION;
+ rwlock_destroy = FUNCTION;
+ rwlock_init = FUNCTION;
+ sema_destroy = FUNCTION;
+ sema_init = FUNCTION;
+ sema_post = FUNCTION;
+ sema_trywait = FUNCTION;
+ sema_wait = FUNCTION;
+ _getfp = FUNCTION;
+ sigaction = FUNCTION;
+ sigprocmask = FUNCTION;
+ sigwait = FUNCTION;
+ sleep = FUNCTION;
+ setcontext = FUNCTION;
+ _mutex_held = FUNCTION;
+ _rw_read_held = FUNCTION;
+ _rw_write_held = FUNCTION;
+ _sema_held = FUNCTION;
+};
+
+SUNWprivate_1.1 {
+ global:
+ _pthread_rwlock_trywrlock = FUNCTION;
+ _resume = FUNCTION;
+ _resume_ret = FUNCTION;
+ _canceloff = FUNCTION;
+ _cancelon = FUNCTION;
+ __pthread_min_stack = FUNCTION;
+ _pthread_mutexattr_gettype = FUNCTION;
+ _pthread_mutexattr_settype = FUNCTION;
+ _pthread_setcleanupinit = FUNCTION;
+ _pthread_rwlockattr_setpshared = FUNCTION;
+ _pthread_create = FUNCTION;
+ _pthread_join = FUNCTION;
+ _pthread_detach = FUNCTION;
+ _pthread_once = FUNCTION;
+ _pthread_equal = FUNCTION;
+ _pthread_setschedparam = FUNCTION;
+ _pthread_getschedparam = FUNCTION;
+ _pthread_getspecific = FUNCTION;
+ _pthread_setspecific = FUNCTION;
+ _pthread_key_create = FUNCTION;
+ _pthread_key_delete = FUNCTION;
+ _pthread_exit = FUNCTION;
+ _pthread_kill = FUNCTION;
+ _pthread_self = FUNCTION;
+ _pthread_sigmask = FUNCTION;
+ _pthread_cancel = FUNCTION;
+ _pthread_testcancel = FUNCTION;
+ _pthread_setcanceltype = FUNCTION;
+ _pthread_setcancelstate = FUNCTION;
+ _pthread_attr_init = FUNCTION;
+ _pthread_attr_destroy = FUNCTION;
+ _pthread_attr_setstacksize = FUNCTION;
+ _pthread_attr_getstacksize = FUNCTION;
+ _pthread_attr_setstackaddr = FUNCTION;
+ _pthread_attr_getstackaddr = FUNCTION;
+ _pthread_attr_setdetachstate = FUNCTION;
+ _pthread_attr_getdetachstate = FUNCTION;
+ _pthread_attr_setscope = FUNCTION;
+ _pthread_attr_getscope = FUNCTION;
+ _pthread_attr_setinheritsched = FUNCTION;
+ _pthread_attr_getinheritsched = FUNCTION;
+ _pthread_attr_setschedpolicy = FUNCTION;
+ _pthread_attr_getschedpolicy = FUNCTION;
+ _pthread_attr_setschedparam = FUNCTION;
+ _pthread_attr_getschedparam = FUNCTION;
+ _pthread_mutexattr_init = FUNCTION;
+ _pthread_mutexattr_destroy = FUNCTION;
+ _pthread_mutexattr_setpshared = FUNCTION;
+ _pthread_mutexattr_getpshared = FUNCTION;
+ _pthread_mutexattr_setprotocol = FUNCTION;
+ _pthread_mutexattr_getprotocol = FUNCTION;
+ _pthread_mutexattr_setprioceiling = FUNCTION;
+ _pthread_mutexattr_getprioceiling = FUNCTION;
+ _pthread_mutex_setprioceiling = FUNCTION;
+ _pthread_mutex_getprioceiling = FUNCTION;
+ _pthread_mutex_init = FUNCTION;
+ _pthread_condattr_init = FUNCTION;
+ _pthread_condattr_destroy = FUNCTION;
+ _pthread_condattr_setpshared = FUNCTION;
+ _pthread_condattr_getpshared = FUNCTION;
+ _pthread_cond_init = FUNCTION;
+ _pthread_mutex_destroy = FUNCTION;
+ _pthread_mutex_lock = FUNCTION;
+ _pthread_mutex_unlock = FUNCTION;
+ _pthread_mutex_trylock = FUNCTION;
+ _pthread_cond_destroy = FUNCTION;
+ _pthread_cond_wait = FUNCTION;
+ _pthread_cond_timedwait = FUNCTION;
+ _pthread_cond_reltimedwait_np = FUNCTION;
+ _pthread_cond_signal = FUNCTION;
+ _pthread_cond_broadcast = FUNCTION;
+ _pthread_attr_getguardsize = FUNCTION;
+ _pthread_attr_setguardsize = FUNCTION;
+ _pthread_getconcurrency = FUNCTION;
+ _pthread_setconcurrency = FUNCTION;
+ _pthread_rwlock_init = FUNCTION;
+ _pthread_rwlock_destroy = FUNCTION;
+ _pthread_rwlock_rdlock = FUNCTION;
+ _pthread_rwlock_tryrdlock = FUNCTION;
+ _pthread_rwlock_wrlock = FUNCTION;
+ _pthread_rwlock_unlock = FUNCTION;
+ _pthread_rwlockattr_init = FUNCTION;
+ _pthread_rwlockattr_destroy = FUNCTION;
+ _pthread_rwlockattr_getpshared = FUNCTION;
+ _pthread_mutexattr_setrobust_np = FUNCTION;
+ _pthread_mutexattr_getrobust_np = FUNCTION;
+ _pthread_mutex_consistent_np = FUNCTION;
+ thr_probe_setup = FUNCTION;
+ __thr_door_unbind = FUNCTION;
+ _thr_detach = FUNCTION;
+ _thr_key_delete = FUNCTION;
+ _thr_continue_allmutators = FUNCTION;
+ _thr_continue_mutator = FUNCTION;
+ _thr_getstate = FUNCTION;
+ _thr_mutators_barrier = FUNCTION;
+ _thr_setmutator = FUNCTION;
+ _thr_setstate = FUNCTION;
+ _thr_sighndlrinfo = FUNCTION;
+ _thr_suspend_allmutators = FUNCTION;
+ _thr_suspend_mutator = FUNCTION;
+ _thr_wait_mutator = FUNCTION;
+ thr_continue_allmutators = FUNCTION;
+ thr_continue_mutator = FUNCTION;
+ thr_getstate = FUNCTION;
+ thr_mutators_barrier = FUNCTION;
+ thr_setmutator = FUNCTION;
+ thr_setstate = FUNCTION;
+ thr_sighndlrinfo = FUNCTION;
+ thr_suspend_allmutators = FUNCTION;
+ thr_suspend_mutator = FUNCTION;
+ thr_wait_mutator = FUNCTION;
+ _cond_broadcast = FUNCTION;
+ _cond_init = FUNCTION;
+ _cond_destroy = FUNCTION;
+ _cond_signal = FUNCTION;
+ _cond_timedwait = FUNCTION;
+ _cond_reltimedwait = FUNCTION;
+ _cond_wait = FUNCTION;
+ _mutex_destroy = FUNCTION;
+ _mutex_init = FUNCTION;
+ _mutex_lock = FUNCTION;
+ _mutex_trylock = FUNCTION;
+ _mutex_unlock = FUNCTION;
+ _rw_rdlock = FUNCTION;
+ _rw_tryrdlock = FUNCTION;
+ _rw_trywrlock = FUNCTION;
+ _rw_unlock = FUNCTION;
+ _rw_wrlock = FUNCTION;
+ _rwlock_init = FUNCTION;
+ _sema_init = FUNCTION;
+ _sema_destroy = FUNCTION;
+ _sema_post = FUNCTION;
+ _sema_trywait = FUNCTION;
+ _sema_wait = FUNCTION;
+ _thr_continue = FUNCTION;
+ _thr_create = FUNCTION;
+ _thr_exit = FUNCTION;
+ _thr_getconcurrency = FUNCTION;
+ _thr_getprio = FUNCTION;
+ _thr_getspecific = FUNCTION;
+ _thr_join = FUNCTION;
+ _thr_keycreate = FUNCTION;
+ _thr_kill = FUNCTION;
+ _thr_self = FUNCTION;
+ _thr_setconcurrency = FUNCTION;
+ _thr_setprio = FUNCTION;
+ _thr_setspecific = FUNCTION;
+ _thr_sigsetmask = FUNCTION;
+ _thr_suspend = FUNCTION;
+ _thr_yield = FUNCTION;
+ _thr_main = FUNCTION;
+ _thr_min_stack = FUNCTION;
+ _thr_stksegment = FUNCTION;
+ __tls_get_addr = FUNCTION;
+ __sigtimedwait = FUNCTION;
+ _getsp = FUNCTION;
+ _rwlock_destroy = FUNCTION;
+ __gettsp = FUNCTION;
+ _assfail = FUNCTION;
+ _sigoff = FUNCTION;
+ _sigon = FUNCTION;
+ __nanosleep = FUNCTION;
+ _fork = FUNCTION;
+ _fork1 = FUNCTION;
+ _setcontext = FUNCTION;
+ _sigaction = FUNCTION;
+ _sigprocmask = FUNCTION;
+ _sigwait = FUNCTION;
+ _sigsuspend = FUNCTION;
+ _sigsetjmp = FUNCTION;
+ _sleep = FUNCTION;
+ _alarm = FUNCTION;
+ _setitimer = FUNCTION;
+ mutex_held = FUNCTION;
+ rw_read_held = FUNCTION;
+ rw_write_held = FUNCTION;
+ sema_held = FUNCTION;
+};
+