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
This commit is contained in:
Dag-Erling Smørgrav 2008-02-06 20:25:00 +00:00
parent facfc98226
commit a9b9744ff8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176054
2 changed files with 3 additions and 11 deletions

View File

@ -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

View File

@ -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;
};