mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
base-hw: Use softfp ABI on virt_qemu ARMv7.
The soft ABI implies purely software floating point implementation. This is not the case for Genode however. For example core's exception_vector.S uses vmsr instruction. This builds fine with with GCC based toolchain, but clang with integrated-as complains: src/core/spec/arm/exception_vector.S:122:2: error: instruction requires: VFP2 vmsr fpexc, r1 ^ Fix this by passing softfp to mfloat-abi command on ARMv7. This allows usage of FP HW, but implies soft-floating point ABI. Issue #4421
This commit is contained in:
parent
4ae78639f5
commit
5e93a5806b
@ -16,6 +16,6 @@ SRC_S += spec/arm_v7/virtualization/exception_vector.s
|
||||
|
||||
NR_OF_CPUS = 2
|
||||
|
||||
CC_MARCH = -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv3 -mfloat-abi=soft
|
||||
CC_MARCH = -march=armv7ve -mtune=cortex-a15 -mfpu=vfpv3 -mfloat-abi=softfp
|
||||
|
||||
include $(call select_from_repositories,lib/mk/spec/cortex_a15/core-hw.inc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user