Fix the test for PR 18963 so that it will work on 16-bit targets.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / pr18963.d
index 293887f6a9b87abb629fa1affb19e1db3fd38195..875fe136ad732a865b2d2a21969140d68e619fcc 100644 (file)
@@ -1,22 +1,19 @@
-# source: pr18963.s
+# source: data.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.
+# notarget: *-*-aix* *-*-vms
+# Skip on AIX targets because they require non-empty sections.
 # Plus skip for VMS based targets as the linker automatically adds extra libraries that may not be present in a cross build.
+# 64-bit Cygwin targets always start their sections at 0x200000000 which is why the regexps include a 2.
 
 #...
-0+a00 . D
+0+700 A D
 #...
-0+a00 . E
+0+700 A E
 #...
-[02]+b00 T A
+[02]+800 T A
 #...
-[02]+c00 D B
+[02]+900 T B
 #...
-[02]+d00 . C
+[02]+a00 D C
 #pass
This page took 0.024477 seconds and 4 git commands to generate.