]> cvs.zerfleddert.de Git - proxmark3-svn/blob - bootrom/ldscript-flash
Add a common linker script with the memory map for the complete project
[proxmark3-svn] / bootrom / ldscript-flash
1 INCLUDE ../common/ldscript.common
2
3 ENTRY(flashstart)
4 SECTIONS
5 {
6 . = 0;
7
8 bootphase1 : {
9 *(.startup)
10 *(.bootphase1)
11 } >bootphase1
12
13 bootphase2 : {
14 __bootphase2_start__ = .;
15 *(.startphase2)
16 *(.text)
17 *(.glue_7)
18 *(.glue_7t)
19 *(.rodata)
20 *(.data)
21 . = ALIGN( 32 / 8 );
22 __bootphase2_end__ = .;
23 } >ram AT>bootphase2
24
25 .bss : {
26 __bss_start__ = .;
27 *(.bss)
28 } >ram
29
30 . = ALIGN( 32 / 8 );
31 __bss_end__ = .;
32 }
Impressum, Datenschutz