* ld-scripts/rgn-over1.d: Accept extra LOAD at end of map file.
[binutils.git] / ld / testsuite / ld-scripts / rgn-over3.d
blob91504177692a0fa01724d428081915e9c3deef1e
1 # name: rgn-over3
2 # source: rgn-over.s
3 # ld: -T rgn-over3.t -Map tmpdir/rgn-over3.map
4 # error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section \.text will not fit in region r1\n[^ \n]*?ld[^:\n]*?: [^\n]*?section \.data will not fit in region r2\n[^ \n]*?ld[^:\n]*?: region r1 overflowed by 4 bytes\n[^ \n]*?ld[^:\n]*?: region r2 overflowed by 4 bytes\Z
6 Discarded input sections
7 #...
8 Memory\s+Configuration
10 Name\s+Origin\s+Length\s+Attributes
11 bss\s+0x0+0000\s+0x0+0000\s+xrw
12 r1\s+0x0+1000\s+0x0+0008\s+xrw
13 r2\s+0x0+2000\s+0x0+0008\s+xrw
14 \*default\*\s+0x0+0000\s+0xf+ffff
16 Linker\s+script\s+and\s+memory\s+map
18 \s*0x0+1000\s+_start\s+=\s+0x1000
20 \s*\.bss\s+0x0+0000\s+0x0
21 \s*\*\(\.bss\)
22 \s*\.bss\s+0x0+0000\s+0x0\s+.*?
24 \s*\.text\s+0x0+1000\s+0xc
25 \s*\*\(\.txt\)
26 \s*\.txt\s+0x0+1000\s+0xc\s+.*?
28 \s*\.data\s+0x0+2000\s+0xc
29 \s*\*\(\.dat\)
30 \s*\.dat\s+0x0+2000\s+0xc\s+.*?
32 /DISCARD/
33 \*\(\*\)
34 LOAD\s+.*?
35 OUTPUT\(.*?\)
36 #pass