Module Name:    src
Committed By:   rin
Date:           Thu Aug 24 06:14:57 UTC 2023

Modified Files:
        src/external/gpl3/binutils/lib/libbfd/arch/mips64eb: bfd.h config.h
        src/external/gpl3/binutils/lib/libbfd/arch/mips64el: bfd.h defs.mk
        src/external/gpl3/binutils/lib/libiberty/arch/mips64eb: config.h
            defs.mk
        src/external/gpl3/binutils/lib/libiberty/arch/mips64el: defs.mk
        src/external/gpl3/binutils/lib/libopcodes/arch/mips64eb: config.h
        src/external/gpl3/binutils/usr.bin/common/arch/mips64eb: config.h
        src/external/gpl3/binutils/usr.bin/gas/arch/mips64eb: config.h
        src/external/gpl3/binutils/usr.bin/gas/arch/mips64el: config.h
        src/external/gpl3/binutils/usr.bin/ld/arch/mips64eb: config.h
        src/external/gpl3/binutils/usr.bin/ld/arch/mips64el: defs.mk
            ldemul-list.h

Log Message:
binutils: mknative mips64e[bl] correctly

The previous version was very broken; SIZEOF_* seem like LP64, even
though this should be, and had been configured for n32 userland.

May fix random build failures reported as PR toolchain/57241.

XXX
There still remain oddies. mknative again soon with update for
configure scripts.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 \
    src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/bfd.h
cvs rdiff -u -r1.11 -r1.12 \
    src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/config.h
cvs rdiff -u -r1.13 -r1.14 \
    src/external/gpl3/binutils/lib/libbfd/arch/mips64el/bfd.h
cvs rdiff -u -r1.11 -r1.12 \
    src/external/gpl3/binutils/lib/libbfd/arch/mips64el/defs.mk
cvs rdiff -u -r1.11 -r1.12 \
    src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/config.h \
    src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/defs.mk
cvs rdiff -u -r1.8 -r1.9 \
    src/external/gpl3/binutils/lib/libiberty/arch/mips64el/defs.mk
cvs rdiff -u -r1.11 -r1.12 \
    src/external/gpl3/binutils/lib/libopcodes/arch/mips64eb/config.h
cvs rdiff -u -r1.13 -r1.14 \
    src/external/gpl3/binutils/usr.bin/common/arch/mips64eb/config.h
cvs rdiff -u -r1.10 -r1.11 \
    src/external/gpl3/binutils/usr.bin/gas/arch/mips64eb/config.h
cvs rdiff -u -r1.10 -r1.11 \
    src/external/gpl3/binutils/usr.bin/gas/arch/mips64el/config.h
cvs rdiff -u -r1.13 -r1.14 \
    src/external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h
cvs rdiff -u -r1.10 -r1.11 \
    src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/defs.mk
cvs rdiff -u -r1.5 -r1.6 \
    src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/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/libbfd/arch/mips64eb/bfd.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/bfd.h:1.13 src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/bfd.h:1.14
--- src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/bfd.h:1.13	Tue Feb  7 20:39:01 2023
+++ src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/bfd.h	Thu Aug 24 06:14:56 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  */
 
 /* DO NOT EDIT!  -*- buffer-read-only: t -*-  This file is automatically
@@ -78,7 +78,7 @@ extern "C" {
 #define BFD_ARCH_SIZE 64
 
 /* The word size of the default bfd target.  */
-#define BFD_DEFAULT_TARGET_SIZE 64
+#define BFD_DEFAULT_TARGET_SIZE 32
 
 #include <inttypes.h>
 
@@ -124,7 +124,7 @@ typedef int64_t bfd_signed_vma;
 typedef uint64_t bfd_size_type;
 typedef uint64_t symvalue;
 
-#define BFD_VMA_FMT "l"
+#define BFD_VMA_FMT "ll"
 
 #define fprintf_vma(f,x) fprintf (f, "%016" BFD_VMA_FMT "x", x)
 #define sprintf_vma(s,x) sprintf (s, "%016" BFD_VMA_FMT "x", x)

Index: src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/config.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/config.h:1.11 src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/config.h:1.12
--- src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/config.h:1.11	Tue Feb  7 20:39:01 2023
+++ src/external/gpl3/binutils/lib/libbfd/arch/mips64eb/config.h	Thu Aug 24 06:14:56 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.  */
@@ -266,7 +266,7 @@
 #define SIZEOF_INT 4
 
 /* The size of `long', as computed by sizeof. */
