[PATCH 01/15] ARM: use CONFIG_AEABI by default everywhere
Linus Walleij
linus.walleij at linaro.org
Wed Dec 4 05:54:23 PST 2024
On Wed, Dec 4, 2024 at 11:29 AM Arnd Bergmann <arnd at kernel.org> wrote:
> From: Arnd Bergmann <arnd at arndb.de>
>
> On ARMv4 and ARMv5, the default is still to build for OABI, with
> CONFIG_AEABI disabled, even though distros and toolchains no longer
> support OABI as a target.
>
> Change the default to EABI for all architecture levels and change
> the defconfig entries as follows:
>
> - All machines that used to explicitly enable EABI can drop that line now
> - Machines that are likely to actually use old distros and had NWFPE
> enabled in combination with OABI (rpc, footrbridge, netwinder,
> assabet, neponset) explicitly turn it on now.
> - Machines that already had both EABI and NWFPE disabled in defconfig
> (at91_dt, collie, ep93xx, gemini, h3600, imx_v4_v5, integrator, jornada,
> moxart, multi_v4t, omap1) were likely not usable with either OABI or
> EABI and now use EABI instead implicitly, making it more likely that
> they could work.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
For these:
> arch/arm/configs/gemini_defconfig | 1 -
> arch/arm/configs/integrator_defconfig | 1 -
> arch/arm/configs/ixp4xx_defconfig | 1 -
> arch/arm/configs/netwinder_defconfig | 1 +
> arch/arm/configs/nhk8815_defconfig | 1 -
> arch/arm/configs/versatile_defconfig | 1 -
Acked-by: Linus Walleij <linus.walleij at linaro.org>
I only ever use these platforms with AEABI, and a corresponding
userspace.
My userspace for the Faraday FA526 uses the OpenWrt-resident
GCC --fix-v4bx hack:
https://github.com/openwrt/openwrt/blob/main/toolchain/gcc/patches-14.x/840-armv4_pass_fix-v4bx_to_ld.patch
(maybe this is a bit sloppy but it works for us)
Maybe LLVM CLANG can build an ARMv4 userspace without this
hack? I haven't looked closer.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list