summaryrefslogtreecommitdiff
path: root/target/linux/ar7-2.4/image/src/ld.script.in
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-11-28 20:14:41 +0000
committerMike Baker <mbm@openwrt.org>2006-11-28 20:14:41 +0000
commitc3c4dfb57beebd26c0534698b8687c2c7c94e1f5 (patch)
tree6ffc51e355fb56df1c38449e6c16711d0b27a29c /target/linux/ar7-2.4/image/src/ld.script.in
parent16edf83d62c8a8bc446b5d9a74de27c2dd4f3d8b (diff)
downloadmtk-20170518-c3c4dfb57beebd26c0534698b8687c2c7c94e1f5.zip
mtk-20170518-c3c4dfb57beebd26c0534698b8687c2c7c94e1f5.tar.gz
mtk-20170518-c3c4dfb57beebd26c0534698b8687c2c7c94e1f5.tar.bz2
move target/image/platform to target/linux/platform/image platform directories are now self contained
SVN-Revision: 5669
Diffstat (limited to 'target/linux/ar7-2.4/image/src/ld.script.in')
-rw-r--r--target/linux/ar7-2.4/image/src/ld.script.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/ar7-2.4/image/src/ld.script.in b/target/linux/ar7-2.4/image/src/ld.script.in
new file mode 100644
index 0000000..40389e6
--- /dev/null
+++ b/target/linux/ar7-2.4/image/src/ld.script.in
@@ -0,0 +1,34 @@
+ OUTPUT_FORMAT("@@OUTPUT_FORMAT@@")
+ OUTPUT_ARCH(mips)
+ENTRY(tikernelunzip)
+ SECTIONS
+{
+
+ /* Allocate memory space on top of kernel bss space */
+ . = 0x94200000;
+ .text :
+ {
+ *(.text)
+ *(.rodata)
+ *(.rodata1)
+ *(.gnu.warning)
+ *(.text.init)
+ *(.data.init)
+ }
+
+ .data :
+ {
+ *(*)
+ }
+
+ .bss :
+ {
+ *(.dynbss)
+ *(COMMON)
+ *(.bss)
+ *(.sbss)
+ *(.scommon)
+ . = ALIGN (0x8000);
+ workspace = .;
+ }
+}