Commit | Line | Data |
---|---|---|
113e6845 NS |
1 | /* Memory region at test, >AT should propagate by default */ |
2 | ||
3 | MEMORY { | |
4 | ram : ORIGIN = 0x10000, LENGTH = 0x100 | |
5 | rom : ORIGIN = 0x20000, LENGTH = 0x200 | |
6 | other : ORIGIN = 0x30000, LENGTH = 0x200 | |
7 | } | |
8 | _start = 0x1000; | |
9 | SECTIONS { | |
10 | .text : { *(.text) } >ram AT>rom | |
11 | .data : { *(.data) } >other /* No default AT>rom */ | |
12 | .bss : { *(.bss) } >other | |
13 | /DISCARD/ : { *(*) } | |
14 | } |