genode/repos/base-hw/lib/mk/spec/arm_v7/bootstrap-hw.inc
Stefan Kalkowski 5e0a9052d2 hw: prevent alignment faults in bootstrap
Either enable strict-alignment or disable FPU code generation by gcc
regarding bootstrap code, which cannot handle alignment faults during
initialization properly.

Ref genodelabs/genode#4827
2023-05-30 12:03:28 +02:00

12 lines
340 B
PHP

SRC_CC += bootstrap/spec/arm/arm_v7_cpu.cc
SRC_CC += hw/spec/32bit/memory_map.cc
SRC_S += bootstrap/spec/arm/crt0.s
#
# Disable FPU instructions generated by GCC until MMU is enabled
# and alignment restrictions are relaxed
#
CC_MARCH = -march=armv7-a+nofp -mfpu=vfpv3
include $(call select_from_repositories,lib/mk/bootstrap-hw.inc)