Re: CM3: C++ startup and linker infrastructure

Krzysztof Sawicki <[email protected]> Tue, 13 Dec 2016 10:14:44 +0100
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Organization Mlabs sp. z o.o.
Message-ID <[email protected]>
Hi, just looking at Your commit and found a mistake (in attachment)!

-- 
Krzysztof Sawicki
MLabs sp. z o.o.
ul. Kaliska 21
61-131 PoznaƄ

tel. 61 646 84 27

KRS: 0000390306
NIP: 7822533401
-------------- next part --------------
Index: nut/arch/cm3/ldscripts/stm32_ram.ld
===================================================================
--- nut/arch/cm3/ldscripts/stm32_ram.ld	(revision 6573)
+++ nut/arch/cm3/ldscripts/stm32_ram.ld	(working copy)
@@ -70,7 +70,7 @@
         PROVIDE_HIDDEN (__preinit_array_start = .);
         KEEP (*(.preinit_array*))
         PROVIDE_HIDDEN (__preinit_array_end = .);
-    } > FLASH0
+    } > SRAM0
 
     .init_array : {
         PROVIDE_HIDDEN (__init_array_start = .);
@@ -77,7 +77,7 @@
         KEEP (*(SORT(.init_array.*)))
         KEEP (*(.init_array*))
         PROVIDE_HIDDEN (__init_array_end = .);
-    } > FLASH0
+    } > SRAM0
 
     .fini_array : {
         PROVIDE_HIDDEN (__fini_array_start = .);
@@ -84,7 +84,7 @@
         KEEP (*(SORT(.fini_array.*)))
         KEEP (*(.fini_array*))
             PROVIDE_HIDDEN (__fini_array_end = .);
-    } > FLASH0
+    } > SRAM0
 
     _etext = .;
 
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion