bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/16773] New: Cannot process a R_X86_64_TPOFF32 against .tdata


From: rafael.espindola at gmail dot com
Subject: [Bug gold/16773] New: Cannot process a R_X86_64_TPOFF32 against .tdata
Date: Sat, 29 Mar 2014 05:44:54 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]