
1 Aug
2022
1 Aug
'22
10:41 p.m.
When building with an arm-*-uclinuxfdpiceabi toolchain, the FDPIC ABI is enabled by default but should not be used to build U-Boot. Therefore, pass -mno-fdpic if supported by the compiler.
Signed-off-by: Ben Wolsieffer Ben.Wolsieffer@hefring.com --- arch/arm/Makefile | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 85c23bcf77..cdc32ea790 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -32,6 +32,9 @@ else arch-y += -D__LINUX_ARM_ARCH__=$(CONFIG_SYS_ARM_ARCH) endif
+# Disable FDPIC ABI +arch-y += $(call cc-option, -mno-fdpic) + # Evaluate arch cc-option calls now arch-y := $(arch-y)
--
2.37.0
1011
Age (days ago)
1011
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ben Wolsieffer