aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/lzma-loader/src/loader2.lds
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-20 12:17:41 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-20 12:17:41 +0000
commita36d8dba576f91488f5649e18e1d6d9c21f421b1 (patch)
treecf286852838841006d88e5d91d42575e9964c1d9 /target/linux/ar71xx/image/lzma-loader/src/loader2.lds
parent0cbf423c6a45fadb9027a052f70d51119e54e12e (diff)
downloadupstream-a36d8dba576f91488f5649e18e1d6d9c21f421b1.tar.gz
upstream-a36d8dba576f91488f5649e18e1d6d9c21f421b1.tar.bz2
upstream-a36d8dba576f91488f5649e18e1d6d9c21f421b1.zip
ar71xx/image: relink loader.elf image to LOADADDR
This allows to load the resulting image directly from RouterBOOT. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34271 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/image/lzma-loader/src/loader2.lds')
-rw-r--r--target/linux/ar71xx/image/lzma-loader/src/loader2.lds10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/lzma-loader/src/loader2.lds b/target/linux/ar71xx/image/lzma-loader/src/loader2.lds
new file mode 100644
index 0000000000..db0bb46424
--- /dev/null
+++ b/target/linux/ar71xx/image/lzma-loader/src/loader2.lds
@@ -0,0 +1,10 @@
+OUTPUT_ARCH(mips)
+SECTIONS {
+ .text : {
+ startup = .;
+ *(.text)
+ *(.text.*)
+ *(.data)
+ *(.data.*)
+ }
+}