>From Jörg Sonnenberger <[EMAIL PROTECTED]>:

When linking PIC and non-PIC object files which access the same thread locale
variable, R_386_TLS_GD and R_386_TLS_IE relocations are merged into a single
R_386_TLS_TPOFF relocation, ignoring the different offset calculations.
ftp://packages.stura.uni-rostock.de/misc/tls-reloc.tgz has a small test case.
It results in a segfault of ld-linux.

-- 
           Summary: binutils incorrectly merges TLS relocations of different
                    types
           Product: binutils
           Version: 2.17 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: schwab at suse dot de
                CC: bug-binutils at gnu dot org
GCC target triplet: i586-*-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=2513

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to