ramips: move relocating loader to common location
[openwrt/svn-archive/archive.git] / target / linux / generic / image / relocate / loader.lds
diff --git a/target/linux/generic/image/relocate/loader.lds b/target/linux/generic/image/relocate/loader.lds
new file mode 100644 (file)
index 0000000..98ca209
--- /dev/null
@@ -0,0 +1,16 @@
+OUTPUT_ARCH(mips)
+SECTIONS {
+       .text : {
+               _code_start = .;
+               *(.text)
+               *(.text.*)
+               *(.rodata)
+               *(.rodata.*)
+               *(.data)
+               *(.data.*)
+       }
+
+       . = ALIGN(32);
+
+       _code_end = .;
+}