From 95ae44a52340b332d03476ad12b3203f17729949 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 15 Sep 2011 01:37:30 +0100 Subject: [PATCH] Move rom data to start of image Move static data image to start of image. Avoids it moving arounds with every rebuild without requiring a hardcoded address. Signed-off-by: Paul Brook --- luminary.ld | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/luminary.ld b/luminary.ld index bc12cbf..54b2eb7 100644 --- a/luminary.ld +++ b/luminary.ld @@ -23,6 +23,8 @@ SECTIONS CREATE_OBJECT_SYMBOLS *(.isr) + *(.romchunk) + *(.text .text.*) *(.plt) *(.gnu.warning) @@ -88,11 +90,6 @@ SECTIONS PROVIDE(end = .); } >ram - .romchunk 0xfc00 : - { - *(.romchunk) - } > rom - .stab 0 (NOLOAD) : { *(.stab)