]> git.zerfleddert.de Git - proxmark3-svn/blame - armsrc/ldscript
fixed warnings on Mac OS 10.8, xcode 5
[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 : {
24 *(fpga_bit.data)
98bf65a6 25 } >fpgaimage :fpgaimage
26
27 .start : {
28 *(.startos)
29 } >osimage :text
30
31 .text : {
15c4dc5a 32 *(.text)
33 *(.text.*)
34 *(.eh_frame)
35 *(.glue_7)
36 *(.glue_7t)
98bf65a6 37 } >osimage :text
38
39 .rodata : {
40 *(.rodata)
cc7580be 41 *(.rodata.*)
9af48358 42 KEEP(*(.version_information))
98bf65a6 43 } >osimage :text
44
45 . = ALIGN(4);
46
15c4dc5a 47 .data : {
15c4dc5a 48 *(.data)
49 *(.data.*)
6c1e2d95 50 *(.ramfunc)
98bf65a6 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);
15c4dc5a 57
58 .bss : {
59 __bss_start__ = .;
60 *(.bss)
61 *(.bss.*)
98bf65a6 62 . = ALIGN(4);
63 __bss_end__ = .;
9b87d273 64 } >ram AT>ram :bss
15c4dc5a 65
98bf65a6 66 .commonarea (NOLOAD) : {
67 *(.commonarea)
68 } >commonarea :NONE
15c4dc5a 69}
Impressum, Datenschutz