[PATCH v6 0/4] Option to build big-endian with ELFv2 ABI
Nicholas Piggin
npiggin at gmail.com
Mon Nov 28 15:15:35 AEDT 2022
This is hopefully the final attempt. Luis was happy for the module
patch to go via the powerpc tree, so I've put the the ELFv2 for big
endian build patches into the series. Hopefully we can deprecate
the ELFv1 ABI
Since v5, I cleaned up patch 2 as per Christophe's review. And patch
4 I removed the EXPERT depends so it's easier to test. It's marked as
experimental, but we should soon make it default and try to deprecate
the v1 ABI so we can eventually remove it.
Thanks,
Nick
Nicholas Piggin (4):
module: add module_elf_check_arch for module-specific checks
powerpc/64: Add module check for ELF ABI version
powerpc/64: Add big-endian ELFv2 flavour to crypto VMX asm generation
powerpc/64: Option to build big-endian with ELFv2 ABI
arch/powerpc/Kconfig | 21 +++++++++++++++++++++
arch/powerpc/kernel/module_64.c | 10 ++++++++++
arch/powerpc/platforms/Kconfig.cputype | 4 ++--
drivers/crypto/vmx/Makefile | 12 +++++++++++-
drivers/crypto/vmx/ppc-xlate.pl | 10 ++++++----
include/linux/moduleloader.h | 3 +++
kernel/module/main.c | 10 ++++++++++
7 files changed, 63 insertions(+), 7 deletions(-)
--
2.37.2
More information about the Linuxppc-dev
mailing list