aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux64/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-07-30 17:18:31 +0000
committerEd Maste <emaste@FreeBSD.org>2019-07-30 17:18:31 +0000
commit305b9efefc266b5b502b6d6d660174fa3e9c788e (patch)
tree3149bdbefdfce4962927649d85fe67aa652fa88f /sys/modules/linux64/Makefile
parent49c3e8c8d147e0f23a41e3d7f8a6a8c1dba0c29d (diff)
downloadsrc-305b9efefc266b5b502b6d6d660174fa3e9c788e.tar.gz
src-305b9efefc266b5b502b6d6d660174fa3e9c788e.zip
linuxulator: rename linux_locore.s to .asm
It is assembled using "${CC} -x assembler-with-cpp", which by convention (bsd.suffixes.mk) uses the .asm extension. This is a portion of the review referenced below (D18344). That review also renamed linux_support.s to .S, but that is a functional change (using the compiler's integrated assembler instead of as) and will be revisited separately. MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18344
Notes
Notes: svn path=/head/; revision=350451
Diffstat (limited to 'sys/modules/linux64/Makefile')
-rw-r--r--sys/modules/linux64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index 1f6250dcd2e6..1f5707e32626 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -29,7 +29,7 @@ OBJS= ${VDSO}.so
linux_assym.h: linux_genassym.o
sh ${SYSDIR}/kern/genassym.sh linux_genassym.o > ${.TARGET}
-linux_locore.o: linux_locore.s linux_assym.h
+linux_locore.o: linux_locore.asm linux_assym.h
${CC} -x assembler-with-cpp -DLOCORE -shared -mcmodel=small \
-pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -fPIC -nostdinc \
-Wl,-T${SRCTOP}/sys/${MACHINE}/linux/${VDSO}.lds.s \