summaryrefslogtreecommitdiff
path: root/firmware/boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r--firmware/boot.lds13
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)
8OUTPUT_FORMAT(elf32-littlearm) 8OUTPUT_FORMAT(elf32-littlearm)
9OUTPUT_ARCH(arm) 9OUTPUT_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)
15INPUT(target/arm/crt0-pp5024.o)
16#else
17INPUT(target/arm/crt0-pp.o)
18#endif
19#else
12INPUT(target/arm/crt0.o) 20INPUT(target/arm/crt0.o)
13#endif 21#endif
22#endif
14#else 23#else
15OUTPUT_FORMAT(elf32-sh) 24OUTPUT_FORMAT(elf32-sh)
16INPUT(target/sh/crt0.o) 25INPUT(target/sh/crt0.o)