bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Tue, 14 Mar 2006 07:47:49 +0000 (07:47 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Tue, 14 Mar 2006 07:47:49 +0000 (07:47 +0000)
commit81d43bffb567f96a583839f2384445f91e69a4fc
tree71943bdba439e0c3d55eeff065ae9ef4957cf37d
parent2f83030ff55770f7d5382868d0cef5dd7844f4b0
bfd/
* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
out from...
(_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
for final links too.

ld/testsuite/
* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
* ld-mips/mips-elf.exp: Run it.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/emit-relocs-1.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/emit-relocs-1.ld [new file with mode: 0644]
ld/testsuite/ld-mips-elf/emit-relocs-1a.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/emit-relocs-1b.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips-elf.exp