summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2022-11-28 14:15:39 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-17 15:21:24 +0200
commit8b9f7d8d71bf9b91ad4cb1ff589d7cdf4bc0673a (patch)
tree40872d53571fef90f6a6ad2212b5ae1c120ed9e0 /arch/powerpc/kernel
parentb986ec200f9fb5c4d863d789e28f45cd2f253656 (diff)
downloadlinux-8b9f7d8d71bf9b91ad4cb1ff589d7cdf4bc0673a.tar.gz
linux-8b9f7d8d71bf9b91ad4cb1ff589d7cdf4bc0673a.tar.bz2
linux-8b9f7d8d71bf9b91ad4cb1ff589d7cdf4bc0673a.zip
powerpc/64: Option to build big-endian with ELFv2 ABI
[ Upstream commit 5017b45946722bdd20ac255c9ae7273b78d1f12e ] Provide an option to build big-endian kernels using the ELFv2 ABI. This works on GCC only for now. Clang is rumored to support this, but core build files need updating first, at least. This gives big-endian kernels useful advantages of the ELFv2 ABI, e.g., less stack usage, -mprofile-kernel support, better compatibility with eBPF tools. BE+ELFv2 is not officially supported by the GNU toolchain, but it works fine in testing and has been used by some userspace for some time (e.g., Void Linux). Tested-by: Michal Suchánek <msuchanek@suse.de> Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20221128041539.1742489-5-npiggin@gmail.com Stable-dep-of: 39190ac7cff1 ("powerpc/atomic: Use YZ constraints for DS-form instructions") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions