From 3c9ed0f8c250492429fc349a5df1dd860e94ae9c Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Mon, 23 Jan 2012 18:32:32 +0000 Subject: [PATCH] Fix linker script for code segment Ensure that all the code ends up in the expected place. This bug beat us for the RAM only version but it is present even in the flash version (though probably harmless). Signed-off-by: Vincent Palatin BUG=None TEST=run the resulting image on BDS and inspect manually the .map file. Change-Id: Iefe505bc507547b1043cb493ba7e8f210bb1ebc4 --- chip/lm4/ec.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chip/lm4/ec.lds.S b/chip/lm4/ec.lds.S index 17fbfcf0b9..6ab65ee010 100644 --- a/chip/lm4/ec.lds.S +++ b/chip/lm4/ec.lds.S @@ -15,7 +15,7 @@ SECTIONS { .text : { OUTDIR/chip/CHIP/init.o (.text) - *(.text) + *(.text*) } > FLASH . = ALIGN(4); .rodata : {