-#define SIZEOF_LONG 8
+#define SIZEOF_LONG 4
 
 /* The size of `long long', as computed by sizeof. */
 #define SIZEOF_LONG_LONG 8
@@ -275,7 +275,7 @@
 #define SIZEOF_OFF_T 8
 
 /* The size of `void *', as computed by sizeof. */
-#define SIZEOF_VOID_P 8
+#define SIZEOF_VOID_P 4
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1

Index: src/external/gpl3/binutils/lib/libbfd/arch/mips64el/bfd.h
diff -u src/external/gpl3/binutils/lib/libbfd/arch/mips64el/bfd.h:1.13 src/external/gpl3/binutils/lib/libbfd/arch/mips64el/bfd.h:1.14
--- src/external/gpl3/binutils/lib/libbfd/arch/mips64el/bfd.h:1.13	Mon Jan 16 15:10:33 2023
+++ src/external/gpl3/binutils/lib/libbfd/arch/mips64el/bfd.h	Thu Aug 24 06:14:56 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  */
 
 /* DO NOT EDIT!  -*- buffer-read-only: t -*-  This file is automatically

Index: src/external/gpl3/binutils/lib/libbfd/arch/mips64el/defs.mk
diff -u src/external/gpl3/binutils/lib/libbfd/arch/mips64el/defs.mk:1.11 src/external/gpl3/binutils/lib/libbfd/arch/mips64el/defs.mk:1.12
--- src/external/gpl3/binutils/lib/libbfd/arch/mips64el/defs.mk:1.11	Mon Jan 16 15:10:33 2023
+++ src/external/gpl3/binutils/lib/libbfd/arch/mips64el/defs.mk	Thu Aug 24 06:14:56 2023
@@ -1,10 +1,10 @@
 # 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_libbfd_la_DEPENDENCIES=elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo ecofflink.lo coffgen.lo elf64-mips.lo elf64.lo coff-mips.lo ecoff.lo elf64-gen.lo elf32-gen.lo plugin.lo cpu-mips.lo netbsd-core.lo archive64.lo ofiles
+G_libbfd_la_DEPENDENCIES=elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo dwarf2.lo ecofflink.lo coffgen.lo elf32-mips.lo elf64-mips.lo elf64.lo coff-mips.lo ecoff.lo elf64-gen.lo elf32-gen.lo plugin.lo cpu-mips.lo netbsd-core.lo archive64.lo ofiles
 G_libbfd_la_OBJECTS=archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo  cache.lo coff-bfd.lo compress.lo corefile.lo elf-properties.lo  format.lo hash.lo init.lo libbfd.lo linker.lo merge.lo  opncls.lo reloc.lo section.lo simple.lo stab-syms.lo stabs.lo  syms.lo targets.lo binary.lo ihex.lo srec.lo tekhex.lo  verilog.lo
 G_DEFS=-DHAVE_CONFIG_H
 G_INCLUDES=
-G_TDEFAULTS=-DDEFAULT_VECTOR=mips_elf32_trad_le_vec -DSELECT_VECS='&mips_elf32_trad_le_vec,&mips_elf32_trad_be_vec,&mips_elf64_trad_be_vec,&mips_elf64_trad_le_vec,&mips_ecoff_le_vec,&mips_ecoff_be_vec,&elf64_le_vec,&elf64_be_vec,&elf32_le_vec,&elf32_be_vec' -DSELECT_ARCHITECTURES='&bfd_mips_arch'
-G_HAVEVECS=-DHAVE_mips_elf32_trad_le_vec -DHAVE_mips_elf32_trad_be_vec -DHAVE_mips_elf64_trad_be_vec -DHAVE_mips_elf64_trad_le_vec -DHAVE_mips_ecoff_le_vec -DHAVE_mips_ecoff_be_vec -DHAVE_elf64_le_vec -DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec
+G_TDEFAULTS=-DDEFAULT_VECTOR=mips_elf32_ntrad_le_vec -DSELECT_VECS='&mips_elf32_ntrad_le_vec,&mips_elf32_ntrad_be_vec,&mips_elf32_trad_le_vec,&mips_elf32_trad_be_vec,&mips_elf64_trad_le_vec,&mips_elf64_trad_be_vec,&mips_ecoff_le_vec,&mips_ecoff_be_vec,&elf64_le_vec,&elf64_be_vec,&elf32_le_vec,&elf32_be_vec' -DSELECT_ARCHITECTURES='&bfd_mips_arch'
+G_HAVEVECS=-DHAVE_mips_elf32_ntrad_le_vec -DHAVE_mips_elf32_ntrad_be_vec -DHAVE_mips_elf32_trad_le_vec -DHAVE_mips_elf32_trad_be_vec -DHAVE_mips_elf64_trad_le_vec -DHAVE_mips_elf64_trad_be_vec -DHAVE_mips_ecoff_le_vec -DHAVE_mips_ecoff_be_vec -DHAVE_elf64_le_vec -DHAVE_elf64_be_vec -DHAVE_elf32_le_vec -DHAVE_elf32_be_vec

Index: src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/config.h
diff -u src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/config.h:1.11 src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/config.h:1.12
--- src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/config.h:1.11	Tue Feb  7 20:39:01 2023
+++ src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/config.h	Thu Aug 24 06:14:56 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.  */
@@ -477,13 +477,13 @@
 #define SIZEOF_INT 4
 
 /* The size of `long', as computed by sizeof. */
