summaryrefslogtreecommitdiff
path: root/cross/binutils-mips-current/patches
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2015-03-23 16:01:28 +0000
committermartin <martin@pkgsrc.org>2015-03-23 16:01:28 +0000
commit9fea10fc5a0b76c42ae9a048538679d4d57d0a5c (patch)
tree3b8bfa4f3bcfcb8787b3b523893fd47ceda314d6 /cross/binutils-mips-current/patches
parente95dfee4798c561b040c02150071230d044ca506 (diff)
downloadpkgsrc-9fea10fc5a0b76c42ae9a048538679d4d57d0a5c.tar.gz
Update to binutils 2.25
Diffstat (limited to 'cross/binutils-mips-current/patches')
-rw-r--r--cross/binutils-mips-current/patches/patch-bfd_config.bfd16
-rw-r--r--cross/binutils-mips-current/patches/patch-gas_configure51
2 files changed, 59 insertions, 8 deletions
diff --git a/cross/binutils-mips-current/patches/patch-bfd_config.bfd b/cross/binutils-mips-current/patches/patch-bfd_config.bfd
index 2f15e674fee..a0217f98536 100644
--- a/cross/binutils-mips-current/patches/patch-bfd_config.bfd
+++ b/cross/binutils-mips-current/patches/patch-bfd_config.bfd
@@ -1,15 +1,15 @@
-$NetBSD: patch-bfd_config.bfd,v 1.1 2014/07/03 20:31:16 martin Exp $
+$NetBSD: patch-bfd_config.bfd,v 1.2 2015/03/23 16:01:28 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 @@
+--- bfd/config.bfd.orig 2014-10-14 09:32:02.000000000 +0200
++++ bfd/config.bfd 2015-03-23 14:42:17.000000000 +0100
+@@ -969,7 +969,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"
+ targ_defvec=mips_elf32_trad_le_vec
+- targ_selvecs="mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec"
++ targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec"
;;
mips*-*-netbsd*)
- targ_defvec=bfd_elf32_tradbigmips_vec
+ targ_defvec=mips_elf32_trad_be_vec
diff --git a/cross/binutils-mips-current/patches/patch-gas_configure b/cross/binutils-mips-current/patches/patch-gas_configure
new file mode 100644
index 00000000000..9230d362832
--- /dev/null
+++ b/cross/binutils-mips-current/patches/patch-gas_configure
@@ -0,0 +1,51 @@
+$NetBSD: patch-gas_configure,v 1.1 2015/03/23 16:01:28 martin Exp $
+
+Portability fixes
+
+--- gas/configure.orig 2014-12-23 15:22:05.000000000 +0100
++++ gas/configure 2015-03-23 14:47:32.000000000 +0100
+@@ -12331,7 +12331,7 @@
+ # Decide features one by one.
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
+ $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
+- if test "x${enable_dx_regs}" == xyes; then
++ if test "x${enable_dx_regs}" = xyes; then
+
+ $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
+
+@@ -12345,7 +12345,7 @@
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
+ $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
+- if test "x${enable_perf_ext}" == xno; then
++ if test "x${enable_perf_ext}" = xno; then
+
+ $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
+
+@@ -12359,7 +12359,7 @@
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
+ $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
+- if test "x${enable_perf_ext2}" == xno; then
++ if test "x${enable_perf_ext2}" = xno; then
+
+ $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
+
+@@ -12373,7 +12373,7 @@
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
+ $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
+- if test "x${enable_string_ext}" == xno; then
++ if test "x${enable_string_ext}" = xno; then
+
+ $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
+
+@@ -12387,7 +12387,7 @@
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
+ $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
+- if test "x${enable_audio_ext}" == xno; then
++ if test "x${enable_audio_ext}" = xno; then
+
+ $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
+