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


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

PATCH: Fix TLS build


When your binutils supports TLS, but you don't enable LDT, you
will get

td_thr_tls_get_addr.c: In function `td_thr_tls_get_addr':
td_thr_tls_get_addr.c:46: structure has no member named `l_tls_modid'
td_thr_tls_get_addr.c:35: warning: `modid' might be used uninitialized in this
f

Here is a patch. BTW, thers is no need to include "tls.h". "link.h"
does that already.

H.J.

Attachment: glibc-tls.patch
Description: Text document


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