]> git.zerfleddert.de Git - proxmark3-svn/blob - armsrc/ldscript
there was bug in `hf mf mifare`. and speed up this command.
[proxmark3-svn] / armsrc / ldscript
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 */
10 INCLUDE ../common/ldscript.common
11
12 PHDRS
13 {
14 fpgaimage PT_LOAD FLAGS(4);
15 text PT_LOAD;
16 data PT_LOAD;
17 bss PT_LOAD;
18 }
19
20 ENTRY(Vector)
21 SECTIONS
22 {
23 .fpgaimage : {
24 *(fpga_bit.data)
25 } >fpgaimage :fpgaimage
26
27 .start : {
28 *(.startos)
29 } >osimage :text
30
31 .text : {
32 *(.text)
33 *(.text.*)
34 *(.eh_frame)
35 *(.glue_7)
36 *(.glue_7t)
37 } >osimage :text
38
39 .rodata : {
40 *(.rodata)
41 *(.rodata.*)
42 KEEP(*(.version_information))
43 } >osimage :text
44
45 . = ALIGN(4);
46
47 .data : {
48 *(.data)
49 *(.data.*)
50 *(.ramfunc)
51 . = ALIGN(4);
52 } >ram AT>osimage :data
53
54 __data_src_start__ = LOADADDR(.data);
55 __data_start__ = ADDR(.data);
56 __data_end__ = __data_start__ + SIZEOF(.data);
57
58 .bss : {
59 __bss_start__ = .;
60 *(.bss)
61 *(.bss.*)
62 . = ALIGN(4);
63 __bss_end__ = .;
64 } >ram AT>ram :bss
65
66 .commonarea (NOLOAD) : {
67 *(.commonarea)
68 } >commonarea :NONE
69 }
Impressum, Datenschutz