summaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-05-01 10:26:32 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-05-02 15:19:05 -0700
commit763a5fa4f330d6d3859c94a69ba1fcab09330cf9 (patch)
tree218e95542095ea798a70d60576432ab8ce1dbc8e /bfd/config.bfd
parent640226f048b67d79da85742728e40114c9ee5da0 (diff)
downloadbinutils-gdb-763a5fa4f330d6d3859c94a69ba1fcab09330cf9.tar.gz
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.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 151de95144f..eb6a958ec56 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1441,10 +1441,9 @@ case "${targ}" in
#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"