diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-24 10:41:09 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-03-29 23:11:56 +0100 |
commit | c4a84ae39b4a5bdf609c0001e14207aa731aab30 (patch) | |
tree | 3f8414f31e535f2bca3c58e27e3ab01131177caf /arch/arm/lib/csumpartialcopyuser.S | |
parent | 779c88c94c34bd3b521da97b456a1aa51d870dec (diff) | |
download | blackbird-obmc-linux-c4a84ae39b4a5bdf609c0001e14207aa731aab30.tar.gz blackbird-obmc-linux-c4a84ae39b4a5bdf609c0001e14207aa731aab30.zip |
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>
Diffstat (limited to 'arch/arm/lib/csumpartialcopyuser.S')
-rw-r--r-- | arch/arm/lib/csumpartialcopyuser.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/csumpartialcopyuser.S b/arch/arm/lib/csumpartialcopyuser.S index 7d08b43d2c0e..1d0957e61f89 100644 --- a/arch/arm/lib/csumpartialcopyuser.S +++ b/arch/arm/lib/csumpartialcopyuser.S @@ -68,7 +68,7 @@ * so properly, we would have to add in whatever registers were loaded before * the fault, which, with the current asm above is not predictable. */ - .pushsection .fixup,"ax" + .pushsection .text.fixup,"ax" .align 4 9001: mov r4, #-EFAULT ldr r5, [sp, #8*4] @ *err_ptr |