summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/image/generic/lzma-loader/src/lzma.lds.in
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-31 02:32:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-31 02:32:29 +0000
commit855954db088603d72b701ecc564c83ba7beacde9 (patch)
treeb0b13cf7c838e92bc04bdba11082bd0fc7df5fbc /openwrt/target/linux/image/generic/lzma-loader/src/lzma.lds.in
parentb74cd7490e2370ad7369bcb166c876788fcc33e1 (diff)
make aruba lzma loader more generic and move it to target/linux/image/generic/lzma-loader
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3076 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/image/generic/lzma-loader/src/lzma.lds.in')
-rw-r--r--openwrt/target/linux/image/generic/lzma-loader/src/lzma.lds.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/generic/lzma-loader/src/lzma.lds.in b/openwrt/target/linux/image/generic/lzma-loader/src/lzma.lds.in
new file mode 100644
index 0000000000..5ac555bf7d
--- /dev/null
+++ b/openwrt/target/linux/image/generic/lzma-loader/src/lzma.lds.in
@@ -0,0 +1,23 @@
+OUTPUT_ARCH(mips)
+ENTRY(_start)
+SECTIONS
+{
+ /* Read-only sections, merged into text segment: */
+ . = @LOADADDR@;
+ .text :
+ {
+ _ftext = . ;
+ *(.text)
+ *(.rodata)
+ lzma_start = .;
+ kernel.o
+ lzma_end = .;
+ } =0
+
+ .reginfo : { *(.reginfo) }
+
+ .bss :
+ {
+ *(.bss)
+ }
+}