[PATCH] RISC-V: Allow 32-bit BFD to handle 64-bit objects
Alan Modra
amodra@gmail.com
Tue May 2 01:31:00 GMT 2017
On Mon, May 01, 2017 at 01:33:03PM -0700, Palmer Dabbelt wrote:
> -#ifdef BFD64
> riscv32-*-*)
> targ_defvec=riscv_elf32_vec
> - targ_selvecs="riscv_elf32_vec"
> + targ_selvecs="riscv_elf32_vec riscv_elf64_vec"
> want64=true
> ;;
> -
> riscv64-*-*)
> targ_defvec=riscv_elf64_vec
> targ_selvecs="riscv_elf32_vec riscv_elf64_vec"
> want64=true
> ;;
> -#endif
Removing the #ifdef isn't correct. To see why, configure binutils
with --enable-targets=all on a 32-bit host. OK without that change.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list