Properly handle R_386_TLS_LDO_32 for PIE.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 8 Apr 2011 16:14:49 +0000 (16:14 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 8 Apr 2011 16:14:49 +0000 (16:14 +0000)
commit959b0961c9c714aa735ebb59e925fdf6f5117d99
treea4ee34555eb80fd9b8a2b650389f7a219bd8a001
parent0e9dfb462638da8467eaa6f3981234f828463387
Properly handle R_386_TLS_LDO_32 for PIE.

bfd/

2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12654
* elf32-i386.c (elf_i386_relocate_section): Check !executable
instead of shared for R_386_TLS_LDO_32.

ld/testsuite/

2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12654
* ld-i386/i386.exp: Run tlspie2.

* ld-i386/tlspie2.d: New.
* ld-i386/tlspie2.s: Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/tlspie2.d [new file with mode: 0644]
ld/testsuite/ld-i386/tlspie2.s [new file with mode: 0644]
This page took 0.028162 seconds and 4 git commands to generate.