From 59790d0db24a277855f9778bfa86dd490d1e42db Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 10 Jun 2009 17:08:54 +0000 Subject: Fix section placing problems using CodeSourcery toolchain git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1872 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/eagle100/httpd/ld.script | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'nuttx/configs/eagle100/httpd') diff --git a/nuttx/configs/eagle100/httpd/ld.script b/nuttx/configs/eagle100/httpd/ld.script index 9dfa3edfd..920dd0b07 100644 --- a/nuttx/configs/eagle100/httpd/ld.script +++ b/nuttx/configs/eagle100/httpd/ld.script @@ -53,14 +53,17 @@ SECTIONS .text : { _stext = ABSOLUTE(.); *(.vectors) - *(.text) + *(.text .text.*) *(.fixup) *(.gnu.warning) *(.rodata) - *(.rodata.str1.1) + *(.rodata .rodata.*) + *(.gnu.linkonce.t.*) *(.glue_7) *(.glue_7t) - *(.got) /* Global offset table */ + *(.got) + *(.gcc_except_table) + *(.gnu.linkonce.r.*) _etext = ABSOLUTE(.); } > flash @@ -70,14 +73,24 @@ SECTIONS .data : { _sdata = ABSOLUTE(.); - *(.data) + *(.data .data.*) + *(.gnu.linkonce.d.*) CONSTRUCTORS _edata = ABSOLUTE(.); } > sram AT > flash + .ARM.extab : { + *(.ARM.extab*) + } >sram + + .ARM.exidx : { + *(.ARM.exidx*) + } >sram + .bss : { /* BSS */ _sbss = ABSOLUTE(.); - *(.bss) + *(.bss .bss.*) + *(.gnu.linkonce.b.*) *(COMMON) _ebss = ABSOLUTE(.); } > sram -- cgit v1.2.3