Home | History | Annotate | Download | only in ld-scripts
      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 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+0014\s+xrw
     13 \*default\*\s+0x0+0000\s+0xf+ffff
     14 
     15 Linker\s+script\s+and\s+memory\s+map
     16 
     17 \s*0x0+1000\s+_start\s+=\s+0x1000
     18 
     19 \s*\.bss\s+0x0+0000\s+0x0
     20 \s*\*\(\.bss\)
     21 \s*\.bss\s+0x0+0000\s+0x0\s+.*?
     22 
     23 \s*\.text\s+0x0+1000\s+0xc
     24 \s*\*\(\.txt\)
     25 \s*\.txt\s+0x0+1000\s+0xc\s+.*?
     26 
     27 \s*\.data\s+0x0+100c\s+0xc
     28 \s*\*\(\.dat\)
     29 \s*\.dat\s+0x0+100c\s+0xc\s+.*?
     30 
     31 /DISCARD/
     32  \*\(\*\)
     33 LOAD\s+.*?
     34 OUTPUT\(.*?\)
     35 #pass
     36