diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-22 15:06:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-22 15:06:23 +0000 |
commit | 943284cc7c29a74a1bd1c7d90ea6dbd03bc8b17c (patch) | |
tree | c89202785fa39aafbab7e55264d799e88cabd30a /ld/testsuite | |
parent | a47212510fe70b26a950753d506b1a68708e0e26 (diff) | |
download | gdb-943284cc7c29a74a1bd1c7d90ea6dbd03bc8b17c.zip gdb-943284cc7c29a74a1bd1c7d90ea6dbd03bc8b17c.tar.gz gdb-943284cc7c29a74a1bd1c7d90ea6dbd03bc8b17c.tar.bz2 |
bfd/
* elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL
check.
(bfd_elf_final_link): Add a late DT_TEXTREL check.
* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define.
(mips_elf_create_dynamic_relocation): Set DF_TEXTREL.
(_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION.
Use MIPS_ELF_READONLY_SECTION.
(_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after
creating DT_TEXTREL.
(_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers
if no text relocations were generated.
ld/testsuite/
* ld-mips-elf/textrel-1.d: Relax some patterns.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/textrel-1.d | 20 |
2 files changed, 14 insertions, 10 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 444ad06..682e542 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-05-22 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-mips-elf/textrel-1.d: Relax some patterns. + 2006-05-22 Nick Clifton <nickc@redhat.com> * ld-elf/start.s (start): Add this symbol for SH targets. diff --git a/ld/testsuite/ld-mips-elf/textrel-1.d b/ld/testsuite/ld-mips-elf/textrel-1.d index 29a166d..7172bb7 100644 --- a/ld/testsuite/ld-mips-elf/textrel-1.d +++ b/ld/testsuite/ld-mips-elf/textrel-1.d @@ -6,21 +6,21 @@ Dynamic section at offset 0xb4 contains 18 entries: Tag Type Name/Value - 0x00000004 \(HASH\) 0x16c - 0x00000005 \(STRTAB\) 0x30c - 0x00000006 \(SYMTAB\) 0x1fc - 0x0000000a \(STRSZ\) 84 \(bytes\) + 0x00000004 \(HASH\) 0x[0-9a-f]* + 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\) 0x1003e0 - 0x00000011 \(REL\) 0x360 + 0x00000003 \(PLTGOT\) 0x[0-9a-f]* + 0x00000011 \(REL\) 0x[0-9a-f]* 0x00000012 \(RELSZ\) 8 \(bytes\) 0x00000013 \(RELENT\) 8 \(bytes\) 0x70000001 \(MIPS_RLD_VERSION\) 1 0x70000005 \(MIPS_FLAGS\) NOTPOT 0x70000006 \(MIPS_BASE_ADDRESS\) 0 - 0x7000000a \(MIPS_LOCAL_GOTNO\) 7 - 0x70000011 \(MIPS_SYMTABNO\) 17 - 0x70000012 \(MIPS_UNREFEXTNO\) 12 - 0x70000013 \(MIPS_GOTSYM\) 0x11 + 0x7000000a \(MIPS_LOCAL_GOTNO\) [0-9]* + 0x70000011 \(MIPS_SYMTABNO\) [0-9]* + 0x70000012 \(MIPS_UNREFEXTNO\) [0-9]* + 0x70000013 \(MIPS_GOTSYM\) 0x[0-9a-f]* 0x00000000 \(NULL\) 0x0 |