summaryrefslogtreecommitdiff
path: root/target/image/generic/lzma-loader/src/lzma.lds.in
diff options
context:
space:
mode:
Diffstat (limited to 'target/image/generic/lzma-loader/src/lzma.lds.in')
-rw-r--r--target/image/generic/lzma-loader/src/lzma.lds.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/image/generic/lzma-loader/src/lzma.lds.in b/target/image/generic/lzma-loader/src/lzma.lds.in
new file mode 100644
index 0000000..6021cec
--- /dev/null
+++ b/target/image/generic/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)
+ }
+}