mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
*/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:
parent
7240478457
commit
66f8fb52a9
20 changed files with 41 additions and 167 deletions
|
|
@ -10,13 +10,6 @@ STARTUP(target/arm/s5l8700/crt0.o)
|
|||
#define PLUGINSIZE PLUGIN_BUFFER_SIZE
|
||||
#define CODECSIZE CODEC_SIZE
|
||||
|
||||
#ifdef DEBUG
|
||||
#define STUBOFFSET 0x10000
|
||||
#else
|
||||
#define STUBOFFSET 0
|
||||
#endif
|
||||
|
||||
|
||||
#define IRAMORIG 0x0
|
||||
#define DRAMORIG 0x08000000
|
||||
|
||||
|
|
@ -25,7 +18,7 @@ STARTUP(target/arm/s5l8700/crt0.o)
|
|||
|
||||
#define DRAM_SIZE (MEMORYSIZE * 0x100000)
|
||||
|
||||
#define DRAMSIZE (DRAM_SIZE - STUBOFFSET - PLUGINSIZE - CODECSIZE)
|
||||
#define DRAMSIZE (DRAM_SIZE - PLUGINSIZE - CODECSIZE)
|
||||
#define CODECORIG (ENDAUDIOADDR)
|
||||
#if CONFIG_CPU==S5L8700
|
||||
#define IRAMSIZE (128*1024) /* 256KB total - 128KB for core, 128KB for plugins */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue