binutils-gdb/ld/testsuite/ld-scripts/pr18963.d
Stephen Casner 0203cad215 Fix the test for PR 18963 so that it will work on 16-bit targets.
PR 18963
	* testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
	16-bit address space.
	* testsuite/ld-scripts/pr18963.d: Likewise.
2020-04-17 14:16:27 +01:00

20 lines
461 B
D

# source: data.s
# ld: -T pr18963.t
# nm: -B -n
# 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+700 A D
#...
0+700 A E
#...
[02]+800 T A
#...
[02]+900 T B
#...
[02]+a00 D C
#pass