old-cross-binutils/ld/testsuite/ld-elf/relocatable.d
H.J. Lu 0e6b97bb76 2009-10-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10749
	* ld-elf/relocatable.d: New.
	* ld-elf/relocatable.t: Likewise.
	* ld-elf/simple.s: Likewise.
2009-10-09 13:32:50 +00:00

9 lines
240 B
Makefile

#name: relocatable with script
#source: simple.s
#ld: -r -T relocatable.t
#readelf: -S --wide
#...
\[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t]+0+800000[ \t0-9a-f]+AX.*
\[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t]+0+900000[ \t0-9a-f]+WA.*
#pass