1/* Memory region overflow tests: overflow VMA but not LMA.  */
2
3MEMORY {
4  bss (rwx) : ORIGIN = 0, LENGTH = 0
5  r1  (rwx) : ORIGIN = 0x1000, LENGTH = 8
6  v1  (rwx) : ORIGIN = 0x2000, LENGTH = 24
7}
8_start = 0x1000;
9SECTIONS {
10  .bss  : { *(.bss)  } > bss
11  .text : { *(.txt) } > r1 AT> v1
12  .data : { *(.dat) } > r1 AT> v1
13  /DISCARD/ : { *(*) }
14}
15