aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/tls-multi-got-1.r
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-10-20 07:57:03 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-10-20 07:57:03 +0000
commit98c904a8640de8891570902ac9d1ef6153092a18 (patch)
treed3417b6c2e1b4ed258185a95cd7c54f9e41cc6b7 /ld/testsuite/ld-mips-elf/tls-multi-got-1.r
parent5427f821ae3f03e66f93914e805284a08dbc0df1 (diff)
downloadgdb-98c904a8640de8891570902ac9d1ef6153092a18.zip
gdb-98c904a8640de8891570902ac9d1ef6153092a18.tar.gz
gdb-98c904a8640de8891570902ac9d1ef6153092a18.tar.bz2
bfd/
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate a PT_NULL header for dynamic objects. (_bfd_mips_elf_modify_segment_map): Add it. ld/testsuite/ * ld-mips-elf/multi-got-1.d: Do not expect a particular address for DT_HASH. * ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for the extra program header. * ld-mips-elf/rel32-n32.d: Likewise. * ld-mips-elf/tlslib-o32.got: Likewise. * ld-mips-elf/tlslib-o32-hidden.got: Likewise. * ld-mips-elf/tlslib-o32-ver.got: Likewise. * ld-mips-elf/tls-multi-got-1.got: Likewise. * ld-mips-elf/tls-multi-got-1.r: Likewise. * ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the extra program header. * ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account for the extra program header, and thus the shorter gap between the text and data segments. * ld-mips-elf/tlsdyn-o32-1.d: Likewise. * ld-mips-elf/tlsdyn-o32-2.d: Likewise. * ld-mips-elf/tlsdyn-o32-3.d: Likewise. * ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20 to account for the extra program header. * ld-mips-elf/tlsdyn-o32-1.got: Likewise. * ld-mips-elf/tlsdyn-o32-2.got: Likewise. * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/tls-multi-got-1.r')
-rw-r--r--ld/testsuite/ld-mips-elf/tls-multi-got-1.r14
1 files changed, 7 insertions, 7 deletions
diff --git a/ld/testsuite/ld-mips-elf/tls-multi-got-1.r b/ld/testsuite/ld-mips-elf/tls-multi-got-1.r
index 3befcd7..c63d230 100644
--- a/ld/testsuite/ld-mips-elf/tls-multi-got-1.r
+++ b/ld/testsuite/ld-mips-elf/tls-multi-got-1.r
@@ -1,13 +1,13 @@
Dynamic section at offset .* contains 18 entries:
Tag Type Name/Value
- 0x00000004 \(HASH\) 0x1a4
+ 0x00000004 \(HASH\) 0x1c4
0x00000005 \(STRTAB\).*
0x00000006 \(SYMTAB\).*
0x0000000a \(STRSZ\) 220091 \(bytes\)
0x0000000b \(SYMENT\) 16 \(bytes\)
- 0x00000003 \(PLTGOT\) 0x122400
- 0x00000011 \(REL\) 0xa7958
+ 0x00000003 \(PLTGOT\) 0x122420
+ 0x00000011 \(REL\) 0xa7978
0x00000012 \(RELSZ\) 160072 \(bytes\)
0x00000013 \(RELENT\) 8 \(bytes\)
0x70000001 \(MIPS_RLD_VERSION\) 1
@@ -31,9 +31,9 @@ Relocation section '\.rel\.dyn' at offset 0x[0-9a-f]+ contains 20031 entries:
[0-9a-f ]+R_MIPS_TLS_DTPREL 00000000 tlsvar_gd
[0-9a-f ]+R_MIPS_TLS_TPREL3 00000004 tlsvar_ie
[0-9a-f ]+R_MIPS_TLS_TPREL3 00000004 tlsvar_ie
-[0-9a-f ]+R_MIPS_REL32 000d8028 sym_1_9526
-[0-9a-f ]+R_MIPS_REL32 000d6684 sym_1_7885
+[0-9a-f ]+R_MIPS_REL32 000d8048 sym_1_9526
+[0-9a-f ]+R_MIPS_REL32 000d66a4 sym_1_7885
#...
-[0-9a-f ]+R_MIPS_REL32 000cf294 sym_1_0465
-[0-9a-f ]+R_MIPS_REL32 000e0ed8 sym_2_8654
+[0-9a-f ]+R_MIPS_REL32 000cf2b4 sym_1_0465
+[0-9a-f ]+R_MIPS_REL32 000e0ef8 sym_2_8654
#...