Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/compat/mips64 define BFD_MACHINE_ARCH. This worked by accide...
details: https://anonhg.NetBSD.org/src/rev/4eb8cba108d2
branches: trunk
changeset: 961928:4eb8cba108d2
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 25 18:44:04 2021 +0000
description:
define BFD_MACHINE_ARCH. This worked by accident before since the default
64 bit target was 32 bits.
diffstat:
compat/mips64/n32/bsd.n32.mk | 3 ++-
compat/mips64/o32/bsd.o32.mk | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 2291d41e22df -r 4eb8cba108d2 compat/mips64/n32/bsd.n32.mk
--- a/compat/mips64/n32/bsd.n32.mk Sun Apr 25 18:26:15 2021 +0000
+++ b/compat/mips64/n32/bsd.n32.mk Sun Apr 25 18:44:04 2021 +0000
@@ -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 @@
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
diff -r 2291d41e22df -r 4eb8cba108d2 compat/mips64/o32/bsd.o32.mk
--- a/compat/mips64/o32/bsd.o32.mk Sun Apr 25 18:26:15 2021 +0000
+++ b/compat/mips64/o32/bsd.o32.mk Sun Apr 25 18:44:04 2021 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index