Skip to content

Commit

Permalink
Move rom data to start of image
Browse files Browse the repository at this point in the history
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
Paul Brook committed Sep 15, 2011
1 parent 2198251 commit 95ae44a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions luminary.ld
Expand Up @@ -23,6 +23,8 @@ SECTIONS
CREATE_OBJECT_SYMBOLS

*(.isr)
*(.romchunk)

*(.text .text.*)
*(.plt)
*(.gnu.warning)
Expand Down Expand Up @@ -88,11 +90,6 @@ SECTIONS
PROVIDE(end = .);
} >ram

.romchunk 0xfc00 :
{
*(.romchunk)
} > rom

.stab 0 (NOLOAD) :
{
*(.stab)
Expand Down

0 comments on commit 95ae44a

Please sign in to comment.