Commit | Line | Data |
---|---|---|
20e56351 DJ |
1 | /* Memory region overflow tests: one region, first output sect doesn't fit. */ |
2 | ||
3 | MEMORY { | |
4 | bss (rwx) : ORIGIN = 0, LENGTH = 0 | |
5 | r1 (rwx) : ORIGIN = 0x1000, LENGTH = 8 | |
6 | } | |
7 | _start = 0x1000; | |
8 | SECTIONS { | |
9 | .bss : { *(.bss) } > bss | |
10 | .text : { *(.txt) } > r1 | |
11 | .data : { *(.dat) } > r1 | |
12 | /DISCARD/ : { *(*) } | |
13 | } |