Commit | Line | Data |
---|---|---|
84d42ddd SC |
1 | cat <<EOF |
2 | OUTPUT_FORMAT("${OUTPUT_FORMAT}") | |
3 | OUTPUT_ARCH(${ARCH}) | |
4 | ||
5 | MEMORY { | |
68b61e5d | 6 | ram : o = 0x1000, l = 512k |
84d42ddd SC |
7 | } |
8 | ||
9 | SECTIONS | |
10 | { | |
11 | .text : | |
12 | { | |
13 | *(.text) | |
14 | *(.strings) | |
15 | ${RELOCATING+ _etext = . ; } | |
16 | } ${RELOCATING+ > ram} | |
17 | .data : | |
18 | { | |
19 | *(.data) | |
20 | ${RELOCATING+ _edata = . ; } | |
21 | } ${RELOCATING+ > ram} | |
22 | .bss : | |
23 | { | |
24 | ${RELOCATING+ _bss_start = . ;} | |
25 | *(.bss) | |
26 | *(COMMON) | |
27 | ${RELOCATING+ _end = . ; } | |
28 | } ${RELOCATING+ >ram} | |
29 | .stack : | |
30 | { | |
31 | ${RELOCATING+ _stack = . ; } | |
32 | *(.stack) | |
68b61e5d | 33 | } ${RELOCATING+ > ram} |
84d42ddd SC |
34 | } |
35 | EOF | |
36 | ||
37 | ||
38 | ||
39 |