Support more ABI variants

This commit is contained in:
martin 2014-07-03 20:31:16 +00:00
parent c525ac6430
commit 30bc8a7ef5
3 changed files with 19 additions and 3 deletions

View file

@ -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/}

View file

@ -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

View file

@ -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