summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/textrel-1.d
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-05-22 15:06:23 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-05-22 15:06:23 +0000
commit62c77b03ae51efcd6ff39e0c760376b8abb6d0a7 (patch)
treeb02f0a835b42d31bacdb17aa8b7af6591072b8fb /ld/testsuite/ld-mips-elf/textrel-1.d
parentfa00f90f647c1f26432a650dc85c8399523d4ccf (diff)
downloadbinutils-redhat-62c77b03ae51efcd6ff39e0c760376b8abb6d0a7.tar.gz
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/ld-mips-elf/textrel-1.d')
-rw-r--r--ld/testsuite/ld-mips-elf/textrel-1.d20
1 files changed, 10 insertions, 10 deletions
diff --git a/ld/testsuite/ld-mips-elf/textrel-1.d b/ld/testsuite/ld-mips-elf/textrel-1.d
index 29a166da45..7172bb7ea4 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