bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 12 Apr 2007 19:26:09 +0000 (19:26 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Thu, 12 Apr 2007 19:26:09 +0000 (19:26 +0000)
commit9e3313aecd599cca275c602250d928cc6755177b
tree3e6cb207cff0dbdb1c2669cef335c3894d41bdb9
parent1aa9ef630cd7777c24e5d1592c54fbeffad22fd8
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Set DT_TEXTREL
when creating a __GOTT_BASE__ or __GOTT_INDEX__ relocation
in a read-only section.
(_bfd_mips_elf_check_relocs): Likewise.

ld/testsuite/
* ld-mips-elf/vxworks1-lib.td: New test.
* ld-mips-elf/mips-elf.exp: Run it.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/vxworks1-lib.td [new file with mode: 0644]