This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix s390{,x} build





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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]