ARM: PIE: Add position independent executable embedding to ARM
authorRuss Dill <Russ.Dill@ti.com>
Tue, 17 Sep 2013 09:55:15 +0000 (02:55 -0700)
committer黄涛 <huangtao@rock-chips.com>
Thu, 21 Nov 2013 05:39:21 +0000 (13:39 +0800)
commitb152ef3cbe19c3468cc0cfe1b94fcb842925b2b7
treeb0986a754d29029c0491df906939837f00234ee7
parent2ecab0b339252a6427b52d03719c96f97f19e272
ARM: PIE: Add position independent executable embedding to ARM

Add support to ARM for embedding PIEs into the kernel, loading them into
genalloc pools (such as SRAM) and executing them. Support for ARM means
performing R_ARM_RELATIVE fixups within the .rel.dyn section.

Signed-off-by: Russ Dill <Russ.Dill@ti.com>
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/include/asm/elf.h
arch/arm/kernel/.gitignore
arch/arm/kernel/Makefile
arch/arm/kernel/pie.c [new file with mode: 0644]
arch/arm/kernel/pie.lds.S [new file with mode: 0644]
arch/arm/kernel/vmlinux.lds.S
arch/arm/libpie/.gitignore [new file with mode: 0644]
arch/arm/libpie/Makefile [new file with mode: 0644]
arch/arm/libpie/empty.S [new file with mode: 0644]