From 6a4ec1414da6e393314abc389290cc2b57b387e6 Mon Sep 17 00:00:00 2001 From: Daniel Ankers Date: Wed, 11 Oct 2006 17:47:32 +0000 Subject: 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 --- firmware/boot.lds | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'firmware/boot.lds') 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) #elif defined (CPU_ARM) OUTPUT_FORMAT(elf32-littlearm) OUTPUT_ARCH(arm) -#ifndef CPU_PP -/* PortalPlayer-based machines won't work if crt0 is included */ +#ifndef IPOD_ARCH +/* the ipods can't have the crt0.o mentioned here, but the others can't do + without it! */ +#ifdef CPU_PP +#if (CONFIG_CPU == PP5024) +INPUT(target/arm/crt0-pp5024.o) +#else +INPUT(target/arm/crt0-pp.o) +#endif +#else INPUT(target/arm/crt0.o) #endif +#endif #else OUTPUT_FORMAT(elf32-sh) INPUT(target/sh/crt0.o) -- cgit v1.2.3