diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2009-04-01 20:09:03 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2009-04-01 20:09:03 +0000 |
commit | 588333b176ce3586cb7927ead22d11e5a71b3112 (patch) | |
tree | 8f5e36084d0b5060afc1791ede1157fb257936fa /ld/testsuite/ld-powerpc | |
parent | 26196d14596ff1854b1ffc84cbc4b1828d512d66 (diff) | |
download | binutils-redhat-588333b176ce3586cb7927ead22d11e5a71b3112.tar.gz |
bfd/
* xcofflink.c (bfd_link_input_bfd): Treat __rtinit as C_HIDEXT
rather than C_EXT.
ld/testsuite/
* ld-powerpc/aix-gc-1.nd: New test.
* ld-powerpc/aix52.exp: Run it.
Diffstat (limited to 'ld/testsuite/ld-powerpc')
-rw-r--r-- | ld/testsuite/ld-powerpc/aix-gc-1.nd | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/aix52.exp | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ld-powerpc/aix-gc-1.nd b/ld/testsuite/ld-powerpc/aix-gc-1.nd new file mode 100644 index 0000000000..f399646b75 --- /dev/null +++ b/ld/testsuite/ld-powerpc/aix-gc-1.nd @@ -0,0 +1,3 @@ +#... +0*20000008 d __rtinit +#pass diff --git a/ld/testsuite/ld-powerpc/aix52.exp b/ld/testsuite/ld-powerpc/aix52.exp index c88ba9b510..4d32b2d006 100644 --- a/ld/testsuite/ld-powerpc/aix52.exp +++ b/ld/testsuite/ld-powerpc/aix52.exp @@ -131,7 +131,8 @@ set aix52tests { {"Garbage collection test 1" "-shared -binitfini:init_function:fini_function -bE:aix-gc-1.ex" "" {aix-gc-1.s} - {{objdump {-dz -j.text -j.data} aix-gc-1-SIZE.dd}} + {{objdump {-dz -j.text -j.data} aix-gc-1-SIZE.dd} + {nm {} aix-gc-1.nd}} "aix-gc-1.so"} {"Glink test 1" |