linux/arch/mips/boot
Matt Redfearn 766c580356 MIPS: tools: Add relocs tool
This tool is based on the x86/boot/tools/relocs tool.

It parses the relocations present in the vmlinux elf file, building a
table of relocations that will be necessary to run the kernel from an
address other than its link address. This table is inserted into the
vmlinux elf, in the .data.relocs section. The table is subsequently used
by the code in arch/mips/kernel/relocate.c (added later) to relocate the
kernel.

The tool, by default, also marks all relocation sections as 0 length.
This is due to objcopy currently being unable to handle copying the
relocations between 64 and 32 bit elf files as is done when building a
64 bit kernel.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: kernel-hardening@lists.openwall.com
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12981/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-05-13 14:02:01 +02:00
..
compressed MIPS: ath79: Add zboot debug serial support 2016-05-13 14:01:37 +02:00
dts pinctrl/lantiq: update devicetree binding in dts file 2016-05-13 14:01:59 +02:00
tools MIPS: tools: Add relocs tool 2016-05-13 14:02:01 +02:00
.gitignore MIPS: Add support for building device-tree binaries 2014-09-22 13:35:49 +02:00
ecoff.h MIPS: remove duplicate define 2013-11-06 15:51:19 +01:00
elf2ecoff.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-02-21 19:41:38 -08:00
Makefile MIPS: boot: Provide more uImage options 2015-02-20 14:17:43 +01:00