Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69745 )
(
5 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: arch/arm/armv7: Disable generating neon FPU code ......................................................................
arch/arm/armv7: Disable generating neon FPU code
By default clang generates code with neon instructions. These are not supported on all arm targets so default to fpu=none.
Change-Id: I48fc505107d131466be39f466151df62b2d2bd0b Signed-off-by: Arthur Heymans arthur@aheymans.xyz Reviewed-on: https://review.coreboot.org/c/coreboot/+/69745 Reviewed-by: Martin L Roth gaumless@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/arch/arm/armv7/Makefile.inc 1 file changed, 17 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Martin L Roth: Looks good to me, approved
diff --git a/src/arch/arm/armv7/Makefile.inc b/src/arch/arm/armv7/Makefile.inc index d9f78e5..53261ee 100644 --- a/src/arch/arm/armv7/Makefile.inc +++ b/src/arch/arm/armv7/Makefile.inc @@ -9,6 +9,7 @@ ifeq ($(CONFIG_COMPILER_GCC),y) armv7_asm_flags += -Wa,-mno-warn-deprecated else # CLANG +armv7_flags += -mfpu=none bootblock-ld-ccopts += -target arm-eabi verstage-ld-ccopts += -target arm-eabi romstage-ld-ccopts += -target arm-eabi