Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbmips/stand/sbmips - 32 bit mips uses oabi, don't...
details: https://anonhg.NetBSD.org/src/rev/681141d8ed46
branches: trunk
changeset: 960353:681141d8ed46
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 15 18:13:54 2021 +0000
description:
- 32 bit mips uses oabi, don't force it to n32.
- compile assembly code with soft-float to kill linker warnings
diffstat:
sys/arch/evbmips/stand/sbmips/Makefile.bootprogs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 392cdef4052f -r 681141d8ed46 sys/arch/evbmips/stand/sbmips/Makefile.bootprogs
--- a/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs Mon Mar 15 17:54:49 2021 +0000
+++ b/sys/arch/evbmips/stand/sbmips/Makefile.bootprogs Mon Mar 15 18:13:54 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootprogs,v 1.4 2021/03/14 22:58:10 christos Exp $
+# $NetBSD: Makefile.bootprogs,v 1.5 2021/03/15 18:13:54 christos Exp $
NOSSP=yes
NOPIE=yes
@@ -17,6 +17,7 @@
. else
LDABI= -melf32ltsmipn32
. endif
+CPUFLAGS+= -mabi=n32
.endif
STRIPFLAG=
@@ -33,13 +34,12 @@
CHECKSIZE_CMD= SIZE=${SIZE} ${HOST_SH} ${COMMON}/checksize.sh
-AFLAGS+= -DASSEMBLER -D_LOCORE -mno-abicalls -mips64
+AFLAGS+= -DASSEMBLER -D_LOCORE -mno-abicalls -mips64 -msoft-float
# -I${.CURDIR}/../.. done by Makefile.inc
CPPFLAGS+= -nostdinc -I${.OBJDIR} -D_STANDALONE -I${S}
CFLAGS= -Os -g -ffreestanding -mno-abicalls -msoft-float -G 0
CFLAGS+= -mips64
CFLAGS+= -Werror ${CWARNFLAGS}
-CPUFLAGS+= -mabi=n32
NETBSD_VERS!=${HOST_SH} ${S}/conf/osrelease.sh
CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
Home |
Main Index |
Thread Index |
Old Index