summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in')
-rw-r--r--target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in b/target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in
new file mode 100644
index 0000000..6021cec
--- /dev/null
+++ b/target/linux/generic-2.6/image/lzma-loader/src/lzma.lds.in
@@ -0,0 +1,24 @@
+OUTPUT_ARCH(mips)
+ENTRY(@ENTRY@)
+SECTIONS
+{
+ /* Read-only sections, merged into text segment: */
+ . = @LOADADDR@;
+ .text :
+ {
+ _ftext = . ;
+ *(.text.entry)
+ *(.text)
+ *(.rodata)
+ lzma_start = .;
+ kernel.o
+ lzma_end = .;
+ } =0
+
+ .reginfo : { *(.reginfo) }
+
+ .bss :
+ {
+ *(.bss)
+ }
+}