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