summaryrefslogtreecommitdiffstats
path: root/firmware/rom.lds
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2006-08-31 19:45:05 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2006-08-31 19:45:05 +0000
commit41997d3d89ed72c49a2dc5ac7f0aaa15093f5aba (patch)
tree38be931a85559b36a9fbfa85e6247e9b7d91a8d6 /firmware/rom.lds
parentc42f5d88da00f9dcf9369cc1235a3cf6dddadf28 (diff)
downloadrockbox-41997d3d89ed72c49a2dc5ac7f0aaa15093f5aba.tar.gz
rockbox-41997d3d89ed72c49a2dc5ac7f0aaa15093f5aba.tar.bz2
rockbox-41997d3d89ed72c49a2dc5ac7f0aaa15093f5aba.zip
Clean up crt0.S and move it to the target tree
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10830 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rom.lds')
-rw-r--r--firmware/rom.lds11
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/rom.lds b/firmware/rom.lds
index 7e178ae2b2..29e72d70c0 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -6,7 +6,18 @@ OUTPUT_FORMAT(elf32-m68k)
#else
OUTPUT_FORMAT(elf32-sh)
#endif
+#ifdef CPU_COLDFIRE
+INPUT(target/coldfire/crt0.o)
+#elif defined(CPU_PP)
+INPUT(target/arm/crt0-pp.o)
+#elif defined(CPU_ARM)
+INPUT(target/arm/crt0.o)
+#elif CONFIG_CPU == SH7034
+INPUT(target/sh/crt0.o)
+#else
INPUT(crt0.o)
+#endif
+
#if MEMORYSIZE >= 32
#define PLUGINSIZE 0xC0000