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