1 # name: rgn-over2
2 # source: rgn-over.s
3 # ld: -T rgn-over2.t -Map tmpdir/rgn-over2.map
4 # error: \A[^ \n]*?ld[^:\n]*?: [^\n]*?section `\.data' will not fit in region `r1'\n[^ \n]*?ld[^:\n]*?: region `r1' overflowed by 4 bytes\Z
5 
6 #...
7 Discarded input sections
8 #...
9 Memory\s+Configuration
10 
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+0014\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+100c\s+0xc
29 \s*\*\(\.dat\)
30 \s*\.dat\s+0x0+100c\s+0xc\s+.*?
31 
32 /DISCARD/
33  \*\(\*\)
34 LOAD\s+.*?
35 OUTPUT\(.*?\)
36 #pass
37