diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2006-10-19 13:42:17 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2006-10-19 13:42:17 +0000 |
commit | 6a4837657a02883bda341796fe407ee988cd0695 (patch) | |
tree | 2677bdcb07f219785abee474061f6a4eb91206ac /ld/testsuite/ld-mips-elf/multi-got-1.d | |
parent | 76101e23e55ea5df7a9db630067a991e3f960c84 (diff) | |
download | gdb-6a4837657a02883bda341796fe407ee988cd0695.zip gdb-6a4837657a02883bda341796fe407ee988cd0695.tar.gz gdb-6a4837657a02883bda341796fe407ee988cd0695.tar.bz2 |
bfd/
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG
and DT_MIPS_RLD_MAP tags for position-independent executables.
Do not add DT_DEBUG to shared libraries for any MIPS target.
ld/testsuite/
* ld-mips-elf/multi-got-1.d: Remove DT_DEBUG tag. Do not require
a specific file offset for .dynamic. Reduce DT_HASH by 8 to account
for removed tag.
* ld-mips-elf/tls-multi-got-1.r: Likewise. Also reduce DT_REL by 8.
Reduce PLTGOT and symbol values by 16 to account for the removed tag.
* ld-mips-elf/textrel-1.d: Remove DT_DEBUG tag.
* ld-mips-elf/rel32-n32.d: Reduce addresses by 16 to account for
removed DT_DEBUG tag.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/tls-multi-got-1.got: Likewise.
* ld-mips-elf/tlslib-o32-hidden.got: Likewise.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/multi-got-1.d')
-rw-r--r-- | ld/testsuite/ld-mips-elf/multi-got-1.d | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ld/testsuite/ld-mips-elf/multi-got-1.d b/ld/testsuite/ld-mips-elf/multi-got-1.d index 1ba5f4b..610cfad 100644 --- a/ld/testsuite/ld-mips-elf/multi-got-1.d +++ b/ld/testsuite/ld-mips-elf/multi-got-1.d @@ -5,14 +5,13 @@ #ld: -melf32btsmip -shared #readelf: -d -r -Dynamic section at offset 0xcc contains 18 entries: +Dynamic section at offset .* contains 17 entries: Tag Type Name/Value - 0x00000004 \(HASH\) 0x184 + 0x00000004 \(HASH\) 0x17c 0x00000005 \(STRTAB\) 0x[0-9a-f]+ 0x00000006 \(SYMTAB\) 0x[0-9a-f]+ 0x0000000a \(STRSZ\) [0-9]+ \(bytes\) 0x0000000b \(SYMENT\) 16 \(bytes\) - 0x00000015 \(DEBUG\) 0x0 0x00000003 \(PLTGOT\) 0x[0-9a-f]+ 0x00000011 \(REL\) 0x[0-9a-f]+ 0x00000012 \(RELSZ\) 65544 \(bytes\) |