diff options
author | Pixel <pixel@nobis-crew.org> | 2011-01-29 18:34:54 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2011-01-29 18:34:54 -0800 |
commit | ea49b5b3f435bce0a301111fad0738efb0b39e0d (patch) | |
tree | aa595cc250514f5225f624d2e691e144c740c567 /arch | |
parent | 7182d70210f4880e66ae9e5a5531bddd3a90737b (diff) |
Adding some romfs support.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/lpc17xx/ldscript | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/arch/arm/lpc17xx/ldscript b/arch/arm/lpc17xx/ldscript index 2468d12..b8ca0b7 100644 --- a/arch/arm/lpc17xx/ldscript +++ b/arch/arm/lpc17xx/ldscript @@ -101,30 +101,30 @@ SECTIONS *(.eh_frame_hdr) *(.eh_frame) - . = ALIGN(4); + . = ALIGN(16); KEEP(*(.init)) - . = ALIGN(4); + . = ALIGN(16); __preinit_array_start = .; KEEP (*(.preinit_array)) __preinit_array_end = .; - . = ALIGN(4); + . = ALIGN(16); __init_array_start = .; KEEP (*(SORT(.init_array.*))) KEEP (*(.init_array)) __init_array_end = .; - . = ALIGN(0x4); + . = ALIGN(16); KEEP (*crtbegin.o(.ctors)) KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) KEEP (*(SORT(.ctors.*))) KEEP (*crtend.o(.ctors)) - . = ALIGN(4); + . = ALIGN(16); KEEP(*(.fini)) - . = ALIGN(4); + . = ALIGN(16); __fini_array_start = .; KEEP (*(.fini_array)) KEEP (*(SORT(.fini_array.*))) @@ -135,13 +135,16 @@ SECTIONS KEEP (*(SORT(.dtors.*))) KEEP (*crtend.o(.dtors)) - . = ALIGN(4); + . = ALIGN(16); __cs3_regions = .; LONG (0) LONG (__cs3_region_init_ram) LONG (__cs3_region_start_ram) LONG (__cs3_region_init_size_ram) LONG (__cs3_region_zero_size_ram) + + . = ALIGN(16); + *(.romfs.data) } /* .ARM.exidx is sorted, so has to go in its own output section. */ |