summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/pr18963.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/pr18963.d')
-rw-r--r--ld/testsuite/ld-scripts/pr18963.d19
1 files changed, 13 insertions, 6 deletions
diff --git a/ld/testsuite/ld-scripts/pr18963.d b/ld/testsuite/ld-scripts/pr18963.d
index 699db594ac3..293887f6a9b 100644
--- a/ld/testsuite/ld-scripts/pr18963.d
+++ b/ld/testsuite/ld-scripts/pr18963.d
@@ -1,15 +1,22 @@
-# source: data.s
+# source: pr18963.s
# ld: -T pr18963.t
# nm: -B -n
+# notarget: tic*-*-* ia64-*-* *-*-aix* microblaze-*-* *-*-vms
+# Skip this test on targets which have sizeof(byte) != sizeof(octet).
+# On these targets the ".lcomm _bss,0x100" directive does not create
+# a 0x100 byte long section as needed by the test.
+# Also skip it for AIX and IA64 targets because they use a non-standard version of .lcomm.
+# And skip for the microblaze target which does not support a .bss section at all.
+# Plus skip for VMS based targets as the linker automatically adds extra libraries that may not be present in a cross build.
#...
-0+70000 A D
+0+a00 . D
#...
-0+70000 A E
+0+a00 . E
#...
-0+80000 T A
+[02]+b00 T A
#...
-0+90000 T B
+[02]+c00 D B
#...
-0+a0000 D C
+[02]+d00 . C
#pass