[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


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


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


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(-)


More information about the Linuxppc-dev mailing list