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

           Summary: gas should support R_386_TLS_GD_PLT, R_386_TLS_LDM_PLT
                    relocs
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: r...@techfak.uni-bielefeld.de
            Target: i?86-pc-solaris2.*


Until very recently, Sun ld required different code sequences for 32-bit TLS GD
and LD thand GNU ld, as documented in The Linker and Libraries Guide:

http://download.oracle.com/docs/cd/E19963-01/html/819-0690/chapter8-20.html#gentextid-20371

http://download.oracle.com/docs/cd/E19963-01/html/819-0690/chapter8-20.html#gentextid-20441

This went unnoticed for a long time since no GCC testcase exercised those TLS
access models.

This changed with the gcc patch discussed at

http://gcc.gnu.org/ml/gcc-patches/2011-05/msg01661.html

So to handle Solaris < 11 and older OpenSolaris releases, gas should add
support
for those relocs to fix the resulting testsuite failures.

I have a patch for @tlsldmplt ready since that's the part that cannot be worked
around, but will extend it to also handle @tlsgdplt.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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

Reply via email to