aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-size/size64-2-x32.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-02-07 02:15:30 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-02-07 02:15:30 +0000
commit20e52bd2b8041df10920960f5882636d420ebb13 (patch)
tree2439fb32d91d14e6653079491a1f4dd4332ff8a4 /ld/testsuite/ld-size/size64-2-x32.d
parent5605a9468ae3ac8763f23b1fbb3a9e3c7c9a5155 (diff)
downloadfsf-binutils-gdb-20e52bd2b8041df10920960f5882636d420ebb13.zip
fsf-binutils-gdb-20e52bd2b8041df10920960f5882636d420ebb13.tar.gz
fsf-binutils-gdb-20e52bd2b8041df10920960f5882636d420ebb13.tar.bz2
Don't resolve size relocation against non-zero TLS symbol
bfd/ * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count for non-zero TLS symbol. (elf_i386_relocate_section): Don't resolve size relocation against non-zero TLS symbol. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear pc_count for non-zero TLS symbol. (elf_x86_64_relocate_section): Don't resolve size relocation against non-zero TLS symbol. ld/testsuite/ * ld-size/size-10.rd: Updated. * ld-size/size-8.rd: Likewise. * ld-size/size32-2-i386.d: Likewise. * ld-size/size32-2-x32.d: Likewise. * ld-size/size32-2-x86-64.d: Likewise. * ld-size/size64-2-x32.d: Likewise. * ld-size/size64-2-x86-64.d: Likewise. * ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to linker for size-8 test.
Diffstat (limited to 'ld/testsuite/ld-size/size64-2-x32.d')
-rw-r--r--ld/testsuite/ld-size/size64-2-x32.d14
1 files changed, 8 insertions, 6 deletions
diff --git a/ld/testsuite/ld-size/size64-2-x32.d b/ld/testsuite/ld-size/size64-2-x32.d
index 987f244..1a30c98 100644
--- a/ld/testsuite/ld-size/size64-2-x32.d
+++ b/ld/testsuite/ld-size/size64-2-x32.d
@@ -8,12 +8,14 @@
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
-0+200270 R_X86_64_SIZE32 zzz
-0+200278 R_X86_64_SIZE64 zzz-0x0000001e
-0+200280 R_X86_64_SIZE64 zzz\+0x0000001e
+0+200278 R_X86_64_SIZE32 xxx
+0+200280 R_X86_64_SIZE32 yyy
+0+200288 R_X86_64_SIZE32 zzz
+0+200290 R_X86_64_SIZE64 zzz-0x0000001e
+0+200298 R_X86_64_SIZE64 zzz\+0x0000001e
Contents of section .data:
- 200260 28000000 00000000 28000000 00000000 ................
- 200270 00000000 00000000 00000000 00000000 ................
- 200280 00000000 00000000 ........
+ 200278 00000000 00000000 00000000 00000000 ................
+ 200288 00000000 00000000 00000000 00000000 ................
+ 200298 00000000 00000000 ........