aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2017-10-22 13:05:07 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2017-10-22 13:05:07 +0200
commit56fbd041853a4008532d20b898f5b41f594a868f (patch)
treede43b6e546d8417b602e2e5c2663cdd5014d4c0e
parenta73ca552593ec2903fd5485b8c8f40a250645110 (diff)
downloadgdb-56fbd041853a4008532d20b898f5b41f594a868f.zip
gdb-56fbd041853a4008532d20b898f5b41f594a868f.tar.gz
gdb-56fbd041853a4008532d20b898f5b41f594a868f.tar.bz2
Fix gas/22304 by forcing a 64-bit bfd for cris*-*.
PR gas/22304 * config.bfd (cris-*-* | crisv32-*-*): Require a 64-bit BFD.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/config.bfd3
2 files changed, 8 insertions, 0 deletions
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