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