1 ######################################################################
2 #BEGIN Machine dependent Makefile fragment for arm64
3 ######################################################################
5 CWARNFLAGS = $(CWARNFLAGS_STD) -Wshorten-64-to-32
7 # Files that must go in the __HIB segment:
8 UNCONFIGURED_HIB_FILES= \
15 ccdigest_final_64be.o \
21 ccsha256_initial_state.o \
22 sha256_compress_arm64.o \
26 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
29 # Unconfigured __HIB files must be Mach-O for "setsegname"
30 $(1)_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)
31 # KASAN must be disabled for unconfigured __HIB files
32 # because the kasan runtime isn't available during hibernation resume
33 $(1)_CFLAGS_ADD += -fno-sanitize=address -UKASAN
34 # Stack protector and stack check must be disabled because the stack protector runtime isn't available
35 $(1)_CFLAGS_ADD += -fno-stack-protector -fno-stack-check
38 $(foreach FILE,$(UNCONFIGURED_HIB_FILES),$(eval $(call ADD_HIB_CFLAGS,$(FILE))))
40 lz4.o_CFLAGS_ADD += -fbuiltin -O3
41 vfp_state_test.o_CFLAGS_ADD += -mno-implicit-float
44 ######################################################################
45 #END Machine dependent Makefile fragment for arm64
46 ######################################################################