From f8d6424568270780b2aae021d7fd114689d184a1 Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 31 Mar 2010 12:23:02 +0000 Subject: [PATCH] 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 --- bertos/cpu/arm/scripts/arm7tdmi_rom.ld | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.25.1