diff options
author | des <des@FreeBSD.org> | 2008-02-06 20:25:00 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-02-06 20:25:00 +0000 |
commit | 3086491df63eafa2431091ba0eba1db5b28549ae (patch) | |
tree | 42f87133d9f187bad8a0e38ca6161d71255f4c59 /lib | |
parent | 85a226c62d6217f14a5d39b2ea7016205f32c34e (diff) | |
download | FreeBSD-src-3086491df63eafa2431091ba0eba1db5b28549ae.zip FreeBSD-src-3086491df63eafa2431091ba0eba1db5b28549ae.tar.gz |
Convert pthread.map to the format expected by version_gen.awk, and modify
the Makefile accordingly; libthr now explicitly uses libc's Versions.def.
MFC after: 2 weeks
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libthr/Makefile | 3 | ||||
-rw-r--r-- | lib/libthr/pthread.map | 11 |
2 files changed, 3 insertions, 11 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index f72cc82..8ddaad4 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -27,7 +27,8 @@ CFLAGS+=-I${.CURDIR}/../../libexec/rtld-elf/${MACHINE_ARCH} CFLAGS+=-I${.CURDIR}/../libthread_db CFLAGS+=-Winline -VERSION_MAP=${.CURDIR}/pthread.map +VERSION_DEF=${.CURDIR}/../libc/Versions.def +SYMBOL_MAPS=${.CURDIR}/pthread.map MAN= libthr.3 diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map index 5b243d0..5dddf4b 100644 --- a/lib/libthr/pthread.map +++ b/lib/libthr/pthread.map @@ -6,7 +6,6 @@ * Use the same naming scheme as libc. */ FBSD_1.0 { -global: __error; accept; aio_suspend; @@ -171,8 +170,6 @@ global: waitpid; write; writev; -local: - *; }; /* @@ -180,7 +177,6 @@ local: * These are not part of our application ABI. */ FBSDprivate_1.0 { -global: ___creat; ___pause; ___pselect; @@ -388,17 +384,12 @@ global: _thread_size_key; _thread_state_running; _thread_state_zoombie; -local: - *; }; FBSD_1.1 { -global: pthread_mutex_getspinloops_np; pthread_mutex_getyieldloops_np; pthread_mutex_isowned_np; pthread_mutex_setspinloops_np; pthread_mutex_setyieldloops_np; -local: - *; -} FBSD_1.0; +}; |