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/c1d95bf1eb2f
branches: trunk
changeset: 982753:c1d95bf1eb2f
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 e807bab61872 -r c1d95bf1eb2f 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 e807bab61872 -r c1d95bf1eb2f 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