summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cross/binutils-mips-current/Makefile4
-rw-r--r--cross/binutils-mips-current/distinfo3
-rw-r--r--cross/binutils-mips-current/patches/patch-bfd_config.bfd15
3 files changed, 19 insertions, 3 deletions
diff --git a/cross/binutils-mips-current/Makefile b/cross/binutils-mips-current/Makefile
index 0a01bad260c..1a1d2a0abbe 100644
--- a/cross/binutils-mips-current/Makefile
+++ b/cross/binutils-mips-current/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2014/07/02 12:53:06 martin Exp $
+# $NetBSD: Makefile,v 1.4 2014/07/03 20:31:16 martin Exp $
#
# GNU binutils snapshot, configured to target MIPS (NetBSD/playstation2)
BINUTILS_VER= 2.24
DISTNAME= binutils-${BINUTILS_VER}
-PKGREVISION= 2
+PKGREVISION= 3
PKGNAME= binutils-mips-${BINUTILS_VER}
CATEGORIES= cross lang
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
diff --git a/cross/binutils-mips-current/distinfo b/cross/binutils-mips-current/distinfo
index 9b9af039918..24719af0e84 100644
--- a/cross/binutils-mips-current/distinfo
+++ b/cross/binutils-mips-current/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/07/02 12:53:06 martin Exp $
+$NetBSD: distinfo,v 1.3 2014/07/03 20:31:16 martin Exp $
SHA1 (binutils-2.24.tar.bz2) = 7ac75404ddb3c4910c7594b51ddfc76d4693debb
RMD160 (binutils-2.24.tar.bz2) = b4aa3ea5ba9d0d9f817b2cf136e7f911f692af8d
Size (binutils-2.24.tar.bz2) = 22716802 bytes
+SHA1 (patch-bfd_config.bfd) = c593e5afa47855c7284fdf60eaa21a636c9062b3
diff --git a/cross/binutils-mips-current/patches/patch-bfd_config.bfd b/cross/binutils-mips-current/patches/patch-bfd_config.bfd
new file mode 100644
index 00000000000..2f15e674fee
--- /dev/null
+++ b/cross/binutils-mips-current/patches/patch-bfd_config.bfd
@@ -0,0 +1,15 @@
+$NetBSD: patch-bfd_config.bfd,v 1.1 2014/07/03 20:31:16 martin Exp $
+
+Add support for a few missing abi variants
+
+--- bfd/config.bfd.orig 2013-11-04 16:33:37.000000000 +0100
++++ bfd/config.bfd 2014-07-03 22:06:48.000000000 +0200
+@@ -960,7 +960,7 @@
+ #ifdef BFD64
+ mips*el-*-netbsd*)
+ targ_defvec=bfd_elf32_tradlittlemips_vec
+- targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec"
++ targ_selvecs="bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec"
+ ;;
+ mips*-*-netbsd*)
+ targ_defvec=bfd_elf32_tradbigmips_vec