This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix gas/22304 by forcing a 64-bit bfd for cris*-*.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=56fbd041853a4008532d20b898f5b41f594a868f

commit 56fbd041853a4008532d20b898f5b41f594a868f
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date:   Sun Oct 22 13:05:07 2017 +0200

    Fix gas/22304 by forcing a 64-bit bfd for cris*-*.
    
    	PR gas/22304
    	* config.bfd (cris-*-* | crisv32-*-*): Require a 64-bit BFD.

Diff:
---
 bfd/ChangeLog  | 5 +++++
 bfd/config.bfd | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4be9704..f628a61 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-22  Hans-Peter Nilsson  <hp@axis.com>
+
+	PR gas/22304
+	* config.bfd (cris-*-* | crisv32-*-*): Require a 64-bit BFD.
+
 2017-10-19  Palmer Dabbelt  <palmer@dabbelt.com>
 
 	* elfnn-riscv.c (riscv_pcgp_hi_reloc): New structure.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index dc24aab..62f8ac3 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -500,6 +500,7 @@ case "${targ}" in
     targ_underscore=yes
     ;;
 
+#ifdef BFD64
   cris-*-* | crisv32-*-*)
     targ_defvec=cris_aout_vec
     targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
@@ -507,7 +508,9 @@ case "${targ}" in
 	*-*-linux*) ;;
 	*) targ_underscore=yes ;;
     esac
+    want64=true
     ;;
+#endif
 
   crx-*-elf*)
     targ_defvec=crx_elf32_vec


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]