aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2009-04-01 20:09:03 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2009-04-01 20:09:03 +0000
commit54e2dbe0fc68c6125e099dd1fc6e7ab19af5b07c (patch)
tree8669fa27637845c03823977b58587c0d5799b01e /ld
parent2e470849cc639eca2239a8c9ab1be4d19481266e (diff)
downloadgdb-54e2dbe0fc68c6125e099dd1fc6e7ab19af5b07c.zip
gdb-54e2dbe0fc68c6125e099dd1fc6e7ab19af5b07c.tar.gz
gdb-54e2dbe0fc68c6125e099dd1fc6e7ab19af5b07c.tar.bz2
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')
-rw-r--r--ld/testsuite/ChangeLog10
-rw-r--r--ld/testsuite/ld-powerpc/aix-gc-1.nd3
-rw-r--r--ld/testsuite/ld-powerpc/aix52.exp3
3 files changed, 15 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 124b11c..f1c5f49 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
+
+ * ld-powerpc/aix-gc-1.nd: New test.
+ * ld-powerpc/aix52.exp: Run it.
+
+2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
+
+ * ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test.
+ * ld-powerpc/aix52.exp: Run it.
+
2009-04-01 Dave Korn <dave.korn.cygwin@gmail.com>
* ld-cygwin/exe-export.exp: Add "-lkernel32" when linking test exe.
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 0000000..f399646
--- /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 c88ba9b..4d32b2d 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"