summaryrefslogtreecommitdiff
path: root/firmware/target/mips
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-20 17:09:55 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-20 17:09:55 +0000
commit66f8fb52a9114ece70e1771119096589004d29f0 (patch)
treef1894d14dd0a26a5637acfe409c550d7a2b0443f /firmware/target/mips
parent72404784578162495c9986cd1563d9924ddc15be (diff)
downloadrockbox-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/mips')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/app.lds11
1 files changed, 2 insertions, 9 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds
index 9b457041b6..6221a787c9 100644
--- a/firmware/target/mips/ingenic_jz47xx/app.lds
+++ b/firmware/target/mips/ingenic_jz47xx/app.lds
@@ -5,15 +5,8 @@ OUTPUT_ARCH(MIPS)
5ENTRY(_start) 5ENTRY(_start)
6STARTUP(target/mips/ingenic_jz47xx/crt0.o) 6STARTUP(target/mips/ingenic_jz47xx/crt0.o)
7 7
8#ifdef DEBUG 8#define DRAMORIG 0x80004000
9#define STUBOFFSET 0x10000 9#define DRAMSIZE (MEMORYSIZE * 0x100000)
10#else
11#define STUBOFFSET 0
12#endif
13
14
15#define DRAMORIG 0x80004000 + STUBOFFSET
16#define DRAMSIZE (MEMORYSIZE * 0x100000 - STUBOFFSET)
17#define IRAMORIG 0x80000000 10#define IRAMORIG 0x80000000
18#define IRAMSIZE 16K 11#define IRAMSIZE 16K
19 12