1/* Memory region overflow tests: overflow r1 plus text/data collision. */ 2 3MEMORY { 4 bss (rwx) : ORIGIN = 0, LENGTH = 0 5 r1 (rwx) : ORIGIN = 0x1000, LENGTH = 8 6 r2 (rwx) : ORIGIN = 0x1008, LENGTH = 12 7} 8_start = 0x1000; 9SECTIONS { 10 .bss : { *(.bss) } > bss 11 .text : { *(.txt) } > r1 12 .data : { *(.dat) } > r2 13 /DISCARD/ : { *(*) } 14} 15