+INCLUDE ../common/ldscript.common\r
+\r
ENTRY(Vector)\r
SECTIONS\r
{\r
- . = 0x00010000;\r
- .start : { obj/start.o(.text) }\r
- .text : { *(.text) }\r
- .rodata : { *(.rodata) }\r
- . = 0x00200000;\r
- .data : { *(.data) }\r
- __bss_start__ = .;\r
- .bss : { *(.bss) }\r
+ .fpgaimage : {\r
+ *(fpga_bit.data)\r
+ } >fpgaimage\r
+ .start : { *(.startos) } >osimage\r
+ .text : { \r
+ *(.text)\r
+ *(.text.*)\r
+ *(.eh_frame)\r
+ *(.glue_7)\r
+ *(.glue_7t)\r
+ *(.rodata) \r
+ *(.rodata*) \r
+ *(.version_information)\r
+ } >osimage\r
+ __end_of_text__ = .;\r
+ \r
+ .data : {\r
+ __data_start__ = .;\r
+ __data_src_start__ = __end_of_text__; \r
+ *(.data)\r
+ *(.data.*)\r
+ __data_end__ = .;\r
+ } >ram AT>osimage\r
+ \r
+ .bss : {\r
+ __bss_start__ = .; \r
+ *(.bss)\r
+ *(.bss.*) \r
+ } >ram\r
+ . = ALIGN(32 / 8);\r
__bss_end__ = .;\r
+\r
+ .commonarea (NOLOAD) : {\r
+ *(.commonarea)\r
+ } >commonarea\r
}\r