| 1 | INCLUDE ../common/ldscript.common\r |
| 2 | \r |
| 3 | ENTRY(flashstart)\r |
| 4 | SECTIONS\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 |