[En-Nut-Discussion] CM3: C++ startup and linker infrastructure

Krzysztof Sawicki krzysztof.sawicki at mlabs.pl
Tue Dec 13 10:14:44 CET 2016


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 = .;
 


More information about the En-Nut-Discussion mailing list