1 ######################################################################
2 #BEGIN Machine dependent Makefile fragment for x86_64
3 ######################################################################
5 CWARNFLAGS = $(CWARNFLAGS_STD) -Wshorten-64-to-32
7 # Files that must go in the __HIB segment:
8 UNCONFIGURED_HIB_FILES= \
12 hibernate_bootstrap.o \
16 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
18 # Unconfigured __HIB files must be Mach-O for "setsegname"
19 WKdmDecompress_new.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
20 WKdmData_new.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
21 hibernate_restore.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
22 hibernate_bootstrap.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
23 bcopy.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
24 bzero.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
25 fp_simd.o_SFLAGS_ADD += -mavx512f
27 # To appear at the beginning of the __HIB segment, emit
28 # as Mach-O so that the linker can enforce symbol order
29 boot_pt.o_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)
31 # fast path lock C leaf functions must be built without stack frames
32 locks_i386_opt.o_CFLAGS_ADD += -momit-leaf-frame-pointer -O2
34 ######################################################################
35 #END Machine dependent Makefile fragment for x86_64
36 ######################################################################