aboutsummaryrefslogtreecommitdiff
path: root/arch/cris/arch-v10/boot/compressed/decompress.lds
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-10-17 09:09:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-17 09:09:48 -0700
commitb73b636e8987f8728c6c700377615757691b9a55 (patch)
tree554a4c799888e8934d2bf222bd0fcae2a9146bb4 /arch/cris/arch-v10/boot/compressed/decompress.lds
parented09441dacc2a2d6c170aa3b1f79a041291a813f (diff)
parent8f808417fe211648c0816e28947cdc74eb1e1032 (diff)
Merge branch 'for-linus' of git://www.jni.nu/cris
* 'for-linus' of git://www.jni.nu/cris: CRIS: proper defconfig setup [CRIS] Rename boot-linkscripts and fix the path to them.
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
+}