[PATCH] powerpc: Fix 'intra_function_call not a direct call' warning
Madhavan Srinivasan
maddy at linux.ibm.com
Fri Mar 14 14:46:53 AEDT 2025
On Wed, 05 Mar 2025 00:00:19 +0100, Christophe Leroy wrote:
> The following build warning have been reported:
>
> arch/powerpc/kvm/book3s_hv_rmhandlers.o: warning: objtool: .text+0xe84: intra_function_call not a direct call
> arch/powerpc/kernel/switch.o: warning: objtool: .text+0x4: intra_function_call not a direct call
>
> This happens due to commit bb7f054f4de2 ("objtool/powerpc: Add support
> for decoding all types of uncond branches") because that commit decodes
> 'bl .+4' as a normal instruction because that instruction is used by
> clang instead of 'bcl 20,31,+.4' for relocatable code.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Fix 'intra_function_call not a direct call' warning
https://git.kernel.org/powerpc/c/382094a41c706bf9d990a224d5d4d34c02a21f15
Thanks
More information about the Linuxppc-dev
mailing list