summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10/boot/compressed/decompress.lds
diff options
context:
space:
mode:
authorJesper Nilsson <jesper@jni.nu>2008-07-14 08:59:48 +0200
committerJesper Nilsson <jesper@jni.nu>2008-07-14 08:59:48 +0200
commit404571525db92bafeddb0cf9febb21aac6613dca (patch)
tree56d7a48e40517ba483e031b54d6df3be7e0cc4e7 /arch/cris/arch-v10/boot/compressed/decompress.lds
parentd17ffb4c9d86194bb74cbc30f4b65de59c27f6cd (diff)
[CRIS] Rename boot-linkscripts and fix the path to them.
This makes the CRIS-port directories follow the same naming convention as the rest of the kernel. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/arch-v10/boot/compressed/decompress.lds')
-rw-r--r--arch/cris/arch-v10/boot/compressed/decompress.lds30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/cris/arch-v10/boot/compressed/decompress.lds b/arch/cris/arch-v10/boot/compressed/decompress.lds
new file mode 100644
index 00000000000..e80f4594d54
--- /dev/null
+++ b/arch/cris/arch-v10/boot/compressed/decompress.lds
@@ -0,0 +1,30 @@
+/* OUTPUT_FORMAT(elf32-us-cris) */
+OUTPUT_FORMAT(elf32-cris)
+
+MEMORY
+ {
+ dram : ORIGIN = 0x40700000,
+ LENGTH = 0x00100000
+ }
+
+SECTIONS
+{
+ .text :
+ {
+ _stext = . ;
+ *(.text)
+ *(.rodata)
+ *(.rodata.*)
+ _etext = . ;
+ } > dram
+ .data :
+ {
+ *(.data)
+ _edata = . ;
+ } > dram
+ .bss :
+ {
+ *(.bss)
+ _end = ALIGN( 0x10 ) ;
+ } > dram
+}