diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-09-03 09:44:08 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-09-03 09:44:08 +0000 |
commit | c521ed128d1afeea9bfad134358f6c3a7df9f2c0 (patch) | |
tree | 0ea712643dabad159946129606393858626f53cc /firmware/app.lds | |
parent | 3d641c92a5886554b181cec78b8d83f870154d6d (diff) |
Added Randy Wood's ROLO
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2149 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index 2e594b6db1..49678d887e 100644 --- a/firmware/app.lds +++ b/firmware/app.lds @@ -39,7 +39,9 @@ SECTIONS _stackbegin = .; /* We put the copy of the .iram section here to save space */ _iramcopy = .; - . = 0x2000; + . += 0x2000; + _topramcopy = .; + . += 0x300; _stackend = .; } > DRAM @@ -56,11 +58,17 @@ SECTIONS _mp3buf = .; } > DRAM - .mp3end 0x09200000 : + .mp3end 0x09200000 - 0x300: { _mp3end = .; } > DRAM + .topram : AT ( _topramcopy ) { + _topramstart = .; + *(.topcode) + _topramend = .; + } > DRAM + .iram 0xf000000 : AT ( _iramcopy ) { _iramstart = .; |