Add ability to change linker warning messages into errors when reporting executable...
[binutils-gdb.git] / ld / testsuite / ld-elf / orphan.d
1 #source: orphan.s
2 #ld: -T orphan.ld --no-warn-rwx-segments
3 #readelf: -S --wide
4 #xfail: [uses_genelf]
5 # if not using elf.em, you don't get fancy orphan handling
6
7 #...
8 \[[ 0-9]+\] \.(text|notbad)[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
9 #...
10 \[[ 0-9]+\] \.(text|notbad)[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
11 \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t0-9a-f]+WA.*
12 #...
13 \[[ 0-9]+\] \.note[ \t]+NOTE[ \t0-9a-f]+A.*
14 \[[ 0-9]+\] \.note.bar[ \t]+NOTE[ \t0-9a-f]+A.*
15 #pass