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 /ld/configure.tgt | |
parent | 01b5d12f284e1ce5a1441ce6ac383a59f3e4b05a (diff) | |
download | binutils-bb11866d6a635fadb9285d18e2fb819d2de2c28c.zip binutils-bb11866d6a635fadb9285d18e2fb819d2de2c28c.tar.gz binutils-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 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index 3386c3d..fad8b2e 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -632,7 +632,8 @@ pru*-*-*) targ_emul=pruelf ;; riscv32*-*-linux*) targ_emul=elf32lriscv targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" targ_extra_libpath=$targ_extra_emuls ;; -riscv32*-*-*) targ_emul=elf32lriscv +riscv-*-* | riscv32*-*-*) + targ_emul=elf32lriscv targ_extra_emuls="elf64lriscv" targ_extra_libpath=$targ_extra_emuls ;; riscv64*-*-linux*) targ_emul=elf64lriscv |