diff options
author | Nick Clifton <nickc@redhat.com> | 2016-11-04 13:50:01 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-11-04 13:50:01 +0000 |
commit | 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1 (patch) | |
tree | 445b9c7805a781526707cf244adda1735d616223 /bfd/targets.c | |
parent | 8f1732fc2a11dc2dbece0800d4ed6f011590d3ad (diff) | |
download | gdb-1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1.zip gdb-1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1.tar.gz gdb-1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1.tar.bz2 |
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.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index bc61c02..8e6158e 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -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, |