aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/image/ar7/src/ld.script.in
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/image/ar7/src/ld.script.in')
-rw-r--r--target/linux/image/ar7/src/ld.script.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/image/ar7/src/ld.script.in b/target/linux/image/ar7/src/ld.script.in
new file mode 100644
index 0000000000..9a9f3ef4f4
--- /dev/null
+++ b/target/linux/image/ar7/src/ld.script.in
@@ -0,0 +1,41 @@
+ OUTPUT_FORMAT("@@OUTPUT_FORMAT@@")
+ OUTPUT_ARCH(mips)
+ENTRY(tikernelunzip)
+ SECTIONS
+{
+
+ /* Allocate memory space on top of kernel bss space */
+ . = _fbss;
+ .text :
+ {
+ *(.text)
+ *(.rodata)
+ *(.rodata1)
+ *(.gnu.warning)
+ *(.text.init)
+ *(.data.init)
+ }
+
+ .data :
+ {
+ *(*)
+ }
+
+bss :
+ {
+ inflate_bss_start = .;
+ *(.dynbss)
+ *(.bss)
+ *(COMMON)
+ *(.sbss)
+ *(.scommon)
+ inflate_bss_end = .;
+ . = ALIGN (0x8000);
+ inflate_slide_window = .;
+ . += 0x8000; /* slide window is 8000h */
+ inflate_free_memory_start = .;
+ }
+
+
+
+}