1
0
Fork 0
forked from len0rd/rockbox

*/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
This commit is contained in:
Rafaël Carré 2010-09-20 17:09:55 +00:00
parent 7240478457
commit 66f8fb52a9
20 changed files with 41 additions and 167 deletions

View file

@ -6,12 +6,6 @@ OUTPUT_FORMAT(elf32-littlearm)
OUTPUT_ARCH(arm)
STARTUP(target/arm/tms320dm320/crt0.o)
#ifdef DEBUG
#define STUBOFFSET 0x10000
#else
#define STUBOFFSET 0
#endif
#ifndef LCD_NATIVE_WIDTH
#define LCD_NATIVE_WIDTH LCD_WIDTH
#endif
@ -35,7 +29,7 @@ STARTUP(target/arm/tms320dm320/crt0.o)
#define BOOT_OFFSET 0x1000000
#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - BOOT_OFFSET
#define DRAMSIZE (MEMORYSIZE * 0x100000) - BOOT_OFFSET
#define DRAMORIG (0x00900000+BOOT_OFFSET) /* actually it's 0x00900000 */
#define IRAMORIG 0x00000000