mbox series

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

Message ID 20230606093832.199712-1-npiggin@gmail.com (mailing list archive)
Headers show
Series powerpc/64: ELFv2 conversion | expand

Message

Nicholas Piggin June 6, 2023, 9:38 a.m. UTC
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(-)

Comments

Michael Ellerman July 3, 2023, 5:26 a.m. UTC | #1
On Tue, 06 Jun 2023 19:38:28 +1000, Nicholas Piggin wrote:
> 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/
> 
> [...]

Applied to powerpc/next.

[1/4] powerpc/64: Force ELFv2 when building with LLVM linker
      https://git.kernel.org/powerpc/c/9d90161ca5c7234e80e14e563d198f322ca0c1d0
[2/4] powerpc/64: Make ELFv2 the default for big-endian builds
      https://git.kernel.org/powerpc/c/8c5fa3b5c4df3d071dab42b04b971df370d99354
[3/4] powerpc/64: Use -mprofile-kernel for big endian ELFv2 kernels
      https://git.kernel.org/powerpc/c/aec0ba7472a7b0c1c293932e7978197f1489a332
[4/4] powerpc/64s: Remove support for ELFv1 little endian userspace
      https://git.kernel.org/powerpc/c/606787fed7268feb256957872586370b56af697a

cheers