[PATCH][BZ #16214] Fix TLS access on S390 with -march=z10
Andreas Krebbel
krebbel@linux.vnet.ibm.com
Fri Nov 29 01:54:00 GMT 2013
On 28/11/13 12:03, Andreas Schwab wrote:
> Andreas Krebbel <krebbel@linux.vnet.ibm.com> writes:
>
>> - Adding a new symbol for __tls_get_addr and putting the GLIBC_PRIVATE version on it. The new
>> symbol can only be exported when removing the hidden attribute from the original function but this
>> led to the original function to be exported as __tls_get_addr@@GLIBC_2.3 what I'm trying to prevent.
>
> Does it work to use default_symbol_version with GLIBC_PRIVATE?
No. The hidden attribute is inherited as well. Since versioned_symbol expands to
default_symbol_version it would have been surprising if it would behave differently.
-Andreas-
More information about the Libc-alpha
mailing list