summaryrefslogtreecommitdiff
path: root/bsp/lm4f232
diff options
context:
space:
mode:
authoraozima <[email protected]>2013-07-11 23:07:16 +0800
committeraozima <[email protected]>2013-07-11 23:07:16 +0800
commitcc8301d0f17210cf0e74232b8d58cde81e28e5e9 (patch)
treee1bb093782f169b5a8f41ec7442d8ddad8698b61 /bsp/lm4f232
parent51532ae425b4b468ba78c956ef95f214dd427c1b (diff)
update linker script for components auto initial.
Diffstat (limited to 'bsp/lm4f232')
-rw-r--r--bsp/lm4f232/lm4f_rom.ld8
1 files changed, 7 insertions, 1 deletions
diff --git a/bsp/lm4f232/lm4f_rom.ld b/bsp/lm4f232/lm4f_rom.ld
index fe66bc9e34..16bb52b569 100644
--- a/bsp/lm4f232/lm4f_rom.ld
+++ b/bsp/lm4f232/lm4f_rom.ld
@@ -50,7 +50,13 @@ SECTIONS
__vsymtab_end = .;
. = ALIGN(4);
- } > FLASH
+ . = ALIGN(4);
+ __rt_init_start = .;
+ KEEP(*(SORT(.rti_fn*)))
+ __rt_init_end = .;
+ . = ALIGN(4);
+
+ } > FLASH
.data : AT(ADDR(.text) + SIZEOF(.text))
{