aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/tlsle1.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-07-23 21:22:20 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-07-23 21:22:20 +0000
commit9b769489c6ae11df1294c5a1502daf8c78b00376 (patch)
tree9f30e0977c62f28bd66bc9f2ec9e2a2efcd06a9c /ld/testsuite/ld-x86-64/tlsle1.s
parent89295b4d6f980663e6bd35568e2b733659dc58df (diff)
downloadgdb-9b769489c6ae11df1294c5a1502daf8c78b00376.zip
gdb-9b769489c6ae11df1294c5a1502daf8c78b00376.tar.gz
gdb-9b769489c6ae11df1294c5a1502daf8c78b00376.tar.bz2
bfd/
2009-07-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/10434 * elf64-x86-64.c (elf64_x86_64_check_relocs): Check executable instead of shared for R_X86_64_TPOFF32. (elf64_x86_64_relocate_section): Likewise. ld/testsuite/ 2009-07-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/10434 * ld-x86-64/tlsle1.d: New. * ld-x86-64/tlsle1.s: Likewise. * ld-x86-64/x86-64.exp: Run tlsle1.
Diffstat (limited to 'ld/testsuite/ld-x86-64/tlsle1.s')
-rw-r--r--ld/testsuite/ld-x86-64/tlsle1.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/tlsle1.s b/ld/testsuite/ld-x86-64/tlsle1.s
new file mode 100644
index 0000000..4346a5d
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/tlsle1.s
@@ -0,0 +1,11 @@
+ .text
+ .globl _start
+_start:
+ movl $0, %fs:foo@TPOFF
+ .globl foo
+ .section .tdata,"awT",@progbits
+ .align 4
+ .type foo, @object
+ .size foo, 4
+foo:
+ .long 100