From 66f8fb52a9114ece70e1771119096589004d29f0 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Mon, 20 Sep 2010 17:09:55 +0000 Subject: */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 --- firmware/target/arm/samsung/app.lds | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'firmware/target/arm/samsung/app.lds') diff --git a/firmware/target/arm/samsung/app.lds b/firmware/target/arm/samsung/app.lds index ec26fdbe38..de355c30b0 100644 --- a/firmware/target/arm/samsung/app.lds +++ b/firmware/target/arm/samsung/app.lds @@ -9,15 +9,9 @@ STARTUP(target/arm/crt0-pp.o) #define PLUGINSIZE PLUGIN_BUFFER_SIZE #define CODECSIZE CODEC_SIZE -#ifdef DEBUG -#define STUBOFFSET 0x10000 -#else -#define STUBOFFSET 0 -#endif - -#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET - CODECSIZE +#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - CODECSIZE -#define DRAMORIG 0x00000000 + STUBOFFSET +#define DRAMORIG 0x00000000 #define IRAMORIG 0x40000000 #define IRAMSIZE 0xc000 -- cgit v1.2.3