From: batt Date: Wed, 31 Mar 2010 12:23:02 +0000 (+0000) Subject: ARM7TDMI:Do not specify and entry point (not needed);do not keep unused sections. X-Git-Tag: 2.5.0~561 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f8d6424568270780b2aae021d7fd114689d184a1;p=bertos.git ARM7TDMI:Do not specify and entry point (not needed);do not keep unused sections. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3347 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/scripts/arm7tdmi_rom.ld b/bertos/cpu/arm/scripts/arm7tdmi_rom.ld index 54d470e0..7875df40 100644 --- a/bertos/cpu/arm/scripts/arm7tdmi_rom.ld +++ b/bertos/cpu/arm/scripts/arm7tdmi_rom.ld @@ -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);