diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:15:34 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:15:34 +0000 |
commit | 0e3212adedf457b6f7b877b18667190cc79f0848 (patch) | |
tree | 8f75d612efcba9893eb8e3587a6e500fa3156eed /ld/testsuite/ld-powerpc/aix52.exp | |
parent | 62008a1686c7043e11fdf8f28aafba721d9cb2b3 (diff) | |
download | binutils-gdb-0e3212adedf457b6f7b877b18667190cc79f0848.tar.gz |
bfd/
* xcofflink.c (xcoff_mark, xcoff_link_input_bfd): Don't copy
R_POS and R_NEG relocations against absolute symbols to the
.loader section.
ld/testsuite/
* ld-powerpc/aix-abs-reloc-1.ex, ld-powerpc/aix-abs-reloc-1.im,
ld-powerpc/aix-abs-reloc-1.od, ld-powerpc/aix-abs-reloc-1.s: 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 09725573ca2..1263796b720 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 { + {"Relocations against absolute symbols 1" + "-shared -bI:aix-abs-reloc-1.im -bE:aix-abs-reloc-1.ex" + {} {aix-abs-reloc-1.s} + {{objdump -sRj.data aix-abs-reloc-1.od}} + "aix-abs-reloc-1.so"} + {"Core sections test 1" "-shared -bE:aix-core-sec-1.ex" "" {aix-core-sec-1.s} {{objdump -h aix-core-sec-1.hd}} |