]> git.zerfleddert.de Git - proxmark3-svn/blame - bootrom/ldscript-flash
Add a common linker script with the memory map for the complete project
[proxmark3-svn] / bootrom / ldscript-flash
CommitLineData
2bfed17d 1INCLUDE ../common/ldscript.common\r
8652988d 2\r
2bfed17d 3ENTRY(flashstart)\r
6658905f 4SECTIONS\r
5{\r
8652988d 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
fb6e5aa8 18 *(.glue_7t)\r
8652988d 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
6658905f 31 __bss_end__ = .;\r
32}\r
Impressum, Datenschutz