diff options
author | Jim Wilson <jimw@sifive.com> | 2018-07-05 17:49:11 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-07-05 17:49:11 -0700 |
commit | bb11866d6a635fadb9285d18e2fb819d2de2c28c (patch) | |
tree | 54c8af6e12d8ac1e5fa88ba9b48e350fb7dc41d0 /bfd | |
parent | 01b5d12f284e1ce5a1441ce6ac383a59f3e4b05a (diff) | |
download | gdb-bb11866d6a635fadb9285d18e2fb819d2de2c28c.zip gdb-bb11866d6a635fadb9285d18e2fb819d2de2c28c.tar.gz gdb-bb11866d6a635fadb9285d18e2fb819d2de2c28c.tar.bz2 |
RISC-V: Add riscv-*-* configure support, and minor cleanup.
bfd/
* config.bfd (riscv32*-*-*): Renamed from riscv32-*-*.
(riscv64*-*-*): Likewise.
(riscv-*-*): Add as an alias for riscv32*-*-*.
ld/
* configure.tgt (riscv-*-*): Add as an alias for riscv32*-*-*.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/config.bfd | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 36e12e7..650258e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2018-07-05 Jim Wilson <jimw@sifive.com> + + * config.bfd (riscv32*-*-*): Renamed from riscv32-*-*. + (riscv64*-*-*): Likewise. + (riscv-*-*): Add as an alias for riscv32*-*-*. + 2018-07-05 H.J. Lu <hongjiu.lu@intel.com> PR ld/23372 diff --git a/bfd/config.bfd b/bfd/config.bfd index f8ca72b..6391f35 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -1174,12 +1174,12 @@ case "${targ}" in ;; #ifdef BFD64 - riscv32-*-*) + riscv-*-* | riscv32*-*-*) targ_defvec=riscv_elf32_vec targ_selvecs="riscv_elf32_vec riscv_elf64_vec" want64=true ;; - riscv64-*-*) + riscv64*-*-*) targ_defvec=riscv_elf64_vec targ_selvecs="riscv_elf32_vec riscv_elf64_vec" want64=true |