mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
RISC-V: Allow 32-bit BFD to handle 64-bit objects
We've been telling people that the riscv32-* and riscv64-* toolchains are exactly the same, but it turns out we were lying: the riscv32-* BFD doesn't handle 64-bit objects. This fixes that difference, so the ports are actually the same. bfd/ChangeLog 2017-05-01 Palmer Dabbelt <palmer@dabbelt.com> * config.bfd (riscv32-*): Enable rv64.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2017-05-01 Palmer Dabbelt <palmer@dabbelt.com>
|
||||||
|
|
||||||
|
* config.bfd (riscv32-*): Enable rv64.
|
||||||
|
|
||||||
2017-05-02 Alan Modra <amodra@gmail.com>
|
2017-05-02 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 21384
|
PR 21384
|
||||||
|
@ -1441,10 +1441,9 @@ case "${targ}" in
|
|||||||
#ifdef BFD64
|
#ifdef BFD64
|
||||||
riscv32-*-*)
|
riscv32-*-*)
|
||||||
targ_defvec=riscv_elf32_vec
|
targ_defvec=riscv_elf32_vec
|
||||||
targ_selvecs="riscv_elf32_vec"
|
targ_selvecs="riscv_elf32_vec riscv_elf64_vec"
|
||||||
want64=true
|
want64=true
|
||||||
;;
|
;;
|
||||||
|
|
||||||
riscv64-*-*)
|
riscv64-*-*)
|
||||||
targ_defvec=riscv_elf64_vec
|
targ_defvec=riscv_elf64_vec
|
||||||
targ_selvecs="riscv_elf32_vec riscv_elf64_vec"
|
targ_selvecs="riscv_elf32_vec riscv_elf64_vec"
|
||||||
|
Reference in New Issue
Block a user