binutils-gdb/ld/testsuite/ld-elf/pr14926.d
H.J. Lu 133c2bb257 Add a testase for PR ld/14926
PR ld/14926
	* ld-elf/pr14926.d: New file.
	* ld-elf/pr14926.s: Likewise.
2012-12-07 12:32:50 +00:00

14 lines
288 B
Makefile

#ld: -Ttext=0x60
#readelf: -S -l --wide
#...
\[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t]+0*60[ \t]+.*
#...
Program Headers:
Type.*
LOAD[ \t]+0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x[0-9a-f]+
Section to Segment mapping:
Segment Sections...
00 .text *