aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/image/lzma-loader/src/loader.lds
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/adm5120/image/lzma-loader/src/loader.lds')
-rw-r--r--target/linux/adm5120/image/lzma-loader/src/loader.lds29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/adm5120/image/lzma-loader/src/loader.lds b/target/linux/adm5120/image/lzma-loader/src/loader.lds
new file mode 100644
index 0000000..bae70fb
--- /dev/null
+++ b/target/linux/adm5120/image/lzma-loader/src/loader.lds
@@ -0,0 +1,29 @@
+OUTPUT_ARCH(mips)
+SECTIONS {
+ .text : {
+ _code_start = .;
+ *(.text)
+ *(.text.*)
+ *(.rodata)
+ *(.rodata.*)
+ . = ALIGN(16);
+ *(.data.lzma)
+ }
+
+ .data : {
+ *(.data)
+ *(.data.*)
+ }
+ _code_end = .;
+
+ .bss : {
+ *(.bss)
+ *(.bss.*)
+ }
+
+ . = ALIGN(16);
+ . = . + 8192;
+ _stack = .;
+
+ workspace = .;
+}