Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/ld merge riscv*-netbsd* target s...



details:   https://anonhg.NetBSD.org/src/rev/effd3fcc6186
branches:  trunk
changeset: 943955:effd3fcc6186
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Sep 13 21:14:01 2020 +0000

description:
merge riscv*-netbsd* target support.

diffstat:

 external/gpl3/binutils/dist/ld/configure.tgt |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r b4571f39bd29 -r effd3fcc6186 external/gpl3/binutils/dist/ld/configure.tgt
--- a/external/gpl3/binutils/dist/ld/configure.tgt      Sun Sep 13 21:12:08 2020 +0000
+++ b/external/gpl3/binutils/dist/ld/configure.tgt      Sun Sep 13 21:14:01 2020 +0000
@@ -788,7 +788,8 @@
                        ;;
 pru*-*-*)              targ_emul=pruelf
                        ;;
-riscv32*-*-linux*)     targ_emul=elf32lriscv
+riscv32*-*-linux* | riscv-*-netbsd* | riscv32*-*-netbsd*)
+                       targ_emul=elf32lriscv
                        targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64"
                        targ_extra_libpath=$targ_extra_emuls
                        ;;
@@ -797,7 +798,8 @@
                        targ_extra_emuls="elf64lriscv"
                        targ_extra_libpath=$targ_extra_emuls
                        ;;
-riscv64*-*-linux*)     targ_emul=elf64lriscv
+riscv64*-*-linux* | riscv64*-*-netbsd*)
+                       targ_emul=elf64lriscv
                        targ_extra_emuls="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32"
                        targ_extra_libpath=$targ_extra_emuls
                        ;;



Home | Main Index | Thread Index | Old Index