Permalink
Browse files

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 <paul@codesourcery.com>
  • Loading branch information...
1 parent 2198251 commit 95ae44a52340b332d03476ad12b3203f17729949 Paul Brook committed Sep 15, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −5 luminary.ld
View
@@ -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)

0 comments on commit 95ae44a

Please sign in to comment.