summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/image/ar7/src/ld.script.in
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-14 07:03:57 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-14 07:03:57 +0000
commita238a32fc9f6e3598b1c3cf35fcf9c8b3752ef8e (patch)
tree2d0bec7af9b2b826db85ccb2b4b30fa72c0174fd /openwrt/target/linux/image/ar7/src/ld.script.in
parent0294cc43d5d972a6c3b9ef8be157c741903d0805 (diff)
add incomplete ar7 hardware support (disabled by default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1236 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/image/ar7/src/ld.script.in')
-rw-r--r--openwrt/target/linux/image/ar7/src/ld.script.in41
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 = .;
+ }
+
+
+
+}