[PATCH kernel v4] powerpc/64: Add UADDR64 relocation support
Michael Ellerman
patch-notifications at ellerman.id.au
Sat Mar 12 21:29:50 AEDT 2022
On Wed, 9 Mar 2022 17:18:22 +1100, Alexey Kardashevskiy wrote:
> When ld detects unaligned relocations, it emits R_PPC64_UADDR64
> relocations instead of R_PPC64_RELATIVE. Currently R_PPC64_UADDR64 are
> detected by arch/powerpc/tools/relocs_check.sh and expected not to work.
> Below is a simple chunk to trigger this behaviour (this disables
> optimization for the demonstration purposes only, this also happens with
> -O1/-O2 when CONFIG_PRINTK_INDEX=y, for example):
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/64: Add UADDR64 relocation support
https://git.kernel.org/powerpc/c/d799769188529abc6cbf035a10087a51f7832b6b
cheers
More information about the Linuxppc-dev
mailing list