From: batt Date: Sun, 28 Mar 2010 12:26:22 +0000 (+0000) Subject: Add C++ sections. X-Git-Tag: 2.5.0~617 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=aa41bf89026b98ade9a4f26d2db531ad5747f684;p=bertos.git Add C++ sections. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3286 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/arm/scripts/at91sam7_ram.ld b/bertos/cpu/arm/scripts/at91sam7_ram.ld index 1dfabd09..be00e91a 100644 --- a/bertos/cpu/arm/scripts/at91sam7_ram.ld +++ b/bertos/cpu/arm/scripts/at91sam7_ram.ld @@ -65,9 +65,14 @@ SECTIONS *(.text .text.*); . = ALIGN (4); *(.glue_7t); - . = ALIGN(4); - *(.glue_7); - . = ALIGN(4); + . = ALIGN(4); + *(.glue_7); + . = ALIGN(4); + *(.gcc*); + . = ALIGN(4); + *(.ctors); + . = ALIGN(4); + *(.dtors); } > ram _etext = .; diff --git a/bertos/cpu/arm/scripts/at91sam7_rom.ld b/bertos/cpu/arm/scripts/at91sam7_rom.ld index 3088e269..5eb41457 100644 --- a/bertos/cpu/arm/scripts/at91sam7_rom.ld +++ b/bertos/cpu/arm/scripts/at91sam7_rom.ld @@ -65,9 +65,14 @@ SECTIONS *(.text .text.*); . = ALIGN (4); *(.glue_7t); - . = ALIGN(4); - *(.glue_7); - . = ALIGN(4); + . = ALIGN(4); + *(.glue_7); + . = ALIGN(4); + *(.gcc*); + . = ALIGN(4); + *(.ctors); + . = ALIGN(4); + *(.dtors); } > rom _etext = .;