Add ability to change linker warning messages into errors when reporting executable...
[binutils-gdb.git] / ld / testsuite / ld-scripts / rgn-over5.d
blob34e186dd126c78ffb00684923fc5a89928c3e40f
1 # name: rgn-over5
2 # source: rgn-over.s
3 # ld: -T rgn-over5.t -Map tmpdir/rgn-over5.map --no-error-rwx-segments
4 # error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section `\.text' will not fit in region `v1'\n[^ \n]*?ld[^:\n]*?: region `v1' overflowed by 16 bytes\Z
6 #...
7 Discarded input sections
8 #...
9 Memory\s+Configuration
11 Name\s+Origin\s+Length\s+Attributes
12 bss\s+0x0+0000\s+0x0+0000\s+xrw
13 r1\s+0x0+1000\s+0x0+0018\s+xrw
14 v1\s+0x0+2000\s+0x0+0008\s+xrw
15 \*default\*\s+0x0+0000\s+0xf+ffff
17 Linker\s+script\s+and\s+memory\s+map
19 \s*0x0+1000\s+_start\s+=\s+0x1000
21 \s*\.bss\s+0x0+0000\s+0x0
22 \s*\*\(\.bss\)
23 \s*\.bss\s+0x0+0000\s+0x0\s+.*?
25 \s*\.text\s+0x0+1000\s+0xc\s+load\s+address\s+0x0+2000
26 \s*\*\(\.txt\)
27 \s*\.txt\s+0x0+1000\s+0xc\s+.*?
29 \s*\.data\s+0x0+100c\s+0xc\s+load\s+address\s+0x0+200c
30 \s*\*\(\.dat\)
31 \s*\.dat\s+0x0+100c\s+0xc\s+.*?
33 /DISCARD/
34 \*\(\*\)
35 LOAD\s+.*?
36 OUTPUT\(.*?\)
37 #pass