aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-FATFS-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-05-22 09:07:50 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-05-22 09:07:50 +0000
commit04076d3d539f4deb1bce2d47e10153a7a7e104f3 (patch)
tree6ded8a4d8e1671db1d946d8a881f47de26b5a6c1 /demos/ARM7-LPC214x-FATFS-GCC
parentb14c34d67db82417b171dbfe052be9ceacdf17e4 (diff)
downloadChibiOS-04076d3d539f4deb1bce2d47e10153a7a7e104f3.tar.gz
ChibiOS-04076d3d539f4deb1bce2d47e10153a7a7e104f3.tar.bz2
ChibiOS-04076d3d539f4deb1bce2d47e10153a7a7e104f3.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1948 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-FATFS-GCC')
-rw-r--r--demos/ARM7-LPC214x-FATFS-GCC/ch.ld41
1 files changed, 23 insertions, 18 deletions
diff --git a/demos/ARM7-LPC214x-FATFS-GCC/ch.ld b/demos/ARM7-LPC214x-FATFS-GCC/ch.ld
index e68868f72..8515eeac7 100644
--- a/demos/ARM7-LPC214x-FATFS-GCC/ch.ld
+++ b/demos/ARM7-LPC214x-FATFS-GCC/ch.ld
@@ -43,25 +43,35 @@ __dma_end__ = 0x7FD00000 + __dma_size__;
SECTIONS
{
- . = 0;
+ . = 0;
- .text : ALIGN(16) SUBALIGN(16)
- {
+ .text : ALIGN(16) SUBALIGN(16)
+ {
_text = .;
KEEP(*(vectors))
*(.text)
- *(.text.*);
- *(.rodata);
- *(.rodata.*);
- *(.glue_7t);
- *(.glue_7);
- *(.gcc*);
- *(.ctors);
- *(.dtors);
- . = ALIGN(4);
- _etext = .;
+ *(.text.*)
+ *(.rodata)
+ *(.rodata.*)
+ *(.glue_7t)
+ *(.glue_7)
+ *(.gcc*)
+ *(.ctors)
+ *(.dtors)
} > flash
+ .ARM.extab : {*(.ARM.extab* .gnu.linkonce.armextab.*)}
+
+ __exidx_start = .;
+ .ARM.exidx : {*(.ARM.exidx* .gnu.linkonce.armexidx.*)} > flash
+ __exidx_end = .;
+
+ .eh_frame_hdr : {*(.eh_frame_hdr)}
+
+ .eh_frame : ONLY_IF_RO {*(.eh_frame)}
+
+ . = ALIGN(4);
+ _etext = .;
_textdata = _etext;
.data :
@@ -87,11 +97,6 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
-
- /DISCARD/ :
- {
- *(.eh_*)
- }
}
PROVIDE(end = .);