Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/linux64/Makefile
Show All 31 Lines | SRCS= linux_dummy_machdep.c \ | ||||
opt_compat.h \ | opt_compat.h \ | ||||
opt_ktrace.h \ | opt_ktrace.h \ | ||||
opt_inet6.h \ | opt_inet6.h \ | ||||
opt_posix.h \ | opt_posix.h \ | ||||
opt_usb.h \ | opt_usb.h \ | ||||
bus_if.h \ | bus_if.h \ | ||||
device_if.h \ | device_if.h \ | ||||
vnode_if.h \ | vnode_if.h \ | ||||
linux_support.s | linux_support.S | ||||
.if ${MACHINE_CPUARCH} == "amd64" | .if ${MACHINE_CPUARCH} == "amd64" | ||||
SRCS+= linux_dummy_x86.c | SRCS+= linux_dummy_x86.c | ||||
.endif | .endif | ||||
DPSRCS= assym.inc linux_genassym.c | DPSRCS= assym.inc linux_genassym.c | ||||
# XXX: for assym.inc | # XXX: for assym.inc | ||||
SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h | SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h | ||||
Show All 28 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.s \ | ||||
emaste: this is strange - I'm not sure why the linker script had a .s extension in the first place | |||||
Done Inline ActionsYeah did look a bit odd. Fairly likely this shouldn't be part of D35908. ehem_freebsd_m5p.com: Yeah did look a bit odd. Fairly likely this shouldn't be part of D35908. | |||||
-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 |
this is strange - I'm not sure why the linker script had a .s extension in the first place