aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-06 11:42:25 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-06 11:42:25 +0000
commited3ffb35089836df6b5b51b76c428078a80dbb3b (patch)
treeb449f6005e844b10dcb579a58658d64e9ffdc199 /demos
parent8a18733367054dd6a3a68633d25633f672ae87c0 (diff)
downloadChibiOS-ed3ffb35089836df6b5b51b76c428078a80dbb3b.tar.gz
ChibiOS-ed3ffb35089836df6b5b51b76c428078a80dbb3b.tar.bz2
ChibiOS-ed3ffb35089836df6b5b51b76c428078a80dbb3b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@531 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARM7-LPC214x-G++/ch.ld2
-rw-r--r--demos/ARM7-LPC214x-GCC-minimal/ch.ld2
-rw-r--r--demos/ARM7-LPC214x-GCC/ch.ld2
-rw-r--r--demos/ARMCM3-STM32F103-GCC/ch.ld96
4 files changed, 51 insertions, 51 deletions
diff --git a/demos/ARM7-LPC214x-G++/ch.ld b/demos/ARM7-LPC214x-G++/ch.ld
index b0425dbca..2bbea7477 100644
--- a/demos/ARM7-LPC214x-G++/ch.ld
+++ b/demos/ARM7-LPC214x-G++/ch.ld
@@ -45,7 +45,7 @@ SECTIONS
{
. = 0;
- .text :
+ .text : ALIGN(16) SUBALIGN(16)
{
_text = .;
KEEP(*(vectors))
diff --git a/demos/ARM7-LPC214x-GCC-minimal/ch.ld b/demos/ARM7-LPC214x-GCC-minimal/ch.ld
index b0425dbca..2bbea7477 100644
--- a/demos/ARM7-LPC214x-GCC-minimal/ch.ld
+++ b/demos/ARM7-LPC214x-GCC-minimal/ch.ld
@@ -45,7 +45,7 @@ SECTIONS
{
. = 0;
- .text :
+ .text : ALIGN(16) SUBALIGN(16)
{
_text = .;
KEEP(*(vectors))
diff --git a/demos/ARM7-LPC214x-GCC/ch.ld b/demos/ARM7-LPC214x-GCC/ch.ld
index b0425dbca..2bbea7477 100644
--- a/demos/ARM7-LPC214x-GCC/ch.ld
+++ b/demos/ARM7-LPC214x-GCC/ch.ld
@@ -45,7 +45,7 @@ SECTIONS
{
. = 0;
- .text :
+ .text : ALIGN(16) SUBALIGN(16)
{
_text = .;
KEEP(*(vectors))
diff --git a/demos/ARMCM3-STM32F103-GCC/ch.ld b/demos/ARMCM3-STM32F103-GCC/ch.ld
index f18ba7e5d..af13b206d 100644
--- a/demos/ARMCM3-STM32F103-GCC/ch.ld
+++ b/demos/ARMCM3-STM32F103-GCC/ch.ld
@@ -26,64 +26,64 @@ __stacks_total_size__ = __main_stack_size__ + __process_stack_size__;
MEMORY
{
- flash : org = 0x08000000, len = 128k
- ram : org = 0x20000000, len = 20k
+ flash : org = 0x08000000, len = 128k
+ ram : org = 0x20000000, len = 20k
}
-__ram_start__ = ORIGIN(ram);
-__ram_size__ = LENGTH(ram);
-__ram_end__ = __ram_start__ + __ram_size__;
+__ram_start__ = ORIGIN(ram);
+__ram_size__ = LENGTH(ram);
+__ram_end__ = __ram_start__ + __ram_size__;
SECTIONS
{
- . = 0;
+ . = 0;
- .text :
- {
- _text = .;
- KEEP(*(vectors));
- *(.text)
- *(.text.*);
- *(.rodata);
- *(.rodata.*);
- *(.glue_7t);
- *(.glue_7);
- *(.gcc*);
- *(.ctors);
- *(.dtors);
- . = ALIGN(4);
- _etext = .;
- } > flash
+ .text : ALIGN(16) SUBALIGN(16)
+ {
+ _text = .;
+ KEEP(*(vectors));
+ *(.text)
+ *(.text.*);
+ *(.rodata);
+ *(.rodata.*);
+ *(.glue_7t);
+ *(.glue_7);
+ *(.gcc*);
+ *(.ctors);
+ *(.dtors);
+ . = ALIGN(4);
+ _etext = .;
+ } > flash
- _textdata = _etext;
+ _textdata = _etext;
- .data :
- {
- _data = .;
- *(.data)
- . = ALIGN(4);
- *(.data.*)
- . = ALIGN(4);
- *(.ramtext)
- . = ALIGN(4);
- _edata = .;
- } > ram AT > flash
+ .data :
+ {
+ _data = .;
+ *(.data)
+ . = ALIGN(4);
+ *(.data.*)
+ . = ALIGN(4);
+ *(.ramtext)
+ . = ALIGN(4);
+ _edata = .;
+ } > ram AT > flash
- .bss :
- {
- _bss_start = .;
- *(.bss)
- . = ALIGN(4);
- *(.bss.*)
- . = ALIGN(4);
- *(COMMON)
- . = ALIGN(4);
- _bss_end = .;
- } > ram
+ .bss :
+ {
+ _bss_start = .;
+ *(.bss)
+ . = ALIGN(4);
+ *(.bss.*)
+ . = ALIGN(4);
+ *(COMMON)
+ . = ALIGN(4);
+ _bss_end = .;
+ } > ram
}
PROVIDE(end = .);
-_end = .;
+_end = .;
-__heap_base__ = _end;
-__heap_end__ = __ram_end__ - __stacks_total_size__;
+__heap_base__ = _end;
+__heap_end__ = __ram_end__ - __stacks_total_size__;