diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:16:01 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:16:01 +0000 |
commit | 12b2cce9148e4cfdc9f135cfa1a21485be51dc5b (patch) | |
tree | 9d4e86818c270ad7f8d3572552a1ff66b3c24816 /ld/testsuite/ld-powerpc/aix52.exp | |
parent | 0e3212adedf457b6f7b877b18667190cc79f0848 (diff) | |
download | gdb-12b2cce9148e4cfdc9f135cfa1a21485be51dc5b.zip gdb-12b2cce9148e4cfdc9f135cfa1a21485be51dc5b.tar.gz gdb-12b2cce9148e4cfdc9f135cfa1a21485be51dc5b.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite/ld-powerpc/aix52.exp')
-rw-r--r-- | ld/testsuite/ld-powerpc/aix52.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/aix52.exp b/ld/testsuite/ld-powerpc/aix52.exp index 1263796..632d0b9 100644 --- a/ld/testsuite/ld-powerpc/aix52.exp +++ b/ld/testsuite/ld-powerpc/aix52.exp @@ -65,6 +65,12 @@ proc run_aix_test { size name ldopts asopts sources tools output } { } set aix52tests { + {"Absolute branch test 1" + "-shared -bI:aix-abs-branch-1.im -bE:aix-abs-branch-1.ex" + "" {aix-abs-branch-1.s} + {{objdump {-dR} aix-abs-branch-1.dd}} + "aix-abs-branch-1.so"} + {"Relocations against absolute symbols 1" "-shared -bI:aix-abs-reloc-1.im -bE:aix-abs-reloc-1.ex" {} {aix-abs-reloc-1.s} |