diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 08:41:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 08:41:44 +0000 |
commit | 668a664947ce2c8fb51e27abb13cc69f3fd2d52b (patch) | |
tree | 65a0f22a2f693118c3d99ae8befd8ef0a575e5e7 | |
parent | 4d3964182cf40b230c1052b6430812771504449a (diff) | |
download | rockbox-668a664947ce2c8fb51e27abb13cc69f3fd2d52b.tar.gz rockbox-668a664947ce2c8fb51e27abb13cc69f3fd2d52b.zip |
nicer check for PP and now using crt0.o for ARMs that aren't ipod archs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10431 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/boot.lds | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds index 5694d83490..78dd40bf92 100644 --- a/firmware/boot.lds +++ b/firmware/boot.lds | |||
@@ -7,6 +7,11 @@ INPUT(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 IPOD_ARCH | ||
11 | /* the ipods can't have the crt0.o mentioned here, but the others can't do | ||
12 | without it! */ | ||
13 | INPUT(crt0.o) | ||
14 | #endif | ||
10 | #else | 15 | #else |
11 | OUTPUT_FORMAT(elf32-sh) | 16 | OUTPUT_FORMAT(elf32-sh) |
12 | INPUT(crt0.o) | 17 | INPUT(crt0.o) |
@@ -64,7 +69,7 @@ INPUT(crt0.o) | |||
64 | #define FLASHSIZE 256K - ROM_START | 69 | #define FLASHSIZE 256K - ROM_START |
65 | #endif | 70 | #endif |
66 | 71 | ||
67 | #if (CONFIG_CPU!=PP5002) && (CONFIG_CPU!=PP5020) && (CONFIG_CPU!=PP5024) | 72 | #ifndef CPU_PP |
68 | MEMORY | 73 | MEMORY |
69 | { | 74 | { |
70 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 75 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
@@ -74,7 +79,7 @@ MEMORY | |||
74 | #endif | 79 | #endif |
75 | 80 | ||
76 | SECTIONS | 81 | SECTIONS |
77 | #if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020) || (CONFIG_CPU==PP5024) | 82 | #ifdef CPU_PP |
78 | { | 83 | { |
79 | . = IRAMORIG; | 84 | . = IRAMORIG; |
80 | 85 | ||