aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-size/size64-2-x86-64.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-18 22:50:30 +0000
committerH.J. Lu <hjl.tools@gmail.com>2013-01-18 22:50:30 +0000
commit3bea1fcb8b8a9b3c2133c162fe4cd6c91f40cfdf (patch)
tree33498089cae58727b371d062fc99963767b83672 /ld/testsuite/ld-size/size64-2-x86-64.d
parentc60797fda43722bb6fbd5ea8381e465ee6792493 (diff)
downloadgdb-3bea1fcb8b8a9b3c2133c162fe4cd6c91f40cfdf.zip
gdb-3bea1fcb8b8a9b3c2133c162fe4cd6c91f40cfdf.tar.gz
gdb-3bea1fcb8b8a9b3c2133c162fe4cd6c91f40cfdf.tar.bz2
Resolve size relocation against non-zero TLS symbol
bfd/ * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for non-zero TLS symbol. (elf_i386_relocate_section): Resolve size relocation against non-zero TLS symbol. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count for non-zero TLS symbol. (elf_x86_64_relocate_section): 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.
Diffstat (limited to 'ld/testsuite/ld-size/size64-2-x86-64.d')
-rw-r--r--ld/testsuite/ld-size/size64-2-x86-64.d14
1 files changed, 6 insertions, 8 deletions
diff --git a/ld/testsuite/ld-size/size64-2-x86-64.d b/ld/testsuite/ld-size/size64-2-x86-64.d
index 4cc11cf..72c6592 100644
--- a/ld/testsuite/ld-size/size64-2-x86-64.d
+++ b/ld/testsuite/ld-size/size64-2-x86-64.d
@@ -8,14 +8,12 @@
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
-0+2003d8 R_X86_64_SIZE64 xxx
-0+2003e0 R_X86_64_SIZE64 yyy
-0+2003e8 R_X86_64_SIZE64 zzz
-0+2003f0 R_X86_64_SIZE64 zzz-0x000000000000001e
-0+2003f8 R_X86_64_SIZE64 zzz\+0x000000000000001e
+0+2003b8 R_X86_64_SIZE64 zzz
+0+2003c0 R_X86_64_SIZE64 zzz-0x000000000000001e
+0+2003c8 R_X86_64_SIZE64 zzz\+0x000000000000001e
Contents of section .data:
- 2003d8 00000000 00000000 00000000 00000000 ................
- 2003e8 00000000 00000000 00000000 00000000 ................
- 2003f8 00000000 00000000 ........
+ 2003a8 28000000 00000000 28000000 00000000 ................
+ 2003b8 00000000 00000000 00000000 00000000 ................
+ 2003c8 00000000 00000000 ........