scoutos / prex-0.9.0 / bsp / boot / arm / arch / boot.ld @ 03e9c04a
History | View | Annotate | Download (424 Bytes)
1 | 03e9c04a | Brad Neuman | /* |
---|---|---|---|
2 | * Linker script for boot loader |
||
3 | */ |
||
4 | INCLUDE config.ld |
||
5 | OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") |
||
6 | OUTPUT_ARCH(arm) |
||
7 | SECTIONS { |
||
8 | . = CONFIG_LOADER_TEXT ; |
||
9 | |||
10 | .text . : { |
||
11 | *(.text) |
||
12 | } |
||
13 | . = ALIGN(4); |
||
14 | .rodata . : { |
||
15 | *(.rodata) |
||
16 | *(.rodata.*) |
||
17 | } |
||
18 | . = ALIGN(4); |
||
19 | .data . : { |
||
20 | *(.data) |
||
21 | } |
||
22 | . = ALIGN(4); |
||
23 | .bss . : { |
||
24 | *(.bss) |
||
25 | *(COMMON) |
||
26 | } |
||
27 | . = CONFIG_LOADER_TEXT + 0x1fff; |
||
28 | .tail : { |
||
29 | *(.tail) |
||
30 | } |
||
31 | } |