diff options
author | deischen <deischen@FreeBSD.org> | 2006-03-29 14:08:45 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2006-03-29 14:08:45 +0000 |
commit | b19d325a18dac138ac1d6210abf09f4f6665b2a4 (patch) | |
tree | c018160a7df426bdb2006192982d8795505fe923 /lib/libthread_db | |
parent | c3c1cc1abc42ab7ba68db730bd68705b2e481f22 (diff) | |
download | FreeBSD-src-b19d325a18dac138ac1d6210abf09f4f6665b2a4.zip FreeBSD-src-b19d325a18dac138ac1d6210abf09f4f6665b2a4.tar.gz |
Add symbol versioning.
Reviewed by: davidxu
Diffstat (limited to 'lib/libthread_db')
-rw-r--r-- | lib/libthread_db/Makefile | 6 | ||||
-rw-r--r-- | lib/libthread_db/Symbol.map | 31 |
2 files changed, 37 insertions, 0 deletions
diff --git a/lib/libthread_db/Makefile b/lib/libthread_db/Makefile index 53f5500..f74e49d 100644 --- a/lib/libthread_db/Makefile +++ b/lib/libthread_db/Makefile @@ -12,5 +12,11 @@ INCS= thread_db.h WARNS?= 1 CFLAGS+=-I. -I${.CURDIR} +SYM_MAPS+=${.CURDIR}/Symbol.map + +.if defined(SYMVER_ENABLED) +SYMBOL_MAPS=${SYM_MAPS} +VERSION_DEF=${.CURDIR}/../libc/Versions.def +.endif .include <bsd.lib.mk> diff --git a/lib/libthread_db/Symbol.map b/lib/libthread_db/Symbol.map new file mode 100644 index 0000000..9a3af90 --- /dev/null +++ b/lib/libthread_db/Symbol.map @@ -0,0 +1,31 @@ +# $FreeBSD$ + +FBSD_1.0 { + td_init; + td_ta_clear_event; + td_ta_delete; + td_ta_event_addr; + td_ta_event_getmsg; + td_ta_map_id2thr; + td_ta_map_lwp2thr; + td_ta_new; + td_ta_set_event; + td_ta_thr_iter; + td_ta_tsd_iter; + td_thr_clear_event; + td_thr_dbresume; + td_thr_dbsuspend; + td_thr_event_enable; + td_thr_event_getmsg; + td_thr_get_info; + td_thr_getfpregs; + td_thr_getgregs; + td_thr_getxmmregs; # x86 only + td_thr_set_event; + td_thr_setfpregs; + td_thr_setgregs; + td_thr_setxmmregs; # x86 only + td_thr_sstep; # FreeBSD extension to GDB<->thread interface + td_thr_tls_get_addr; + td_thr_validate; +}; |