Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk On MIPS if we compile C files as N64, compile assem...
details: https://anonhg.NetBSD.org/src/rev/d90cdc0751d7
branches: trunk
changeset: 954111:d90cdc0751d7
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Mar 29 05:22:49 2021 +0000
description:
On MIPS if we compile C files as N64, compile assembly with the same ABI.
diffstat:
share/mk/bsd.kmodule.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r c48d09d7d288 -r d90cdc0751d7 share/mk/bsd.kmodule.mk
--- a/share/mk/bsd.kmodule.mk Mon Mar 29 05:18:02 2021 +0000
+++ b/share/mk/bsd.kmodule.mk Mon Mar 29 05:22:49 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kmodule.mk,v 1.75 2021/03/23 13:22:40 simonb Exp $
+# $NetBSD: bsd.kmodule.mk,v 1.76 2021/03/29 05:22:49 simonb Exp $
# We are not building this with PIE
MKPIE=no
@@ -57,9 +57,11 @@
CFLAGS+= -fPIC -Wa,-fno-pic
.elif ${MACHINE_ARCH} == "mips64eb" && !defined(BSD_MK_COMPAT_FILE)
CFLAGS+= -mabi=64
+AFLAGS+= -mabi=64
LDFLAGS+= -Wl,-m,elf64btsmip
.elif ${MACHINE_ARCH} == "mips64el" && !defined(BSD_MK_COMPAT_FILE)
CFLAGS+= -mabi=64
+AFLAGS+= -mabi=64
LDFLAGS+= -Wl,-m,elf64ltsmip
.endif
Home |
Main Index |
Thread Index |
Old Index