Files
binutils-gdb/ld/testsuite/ld-scripts/pr18963.d
Stephen Casner 7a1a12f4d1 Fix the test for PR 18963 so that it will work on 16-bit targets.
PR ld/18963
	* testsuite/ld-scripts/pr18963.s: New, replaces empty data.s to
	allocate space in text, data, bss here rather than pr18963.t.
	* testsuite/ld-scripts/pr18963.t: Remove assignments to dot.
	* testsuite/ld-scripts/pr18963.d: Change addresses to fit 16 bits.
2020-04-16 16:13:31 +01:00

23 lines
694 B
Makefile

# 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+a00 . D
#...
0+a00 . E
#...
[02]+b00 T A
#...
[02]+c00 D B
#...
[02]+d00 . C
#pass