aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2009-03-14 09:14:30 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2009-03-14 09:14:30 +0000
commit9ec59d51e9ad0caf39d28ca85cf4a55bbbbc3929 (patch)
tree2daea64c35a65c61bac80c5c5b2035b625fff44b /ld/testsuite/ld-powerpc/aix-core-sec-2.s
parentbfd/ (diff)
downloadbinutils-gdb-9ec59d51e9ad0caf39d28ca85cf4a55bbbbc3929.tar.gz
binutils-gdb-9ec59d51e9ad0caf39d28ca85cf4a55bbbbc3929.tar.bz2
binutils-gdb-9ec59d51e9ad0caf39d28ca85cf4a55bbbbc3929.zip
ld/
* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark .text, .data and .bss output sections as SEC_KEEP. ld/testsuite/ * ld-powerpc/aix-core-sec-1.s, ld-powerpc/aix-core-sec-1.ex, ld-powerpc/aix-core-sec-1.hd, ld-powerpc/aix-core-sec-2.s, ld-powerpc/aix-core-sec-2.ex, ld-powerpc/aix-core-sec-2.hd, ld-powerpc/aix-core-sec-3.s, ld-powerpc/aix-core-sec-3.ex, ld-powerpc/aix-core-sec-3.hd: New tests. * ld-powerpc/aix52.exp: New harness.
Diffstat (limited to 'ld/testsuite/ld-powerpc/aix-core-sec-2.s')
-rw-r--r--ld/testsuite/ld-powerpc/aix-core-sec-2.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/aix-core-sec-2.s b/ld/testsuite/ld-powerpc/aix-core-sec-2.s
new file mode 100644
index 00000000000..357796ee38d
--- /dev/null
+++ b/ld/testsuite/ld-powerpc/aix-core-sec-2.s
@@ -0,0 +1,5 @@
+ .globl foo
+ .csect foo[RW]
+foo:
+ .long 0x12345678
+ .long 0xdeadbeef