https://sourceware.org/bugzilla/show_bug.cgi?id=22071
Bug ID: 22071 Summary: Missing TLSDESC_PLT and TLSDESC_GOT Product: binutils Version: 2.30 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gprof Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86-64 [hjl@gnu-tools-1 xxx]$ cat x.c static __thread int ld; int * get_ld (void) { return &ld; } void set_ld (int i) { ld = i; } int test_ld (int i) { return ld == i; } extern __thread int gd; int * get_gd (void) { return &gd; } void set_gd (int i) { gd = i; } int test_gd (int i) { return gd == i; } [hjl@gnu-tools-1 xxx]$ make gcc -fPIC -O3 -mtls-dialect=gnu2 -c -o x.o x.c ./ld -shared -o x.so x.o readelf -d x.so | grep TLSDESC make: *** [Makefile:10: all] Error 1 [hjl@gnu-tools-1 xxx]$ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils