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

2022-05-15 Thread Michael Ellerman
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 useles

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

2022-04-06 Thread Alexey Kardashevskiy
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