Source-Changes-HG archive

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

[src/trunk]: src/share/mk Switch RISC-V to new binutils (2.39)



details:   https://anonhg.NetBSD.org/src/rev/cbb5c00fac00
branches:  trunk
changeset: 373081:cbb5c00fac00
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 16 10:28:09 2023 +0000

description:
Switch RISC-V to new binutils (2.39)

diffstat:

 distrib/sets/lists/comp/ad.riscv |  80 +++++++++++++--------------------------
 share/mk/bsd.own.mk              |   3 +-
 2 files changed, 29 insertions(+), 54 deletions(-)

diffs (122 lines):

diff -r 154a9d3f5f5f -r cbb5c00fac00 distrib/sets/lists/comp/ad.riscv
--- a/distrib/sets/lists/comp/ad.riscv  Mon Jan 16 08:49:55 2023 +0000
+++ b/distrib/sets/lists/comp/ad.riscv  Mon Jan 16 10:28:09 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ad.riscv,v 1.17 2021/04/12 02:08:59 mrg Exp $
+# $NetBSD: ad.riscv,v 1.18 2023/01/16 10:28:09 skrll Exp $
 ./usr/include/g++/bits/riscv32                 comp-c-include          arch64,compat
 ./usr/include/g++/bits/riscv32/c++config.h     comp-c-include          arch64,gcc,compat
 ./usr/include/g++/bits/riscv64                 comp-c-include          arch64,compat
@@ -54,6 +54,19 @@
 ./usr/include/riscv/types.h                    comp-c-include
 ./usr/include/riscv/vmparam.h                  comp-c-include
 ./usr/include/riscv/wchar_limits.h             comp-c-include
+./usr/libdata/ldscripts/elf32briscv.x          comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xbn                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xc         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xd         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xdc                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xdw                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xn         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xr         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xs         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xsc                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xsw                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xu         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf32briscv.xw         comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf32lriscv.x          comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf32lriscv.xbn                comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf32lriscv.xc         comp-util-bin           binutils,arch64,compat
@@ -67,32 +80,19 @@
 ./usr/libdata/ldscripts/elf32lriscv.xsw                comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf32lriscv.xu         comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf32lriscv.xw         comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.x    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xbn  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xc   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xd   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xdc  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xdw  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xn   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xr   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xs   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xsc  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xsw  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xu   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32.xw   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.x   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xbn comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xc  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xd  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xdc comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xdw comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xn  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xr  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xs  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xsc comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xsw comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xu  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf32lriscv_ilp32f.xw  comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.x          comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xbn                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xc         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xd         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xdc                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xdw                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xn         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xr         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xs         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xsc                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xsw                comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xu         comp-util-bin           binutils,arch64,compat
+./usr/libdata/ldscripts/elf64briscv.xw         comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf64lriscv.x          comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf64lriscv.xbn                comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf64lriscv.xc         comp-util-bin           binutils,arch64,compat
@@ -106,29 +106,3 @@
 ./usr/libdata/ldscripts/elf64lriscv.xsw                comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf64lriscv.xu         comp-util-bin           binutils,arch64,compat
 ./usr/libdata/ldscripts/elf64lriscv.xw         comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.x     comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xbn   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xc    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xd    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xdc   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xdw   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xn    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xr    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xs    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xsc   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xsw   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xu    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64.xw    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.x    comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xbn  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xc   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xd   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xdc  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xdw  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xn   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xr   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xs   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xsc  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xsw  comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xu   comp-util-bin           binutils,arch64,compat
-./usr/libdata/ldscripts/elf64lriscv_lp64f.xw   comp-util-bin           binutils,arch64,compat
diff -r 154a9d3f5f5f -r cbb5c00fac00 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Mon Jan 16 08:49:55 2023 +0000
+++ b/share/mk/bsd.own.mk       Mon Jan 16 10:28:09 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.1296 2023/01/15 18:43:49 rillig Exp $
+#      $NetBSD: bsd.own.mk,v 1.1297 2023/01/16 10:28:09 skrll Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -102,6 +102,7 @@
     ${MACHINE_ARCH:Maarch64*} || \
     ${MACHINE_ARCH} == "alpha" || \
     ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_CPU} == "riscv" || \
     ${MACHINE_ARCH:Msparc*} || \
     ${MACHINE_ARCH} == "x86_64"
 HAVE_BINUTILS?=        239



Home | Main Index | Thread Index | Old Index