diff options
author | Daniel Ankers <dan@weirdo.org.uk> | 2006-10-11 17:47:32 +0000 |
---|---|---|
committer | Daniel Ankers <dan@weirdo.org.uk> | 2006-10-11 17:47:32 +0000 |
commit | 6a4ec1414da6e393314abc389290cc2b57b387e6 (patch) | |
tree | eb59e5923cab215d119abef4c38037242ed01797 /firmware/boot.lds | |
parent | 406069467d3b7bcbc3a0f923f19ad7aa3551a419 (diff) | |
download | rockbox-6a4ec1414da6e393314abc389290cc2b57b387e6.tar.gz rockbox-6a4ec1414da6e393314abc389290cc2b57b387e6.zip |
Oops: Sansa and H10 need crt0 included in the bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11190 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r-- | firmware/boot.lds | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds index 97a9f784c0..0337b816f2 100644 --- a/firmware/boot.lds +++ b/firmware/boot.lds | |||
@@ -7,10 +7,19 @@ INPUT(target/coldfire/crt0.o) | |||
7 | #elif defined (CPU_ARM) | 7 | #elif defined (CPU_ARM) |
8 | OUTPUT_FORMAT(elf32-littlearm) | 8 | OUTPUT_FORMAT(elf32-littlearm) |
9 | OUTPUT_ARCH(arm) | 9 | OUTPUT_ARCH(arm) |
10 | #ifndef CPU_PP | 10 | #ifndef IPOD_ARCH |
11 | /* PortalPlayer-based machines won't work if crt0 is included */ | 11 | /* the ipods can't have the crt0.o mentioned here, but the others can't do |
12 | without it! */ | ||
13 | #ifdef CPU_PP | ||
14 | #if (CONFIG_CPU == PP5024) | ||
15 | INPUT(target/arm/crt0-pp5024.o) | ||
16 | #else | ||
17 | INPUT(target/arm/crt0-pp.o) | ||
18 | #endif | ||
19 | #else | ||
12 | INPUT(target/arm/crt0.o) | 20 | INPUT(target/arm/crt0.o) |
13 | #endif | 21 | #endif |
22 | #endif | ||
14 | #else | 23 | #else |
15 | OUTPUT_FORMAT(elf32-sh) | 24 | OUTPUT_FORMAT(elf32-sh) |
16 | INPUT(target/sh/crt0.o) | 25 | INPUT(target/sh/crt0.o) |