CVS commit: src/compat/mips64/64
Module Name:src Committed By: rin Date: Tue Jul 9 15:11:28 UTC 2024 Modified Files: src/compat/mips64/64: bsd.64.mk Log Message: compat: mips64/64: Try to fix `*_MACHINE_ARCH`; use `mipsn64e[bl]` To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/compat/mips64/64/bsd.64.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/compat/mips64/64
Module Name:src Committed By: rin Date: Tue Jul 9 15:11:28 UTC 2024 Modified Files: src/compat/mips64/64: bsd.64.mk Log Message: compat: mips64/64: Try to fix `*_MACHINE_ARCH`; use `mipsn64e[bl]` To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/compat/mips64/64/bsd.64.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/64/bsd.64.mk diff -u src/compat/mips64/64/bsd.64.mk:1.13 src/compat/mips64/64/bsd.64.mk:1.14 --- src/compat/mips64/64/bsd.64.mk:1.13 Sun Apr 25 15:18:23 2021 +++ src/compat/mips64/64/bsd.64.mk Tue Jul 9 15:11:28 2024 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.64.mk,v 1.13 2021/04/25 15:18:23 christos Exp $ +# $NetBSD: bsd.64.mk,v 1.14 2024/07/09 15:11:28 rin Exp $ .if !empty(MACHINE_ARCH:M*eb) LD+= -m elf64btsmip @@ -8,6 +8,12 @@ LD+= -m elf64ltsmip .ifndef MLIBDIR MLIBDIR= 64 +LIBC_MACHINE_ARCH= ${MACHINE_ARCH:S/mips/mipsn/} +LIBGCC_MACHINE_ARCH= ${LIBC_MACHINE_ARCH} +GOMP_MACHINE_ARCH= ${LIBC_MACHINE_ARCH} +XORG_MACHINE_ARCH= ${LIBC_MACHINE_ARCH} +BFD_MACHINE_ARCH= ${LIBC_MACHINE_ARCH} + # GCC 5/6 libgomp for n64 needs files we don't generate yet. NO_LIBGOMP= 1
CVS commit: src/compat/mips64
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
CVS commit: src/compat/mips64
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.
CVS commit: src/compat/mips64/64
Module Name:src Committed By: mrg Date: Tue Feb 6 10:00:00 UTC 2018 Modified Files: src/compat/mips64/64: bsd.64.mk Log Message: fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/compat/mips64/64/bsd.64.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/64/bsd.64.mk diff -u src/compat/mips64/64/bsd.64.mk:1.11 src/compat/mips64/64/bsd.64.mk:1.12 --- src/compat/mips64/64/bsd.64.mk:1.11 Mon Jun 22 00:09:39 2015 +++ src/compat/mips64/64/bsd.64.mk Tue Feb 6 10:00:00 2018 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.64.mk,v 1.11 2015/06/22 00:09:39 matt Exp $ +# $NetBSD: bsd.64.mk,v 1.12 2018/02/06 10:00:00 mrg Exp $ .if ${MACHINE_ARCH} == "mips64eb" LD+= -m elf64btsmip @@ -8,9 +8,7 @@ LD+= -m elf64ltsmip .ifndef MLIBDIR MLIBDIR= 64 -# XXX -# GCC 4.5 libgomp wants a different omp.h installed for the 64 bit -# version of it, and we don't have a way of doing that yet. +# GCC 5/6 libgomp for n64 needs files we don't generate yet. NO_LIBGOMP= 1 COPTS+= -mabi=64
CVS commit: src/compat/mips64/64
Module Name:src Committed By: mrg Date: Tue Feb 6 10:00:00 UTC 2018 Modified Files: src/compat/mips64/64: bsd.64.mk Log Message: fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/compat/mips64/64/bsd.64.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/compat/mips64/o32
Module Name:src Committed By: christos Date: Fri Oct 7 19:10:37 UTC 2016 Modified Files: src/compat/mips64/o32: bsd.o32.mk Log Message: set LIBC_MACHINE_ARCH otherwise we don't get 'double' intrinsics. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 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/o32/bsd.o32.mk diff -u src/compat/mips64/o32/bsd.o32.mk:1.13 src/compat/mips64/o32/bsd.o32.mk:1.14 --- src/compat/mips64/o32/bsd.o32.mk:1.13 Wed Jun 24 18:20:25 2015 +++ src/compat/mips64/o32/bsd.o32.mk Fri Oct 7 15:10:37 2016 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.o32.mk,v 1.13 2015/06/24 22:20:25 matt Exp $ +# $NetBSD: bsd.o32.mk,v 1.14 2016/10/07 19:10:37 christos Exp $ .if ${MACHINE_ARCH} == "mips64eb" LD+= -m elf32btsmip @@ -8,9 +8,10 @@ LD+= -m elf32ltsmip .ifndef MLIBDIR MLIBDIR= o32 -LIBGCC_MACHINE_ARCH=${MACHINE_ARCH:S/64//} -GOMP_MACHINE_ARCH=${MACHINE_ARCH:S/64//} -XORG_MACHINE_ARCH=${MACHINE_ARCH:S/64//} +LIBC_MACHINE_ARCH= ${MACHINE_ARCH:S/64//} +LIBGCC_MACHINE_ARCH= ${MACHINE_ARCH:S/64//} +GOMP_MACHINE_ARCH= ${MACHINE_ARCH:S/64//} +XORG_MACHINE_ARCH= ${MACHINE_ARCH:S/64//} COPTS+= -mabi=32 -march=mips3 CPUFLAGS+= -mabi=32 -march=mips3
CVS commit: src/compat/mips64/o32
Module Name:src Committed By: christos Date: Fri Oct 7 19:10:37 UTC 2016 Modified Files: src/compat/mips64/o32: bsd.o32.mk Log Message: set LIBC_MACHINE_ARCH otherwise we don't get 'double' intrinsics. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 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.
CVS commit: src/compat/mips64
Module Name:src Committed By: matt Date: Mon Jun 22 00:09:40 UTC 2015 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: Reduce the amount that's include protected. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.11 -r1.12 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/64/bsd.64.mk diff -u src/compat/mips64/64/bsd.64.mk:1.10 src/compat/mips64/64/bsd.64.mk:1.11 --- src/compat/mips64/64/bsd.64.mk:1.10 Fri Jun 19 18:17:26 2015 +++ src/compat/mips64/64/bsd.64.mk Mon Jun 22 00:09:39 2015 @@ -1,11 +1,11 @@ -# $NetBSD: bsd.64.mk,v 1.10 2015/06/19 18:17:26 matt Exp $ +# $NetBSD: bsd.64.mk,v 1.11 2015/06/22 00:09:39 matt Exp $ -.ifndef MLIBDIR .if ${MACHINE_ARCH} == mips64eb LD+= -m elf64btsmip .else LD+= -m elf64ltsmip .endif +.ifndef MLIBDIR MLIBDIR= 64 # XXX @@ -18,6 +18,6 @@ CPUFLAGS+= -mabi=64 LDADD+= -mabi=64 LDFLAGS+= -mabi=64 MKDEPFLAGS+= -mabi=64 +.endif .include ${.PARSEDIR}/../../Makefile.compat -.endif Index: src/compat/mips64/o32/bsd.o32.mk diff -u src/compat/mips64/o32/bsd.o32.mk:1.11 src/compat/mips64/o32/bsd.o32.mk:1.12 --- src/compat/mips64/o32/bsd.o32.mk:1.11 Fri Jun 19 18:17:26 2015 +++ src/compat/mips64/o32/bsd.o32.mk Mon Jun 22 00:09:39 2015 @@ -1,11 +1,11 @@ -# $NetBSD: bsd.o32.mk,v 1.11 2015/06/19 18:17:26 matt Exp $ +# $NetBSD: bsd.o32.mk,v 1.12 2015/06/22 00:09:39 matt Exp $ -.ifndef MLIBDIR .if ${MACHINE_ARCH} == mips64eb LD+= -m elf32btsmip .else LD+= -m elf32ltsmip .endif +.ifndef MLIBDIR MLIBDIR= o32 LIBGCC_MACHINE_ARCH=${MACHINE_ARCH:S/64//} @@ -16,6 +16,6 @@ CPUFLAGS+= -mabi=32 -march=mips3 LDADD+= -mabi=32 -march=mips3 LDFLAGS+= -mabi=32 -march=mips3 MKDEPFLAGS+= -mabi=32 -march=mips3 +.endif .include ${.PARSEDIR}/../../Makefile.compat -.endif
CVS commit: src/compat/mips64
Module Name:src Committed By: matt Date: Mon Jun 22 00:09:40 UTC 2015 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: Reduce the amount that's include protected. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.11 -r1.12 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.
CVS commit: src/compat/mips64
Module Name:src Committed By: matt Date: Fri Jun 19 18:17:26 UTC 2015 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: Prevent multi inclusion To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.10 -r1.11 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.
CVS commit: src/compat/mips64
Module Name:src Committed By: matt Date: Fri Jun 19 18:17:26 UTC 2015 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: Prevent multi inclusion To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.10 -r1.11 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/64/bsd.64.mk diff -u src/compat/mips64/64/bsd.64.mk:1.9 src/compat/mips64/64/bsd.64.mk:1.10 --- src/compat/mips64/64/bsd.64.mk:1.9 Fri Sep 23 06:44:37 2011 +++ src/compat/mips64/64/bsd.64.mk Fri Jun 19 18:17:26 2015 @@ -1,5 +1,6 @@ -# $NetBSD: bsd.64.mk,v 1.9 2011/09/23 06:44:37 mrg Exp $ +# $NetBSD: bsd.64.mk,v 1.10 2015/06/19 18:17:26 matt Exp $ +.ifndef MLIBDIR .if ${MACHINE_ARCH} == mips64eb LD+= -m elf64btsmip .else @@ -19,3 +20,4 @@ LDFLAGS+= -mabi=64 MKDEPFLAGS+= -mabi=64 .include ${.PARSEDIR}/../../Makefile.compat +.endif Index: src/compat/mips64/o32/bsd.o32.mk diff -u src/compat/mips64/o32/bsd.o32.mk:1.10 src/compat/mips64/o32/bsd.o32.mk:1.11 --- src/compat/mips64/o32/bsd.o32.mk:1.10 Thu Feb 14 09:22:18 2013 +++ src/compat/mips64/o32/bsd.o32.mk Fri Jun 19 18:17:26 2015 @@ -1,5 +1,6 @@ -# $NetBSD: bsd.o32.mk,v 1.10 2013/02/14 09:22:18 matt Exp $ +# $NetBSD: bsd.o32.mk,v 1.11 2015/06/19 18:17:26 matt Exp $ +.ifndef MLIBDIR .if ${MACHINE_ARCH} == mips64eb LD+= -m elf32btsmip .else @@ -17,3 +18,4 @@ LDFLAGS+= -mabi=32 -march=mips3 MKDEPFLAGS+= -mabi=32 -march=mips3 .include ${.PARSEDIR}/../../Makefile.compat +.endif
CVS commit: src/compat/mips64/o32
Module Name:src Committed By: matt Date: Thu Feb 14 09:22:18 UTC 2013 Modified Files: src/compat/mips64/o32: bsd.o32.mk Log Message: Define LIBGCC_MACHINE_ARCH so correct files are used o32 libgcc. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 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.
CVS commit: src/compat/mips64
Module Name:src Committed By: mrg Date: Mon Jul 4 12:00:49 UTC 2011 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: the gmp/mpfr subdirs are mipsel/mipseb. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.5 -r1.6 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/64/bsd.64.mk diff -u src/compat/mips64/64/bsd.64.mk:1.5 src/compat/mips64/64/bsd.64.mk:1.6 --- src/compat/mips64/64/bsd.64.mk:1.5 Fri Jul 1 01:30:16 2011 +++ src/compat/mips64/64/bsd.64.mk Mon Jul 4 12:00:49 2011 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.64.mk,v 1.5 2011/07/01 01:30:16 mrg Exp $ +# $NetBSD: bsd.64.mk,v 1.6 2011/07/04 12:00:49 mrg Exp $ .if ${MACHINE_ARCH} == mips64eb LD+= -m elf64btsmip @@ -13,7 +13,7 @@ LDFLAGS+= -mabi=64 MKDEPFLAGS+= -mabi=64 -LIBMPFR_MACHINE_ARCH= ${MLIBDIR} -LIBGMP_MACHINE_ARCH= ${MLIBDIR} +LIBMPFR_MACHINE_ARCH= mipseb +LIBGMP_MACHINE_ARCH= mipseb .include ${.PARSEDIR}/../../Makefile.compat Index: src/compat/mips64/o32/bsd.o32.mk diff -u src/compat/mips64/o32/bsd.o32.mk:1.5 src/compat/mips64/o32/bsd.o32.mk:1.6 --- src/compat/mips64/o32/bsd.o32.mk:1.5 Fri Jul 1 01:30:16 2011 +++ src/compat/mips64/o32/bsd.o32.mk Mon Jul 4 12:00:49 2011 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.o32.mk,v 1.5 2011/07/01 01:30:16 mrg Exp $ +# $NetBSD: bsd.o32.mk,v 1.6 2011/07/04 12:00:49 mrg Exp $ .if ${MACHINE_ARCH} == mips64eb LD+= -m elf32btsmip @@ -13,7 +13,7 @@ LDFLAGS+= -mabi=32 -march=mips3 MKDEPFLAGS+= -mabi=32 -march=mips3 -LIBMPFR_MACHINE_ARCH= ${MLIBDIR} -LIBGMP_MACHINE_ARCH= ${MLIBDIR} +LIBMPFR_MACHINE_ARCH= mipsel +LIBGMP_MACHINE_ARCH= mipsel .include ${.PARSEDIR}/../../Makefile.compat
CVS commit: src/compat/mips64
Module Name:src Committed By: mrg Date: Mon Jul 4 12:00:49 UTC 2011 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: the gmp/mpfr subdirs are mipsel/mipseb. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.5 -r1.6 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.
CVS commit: src/compat/mips64
Module Name:src Committed By: uebayasi Date: Mon Dec 14 13:43:59 UTC 2009 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: Use GNU linker emul names which really exist. XXX Assume big endian for now. Better than build failure. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.1 -r1.2 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/64/bsd.64.mk diff -u src/compat/mips64/64/bsd.64.mk:1.1 src/compat/mips64/64/bsd.64.mk:1.2 --- src/compat/mips64/64/bsd.64.mk:1.1 Sun Dec 13 09:07:32 2009 +++ src/compat/mips64/64/bsd.64.mk Mon Dec 14 13:43:59 2009 @@ -1,6 +1,6 @@ -# $NetBSD: bsd.64.mk,v 1.1 2009/12/13 09:07:32 mrg Exp $ +# $NetBSD: bsd.64.mk,v 1.2 2009/12/14 13:43:59 uebayasi Exp $ -LD+= -m elf64_mipsn64 +LD+= -m elf64btsmip # XXX endian MLIBDIR= 64 COPTS+= -mabi=64 Index: src/compat/mips64/o32/bsd.o32.mk diff -u src/compat/mips64/o32/bsd.o32.mk:1.1 src/compat/mips64/o32/bsd.o32.mk:1.2 --- src/compat/mips64/o32/bsd.o32.mk:1.1 Sun Dec 13 09:07:32 2009 +++ src/compat/mips64/o32/bsd.o32.mk Mon Dec 14 13:43:59 2009 @@ -1,6 +1,6 @@ -# $NetBSD: bsd.o32.mk,v 1.1 2009/12/13 09:07:32 mrg Exp $ +# $NetBSD: bsd.o32.mk,v 1.2 2009/12/14 13:43:59 uebayasi Exp $ -LD+= -m elf32_mipso32 +LD+= -m elf32btsmip # XXX endian MLIBDIR= o32 COPTS+= -mabi=32 -march=mips3
CVS commit: src/compat/mips64
Module Name:src Committed By: mrg Date: Tue Dec 15 04:05:35 UTC 2009 Modified Files: src/compat/mips64/64: bsd.64.mk src/compat/mips64/o32: bsd.o32.mk Log Message: fix the previous: default the target depending the MACHINE_ARCH. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/compat/mips64/64/bsd.64.mk cvs rdiff -u -r1.2 -r1.3 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/64/bsd.64.mk diff -u src/compat/mips64/64/bsd.64.mk:1.2 src/compat/mips64/64/bsd.64.mk:1.3 --- src/compat/mips64/64/bsd.64.mk:1.2 Mon Dec 14 13:43:59 2009 +++ src/compat/mips64/64/bsd.64.mk Tue Dec 15 04:05:34 2009 @@ -1,6 +1,10 @@ -# $NetBSD: bsd.64.mk,v 1.2 2009/12/14 13:43:59 uebayasi Exp $ +# $NetBSD: bsd.64.mk,v 1.3 2009/12/15 04:05:34 mrg Exp $ -LD+= -m elf64btsmip # XXX endian +.if ${MACHINE_ARCH} == mips64eb +LD+= -m elf64btsmip +.else +LD+= -m elf64ltsmip +.endif MLIBDIR= 64 COPTS+= -mabi=64 Index: src/compat/mips64/o32/bsd.o32.mk diff -u src/compat/mips64/o32/bsd.o32.mk:1.2 src/compat/mips64/o32/bsd.o32.mk:1.3 --- src/compat/mips64/o32/bsd.o32.mk:1.2 Mon Dec 14 13:43:59 2009 +++ src/compat/mips64/o32/bsd.o32.mk Tue Dec 15 04:05:34 2009 @@ -1,6 +1,10 @@ -# $NetBSD: bsd.o32.mk,v 1.2 2009/12/14 13:43:59 uebayasi Exp $ +# $NetBSD: bsd.o32.mk,v 1.3 2009/12/15 04:05:34 mrg Exp $ -LD+= -m elf32btsmip # XXX endian +.if ${MACHINE_ARCH} == mips64eb +LD+= -m elf32btsmip +.else +LD+= -m elf32ltsmip +.endif MLIBDIR= o32 COPTS+= -mabi=32 -march=mips3