Openwrt/target/linux/ramips/image/relocate/loader.lds
Felix Fietkau 33848f14d3 ramips: add code for relocating a kernel to the right place
(used if the boot loader wants a different loadaddr/entry)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44014
2015-01-17 21:19:38 +00:00

17 lines
174 B
Plaintext

OUTPUT_ARCH(mips)
SECTIONS {
.text : {
_code_start = .;
*(.text)
*(.text.*)
*(.rodata)
*(.rodata.*)
*(.data)
*(.data.*)
}
. = ALIGN(32);
_code_end = .;
}