* ld-scripts/rgn-over1.d: Accept extra LOAD at end of map file.
[platform/upstream/binutils.git] / ld / testsuite / ld-scripts / rgn-over7.d
1 # name: rgn-over7
2 # source: rgn-over.s
3 # ld: -T rgn-over7.t -Map tmpdir/rgn-over7.map
4 # error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section \.text will not fit in region r1\n[^ \n]*?ld[^:\n]*?: section \.data \[0+1008 -> 0+1013\] overlaps section \.text \[0+1000 -> 0+100b\]\n[^ \n]*?ld[^:\n]*?: region r1 overflowed by 4 bytes\Z
5
6 Discarded input sections
7 #...
8 Memory\s+Configuration
9
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+1008\s+0x0+000c\s+xrw
14 \*default\*\s+0x0+0000\s+0xf+ffff
15
16 Linker\s+script\s+and\s+memory\s+map
17
18 \s*0x0+1000\s+_start\s+=\s+0x1000
19
20 \s*\.bss\s+0x0+0000\s+0x0
21 \s*\*\(\.bss\)
22 \s*\.bss\s+0x0+0000\s+0x0\s+.*?
23
24 \s*\.text\s+0x0+1000\s+0xc
25 \s*\*\(\.txt\)
26 \s*\.txt\s+0x0+1000\s+0xc\s+.*?
27
28 \s*\.data\s+0x0+1008\s+0xc
29 \s*\*\(\.dat\)
30 \s*\.dat\s+0x0+1008\s+0xc\s+.*?
31
32 /DISCARD/
33  \*\(\*\)
34 LOAD\s+.*?
35 OUTPUT\(.*?\)
36 #pass