ARM: 8322/1: keep .text and .fixup regions closer together
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 24 Mar 2015 09:41:09 +0000 (10:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Mar 2015 22:11:56 +0000 (23:11 +0100)
commitc4a84ae39b4a5bdf609c0001e14207aa731aab30
tree3f8414f31e535f2bca3c58e27e3ab01131177caf
parent779c88c94c34bd3b521da97b456a1aa51d870dec
ARM: 8322/1: keep .text and .fixup regions closer together

This moves all fixup snippets to the .text.fixup section, which is
a special section that gets emitted along with the .text section
for each input object file, i.e., the snippets are kept much closer
to the code they refer to, which helps prevent linker failure on
large kernels.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/futex.h
arch/arm/include/asm/uaccess.h
arch/arm/include/asm/word-at-a-time.h
arch/arm/kernel/entry-armv.S
arch/arm/kernel/swp_emulate.c
arch/arm/kernel/vmlinux.lds.S
arch/arm/lib/clear_user.S
arch/arm/lib/copy_to_user.S
arch/arm/lib/csumpartialcopyuser.S
arch/arm/mm/alignment.c
arch/arm/nwfpe/entry.S