aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/lzma-loader/src/loader2.lds
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:22:52 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-25 16:22:52 +0000
commit73fba7988564ef93fe5af07e6890f3ea8e197ca4 (patch)
tree56168a482afc1ee5ae0f25ee7cb4bdc6918b9cea /target/linux/ar71xx/image/lzma-loader/src/loader2.lds
parentfc22669ed039ff4e2fc68931d80a672c614e76e0 (diff)
downloadopenwrt-73fba7988564ef93fe5af07e6890f3ea8e197ca4.tar.gz
openwrt-73fba7988564ef93fe5af07e6890f3ea8e197ca4.zip
AA: ar71xx/image: relink loader.elf image to LOADADDR
Backport of r34271. 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/branches/attitude_adjustment@34364 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 000000000..db0bb4642
--- /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.*)
+ }
+}