binutils-gdb/ld/testsuite/ld-i386/tlspie2.s
H.J. Lu 959b0961c9 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.
2011-04-08 16:14:49 +00:00

13 lines
181 B
ArmAsm

.section .tbss,"awT",@nobits
.align 4
.type a, @object
.size a, 4
a:
.zero 4
.text
.globl _start
.type _start, @function
_start:
leal a@dtpoff, %eax
.size _start, .-_start