|
From: | hjl.tools at gmail dot com |
Subject: | [Bug gprof/22071] New: Missing TLSDESC_PLT and TLSDESC_GOT |
Date: | Sun, 03 Sep 2017 16:43:27 +0000 |
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 address@hidden 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; } address@hidden 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 address@hidden xxx]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |