diff options
author | Matt Redfearn | 2016-03-31 11:05:35 +0200 |
---|---|---|
committer | Ralf Baechle | 2016-05-13 14:02:02 +0200 |
commit | e818fac595ab94900f0046baba1f1a0e2d5c2435 (patch) | |
tree | 41880085a058084706ef751924d22c8e3abbb016 /CREDITS | |
parent | MIPS: Reserve space for relocation table (diff) | |
download | kernel-qcow2-linux-e818fac595ab94900f0046baba1f1a0e2d5c2435.tar.gz kernel-qcow2-linux-e818fac595ab94900f0046baba1f1a0e2d5c2435.tar.xz kernel-qcow2-linux-e818fac595ab94900f0046baba1f1a0e2d5c2435.zip |
MIPS: Generate relocation table when CONFIG_RELOCATABLE
When CONFIG_RELOCATABLE is enabled (added in later patch) add
--emit-relocs to vmlinux LDFLAGS so that fully linked vmlinux contains
relocation information.
Run the previously added relocs tool to fill in the .data.relocs section
of vmlinux with a table of relocations. The relocs tool will also remove
(mark as 0 length) the relocation sections added to vmlinux.
When vmlinux is passed to the boot makefile for conversion into a boot
image the now empty relocation sections will be removed and the
populated relocation table will be included in the binary image.
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/12983/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions