Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only.

* targets.c (bfd_target_vector): Only add riscv_elf32_vec target
	when supporting 64-bit BFD targets.
This commit is contained in:
Nick Clifton 2016-11-04 13:50:01 +00:00
parent 8f1732fc2a
commit 1b7a12f2d6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-11-04 Nick Clifton <nickc@redhat.com>
* targets.c (bfd_target_vector): Only add riscv_elf32_vec target
when supporting 64-bit BFD targets.
2016-11-03 Tristan Gingold <gingold@adacore.com>
* config.bfd: Deprecate many old triplets.

View File

@ -1305,8 +1305,8 @@ static const bfd_target * const _bfd_target_vector[] =
&powerpc_xcoff_vec,
#endif
&riscv_elf32_vec,
#ifdef BFD64
&riscv_elf32_vec,
&riscv_elf64_vec,
#endif
&rl78_elf32_vec,