]>
Commit | Line | Data |
---|---|---|
e949e6a6 | 1 | /* |
2 | ----------------------------------------------------------------------------- | |
3 | This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
4 | at your option, any later version. See the LICENSE.txt file for the text of | |
5 | the license. | |
6 | ----------------------------------------------------------------------------- | |
7 | Linker script for the ARM binary | |
8 | ----------------------------------------------------------------------------- | |
9 | */ | |
15c4dc5a | 10 | INCLUDE ../common/ldscript.common |
11 | ||
12 | ENTRY(Vector) | |
13 | SECTIONS | |
14 | { | |
15 | .fpgaimage : { | |
16 | *(fpga_bit.data) | |
17 | } >fpgaimage | |
18 | .start : { *(.startos) } >osimage | |
19 | .text : { | |
20 | *(.text) | |
21 | *(.text.*) | |
22 | *(.eh_frame) | |
23 | *(.glue_7) | |
24 | *(.glue_7t) | |
25 | *(.rodata) | |
26 | *(.rodata*) | |
27 | *(.version_information) | |
28 | } >osimage | |
29 | __end_of_text__ = .; | |
30 | ||
31 | .data : { | |
32 | __data_start__ = .; | |
33 | __data_src_start__ = __end_of_text__; | |
34 | *(.data) | |
35 | *(.data.*) | |
36 | __data_end__ = .; | |
37 | } >ram AT>osimage | |
38 | ||
39 | .bss : { | |
40 | __bss_start__ = .; | |
41 | *(.bss) | |
42 | *(.bss.*) | |
43 | } >ram | |
44 | . = ALIGN(32 / 8); | |
45 | __bss_end__ = .; | |
46 | ||
47 | .commonarea (NOLOAD) : { | |
48 | *(.commonarea) | |
49 | } >commonarea | |
50 | } |