Module Name: src
Committed By: christos
Date: Sun Apr 25 18:44:05 UTC 2021
Modified Files:
src/compat/mips64/n32: bsd.n32.mk
src/compat/mips64/o32: bsd.o32.mk
Log Message:
define BFD_MACHINE_ARCH. This worked by accident before since the default
64 bit target was 32 bits.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/compat/mips64/n32/bsd.n32.mk
cvs rdiff -u -r1.15 -r1.16 src/compat/mips64/o32/bsd.o32.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/compat/mips64/n32/bsd.n32.mk
diff -u src/compat/mips64/n32/bsd.n32.mk:1.1 src/compat/mips64/n32/bsd.n32.mk:1.2
--- src/compat/mips64/n32/bsd.n32.mk:1.1 Sun Apr 25 11:18:23 2021
+++ src/compat/mips64/n32/bsd.n32.mk Sun Apr 25 14:44:04 2021
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.n32.mk,v 1.1 2021/04/25 15:18:23 christos Exp $
+# $NetBSD: bsd.n32.mk,v 1.2 2021/04/25 18:44:04 christos Exp $
.if !empty(MACHINE_ARCH:M*eb)
LD+= -m elf32btsmipn32
@@ -12,6 +12,7 @@ LIBC_MACHINE_ARCH= ${MACHINE_ARCH:S/mips
LIBGCC_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
GOMP_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
XORG_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
+BFD_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
COPTS+= -mabi=n32
CPUFLAGS+= -mabi=n32
Index: src/compat/mips64/o32/bsd.o32.mk
diff -u src/compat/mips64/o32/bsd.o32.mk:1.15 src/compat/mips64/o32/bsd.o32.mk:1.16
--- src/compat/mips64/o32/bsd.o32.mk:1.15 Sun Apr 25 11:18:23 2021
+++ src/compat/mips64/o32/bsd.o32.mk Sun Apr 25 14:44:04 2021
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.o32.mk,v 1.15 2021/04/25 15:18:23 christos Exp $
+# $NetBSD: bsd.o32.mk,v 1.16 2021/04/25 18:44:04 christos Exp $
.if !empty(MACHINE_ARCH:M*eb)
LD+= -m elf32btsmip
@@ -12,6 +12,7 @@ LIBC_MACHINE_ARCH= ${MACHINE_ARCH:S/mips
LIBGCC_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
GOMP_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
XORG_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
+BFD_MACHINE_ARCH= ${LIBC_MACHINE_ARCH}
COPTS+= -mabi=32 -march=mips3
CPUFLAGS+= -mabi=32 -march=mips3