]> cvs.zerfleddert.de Git - proxmark3-svn/blame - armsrc/ldscript
Made 125KHz default sampling, instead of 134KHz for LF
[proxmark3-svn] / armsrc / ldscript
CommitLineData
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 10INCLUDE ../common/ldscript.common
11
98bf65a6 12PHDRS
13{
14 fpgaimage PT_LOAD FLAGS(4);
15 text PT_LOAD;
16 data PT_LOAD;
17 bss PT_LOAD;
18}
19
15c4dc5a 20ENTRY(Vector)
21SECTIONS
22{
23 .fpgaimage : {
7cc204bf 24 *(fpga_lf_bit.data)
25 *(fpga_hf_bit.data)
98bf65a6 26 } >fpgaimage :fpgaimage
27
28 .start : {
29 *(.startos)
30 } >osimage :text
31
32 .text : {
15c4dc5a 33 *(.text)
34 *(.text.*)
35 *(.eh_frame)
36 *(.glue_7)
37 *(.glue_7t)
98bf65a6 38 } >osimage :text
39
40 .rodata : {
41 *(.rodata)
cc7580be 42 *(.rodata.*)
9af48358 43 KEEP(*(.version_information))
98bf65a6 44 } >osimage :text
45
46 . = ALIGN(4);
47
15c4dc5a 48 .data : {
15c4dc5a 49 *(.data)
50 *(.data.*)
6c1e2d95 51 *(.ramfunc)
98bf65a6 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);
15c4dc5a 58
59 .bss : {
60 __bss_start__ = .;
61 *(.bss)
62 *(.bss.*)
98bf65a6 63 . = ALIGN(4);
64 __bss_end__ = .;
9b87d273 65 } >ram AT>ram :bss
15c4dc5a 66
98bf65a6 67 .commonarea (NOLOAD) : {
68 *(.commonarea)
69 } >commonarea :NONE
15c4dc5a 70}
Impressum, Datenschutz