[PATCH] Fix s390{,x} build
Martin Schwidefsky
schwidefsky@de.ibm.com
Thu Mar 11 09:40:00 GMT 2004
Hi Jakub,
> The recent dl-tls.c -> dl-sym.c reshuffling broke s390*.
> Here is a fix, verified so far with doing dlsym on a STT_TLS symbol
> in a shared library.
I was just trying to get this fixed myself. Jakub was (again) faster and
his solution is better than mine. My solution exports __tls_get_addr as
second interface which isn't nice. The __tls_get_offset should be the
only interface because __tls_get_addr doesn't return the address to the
variable but the offset of the variable to the thread pointer. This can
be very confusing.
blue skies,
Martin
Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
More information about the Libc-hacker
mailing list