Fix gas/22304 by forcing a 64-bit bfd for cris*-*.

PR gas/22304
	* config.bfd (cris-*-* | crisv32-*-*): Require a 64-bit BFD.
This commit is contained in:
Hans-Peter Nilsson
2017-10-22 13:05:07 +02:00
parent a73ca55259
commit 56fbd04185
2 changed files with 8 additions and 0 deletions

View File

@ -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> 2017-10-19 Palmer Dabbelt <palmer@dabbelt.com>
* elfnn-riscv.c (riscv_pcgp_hi_reloc): New structure. * elfnn-riscv.c (riscv_pcgp_hi_reloc): New structure.

View File

@ -500,6 +500,7 @@ case "${targ}" in
targ_underscore=yes targ_underscore=yes
;; ;;
#ifdef BFD64
cris-*-* | crisv32-*-*) cris-*-* | crisv32-*-*)
targ_defvec=cris_aout_vec targ_defvec=cris_aout_vec
targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec" targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
@ -507,7 +508,9 @@ case "${targ}" in
*-*-linux*) ;; *-*-linux*) ;;
*) targ_underscore=yes ;; *) targ_underscore=yes ;;
esac esac
want64=true
;; ;;
#endif
crx-*-elf*) crx-*-elf*)
targ_defvec=crx_elf32_vec targ_defvec=crx_elf32_vec