diff options
author | deischen <deischen@FreeBSD.org> | 2007-12-16 23:29:57 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2007-12-16 23:29:57 +0000 |
commit | 8cf2d070a8052f74c73cb0b3d2b09bc755e9ce6e (patch) | |
tree | 6d85f1ab760abd9317ea7b79e8901fff062f5187 /lib/libkse/thread/thr_private.h | |
parent | bb20311c500fd8c49f6ba2960d43526101d39911 (diff) | |
download | FreeBSD-src-8cf2d070a8052f74c73cb0b3d2b09bc755e9ce6e.zip FreeBSD-src-8cf2d070a8052f74c73cb0b3d2b09bc755e9ce6e.tar.gz |
Remove hacks to allow libkse to export its symbols in the LIBTHREAD_1_0
version namespace which was needed before the library version was
bumped.
Diffstat (limited to 'lib/libkse/thread/thr_private.h')
-rw-r--r-- | lib/libkse/thread/thr_private.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lib/libkse/thread/thr_private.h b/lib/libkse/thread/thr_private.h index 82728d3..46f6e80 100644 --- a/lib/libkse/thread/thr_private.h +++ b/lib/libkse/thread/thr_private.h @@ -56,39 +56,6 @@ #include "pthread_md.h" #endif -/* - * Unfortunately, libpthread had symbol versioning before libc. - * But now libc has symbol versioning, we need to occupy the - * same version namespace in order to override some libc functions. - * So in order to avoid breaking binaries requiring symbols from - * LIBTHREAD_1_0, we need to provide a compatible interface for - * those symbols. - */ -#if 0 -#define SYM_LT10(sym) __CONCAT(sym, _lt10) -#define SYM_FB10(sym) __CONCAT(sym, _fb10) -#define SYM_FBP10(sym) __CONCAT(sym, _fbp10) -#define WEAK_REF(sym, alias) __weak_reference(sym, alias) -#define SYM_COMPAT(sym, impl, ver) __sym_compat(sym, impl, ver) -#define SYM_DEFAULT(sym, impl, ver) __sym_default(sym, impl, ver) - -#define LT10_COMPAT(sym) \ - WEAK_REF(sym, SYM_LT10(sym)); \ - SYM_COMPAT(sym, SYM_LT10(sym), LIBTHREAD_1_0) - -#define LT10_COMPAT_DEFAULT(sym) \ - LT10_COMPAT(sym); \ - WEAK_REF(sym, SYM_FB10(sym)); \ - SYM_DEFAULT(sym, SYM_FB10(sym), FBSD_1.0) - -#define LT10_COMPAT_PRIVATE(sym) \ - LT10_COMPAT(sym); \ - WEAK_REF(sym, SYM_FBP10(sym)); \ - SYM_DEFAULT(sym, SYM_FBP10(sym), FBSDprivate_1.0) -#else -#define LT10_COMPAT_DEFAULT(sym) -#define LT10_COMPAT_PRIVATE(sym) -#endif /* * Evaluate the storage class specifier. |