diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-20 17:09:55 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-09-20 17:09:55 +0000 |
commit | 66f8fb52a9114ece70e1771119096589004d29f0 (patch) | |
tree | f1894d14dd0a26a5637acfe409c550d7a2b0443f /firmware/target/coldfire/iriver/app.lds | |
parent | 72404784578162495c9986cd1563d9924ddc15be (diff) | |
download | rockbox-66f8fb52a9114ece70e1771119096589004d29f0.tar.gz rockbox-66f8fb52a9114ece70e1771119096589004d29f0.zip |
*/app.lds: remove STUBOFFSET
This is related to gdb, and gdb can only work on SH and ifp
This was mistakenly kept when app.lds was forked for each SoC
Side-effect: fix DEBUG builds when the rockbox binary is expected to
be loaded at the start of DRAM and there is no runtime relocation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28124 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iriver/app.lds')
-rw-r--r-- | firmware/target/coldfire/iriver/app.lds | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/firmware/target/coldfire/iriver/app.lds b/firmware/target/coldfire/iriver/app.lds index d087f997c8..56ccfca509 100644 --- a/firmware/target/coldfire/iriver/app.lds +++ b/firmware/target/coldfire/iriver/app.lds | |||
@@ -8,15 +8,9 @@ STARTUP(target/coldfire/crt0.o) | |||
8 | #define PLUGINSIZE PLUGIN_BUFFER_SIZE | 8 | #define PLUGINSIZE PLUGIN_BUFFER_SIZE |
9 | #define CODECSIZE CODEC_SIZE | 9 | #define CODECSIZE CODEC_SIZE |
10 | 10 | ||
11 | #ifdef DEBUG | 11 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - CODECSIZE |
12 | #define STUBOFFSET 0x10000 | ||
13 | #else | ||
14 | #define STUBOFFSET 0 | ||
15 | #endif | ||
16 | 12 | ||
17 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET - CODECSIZE | 13 | #define DRAMORIG 0x31000000 |
18 | |||
19 | #define DRAMORIG 0x31000000 + STUBOFFSET | ||
20 | #define IRAMORIG 0x10000000 | 14 | #define IRAMORIG 0x10000000 |
21 | #define IRAMSIZE 0xc000 | 15 | #define IRAMSIZE 0xc000 |
22 | 16 | ||