aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-linkonce
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-15 12:08:33 +0930
committerAlan Modra <amodra@gmail.com>2020-06-15 12:08:33 +0930
commitcda58d5f970d0257749d549aee9c0e2bfb4a1fe8 (patch)
tree392803a3ebff8d196e272fb304a7d7ffcd33e4e2 /ld/testsuite/ld-linkonce
parent5d0fdfee2441abc200ffb3895392311c13d41977 (diff)
downloadgdb-cda58d5f970d0257749d549aee9c0e2bfb4a1fe8.zip
gdb-cda58d5f970d0257749d549aee9c0e2bfb4a1fe8.tar.gz
gdb-cda58d5f970d0257749d549aee9c0e2bfb4a1fe8.tar.bz2
ld-linkonce test
* testsuite/ld-linkonce/zeroeh_x.s: Rename from x.s. * testsuite/ld-linkonce/zeroeh_y.s: Rename from y.s. * testsuite/ld-linkonce/zeroehl32.d: Adjust for renaming. Support big-endian output. Run for powerpc.
Diffstat (limited to 'ld/testsuite/ld-linkonce')
-rw-r--r--ld/testsuite/ld-linkonce/zeroeh_x.s (renamed from ld/testsuite/ld-linkonce/x.s)0
-rw-r--r--ld/testsuite/ld-linkonce/zeroeh_y.s (renamed from ld/testsuite/ld-linkonce/y.s)0
-rw-r--r--ld/testsuite/ld-linkonce/zeroehl32.d21
3 files changed, 11 insertions, 10 deletions
diff --git a/ld/testsuite/ld-linkonce/x.s b/ld/testsuite/ld-linkonce/zeroeh_x.s
index d07f73e..d07f73e 100644
--- a/ld/testsuite/ld-linkonce/x.s
+++ b/ld/testsuite/ld-linkonce/zeroeh_x.s
diff --git a/ld/testsuite/ld-linkonce/y.s b/ld/testsuite/ld-linkonce/zeroeh_y.s
index c1eb511..c1eb511 100644
--- a/ld/testsuite/ld-linkonce/y.s
+++ b/ld/testsuite/ld-linkonce/zeroeh_y.s
diff --git a/ld/testsuite/ld-linkonce/zeroehl32.d b/ld/testsuite/ld-linkonce/zeroehl32.d
index bd8fc6f..3aa73c9 100644
--- a/ld/testsuite/ld-linkonce/zeroehl32.d
+++ b/ld/testsuite/ld-linkonce/zeroehl32.d
@@ -1,21 +1,22 @@
-#source: x.s
-#source: y.s
+#source: zeroeh_x.s
+#source: zeroeh_y.s
#ld: -Ttext 0xa00 -T zeroeh.ld
#objdump: -s
#target: cris-*-elf cris-*-linux* i?86-*-elf i?86-*-linux* i?86-*-gnu*
+#target: powerpc-*-elf powerpc-*-linux*
# The word at address 201c, for the linkonce-excluded section, must be zero.
.*: file format elf32.*
Contents of section \.text:
- 0a00 080a0000 100a0000 01000000 02000000 .*
- 0a10 03000000 .*
+ 0a00 (00000a08 00000a10 00000001 00000002|080a0000 100a0000 01000000 02000000) .*
+ 0a10 (00000003|03000000) .*
Contents of section \.gcc_except_table:
- 2000 02000000 080a0000 08000000 07000000 .*
- 2010 100a0000 04000000 66600000 00000000 .*
- 2020 04000000 .*
+ 2000 (00000002 00000a08 00000008 00000007|02000000 080a0000 08000000 07000000) .*
+ 2010 (00000a10 00000004 00006066 00000000|100a0000 04000000 66600000 00000000) .*
+ 2020 (00000004|04000000) .*
Contents of section \.eh_frame:
- 4000 0c000000 00000000 0100017c 00000000 .*
- 4010 0c000000 14000000 080a0000 08000000 .*
- 4020 0c000000 24000000 100a0000 04000000 .*
+ 4000 (0000000c 00000000 0100017c 00000000|0c000000 00000000 0100017c 00000000) .*
+ 4010 (0000000c 00000014 00000a08 00000008|0c000000 14000000 080a0000 08000000) .*
+ 4020 (0000000c 00000024 00000a10 00000004|0c000000 24000000 100a0000 04000000) .*