bfd/
commit7418827dfa922b359450db773635f402581451e4
authorRichard Sandiford <rsandifo@nildram.co.uk>
Sat, 14 Mar 2009 09:16:01 +0000 (14 09:16 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Sat, 14 Mar 2009 09:16:01 +0000 (14 09:16 +0000)
tree6f464f555b1c1ca311687418ec7903a6f96b8173
parent3ea66a83f25c40a8bd1d4afa36a9219a1757cd35
bfd/
* coff-rs6000.c (xcoff_reloc_type_br): Make the branch absolute
if the target is absolute.  Fix comment typo.
(xcoff_ppc_relocate_section): Remove FIXME.
* coff64-rs6000.c (xcoff64_reloc_type_br): Make the branch absolute
if the target is absolute.

ld/testsuite/
* ld-powerpc/aix-abs-branch-1.im, ld-powerpc/aix-abs-branch-1.ex,
ld-powerpc/aix-abs-branch-1.s,
ld-powerpc/aix-abs-branch-1.dd: New test.
* ld-powerpc/aix52.exp: Run it.
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coff64-rs6000.c
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/aix-abs-branch-1.dd [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-abs-branch-1.ex [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-abs-branch-1.im [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix-abs-branch-1.s [new file with mode: 0644]
ld/testsuite/ld-powerpc/aix52.exp