Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/linux64/Makefile
Show All 35 Lines | |||||
.elif ${MACHINE_CPUARCH} == "aarch64" | .elif ${MACHINE_CPUARCH} == "aarch64" | ||||
# The Linux uses tiny memory model, but our ld does not know about | # The Linux uses tiny memory model, but our ld does not know about | ||||
# some of relocation types which is generated by cc | # some of relocation types which is generated by cc | ||||
VDSOFLAGS=-mgeneral-regs-only -mcmodel=small -ffixed-x18 | VDSOFLAGS=-mgeneral-regs-only -mcmodel=small -ffixed-x18 | ||||
.endif | .endif | ||||
linux_locore.o: linux_assym.h assym.inc | linux_locore.o: linux_assym.h assym.inc | ||||
${CC} -c -x assembler-with-cpp -DLOCORE \ | ${CC} -c -x assembler-with-cpp -DLOCORE \ | ||||
-fPIC -pipe -O2 -Werror ${VDSOFLAGS} \ | -fPIC -pipe -O3 -Werror ${VDSOFLAGS} \ | ||||
-nostdinc -fasynchronous-unwind-tables \ | -nostdinc -fasynchronous-unwind-tables \ | ||||
-fno-omit-frame-pointer -foptimize-sibling-calls \ | -fno-omit-frame-pointer -foptimize-sibling-calls \ | ||||
-fno-stack-protector -I. -I${SYSDIR} -I${SRCTOP}/include \ | -fno-stack-protector -I. -I${SYSDIR} -I${SRCTOP}/include \ | ||||
${.IMPSRC} -o ${.TARGET} | ${.IMPSRC} -o ${.TARGET} | ||||
linux_vdso_gtod.o: linux_vdso_gtod.inc ${VDSODEPS} | linux_vdso_gtod.o: linux_vdso_gtod.inc ${VDSODEPS} | ||||
${CC} -c -fPIC -pipe -O2 -Werror ${VDSOFLAGS} \ | ${CC} -c -fPIC -pipe -O3 -Werror ${VDSOFLAGS} \ | ||||
-nostdinc -fasynchronous-unwind-tables \ | -nostdinc -fasynchronous-unwind-tables \ | ||||
-fno-omit-frame-pointer -foptimize-sibling-calls \ | -fno-omit-frame-pointer -foptimize-sibling-calls \ | ||||
-fno-stack-protector -I. -I${SYSDIR} -I${SRCTOP}/include \ | -fno-stack-protector -I. -I${SYSDIR} -I${SRCTOP}/include \ | ||||
${.IMPSRC} -o ${.TARGET} | ${.IMPSRC} -o ${.TARGET} | ||||
linux_vdso.so.o: linux_locore.o linux_vdso_gtod.o | linux_vdso.so.o: linux_locore.o linux_vdso_gtod.o | ||||
${LD} --shared --eh-frame-hdr -soname=linux-vdso.so.1 \ | ${LD} --shared --eh-frame-hdr -soname=linux-vdso.so.1 \ | ||||
--no-undefined --hash-style=both -warn-common -nostdlib \ | --no-undefined --hash-style=both -warn-common -nostdlib \ | ||||
Show All 29 Lines |