Home | History | Annotate | Download | only in ld-scripts
      1 # name: rgn-over5
      2 # source: rgn-over.s
      3 # ld: -T rgn-over5.t -Map tmpdir/rgn-over5.map
      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
      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+0018\s+xrw
     13 v1\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\s+load\s+address\s+0x0+2000
     25 \s*\*\(\.txt\)
     26 \s*\.txt\s+0x0+1000\s+0xc\s+.*?
     27 
     28 \s*\.data\s+0x0+100c\s+0xc\s+load\s+address\s+0x0+200c
     29 \s*\*\(\.dat\)
     30 \s*\.dat\s+0x0+100c\s+0xc\s+.*?
     31 
     32 /DISCARD/
     33  \*\(\*\)
     34 LOAD\s+.*?
     35 OUTPUT\(.*?\)
     36 #pass
     37