summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/boot.lds
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-10-12 16:46:01 +0000
committerDave Chapman <dave@dchapman.com>2008-10-12 16:46:01 +0000
commitda8bff107e8ed6bf63cc005bfa6c90b12c8b4dd5 (patch)
tree13c81d9578d8ba3cda2d7c9d20e2a67ac8bee0d3 /firmware/target/arm/as3525/boot.lds
parent0f933f62101a8fe8bb841617217f7e866324820d (diff)
downloadrockbox-da8bff107e8ed6bf63cc005bfa6c90b12c8b4dd5.tar.gz
rockbox-da8bff107e8ed6bf63cc005bfa6c90b12c8b4dd5.zip
Commit FS#9467 - initial work on port to Sansa Clip by Rafaël Carré and François Dinel. A few cosmetic changes were made by me prior to committing: 1) TAB policing in button-clip.c; 2) Add François Dinel to CREDITS; 3) Add François Dinel as (C) holder in button-target.h (it was previously blank); 4) Add Rockbox header to bootloader/sansa_as3525.c with Rafaël Carré as (C) holder; 5) Change target_id to 50 (next available number) in tools/configure and fixed indentation; 6) Change MODEL_NUMBER in config-clip.h to 50 (next available number); 7) Remove unused in/out macros from system-target.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18782 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/boot.lds')
-rw-r--r--firmware/target/arm/as3525/boot.lds43
1 files changed, 43 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/boot.lds b/firmware/target/arm/as3525/boot.lds
new file mode 100644
index 0000000000..f94f1c33da
--- /dev/null
+++ b/firmware/target/arm/as3525/boot.lds
@@ -0,0 +1,43 @@
+#include "config.h"
+
+ENTRY(start)
+OUTPUT_FORMAT(elf32-littlearm)
+OUTPUT_ARCH(arm)
+STARTUP(target/arm/crt0.o)
+
+SECTIONS
+{
+ /*. = IRAMORIG; */
+
+ .text : {
+ *(.init.text)
+ *(.text*)
+ }
+
+ .data : {
+ *(.icode)
+ *(.irodata)
+ *(.idata)
+ *(.data*)
+ *(.ncdata*);
+ _dataend = . ;
+ }
+
+ .stack :
+ {
+ *(.stack)
+ _stackbegin = .;
+ stackbegin = .;
+ . += 0x2000;
+ _stackend = .;
+ stackend = .;
+ }
+
+ .bss : {
+ _edata = .;
+ *(.bss*);
+ *(.ibss);
+ *(.ncbss*);
+ _end = .;
+ }
+}