summaryrefslogtreecommitdiff
path: root/cross/binutils
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2000-02-19 00:48:57 +0000
committertsutsui <tsutsui@pkgsrc.org>2000-02-19 00:48:57 +0000
commita90e17d5804160feb9aea9be3ba8e8707af5a56e (patch)
tree6c95de42acbd551f23c38a98f9ffd728ca739758 /cross/binutils
parente2d4321a9bc62682768ab912a73dc0b17064a974 (diff)
downloadpkgsrc-a90e17d5804160feb9aea9be3ba8e8707af5a56e.tar.gz
Add mipse[bl]-netbsd to targets.
Diffstat (limited to 'cross/binutils')
-rw-r--r--cross/binutils/Makefile4
-rw-r--r--cross/binutils/patches/patch-mips32
2 files changed, 34 insertions, 2 deletions
diff --git a/cross/binutils/Makefile b/cross/binutils/Makefile
index 9f8335dcd86..9a12f0203fc 100644
--- a/cross/binutils/Makefile
+++ b/cross/binutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/12/18 02:14:39 wrstuden Exp $
+# $NetBSD: Makefile,v 1.17 2000/02/19 00:48:57 tsutsui Exp $
#
# GNU binutils configured to hold `as many targets as the cross system is
# capable of using'. Configures and builds everything except gas, which
@@ -29,7 +29,7 @@ ENABLE_TARGETS+= alpha-netbsd arm-netbsd \
i386-cygwin32 i386-elf i386-go32 i386-linux \
i386-netbsd i386-netware \
m68k-elf m68k-netbsd m68k-sunos4 \
- mips-dec-netbsd \
+ mipseb-netbsd mipsel-netbsd \
powerpc-eabi powerpcle-eabi \
sparc-netbsd sparc-solaris2 sparc-sunos4
diff --git a/cross/binutils/patches/patch-mips b/cross/binutils/patches/patch-mips
new file mode 100644
index 00000000000..fb2463dd940
--- /dev/null
+++ b/cross/binutils/patches/patch-mips
@@ -0,0 +1,32 @@
+$NetBSD: patch-mips,v 1.1 2000/02/19 00:48:58 tsutsui Exp $
+
+--- config.sub.orig Thu Oct 7 01:50:14 1999
++++ config.sub Thu Oct 7 01:50:32 1999
+@@ -177,7 +177,7 @@
+ | alpha | alphaev5 | alphaev56 | alphapca56 | alphaev6 \
+ | we32k | ns16k | clipper | i370 | sh | powerpc | powerpcle \
+ | 1750a | dsp16xx | pdp11 \
+- | mips64 | mipsel | mips64el | mips64orion | mips64orionel \
++ | mips64 | mipsel | mipseb | mips64el | mips64orion | mips64orionel \
+ | mipstx39 | mipstx39el \
+ | sparc | sparclet | sparclite | sparc64 | v850)
+ basic_machine=$basic_machine-unknown
+@@ -230,7 +230,7 @@
+ | alphaev6-* | we32k-* | cydra-* | ns16k-* | pn-* | np1-* \
+ | xps100-* | clipper-* | orion-* \
+ | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
+- | sparc64-* | mips64-* | mipsel-* \
++ | sparc64-* | mips64-* | mipsel-* | mipseb-* \
+ | mips64el-* | mips64orion-* | mips64orionel-* \
+ | mipstx39-* | mipstx39el-* \
+ | f301-*)
+--- ld/configure.tgt.orig Thu Oct 7 01:51:22 1999
++++ ld/configure.tgt Thu Oct 7 01:55:30 1999
+@@ -148,6 +148,7 @@
+ mips*-*-ecoff*) targ_emul=mipsidt ;;
+ mips*-dec-bsd*) targ_emul=mipsbsd ;;
+-mips*-dec-netbsd*) targ_emul=elf32lmip ;;
++mips*el-*-netbsd* | mips-dec-netbsd*) targ_emul=elf32lmip ;;
++mips*eb-*-netbsd*) targ_emul=elf32ebmip ;;
+ mips*-*-bsd*) targ_emul=mipsbig ;;
+ mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;;