]> cvs.zerfleddert.de Git - proxmark3-svn/blame_incremental - armsrc/ldscript
Fix data segement. You may now use stuff like int foo = 1; in global context (as...
[proxmark3-svn] / armsrc / ldscript
... / ...
CommitLineData
1INCLUDE ../common/ldscript.common\r
2\r
3ENTRY(Vector)\r
4SECTIONS\r
5{\r
6 .fpgaimage : {\r
7 *(fpga_bit.data)\r
8 } >fpgaimage\r
9 .start : { *(.startos) } >osimage\r
10 .text : { \r
11 *(.text)\r
12 *(.text.*)\r
13 *(.eh_frame)\r
14 *(.glue_7)\r
15 *(.glue_7t)\r
16 *(.rodata) \r
17 *(.rodata*) \r
18 *(.version_information)\r
19 } >osimage\r
20 __end_of_text__ = .;\r
21 \r
22 .data : {\r
23 __data_start__ = .;\r
24 __data_src_start__ = __end_of_text__; \r
25 *(.data)\r
26 *(.data.*)\r
27 __data_end__ = .;\r
28 } >ram AT>osimage\r
29 \r
30 .bss : {\r
31 __bss_start__ = .; \r
32 *(.bss)\r
33 *(.bss.*) \r
34 } >ram\r
35 . = ALIGN(32 / 8);\r
36 __bss_end__ = .;\r
37\r
38 .commonarea (NOLOAD) : {\r
39 *(.commonarea)\r
40 } >commonarea\r
41}\r
Impressum, Datenschutz