Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/share/mk Pull up following revision(s) (requested by jmcn...
details: https://anonhg.NetBSD.org/src/rev/acf149c16e34
branches: netbsd-9
changeset: 963378:acf149c16e34
user: martin <martin%NetBSD.org@localhost>
date: Sun Dec 08 14:36:21 2019 +0000
description:
Pull up following revision(s) (requested by jmcneill in ticket #512):
share/mk/bsd.kmodule.mk: revision 1.63
Build aarch64 modules without fp or simd instructions.
diffstat:
share/mk/bsd.kmodule.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 518c47bcd918 -r acf149c16e34 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk Sun Dec 08 14:35:10 2019 +0000
+++ b/share/mk/bsd.kmodule.mk Sun Dec 08 14:36:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kmodule.mk,v 1.62 2019/07/05 08:28:16 hannken Exp $
+# $NetBSD: bsd.kmodule.mk,v 1.62.2.1 2019/12/08 14:36:21 martin Exp $
# We are not building this with PIE
MKPIE=no
@@ -42,7 +42,9 @@
# The real solution to this involves generating trampolines for those
# relocations inside the loader and removing this workaround, as the
# resulting code would be much faster.
-.if ${MACHINE_CPU} == "arm"
+.if ${MACHINE_CPU} == "aarch64"
+CFLAGS+= -march=armv8-a+nofp+nosimd
+.elif ${MACHINE_CPU} == "arm"
CFLAGS+= -fno-common -fno-unwind-tables
.elif ${MACHINE_CPU} == "hppa"
CFLAGS+= -mlong-calls
Home |
Main Index |
Thread Index |
Old Index