bfd/ChangeLog:
authorEric Christopher <echristo@gmail.com>
Thu, 24 Mar 2005 01:30:47 +0000 (01:30 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 24 Mar 2005 01:30:47 +0000 (01:30 +0000)
commitcc27e1dc443cce3873732b05a22c3ce4462e866a
tree57c48568716d3936114fb2f493d50efc0107eb07
parent2ecb839027f3cc2f6f5dd55eddd65df2efa0c4a8
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.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/rel32-n32.d
ld/testsuite/ld-mips-elf/rel32-o32.d
ld/testsuite/ld-mips-elf/rel64.d
ld/testsuite/ld-mips-elf/textrel-1.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/textrel-1.s [new file with mode: 0644]