Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/linux64/Makefile
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | linux_vdso_gtod.o: linux_vdso_gtod.inc ${VDSODEPS} | ||||
-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 \ | ||||
--strip-debug -s --build-id=sha1 -Bsymbolic \ | --strip-debug -s --build-id=sha1 -Bsymbolic \ | ||||
-T${SRCTOP}/sys/${MACHINE}/linux/linux_vdso.lds.s \ | -T${SRCTOP}/sys/${MACHINE}/linux/linux_vdso.lds \ | ||||
-o ${.TARGET} ${.ALLSRC:M*.o} | -o ${.TARGET} ${.ALLSRC:M*.o} | ||||
.if ${MACHINE_CPUARCH} == "aarch64" | .if ${MACHINE_CPUARCH} == "aarch64" | ||||
OBJCOPY_TARGET=--output-target elf64-littleaarch64 --binary-architecture aarch64 | OBJCOPY_TARGET=--output-target elf64-littleaarch64 --binary-architecture aarch64 | ||||
.elif ${MACHINE_CPUARCH} == "amd64" | .elif ${MACHINE_CPUARCH} == "amd64" | ||||
OBJCOPY_TARGET=--output-target elf64-x86-64 --binary-architecture i386:x86-64 | OBJCOPY_TARGET=--output-target elf64-x86-64 --binary-architecture i386:x86-64 | ||||
.else | .else | ||||
.error ${MACHINE_CPUARCH} not yet supported by linux64 | .error ${MACHINE_CPUARCH} not yet supported by linux64 | ||||
Show All 21 Lines |