summaryrefslogtreecommitdiff
path: root/arch/arm/lpc17xx/ldscript
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-26 23:50:29 -0800
committerPixel <pixel@nobis-crew.org>2011-01-26 23:50:29 -0800
commit03638eaea432ac06456cded2cb743d20664689a7 (patch)
treea40478f4f6fb0fbbabe7fe32e7f07cb34c7dde4d /arch/arm/lpc17xx/ldscript
parentc08bb737198dc1beac552af363646c307094d731 (diff)
More senseful init sequence, and memory alignment.
Diffstat (limited to 'arch/arm/lpc17xx/ldscript')
-rw-r--r--arch/arm/lpc17xx/ldscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/lpc17xx/ldscript b/arch/arm/lpc17xx/ldscript
index 677d063..14fe819 100644
--- a/arch/arm/lpc17xx/ldscript
+++ b/arch/arm/lpc17xx/ldscript
@@ -172,23 +172,24 @@ SECTIONS
*(.shdata)
*(.data .data.* .gnu.linkonce.d.*)
*(.ram)
- . = ALIGN (8);
+ . = ALIGN (32);
_edata = .;
} >ram AT>rom
.data_end :
{
- . = ALIGN(8);
+ . = ALIGN(32);
__rom_data_end = .;
} > rom
.bss :
{
+ . = ALIGN(32);
__bss_ram_begin = .;
*(.shbss)
*(.bss .bss.* .gnu.linkonce.b.*)
*(COMMON)
*(.ram.b)
- . = ALIGN (8);
+ . = ALIGN(32);
__bss_ram_end = .;
_end = .;
__end = .;