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/tms320dm320/app.lds | |
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/tms320dm320/app.lds')
-rw-r--r-- | firmware/target/arm/tms320dm320/app.lds | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds index 4e23b533a9..3a9c01708a 100644 --- a/firmware/target/arm/tms320dm320/app.lds +++ b/firmware/target/arm/tms320dm320/app.lds | |||
@@ -6,12 +6,6 @@ OUTPUT_FORMAT(elf32-littlearm) | |||
6 | OUTPUT_ARCH(arm) | 6 | OUTPUT_ARCH(arm) |
7 | STARTUP(target/arm/tms320dm320/crt0.o) | 7 | STARTUP(target/arm/tms320dm320/crt0.o) |
8 | 8 | ||
9 | #ifdef DEBUG | ||
10 | #define STUBOFFSET 0x10000 | ||
11 | #else | ||
12 | #define STUBOFFSET 0 | ||
13 | #endif | ||
14 | |||
15 | #ifndef LCD_NATIVE_WIDTH | 9 | #ifndef LCD_NATIVE_WIDTH |
16 | #define LCD_NATIVE_WIDTH LCD_WIDTH | 10 | #define LCD_NATIVE_WIDTH LCD_WIDTH |
17 | #endif | 11 | #endif |
@@ -33,9 +27,9 @@ STARTUP(target/arm/tms320dm320/crt0.o) | |||
33 | */ | 27 | */ |
34 | #define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) | 28 | #define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) |
35 | 29 | ||
36 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET | 30 | #define DRAMSIZE (MEMORYSIZE * 0x100000) |
37 | 31 | ||
38 | #define DRAMORIG 0x00900000 + STUBOFFSET | 32 | #define DRAMORIG 0x00900000 |
39 | #define IRAMORIG 0x00000000 | 33 | #define IRAMORIG 0x00000000 |
40 | #define IRAMSIZE 0x4000 | 34 | #define IRAMSIZE 0x4000 |
41 | 35 | ||