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