]> git.zerfleddert.de Git - proxmark3-svn/blob - armsrc/ldscript
Added a lf acquisition-mode which can do decimation and quantization, in order to...
[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_lf_bit.data)
25 *(fpga_hf_bit.data)
26 } >fpgaimage :fpgaimage
27
28 .start : {
29 *(.startos)
30 } >osimage :text
31
32 .text : {
33 *(.text)
34 *(.text.*)
35 *(.eh_frame)
36 *(.glue_7)
37 *(.glue_7t)
38 } >osimage :text
39
40 .rodata : {
41 *(.rodata)
42 *(.rodata.*)
43 KEEP(*(.version_information))
44 } >osimage :text
45
46 . = ALIGN(4);
47
48 .data : {
49 *(.data)
50 *(.data.*)
51 *(.ramfunc)
52 . = ALIGN(4);
53 } >ram AT>osimage :data
54
55 __data_src_start__ = LOADADDR(.data);
56 __data_start__ = ADDR(.data);
57 __data_end__ = __data_start__ + SIZEOF(.data);
58
59 .bss : {
60 __bss_start__ = .;
61 *(.bss)
62 *(.bss.*)
63 . = ALIGN(4);
64 __bss_end__ = .;
65 } >ram AT>ram :bss
66
67 .commonarea (NOLOAD) : {
68 *(.commonarea)
69 } >commonarea :NONE
70 }
Impressum, Datenschutz