1/* Memory region overflow tests: two regions, each too small for the single
2   section placed there. */
3
4MEMORY {
5  bss (rwx) : ORIGIN = 0, LENGTH = 0
6  r1  (rwx) : ORIGIN = 0x1000, LENGTH = 8
7  r2  (rwx) : ORIGIN = 0x2000, LENGTH = 8
8}
9_start = 0x1000;
10SECTIONS {
11  .bss  : { *(.bss)  } > bss
12  .text : { *(.txt) } > r1
13  .data : { *(.dat) } > r2
14  /DISCARD/ : { *(*) }
15}
16