[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/12995] New: gas should support R_386_TLS_GD_PLT, R_386_TLS_LDM_
From: |
ro at TechFak dot Uni-Bielefeld.DE |
Subject: |
[Bug gas/12995] New: gas should support R_386_TLS_GD_PLT, R_386_TLS_LDM_PLT relocs |
Date: |
Wed, 13 Jul 2011 10:21:33 +0000 |
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: address@hidden
ReportedBy: address@hidden
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 gas/12995] New: gas should support R_386_TLS_GD_PLT, R_386_TLS_LDM_PLT relocs,
ro at TechFak dot Uni-Bielefeld.DE <=