From 703c41cf01f9ab00dc63d400bdfec45a7f4d4c6f Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 30 Mar 2015 20:20:08 +0000 Subject: ramips: move relocating loader to common location Allow other targets to use it, too. Signed-off-by: Jonas Gorski SVN-Revision: 45162 --- target/linux/generic/image/relocate/loader.lds | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 target/linux/generic/image/relocate/loader.lds (limited to '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 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 = .; +} -- cgit v1.2.3