Module Name: src Committed By: rin Date: Mon Aug 28 02:43:02 UTC 2023
Modified Files: src/external/gpl3/binutils/lib/libiberty/arch/riscv32: config.h defs.mk src/external/gpl3/binutils/lib/libiberty/arch/riscv64: config.h defs.mk src/external/gpl3/binutils/usr.bin/gas/arch/riscv32: config.h src/external/gpl3/binutils/usr.bin/gas/arch/riscv64: config.h src/external/gpl3/binutils/usr.bin/ld/arch/riscv32: defs.mk ldemul-list.h src/external/gpl3/binutils/usr.bin/ld/arch/riscv64: defs.mk ldemul-list.h Log Message: binutils: mknative riscv*; introduce some new ABI To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/external/gpl3/binutils/lib/libiberty/arch/riscv32/config.h cvs rdiff -u -r1.5 -r1.6 \ src/external/gpl3/binutils/lib/libiberty/arch/riscv32/defs.mk cvs rdiff -u -r1.4 -r1.5 \ src/external/gpl3/binutils/lib/libiberty/arch/riscv64/config.h cvs rdiff -u -r1.5 -r1.6 \ src/external/gpl3/binutils/lib/libiberty/arch/riscv64/defs.mk cvs rdiff -u -r1.6 -r1.7 \ src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/config.h cvs rdiff -u -r1.5 -r1.6 \ src/external/gpl3/binutils/usr.bin/gas/arch/riscv64/config.h cvs rdiff -u -r1.7 -r1.8 \ src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/defs.mk cvs rdiff -u -r1.3 -r1.4 \ src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/ldemul-list.h cvs rdiff -u -r1.8 -r1.9 \ src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/defs.mk cvs rdiff -u -r1.5 -r1.6 \ src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/ldemul-list.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/binutils/lib/libiberty/arch/riscv32/config.h diff -u src/external/gpl3/binutils/lib/libiberty/arch/riscv32/config.h:1.4 src/external/gpl3/binutils/lib/libiberty/arch/riscv32/config.h:1.5 --- src/external/gpl3/binutils/lib/libiberty/arch/riscv32/config.h:1.4 Sat Apr 4 20:45:51 2020 +++ src/external/gpl3/binutils/lib/libiberty/arch/riscv32/config.h Mon Aug 28 02:43:01 2023 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-binutils,v 1.13 2020/04/04 01:34:53 christos Exp */ +/* Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* config.h. Generated from config.in by configure. */ @@ -408,7 +408,7 @@ #define HAVE_VASPRINTF 1 /* Define to 1 if you have the `vfork' function. */ -/* #undef HAVE_VFORK */ +#define HAVE_VFORK 1 /* Define to 1 if you have the <vfork.h> header file. */ /* #undef HAVE_VFORK_H */ @@ -435,7 +435,7 @@ #define HAVE_WORKING_FORK 1 /* Define to 1 if `vfork' works. */ -/* #undef HAVE_WORKING_VFORK */ +#define HAVE_WORKING_VFORK 1 /* Define to 1 if you have the `_doprnt' function. */ /* #undef HAVE__DOPRNT */ @@ -579,4 +579,4 @@ /* #undef uintptr_t */ /* Define as `fork' if `vfork' does not work. */ -#define vfork fork +/* #undef vfork */ Index: src/external/gpl3/binutils/lib/libiberty/arch/riscv32/defs.mk diff -u src/external/gpl3/binutils/lib/libiberty/arch/riscv32/defs.mk:1.5 src/external/gpl3/binutils/lib/libiberty/arch/riscv32/defs.mk:1.6 --- src/external/gpl3/binutils/lib/libiberty/arch/riscv32/defs.mk:1.5 Sun Jan 15 18:30:57 2023 +++ src/external/gpl3/binutils/lib/libiberty/arch/riscv32/defs.mk Mon Aug 28 02:43:01 2023 @@ -1,8 +1,8 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp +# Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # G_ALLOCA= G_EXTRA_OFILES= -G_LIBOBJS=mempcpy.o strverscmp.o vfork.o +G_LIBOBJS=strverscmp.o G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o md5.o sha1.o alloca.o argv.o bsearch_r.o choose-temp.o concat.o cp-demint.o crc32.o d-demangle.o dwarfnames.o dyn-string.o fdmatch.o fibheap.o filedescriptor.o filename_cmp.o floatformat.o fnmatch.o fopen_unlocked.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o physmem.o pex-common.o pex-one.o pex-unix.o vprintf-support.o rust-demangle.o safe-ctype.o simple-object.o simple-object-coff.o simple-object-elf.o simple-object-mach-o.o simple-object-xcoff.o sort.o spaces.o splay-tree.o stack-limit.o strerror.o strsignal.o timeval-utils.o unlink-if-ordinary.o xasprintf.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o xvasprintf.o Index: src/external/gpl3/binutils/lib/libiberty/arch/riscv64/config.h diff -u src/external/gpl3/binutils/lib/libiberty/arch/riscv64/config.h:1.4 src/external/gpl3/binutils/lib/libiberty/arch/riscv64/config.h:1.5 --- src/external/gpl3/binutils/lib/libiberty/arch/riscv64/config.h:1.4 Sat Apr 4 20:45:51 2020 +++ src/external/gpl3/binutils/lib/libiberty/arch/riscv64/config.h Mon Aug 28 02:43:01 2023 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-binutils,v 1.13 2020/04/04 01:34:53 christos Exp */ +/* Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* config.h. Generated from config.in by configure. */ @@ -408,7 +408,7 @@ #define HAVE_VASPRINTF 1 /* Define to 1 if you have the `vfork' function. */ -/* #undef HAVE_VFORK */ +#define HAVE_VFORK 1 /* Define to 1 if you have the <vfork.h> header file. */ /* #undef HAVE_VFORK_H */ @@ -435,7 +435,7 @@ #define HAVE_WORKING_FORK 1 /* Define to 1 if `vfork' works. */ -/* #undef HAVE_WORKING_VFORK */ +#define HAVE_WORKING_VFORK 1 /* Define to 1 if you have the `_doprnt' function. */ /* #undef HAVE__DOPRNT */ @@ -579,4 +579,4 @@ /* #undef uintptr_t */ /* Define as `fork' if `vfork' does not work. */ -#define vfork fork +/* #undef vfork */ Index: src/external/gpl3/binutils/lib/libiberty/arch/riscv64/defs.mk diff -u src/external/gpl3/binutils/lib/libiberty/arch/riscv64/defs.mk:1.5 src/external/gpl3/binutils/lib/libiberty/arch/riscv64/defs.mk:1.6 --- src/external/gpl3/binutils/lib/libiberty/arch/riscv64/defs.mk:1.5 Sun Jan 15 18:30:57 2023 +++ src/external/gpl3/binutils/lib/libiberty/arch/riscv64/defs.mk Mon Aug 28 02:43:01 2023 @@ -1,8 +1,8 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp +# Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # G_ALLOCA= G_EXTRA_OFILES= -G_LIBOBJS=mempcpy.o strverscmp.o vfork.o +G_LIBOBJS=strverscmp.o G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o md5.o sha1.o alloca.o argv.o bsearch_r.o choose-temp.o concat.o cp-demint.o crc32.o d-demangle.o dwarfnames.o dyn-string.o fdmatch.o fibheap.o filedescriptor.o filename_cmp.o floatformat.o fnmatch.o fopen_unlocked.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o physmem.o pex-common.o pex-one.o pex-unix.o vprintf-support.o rust-demangle.o safe-ctype.o simple-object.o simple-object-coff.o simple-object-elf.o simple-object-mach-o.o simple-object-xcoff.o sort.o spaces.o splay-tree.o stack-limit.o strerror.o strsignal.o timeval-utils.o unlink-if-ordinary.o xasprintf.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o xvasprintf.o Index: src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/config.h diff -u src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/config.h:1.6 src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/config.h:1.7 --- src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/config.h:1.6 Sun Jan 15 18:30:58 2023 +++ src/external/gpl3/binutils/usr.bin/gas/arch/riscv32/config.h Mon Aug 28 02:43:02 2023 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp */ +/* Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* config.h. Generated from config.in by configure. */ @@ -85,7 +85,7 @@ /* Define to 1 if you have the declaration of `mempcpy', and to 0 if you don't. */ -#define HAVE_DECL_MEMPCPY 0 +#define HAVE_DECL_MEMPCPY 1 /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. */ Index: src/external/gpl3/binutils/usr.bin/gas/arch/riscv64/config.h diff -u src/external/gpl3/binutils/usr.bin/gas/arch/riscv64/config.h:1.5 src/external/gpl3/binutils/usr.bin/gas/arch/riscv64/config.h:1.6 --- src/external/gpl3/binutils/usr.bin/gas/arch/riscv64/config.h:1.5 Sun Jan 15 18:30:58 2023 +++ src/external/gpl3/binutils/usr.bin/gas/arch/riscv64/config.h Mon Aug 28 02:43:02 2023 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp */ +/* Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* config.h. Generated from config.in by configure. */ @@ -85,7 +85,7 @@ /* Define to 1 if you have the declaration of `mempcpy', and to 0 if you don't. */ -#define HAVE_DECL_MEMPCPY 0 +#define HAVE_DECL_MEMPCPY 1 /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. */ Index: src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/defs.mk diff -u src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/defs.mk:1.7 src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/defs.mk:1.8 --- src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/defs.mk:1.7 Sun Jan 15 18:30:58 2023 +++ src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/defs.mk Mon Aug 28 02:43:02 2023 @@ -1,12 +1,12 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp +# Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # G_DEFS=-DHAVE_CONFIG_H G_EMUL=elf32lriscv -G_EMULATION_OFILES=eelf32lriscv.o eelf64lriscv.o eelf32briscv.o eelf64briscv.o +G_EMULATION_OFILES=eelf32lriscv.o eelf32lriscv_ilp32f.o eelf32lriscv_ilp32.o eelf64lriscv.o eelf64lriscv_lp64f.o eelf64lriscv_lp64.o eelf32briscv.o eelf32briscv_ilp32f.o eelf32briscv_ilp32.o eelf64briscv.o eelf64briscv_lp64f.o eelf64briscv_lp64.o G_INCLUDES= -G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf32lriscv.o eelf64lriscv.o eelf32briscv.o eelf64briscv.o ldelf.o ldelfgen.o ldbuildid.o +G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf32lriscv.o eelf32lriscv_ilp32f.o eelf32lriscv_ilp32.o eelf64lriscv.o eelf64lriscv_lp64f.o eelf64lriscv_lp64.o eelf32briscv.o eelf32briscv_ilp32f.o eelf32briscv_ilp32.o eelf64briscv.o eelf64briscv_lp64f.o eelf64briscv_lp64.o ldelf.o ldelfgen.o ldbuildid.o G_STRINGIFY=astring.sed G_TEXINFOS=ld.texi G_target_alias=riscv32--netbsd Index: src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/ldemul-list.h diff -u src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/ldemul-list.h:1.3 src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/ldemul-list.h:1.4 --- src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/ldemul-list.h:1.3 Sun Jan 15 18:30:58 2023 +++ src/external/gpl3/binutils/usr.bin/ld/arch/riscv32/ldemul-list.h Mon Aug 28 02:43:02 2023 @@ -1,16 +1,32 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp */ +/* Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* This file is automatically generated. DO NOT EDIT! */ extern ld_emulation_xfer_type ld_elf32lriscv_emulation; +extern ld_emulation_xfer_type ld_elf32lriscv_ilp32f_emulation; +extern ld_emulation_xfer_type ld_elf32lriscv_ilp32_emulation; extern ld_emulation_xfer_type ld_elf64lriscv_emulation; +extern ld_emulation_xfer_type ld_elf64lriscv_lp64f_emulation; +extern ld_emulation_xfer_type ld_elf64lriscv_lp64_emulation; extern ld_emulation_xfer_type ld_elf32briscv_emulation; +extern ld_emulation_xfer_type ld_elf32briscv_ilp32f_emulation; +extern ld_emulation_xfer_type ld_elf32briscv_ilp32_emulation; extern ld_emulation_xfer_type ld_elf64briscv_emulation; +extern ld_emulation_xfer_type ld_elf64briscv_lp64f_emulation; +extern ld_emulation_xfer_type ld_elf64briscv_lp64_emulation; #define EMULATION_LIST \ &ld_elf32lriscv_emulation, \ + &ld_elf32lriscv_ilp32f_emulation, \ + &ld_elf32lriscv_ilp32_emulation, \ &ld_elf64lriscv_emulation, \ + &ld_elf64lriscv_lp64f_emulation, \ + &ld_elf64lriscv_lp64_emulation, \ &ld_elf32briscv_emulation, \ + &ld_elf32briscv_ilp32f_emulation, \ + &ld_elf32briscv_ilp32_emulation, \ &ld_elf64briscv_emulation, \ + &ld_elf64briscv_lp64f_emulation, \ + &ld_elf64briscv_lp64_emulation, \ 0 Index: src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/defs.mk diff -u src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/defs.mk:1.8 src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/defs.mk:1.9 --- src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/defs.mk:1.8 Sun Jan 15 18:30:59 2023 +++ src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/defs.mk Mon Aug 28 02:43:02 2023 @@ -1,12 +1,12 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp +# Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # G_DEFS=-DHAVE_CONFIG_H G_EMUL=elf64lriscv -G_EMULATION_OFILES=eelf64lriscv.o eelf32lriscv.o eelf64briscv.o eelf32briscv.o +G_EMULATION_OFILES=eelf64lriscv.o eelf64lriscv_lp64f.o eelf64lriscv_lp64.o eelf32lriscv.o eelf32lriscv_ilp32f.o eelf32lriscv_ilp32.o eelf64briscv.o eelf64briscv_lp64f.o eelf64briscv_lp64.o eelf32briscv.o eelf32briscv_ilp32f.o eelf32briscv_ilp32.o G_INCLUDES= -G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf64lriscv.o eelf32lriscv.o eelf64briscv.o eelf32briscv.o ldelf.o ldelfgen.o ldbuildid.o +G_OFILES=ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o plugin.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o eelf64lriscv.o eelf64lriscv_lp64f.o eelf64lriscv_lp64.o eelf32lriscv.o eelf32lriscv_ilp32f.o eelf32lriscv_ilp32.o eelf64briscv.o eelf64briscv_lp64f.o eelf64briscv_lp64.o eelf32briscv.o eelf32briscv_ilp32f.o eelf32briscv_ilp32.o ldelf.o ldelfgen.o ldbuildid.o G_STRINGIFY=astring.sed G_TEXINFOS=ld.texi G_target_alias=riscv64--netbsd Index: src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/ldemul-list.h diff -u src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/ldemul-list.h:1.5 src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/ldemul-list.h:1.6 --- src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/ldemul-list.h:1.5 Sun Jan 15 18:30:59 2023 +++ src/external/gpl3/binutils/usr.bin/ld/arch/riscv64/ldemul-list.h Mon Aug 28 02:43:02 2023 @@ -1,16 +1,32 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-binutils,v 1.14 2022/12/24 20:17:46 christos Exp */ +/* Generated from: NetBSD: mknative-binutils,v 1.15 2023/02/07 20:37:30 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* This file is automatically generated. DO NOT EDIT! */ extern ld_emulation_xfer_type ld_elf64lriscv_emulation; +extern ld_emulation_xfer_type ld_elf64lriscv_lp64f_emulation; +extern ld_emulation_xfer_type ld_elf64lriscv_lp64_emulation; extern ld_emulation_xfer_type ld_elf32lriscv_emulation; +extern ld_emulation_xfer_type ld_elf32lriscv_ilp32f_emulation; +extern ld_emulation_xfer_type ld_elf32lriscv_ilp32_emulation; extern ld_emulation_xfer_type ld_elf64briscv_emulation; +extern ld_emulation_xfer_type ld_elf64briscv_lp64f_emulation; +extern ld_emulation_xfer_type ld_elf64briscv_lp64_emulation; extern ld_emulation_xfer_type ld_elf32briscv_emulation; +extern ld_emulation_xfer_type ld_elf32briscv_ilp32f_emulation; +extern ld_emulation_xfer_type ld_elf32briscv_ilp32_emulation; #define EMULATION_LIST \ &ld_elf64lriscv_emulation, \ + &ld_elf64lriscv_lp64f_emulation, \ + &ld_elf64lriscv_lp64_emulation, \ &ld_elf32lriscv_emulation, \ + &ld_elf32lriscv_ilp32f_emulation, \ + &ld_elf32lriscv_ilp32_emulation, \ &ld_elf64briscv_emulation, \ + &ld_elf64briscv_lp64f_emulation, \ + &ld_elf64briscv_lp64_emulation, \ &ld_elf32briscv_emulation, \ + &ld_elf32briscv_ilp32f_emulation, \ + &ld_elf32briscv_ilp32_emulation, \ 0