summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/image/relocate/loader.lds
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-03-30 20:20:08 +0000
committerJonas Gorski <jogo@openwrt.org>2015-03-30 20:20:08 +0000
commit703c41cf01f9ab00dc63d400bdfec45a7f4d4c6f (patch)
treeebd609a748e07a5bc28f2c15a539d8f02f86bea3 /target/linux/generic/image/relocate/loader.lds
parent3129f0c6f21e31fde17851a08ee18b2b2286ff57 (diff)
downloadmaster-31e0f0ae-703c41cf01f9ab00dc63d400bdfec45a7f4d4c6f.tar.gz
master-31e0f0ae-703c41cf01f9ab00dc63d400bdfec45a7f4d4c6f.tar.bz2
master-31e0f0ae-703c41cf01f9ab00dc63d400bdfec45a7f4d4c6f.zip
ramips: move relocating loader to common location
Allow other targets to use it, too. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45162
Diffstat (limited to 'target/linux/generic/image/relocate/loader.lds')
-rw-r--r--target/linux/generic/image/relocate/loader.lds16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/generic/image/relocate/loader.lds b/target/linux/generic/image/relocate/loader.lds
new file mode 100644
index 0000000000..98ca209303
--- /dev/null
+++ b/target/linux/generic/image/relocate/loader.lds
@@ -0,0 +1,16 @@
+OUTPUT_ARCH(mips)
+SECTIONS {
+ .text : {
+ _code_start = .;
+ *(.text)
+ *(.text.*)
+ *(.rodata)
+ *(.rodata.*)
+ *(.data)
+ *(.data.*)
+ }
+
+ . = ALIGN(32);
+
+ _code_end = .;
+}