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/arm/s5l8700 | |
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/arm/s5l8700')
-rw-r--r-- | firmware/target/arm/s5l8700/app.lds | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/firmware/target/arm/s5l8700/app.lds b/firmware/target/arm/s5l8700/app.lds index 7020c725e0..f055dffd79 100644 --- a/firmware/target/arm/s5l8700/app.lds +++ b/firmware/target/arm/s5l8700/app.lds | |||
@@ -10,13 +10,6 @@ STARTUP(target/arm/s5l8700/crt0.o) | |||
10 | #define PLUGINSIZE PLUGIN_BUFFER_SIZE | 10 | #define PLUGINSIZE PLUGIN_BUFFER_SIZE |
11 | #define CODECSIZE CODEC_SIZE | 11 | #define CODECSIZE CODEC_SIZE |
12 | 12 | ||
13 | #ifdef DEBUG | ||
14 | #define STUBOFFSET 0x10000 | ||
15 | #else | ||
16 | #define STUBOFFSET 0 | ||
17 | #endif | ||
18 | |||
19 | |||
20 | #define IRAMORIG 0x0 | 13 | #define IRAMORIG 0x0 |
21 | #define DRAMORIG 0x08000000 | 14 | #define DRAMORIG 0x08000000 |
22 | 15 | ||
@@ -25,7 +18,7 @@ STARTUP(target/arm/s5l8700/crt0.o) | |||
25 | 18 | ||
26 | #define DRAM_SIZE (MEMORYSIZE * 0x100000) | 19 | #define DRAM_SIZE (MEMORYSIZE * 0x100000) |
27 | 20 | ||
28 | #define DRAMSIZE (DRAM_SIZE - STUBOFFSET - PLUGINSIZE - CODECSIZE) | 21 | #define DRAMSIZE (DRAM_SIZE - PLUGINSIZE - CODECSIZE) |
29 | #define CODECORIG (ENDAUDIOADDR) | 22 | #define CODECORIG (ENDAUDIOADDR) |
30 | #if CONFIG_CPU==S5L8700 | 23 | #if CONFIG_CPU==S5L8700 |
31 | #define IRAMSIZE (128*1024) /* 256KB total - 128KB for core, 128KB for plugins */ | 24 | #define IRAMSIZE (128*1024) /* 256KB total - 128KB for core, 128KB for plugins */ |