]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-scripts/rgn-over3.d
daily update
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-scripts / rgn-over3.d
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
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+2000\s+0x0+0008\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+2000\s+0xc
29 \s*\*\(\.dat\)
30 \s*\.dat\s+0x0+2000\s+0xc\s+.*?
31
32 /DISCARD/
33 \*\(\*\)
34 LOAD\s+.*?
35 OUTPUT\(.*?\)
36 #pass