summaryrefslogtreecommitdiffstats
path: root/firmware/rom.lds
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2005-08-23 07:26:40 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2005-08-23 07:26:40 +0000
commit13be9f14d7ef8136ea225eaecc5ad17ef203686a (patch)
treec37ab90be55de930005ec79f3ffe0baaa918ef3c /firmware/rom.lds
parent02cfd6a6e92a743460321cd2c42bde10626d73c5 (diff)
downloadrockbox-13be9f14d7ef8136ea225eaecc5ad17ef203686a.tar.gz
rockbox-13be9f14d7ef8136ea225eaecc5ad17ef203686a.tar.bz2
rockbox-13be9f14d7ef8136ea225eaecc5ad17ef203686a.zip
allow the flash plugin to verify the RomBox link address
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7388 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rom.lds')
-rw-r--r--firmware/rom.lds8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/rom.lds b/firmware/rom.lds
index 632a69ed9e..8781873f45 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -40,6 +40,14 @@ MEMORY
}
SECTIONS
{
+ .flashheader :
+ {
+ /* place flash link address first, so the plugin can check */
+ LONG(FLASHORIG);
+ /* followed by the start address, the first vector takes care of this. */
+ /* If we ever place the table elsewhere, put a constant here. */
+ } > FLASH
+
.vectors :
{
_datacopy = .;