[PATCH v2 0/4] powerpc/64: ELFv2 conversion

Nicholas Piggin npiggin at gmail.com
Tue Jun 6 19:38:28 AEST 2023


This is a follow on from the series here

https://lore.kernel.org/linuxppc-dev/20230505071850.228734-1-npiggin@gmail.com/

With feedback addressed and Christophe's -mprofile-kernel for BE added,

https://lore.kernel.org/linuxppc-dev/20230506011814.8766-1-npiggin@gmail.com/

And dropped the last RFC patch that removes ELFv1 entirely. Maybe we can
wait one or two releases after this before doing that.

Thanks,
Nick

Nicholas Piggin (4):
  powerpc/64: Force ELFv2 when building with LLVM linker
  powerpc/64: Make ELFv2 the default for big-endian builds
  powerpc/64: Use -mprofile-kernel for big endian ELFv2 kernels
  powerpc/64s: Remove support for ELFv1 little endian userspace

 arch/powerpc/Kconfig                            | 13 +++++++------
 arch/powerpc/include/asm/elf.h                  |  6 ++++++
 arch/powerpc/include/asm/thread_info.h          |  6 +++++-
 arch/powerpc/tools/gcc-check-mprofile-kernel.sh | 11 ++++++-----
 4 files changed, 24 insertions(+), 12 deletions(-)

-- 
2.40.1



More information about the Linuxppc-dev mailing list