ARM7TDMI:Do not specify and entry point (not needed);do not keep unused sections.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 12:23:02 +0000 (12:23 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 31 Mar 2010 12:23:02 +0000 (12:23 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3347 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/arm/scripts/arm7tdmi_rom.ld

index 54d470e027b5c74b4c86fe339c7d2250b0aa7089..7875df40758ae70735dac5d5a09529839508cd18 100644 (file)
@@ -36,7 +36,6 @@
  *
  */
 
-ENTRY(_init)
 OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
 OUTPUT_ARCH(arm)
 
@@ -58,7 +57,7 @@ SECTIONS
        {
                KEEP(*(.vectors));
                . = ALIGN (4);
-               KEEP(*(.init));
+               *(.init);
                . = ALIGN (4);
                *(.rodata .rodata.*);
                . = ALIGN (4);