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
commit97867f8717abc2b02bbea8c1ef625fe68f05700b (patch)
tree0b4fbdf06d47f606118af0854ca3e0349652f446 /target/linux/ar71xx/image/lzma-loader/src/loader2.lds
parentdd092fd10cb1b5e4ef5414952ee0180e2e616886 (diff)
downloadupstream-97867f8717abc2b02bbea8c1ef625fe68f05700b.tar.gz
upstream-97867f8717abc2b02bbea8c1ef625fe68f05700b.tar.bz2
upstream-97867f8717abc2b02bbea8c1ef625fe68f05700b.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> SVN-Revision: 34271
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.*)
+ }
+}