https://sourceware.org/bugzilla/show_bug.cgi?id=16773
Bug ID: 16773
Summary: Cannot process a R_X86_64_TPOFF32 against .tdata
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ian at airs dot com
Reporter: rafael.espindola at gmail dot com
CC: ccoutant at google dot com
Created attachment 7501
--> https://sourceware.org/bugzilla/attachment.cgi?id=7501&action=edit
testcase
I was curious if R_X86_64_TPOFF32 would work if given .tdata and an offset
instead of a regular symbol.
I don't see a reason why it shouldn't, given that it is just an offset. It
works with bfd ld, but not gold:
$ gcc test.o -fuse-ld=bfd -o test && ./test; echo $?
42
$ gcc test.o -fuse-ld=gold -o test && ./test; echo $?
Segmentation fault
139
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils