[PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls
Christophe Leroy
christophe.leroy at csgroup.eu
Tue Sep 27 16:07:03 AEST 2022
Le 27/09/2022 à 07:18, Benjamin Gray a écrit :
> On Mon, 2022-09-26 at 13:16 +0000, Christophe Leroy wrote:
>> Build failure with GCC 5.5 (ppc64le_defconfig):
>>
>> CC arch/powerpc/kernel/ptrace/ptrace.o
>> {standard input}: Assembler messages:
>> {standard input}:10: Error: .localentry expression for
>> `__SCT__tp_func_sys_enter' is not a valid power of 2
>> {standard input}:29: Error: .localentry expression for
>> `__SCT__tp_func_sys_exit' is not a valid power of 2
>
> Looks support for a literal st_other value in `.localentry` is added in
> binutils 2.32 . I'll change the config entry as follows for v3:
>
> select HAVE_STATIC_CALL if
> PPC32 || (PPC64_ELF_ABI_V2 && LD_VERSION >= 23200)
>
What about Clang ?
More information about the Linuxppc-dev
mailing list