diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:32:56 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:32:56 +0000 |
commit | c4037431e0ee0a46a4b8717ee6de97546143995b (patch) | |
tree | 40eb99f3d29e73105e60deba3f3e75b2c793540f /ld/testsuite | |
parent | 3df13c4a63ba23bb8e9b0b38f2dcd98d8d0b4a4b (diff) | |
download | fsf-binutils-gdb-c4037431e0ee0a46a4b8717ee6de97546143995b.zip fsf-binutils-gdb-c4037431e0ee0a46a4b8717ee6de97546143995b.tar.gz fsf-binutils-gdb-c4037431e0ee0a46a4b8717ee6de97546143995b.tar.bz2 |
bfd/
* xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute
symbols as XMC_XO.
ld/testsuite/
* ld-powerpc/aix-abs-branch-1.nd,
ld-powerpc/aix-abs-reloc-1.nd: New tests.
* ld-powerpc/aix52.exp: Run them.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/aix-abs-branch-1.nd | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/aix-abs-reloc-1.nd | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/aix52.exp | 4 |
4 files changed, 14 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ebb5120..0edc58b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + * ld-powerpc/aix-abs-branch-1.nd, + ld-powerpc/aix-abs-reloc-1.nd: New tests. + * ld-powerpc/aix52.exp: Run them. + +2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com> + * ld-powerpc/aix-lineno-1.s, ld-powerpc/aix-lineno-1.txt, ld-powerpc/aix-lineno-1a.dd, ld-powerpc/aix-lineno-1a.nd, ld-powerpc/aix-lineno-1b.dd, ld-powerpc/aix-lineno-1b.nd: New tests. diff --git a/ld/testsuite/ld-powerpc/aix-abs-branch-1.nd b/ld/testsuite/ld-powerpc/aix-abs-branch-1.nd new file mode 100644 index 0000000..6c5022a --- /dev/null +++ b/ld/testsuite/ld-powerpc/aix-abs-branch-1.nd @@ -0,0 +1,3 @@ +0*01450000 C bar +0*10000000 t foo +0*10000000 T foo diff --git a/ld/testsuite/ld-powerpc/aix-abs-reloc-1.nd b/ld/testsuite/ld-powerpc/aix-abs-reloc-1.nd new file mode 100644 index 0000000..003c796 --- /dev/null +++ b/ld/testsuite/ld-powerpc/aix-abs-reloc-1.nd @@ -0,0 +1,3 @@ +0*deadbeef C bar +0*10000000 d foo +0*10000000 D foo diff --git a/ld/testsuite/ld-powerpc/aix52.exp b/ld/testsuite/ld-powerpc/aix52.exp index 2178316..10e2031 100644 --- a/ld/testsuite/ld-powerpc/aix52.exp +++ b/ld/testsuite/ld-powerpc/aix52.exp @@ -72,13 +72,13 @@ 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}} + {{objdump {-dR} aix-abs-branch-1.dd} {nm {} aix-abs-branch-1.nd}} "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} - {{objdump -sRj.data aix-abs-reloc-1.od}} + {{objdump -sRj.data aix-abs-reloc-1.od} {nm {} aix-abs-reloc-1.nd}} "aix-abs-reloc-1.so"} {"Core sections test 1" "-shared -bE:aix-core-sec-1.ex" |