diff options
author | Joseph Lo <[email protected]> | 2013-04-15 16:50:54 -0600 |
---|---|---|
committer | Olof Johansson <[email protected]> | 2013-04-18 09:30:40 -0700 |
commit | a65dc10ffad1e041b4ad3559a026a8bb2b40b77e (patch) | |
tree | 4f869668419ba6ecfc668813edf5f2311e7ff1b6 /lib/mpi/mpi-cmp.c | |
parent | 5777b4b5778b9b44ee8b1476521ffcb8e527876d (diff) |
ARM: tegra: fix relocation truncated error when THUMB2_KERNEL enabled
The conditional branch instruction in Thumb2 only available to short range.
The linker will fail when the conditional branch over the range. Then
resulting in link error when generating kernel image. e.g.:
arch/arm/mach-tegra/reset-handler.S:47:(.text+0xf8e):
relocation truncated to fit: R_ARM_THM_JUMP19 against symbol
`cpu_resume' defined in .data section in arch/arm/kernel/built-in.o
This patch using a Thumb2 instruction IT (if-then) to have a longer branch
range.
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Joseph Lo <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Dave Martin <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions