linux64: improve linux_support.s make rules
Previously we relied on the .s.o rule in share/mk/bsd.suffixes.mk to tell make that linux_support.o is built from linux_support.s, even though we do not use the .s.o rule to assemble it. Reviewed by: sjg MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35864
This commit is contained in:
parent
798ea06f07
commit
35548e48a4
@ -132,9 +132,9 @@ linux${SFX}_vdso.so: linux${SFX}_vdso.so.o
|
|||||||
${STRIPBIN} -N _binary_linux${SFX}_vdso_so_o_size ${.TARGET}
|
${STRIPBIN} -N _binary_linux${SFX}_vdso_so_o_size ${.TARGET}
|
||||||
|
|
||||||
.if ${MACHINE_CPUARCH} == "amd64"
|
.if ${MACHINE_CPUARCH} == "amd64"
|
||||||
linux${SFX}_support.o: linux${SFX}_assym.h assym.inc
|
linux${SFX}_support.o: linux${SFX}_support.S linux${SFX}_assym.h assym.inc
|
||||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
||||||
${.IMPSRC} -o ${.TARGET}
|
${.ALLSRC:M*.S:u} -o ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
linux${SFX}_genassym.o: offset.inc
|
linux${SFX}_genassym.o: offset.inc
|
||||||
|
@ -98,9 +98,9 @@ linux_vdso.so: linux_vdso.so.o
|
|||||||
linux_vdso.so.o ${.TARGET}
|
linux_vdso.so.o ${.TARGET}
|
||||||
${STRIPBIN} -N _binary_linux_vdso_so_o_size ${.TARGET}
|
${STRIPBIN} -N _binary_linux_vdso_so_o_size ${.TARGET}
|
||||||
|
|
||||||
linux_support.o: assym.inc linux_assym.h
|
linux_support.o: linux_support.S assym.inc linux_assym.h
|
||||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
||||||
${.IMPSRC} -o ${.TARGET}
|
${.ALLSRC:M*.S:u} -o ${.TARGET}
|
||||||
|
|
||||||
linux_genassym.o: offset.inc
|
linux_genassym.o: offset.inc
|
||||||
${CC} -c ${CFLAGS:N-flto:N-fno-common} -fcommon ${.IMPSRC}
|
${CC} -c ${CFLAGS:N-flto:N-fno-common} -fcommon ${.IMPSRC}
|
||||||
|
Loading…
Reference in New Issue
Block a user