diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-14 10:42:44 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-14 10:42:44 -0400 |
commit | bc081f628b51337b525ca2d53aeff1b971f092f5 (patch) | |
tree | c09ccb284057973bb978adbdfecbfcd2d655a227 /src/ldso/dynlink.c | |
parent | da7ccf822c2a7f0413868b8d99029907f1d61a41 (diff) | |
download | musl-bc081f628b51337b525ca2d53aeff1b971f092f5.tar.gz musl-bc081f628b51337b525ca2d53aeff1b971f092f5.tar.bz2 musl-bc081f628b51337b525ca2d53aeff1b971f092f5.tar.xz musl-bc081f628b51337b525ca2d53aeff1b971f092f5.zip |
fix inconsistent visibility for internal __tls_get_new function
at the point of call it was declared hidden, but the definition was
not hidden. for some toolchains this inconsistency produced textrels
without ld-time binding.
Diffstat (limited to 'src/ldso/dynlink.c')
-rw-r--r-- | src/ldso/dynlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 46183ce7..0151f74d 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -1051,6 +1051,7 @@ void *__copy_tls(unsigned char *mem) return td; } +__attribute__((__visibility__("hidden"))) void *__tls_get_new(size_t *v) { pthread_t self = __pthread_self(); |