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/boot.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/boot.lds')
-rw-r--r-- | firmware/target/arm/tms320dm320/boot.lds | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/firmware/target/arm/tms320dm320/boot.lds b/firmware/target/arm/tms320dm320/boot.lds index c4223ddb62..11fc79c24a 100644 --- a/firmware/target/arm/tms320dm320/boot.lds +++ b/firmware/target/arm/tms320dm320/boot.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 |
@@ -35,7 +29,7 @@ STARTUP(target/arm/tms320dm320/crt0.o) | |||
35 | 29 | ||
36 | #define BOOT_OFFSET 0x1000000 | 30 | #define BOOT_OFFSET 0x1000000 |
37 | 31 | ||
38 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - BOOT_OFFSET | 32 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - BOOT_OFFSET |
39 | 33 | ||
40 | #define DRAMORIG (0x00900000+BOOT_OFFSET) /* actually it's 0x00900000 */ | 34 | #define DRAMORIG (0x00900000+BOOT_OFFSET) /* actually it's 0x00900000 */ |
41 | #define IRAMORIG 0x00000000 | 35 | #define IRAMORIG 0x00000000 |