-#define SIZEOF_LONG 8
+#define SIZEOF_LONG 4
 
 /* The size of `long long', as computed by sizeof. */
 #define SIZEOF_LONG_LONG 8
 
 /* The size of `size_t', as computed by sizeof. */
-#define SIZEOF_SIZE_T 8
+#define SIZEOF_SIZE_T 4
 
 /* Define if you know the direction of stack growth for your system; otherwise
    it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows
Index: src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/defs.mk
diff -u src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/defs.mk:1.11 src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/defs.mk:1.12
--- src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/defs.mk:1.11	Mon Jan 16 15:10:36 2023
+++ src/external/gpl3/binutils/lib/libiberty/arch/mips64eb/defs.mk	Thu Aug 24 06:14:56 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
+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/mips64el/defs.mk
diff -u src/external/gpl3/binutils/lib/libiberty/arch/mips64el/defs.mk:1.8 src/external/gpl3/binutils/lib/libiberty/arch/mips64el/defs.mk:1.9
--- src/external/gpl3/binutils/lib/libiberty/arch/mips64el/defs.mk:1.8	Mon Jan 16 15:10:36 2023
+++ src/external/gpl3/binutils/lib/libiberty/arch/mips64el/defs.mk	Thu Aug 24 06:14:56 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
+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/libopcodes/arch/mips64eb/config.h
diff -u src/external/gpl3/binutils/lib/libopcodes/arch/mips64eb/config.h:1.11 src/external/gpl3/binutils/lib/libopcodes/arch/mips64eb/config.h:1.12
--- src/external/gpl3/binutils/lib/libopcodes/arch/mips64eb/config.h:1.11	Tue Feb  7 20:39:02 2023
+++ src/external/gpl3/binutils/lib/libopcodes/arch/mips64eb/config.h	Thu Aug 24 06:14:56 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.  */
@@ -86,7 +86,7 @@
 #define PACKAGE_VERSION "2.39"
 
 /* The size of `void *', as computed by sizeof. */
-#define SIZEOF_VOID_P 8
+#define SIZEOF_VOID_P 4
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1

Index: src/external/gpl3/binutils/usr.bin/common/arch/mips64eb/config.h
diff -u src/external/gpl3/binutils/usr.bin/common/arch/mips64eb/config.h:1.13 src/external/gpl3/binutils/usr.bin/common/arch/mips64eb/config.h:1.14
--- src/external/gpl3/binutils/usr.bin/common/arch/mips64eb/config.h:1.13	Tue Feb  7 20:39:02 2023
+++ src/external/gpl3/binutils/usr.bin/common/arch/mips64eb/config.h	Thu Aug 24 06:14:56 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.  */
@@ -198,7 +198,7 @@
 #define PACKAGE_VERSION "2.39"
 
 /* The size of `long', as computed by sizeof. */
-#define SIZEOF_LONG 8
+#define SIZEOF_LONG 4
 
 /* The size of `long long', as computed by sizeof. */
 #define SIZEOF_LONG_LONG 8

