Module Name: src
Committed By: rin
Date: Mon Aug 28 02:41:54 UTC 2023
Modified Files:
src/external/gpl3/binutils/lib/libiberty/arch/x86_64: defs.mk
src/external/gpl3/binutils/usr.bin/gas/arch/x86_64: config.h
src/external/gpl3/binutils/usr.bin/ld/arch/x86_64: config.h
Log Message:
binutils: mknative x86_64; actually enable DT_TEXTREL check
christos@ has already added support for it.
mknative was just missing.
Seems to work just fine as far as I can see.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/binutils/lib/libiberty/arch/x86_64/defs.mk
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/config.h
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.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/x86_64/defs.mk
diff -u src/external/gpl3/binutils/lib/libiberty/arch/x86_64/defs.mk:1.7 src/external/gpl3/binutils/lib/libiberty/arch/x86_64/defs.mk:1.8
--- src/external/gpl3/binutils/lib/libiberty/arch/x86_64/defs.mk:1.7 Sat Dec 24 20:17:09 2022
+++ src/external/gpl3/binutils/lib/libiberty/arch/x86_64/defs.mk Mon Aug 28 02:41:54 2023
@@ -1,8 +1,8 @@
# 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
#
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/usr.bin/gas/arch/x86_64/config.h
diff -u src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/config.h:1.10 src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/config.h:1.11
--- src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/config.h:1.10 Sat Dec 24 20:17:09 2022
+++ src/external/gpl3/binutils/usr.bin/gas/arch/x86_64/config.h Mon Aug 28 02:41:54 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. */
@@ -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/x86_64/config.h
diff -u src/external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h:1.13 src/external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h:1.14
--- src/external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h:1.13 Wed Jan 18 12:58:11 2023
+++ src/external/gpl3/binutils/usr.bin/ld/arch/x86_64/config.h Mon Aug 28 02:41:54 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. */
@@ -26,10 +26,10 @@
#define DEFAULT_LD_EXECSTACK 0
/* The default method for DT_TEXTREL check in ELF linker. */
-#define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
+#define DEFAULT_LD_TEXTREL_CHECK textrel_check_warning
/* Define to 1 if DT_TEXTREL check is warning in ELF linker by default. */
-#define DEFAULT_LD_TEXTREL_CHECK_WARNING 0
+#define DEFAULT_LD_TEXTREL_CHECK_WARNING 1
/* Define to 1 if you want to enable --warn-execstack in ELF linker by
default. */