old-cross-binutils/ld/testsuite/ld-elf/orphan.d
2005-10-24 23:06:19 +00:00

12 lines
342 B
Makefile

#source: orphan.s
#ld: -T orphan.ld
#readelf: -S --wide
#...
\[[ 0-9]+\] \.(text|notbad)[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
\[[ 0-9]+\] \.(text|notbad)[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
\[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t0-9a-f]+WA.*
#...
\[[ 0-9]+\] \.note[ \t]+NOTE[ \t0-9a-f]+A.*
\[[ 0-9]+\] \.note.bar[ \t]+NOTE[ \t0-9a-f]+A.*
#pass