diff options
Diffstat (limited to 'openwrt/target/linux/image/ar7/src/ld.script.in')
-rw-r--r-- | openwrt/target/linux/image/ar7/src/ld.script.in | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/openwrt/target/linux/image/ar7/src/ld.script.in b/openwrt/target/linux/image/ar7/src/ld.script.in new file mode 100644 index 000000000..9a9f3ef4f --- /dev/null +++ b/openwrt/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 = .; + } + + + +} |