[PATCH kernel v3] powerpc/boot: Stop using RELACOUNT

Michael Ellerman patch-notifications at ellerman.id.au
Sun May 15 20:28:33 AEST 2022


On Wed, 6 Apr 2022 17:00:38 +1000, Alexey Kardashevskiy wrote:
> So far the RELACOUNT tag from the ELF header was containing the exact
> number of R_PPC_RELATIVE/R_PPC64_RELATIVE relocations. However the LLVM's
> recent change [1] make it equal-or-less than the actual number which
> makes it useless.
> 
> This replaces RELACOUNT in zImage loader with a pair of RELASZ and RELAENT.
> The vmlinux relocation code is fixed in commit d79976918852
> ("powerpc/64: Add UADDR64 relocation support").
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/boot: Stop using RELACOUNT
      https://git.kernel.org/powerpc/c/c14d31bae372e050b053f2511fb3f0f90c27e4f9

cheers


More information about the Linuxppc-dev mailing list