diff options
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) |