]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "Fix AArch32 compilation with Clang"
authorTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 17:23:10 +0000 (11:23 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 6 Nov 2025 19:35:51 +0000 (13:35 -0600)
Dmitrii Sharshakov <d3dx12.xx@gmail.com> says:

I faced some minor compatibility issues when choosing Clang as the
cross-compiler for my target.

Please review these two fixes, aiming at enabling Clang-based builds
(still using GNU binutils) for 32-bit ARM targets.

Tested to fix build with (also run-tested on qemu arm and arm64 with clang):

make ARCH=arm HOSTCC=clang CROSS_COMPILE=arm-none-eabi- CC=clang imx6ulz_smm_m2b_defconfig
make ARCH=arm HOSTCC=clang CROSS_COMPILE=arm-none-eabi- CC=clang -j20

Link: https://lore.kernel.org/r/20251101-clang-fixes-v1-0-a8398475226e@gmail.com

Trivial merge