Index: src/external/gpl3/binutils/usr.bin/gas/arch/mips64eb/config.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/mips64eb/config.h:1.10 src/external/gpl3/binutils/usr.bin/gas/arch/mips64eb/config.h:1.11
--- src/external/gpl3/binutils/usr.bin/gas/arch/mips64eb/config.h:1.10	Mon Jan 16 15:10:41 2023
+++ src/external/gpl3/binutils/usr.bin/gas/arch/mips64eb/config.h	Thu Aug 24 06:14:56 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/mips64el/config.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/mips64el/config.h:1.10 src/external/gpl3/binutils/usr.bin/gas/arch/mips64el/config.h:1.11
--- src/external/gpl3/binutils/usr.bin/gas/arch/mips64el/config.h:1.10	Mon Jan 16 15:10:41 2023
+++ src/external/gpl3/binutils/usr.bin/gas/arch/mips64el/config.h	Thu Aug 24 06:14:57 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/mips64eb/config.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h:1.13 src/external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h:1.14
--- src/external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h:1.13	Tue Feb  7 20:39:02 2023
+++ src/external/gpl3/binutils/usr.bin/ld/arch/mips64eb/config.h	Thu Aug 24 06:14:57 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.  */
@@ -200,7 +200,7 @@
 #define PACKAGE_VERSION "2.39"
 
 /* The size of `void *', as computed by sizeof. */
-#define SIZEOF_VOID_P 8
+#define SIZEOF_VOID_P 4
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1

Index: src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/defs.mk
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/defs.mk:1.10 src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/defs.mk:1.11
--- src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/defs.mk:1.10	Mon Jan 16 15:10:45 2023
+++ src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/defs.mk	Thu Aug 24 06:14:57 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=elf32btsmipn32
-G_EMULATION_OFILES=eelf32btsmipn32.o eelf64ltsmip.o eelf64btsmip.o eelf32btsmip.o eelf32ltsmipn32.o eelf32ltsmip.o
+G_EMUL=elf32ltsmipn32
+G_EMULATION_OFILES=eelf32ltsmipn32.o eelf64btsmip.o eelf64ltsmip.o eelf32ltsmip.o eelf32btsmipn32.o eelf32btsmip.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 eelf32btsmipn32.o eelf64ltsmip.o eelf64btsmip.o eelf32btsmip.o eelf32ltsmipn32.o eelf32ltsmip.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 eelf32ltsmipn32.o eelf64btsmip.o eelf64ltsmip.o eelf32ltsmip.o eelf32btsmipn32.o eelf32btsmip.o ldelf.o ldelfgen.o  ldbuildid.o
 G_STRINGIFY=astring.sed
 G_TEXINFOS=ld.texi
 G_target_alias=mips64el--netbsd

Index: src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/ldemul-list.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/ldemul-list.h:1.5 src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/ldemul-list.h:1.6
--- src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/ldemul-list.h:1.5	Mon Jan 16 15:10:45 2023
+++ src/external/gpl3/binutils/usr.bin/ld/arch/mips64el/ldemul-list.h	Thu Aug 24 06:14:57 2023
@@ -1,20 +1,20 @@
 /* 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_elf32btsmipn32_emulation;
-extern ld_emulation_xfer_type ld_elf64ltsmip_emulation;
-extern ld_emulation_xfer_type ld_elf64btsmip_emulation;
-extern ld_emulation_xfer_type ld_elf32btsmip_emulation;
 extern ld_emulation_xfer_type ld_elf32ltsmipn32_emulation;
+extern ld_emulation_xfer_type ld_elf64btsmip_emulation;
+extern ld_emulation_xfer_type ld_elf64ltsmip_emulation;
 extern ld_emulation_xfer_type ld_elf32ltsmip_emulation;
+extern ld_emulation_xfer_type ld_elf32btsmipn32_emulation;
+extern ld_emulation_xfer_type ld_elf32btsmip_emulation;
 
 #define EMULATION_LIST \
-  &ld_elf32btsmipn32_emulation, \
-  &ld_elf64ltsmip_emulation, \
-  &ld_elf64btsmip_emulation, \
-  &ld_elf32btsmip_emulation, \
   &ld_elf32ltsmipn32_emulation, \
+  &ld_elf64btsmip_emulation, \
+  &ld_elf64ltsmip_emulation, \
   &ld_elf32ltsmip_emulation, \
+  &ld_elf32btsmipn32_emulation, \
+  &ld_elf32btsmip_emulation, \
   0

Reply via email to