diff options
author | Eric Christopher <echristo@gmail.com> | 2005-03-24 01:30:47 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2005-03-24 01:30:47 +0000 |
commit | cc27e1dc443cce3873732b05a22c3ce4462e866a (patch) | |
tree | 57c48568716d3936114fb2f493d50efc0107eb07 /ld/testsuite/ld-mips-elf/mips-elf.exp | |
parent | 2ecb839027f3cc2f6f5dd55eddd65df2efa0c4a8 (diff) | |
download | gdb-cc27e1dc443cce3873732b05a22c3ce4462e866a.zip gdb-cc27e1dc443cce3873732b05a22c3ce4462e866a.tar.gz gdb-cc27e1dc443cce3873732b05a22c3ce4462e866a.tar.bz2 |
bfd/ChangeLog:
2005-03-23 Eric Christopher <echristo@redhat.com>
* elfxx-mips.c (MIPS_ELF_READONLY_SECTION): New.
(mips_elf_calculate_relocation): Use. Define DF_TEXTREL
after emitting relocation.
(_bfd_mips_elf_adjust_dynamic_symbol): Ditto.
(_bfd_mips_elf_check_relocs): Remove code to set DF_TEXTREL
and readonly_reloc.
ld/testsuite/ChangeLog:
2005-03-23 Eric Christopher <echristo@redhat.com>
* ld-mips-elf/textrel-1.s, ld-mips-elf/textrel-1.d: New
test.
* ld-mips-elf/mips-elf.exp: Call it.
* ld-mips-elf/rel32-n32.d: Update for DF_TEXTREL removal.
* ld-mips-elf/rel32-o32.d: Ditto.
* ld-mips-elf/rel64.d: Ditto.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/mips-elf.exp')
-rw-r--r-- | ld/testsuite/ld-mips-elf/mips-elf.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp index 5413a72..b07f709 100644 --- a/ld/testsuite/ld-mips-elf/mips-elf.exp +++ b/ld/testsuite/ld-mips-elf/mips-elf.exp @@ -101,6 +101,10 @@ if {$has_newabi} { run_dump_test "mips16-hilo-n32" } +if { $linux_gnu } { + run_dump_test "textrel-1" +} + # For tests which may involve multiple files, use run_ld_link_tests. # List contains test-items with 3 items followed by 2 lists: |