summaryrefslogtreecommitdiffstats
path: root/target/linux/image/generic/lzma-loader/src/lzma-copy.lds.in
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-07 23:45:42 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-07 23:45:42 +0000
commit0d2d5b055d824a8eb822f29181aed5435fc3c045 (patch)
tree61eb4a590e1bd3c4e7837b17ffeac18cd5efb07f /target/linux/image/generic/lzma-loader/src/lzma-copy.lds.in
parent9e24eb2b14080e290e436deffd442c87b1d2c37e (diff)
generic lzma loader: add support for memory copying, preserve prom arguments
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3908 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/image/generic/lzma-loader/src/lzma-copy.lds.in')
-rw-r--r--target/linux/image/generic/lzma-loader/src/lzma-copy.lds.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/image/generic/lzma-loader/src/lzma-copy.lds.in b/target/linux/image/generic/lzma-loader/src/lzma-copy.lds.in
new file mode 100644
index 000000000..fbc87ab8e
--- /dev/null
+++ b/target/linux/image/generic/lzma-loader/src/lzma-copy.lds.in
@@ -0,0 +1,20 @@
+OUTPUT_ARCH(mips)
+ENTRY(_start)
+SECTIONS
+{
+ /* Read-only sections, merged into text segment: */
+ . = @LOADADDR@;
+ .text :
+ {
+ _ftext = . ;
+ *(.text)
+ *(.rodata)
+ } =0
+
+ .reginfo : { *(.reginfo) }
+
+ .bss :
+ {
+ *(.bss)
+ }
+}