Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc.old merge in missing changes from gcc to g...
details: https://anonhg.NetBSD.org/src/rev/b33c83cbcc56
branches: trunk
changeset: 993334:b33c83cbcc56
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Sep 05 06:26:58 2018 +0000
description:
merge in missing changes from gcc to gcc.old (both GCC 6.4.):
--
redo mknative-gcc for all ports. main changes include:
- "#define HAVE_CC_TLS 1" for most/all ports, thanks maya@
- "#define _GLIBCXX_HAVE_LDEXPL 1" and "#define _GLIBCXX_HAVE_TGMATH_H 1"
for many ports
- arm64 and amd64 had a broken c++config.h that disabled many things
- configargs.h has more normalisation
- ppc64 has a few things fixed, must have missed several mknative rounds
--
regen to pull out INTERNAL_CFLAGS.
--
pull -DHAVE_CC_TLS out of $(INTERNAL_CFLAGS) if it is there, and add
it to CPPFLAGS.
this fixes PR#53567 for me.
diffstat:
external/gpl3/gcc.old/dist/libsanitizer/asan/asan_linux.cc | 54 +--
external/gpl3/gcc.old/lib/libgcc/Makefile.inc | 3 +-
external/gpl3/gcc.old/lib/libgcc/arch/aarch64/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/aarch64/defs.mk | 1 +
external/gpl3/gcc.old/lib/libgcc/arch/alpha/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/alpha/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/arm/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/arm/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/armeb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/armeb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earm/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earm/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmeb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmeb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmhf/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmhf/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv4/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv4/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv4eb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv4eb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6eb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6eb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6hf/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6hf/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6hfeb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv6hfeb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7eb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7eb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7hf/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7hf/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7hfeb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/earmv7hfeb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/hppa/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/hppa/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/i386/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/i386/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/ia64/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/ia64/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/m68000/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/m68000/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/m68k/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/m68k/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/mips64eb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/mips64eb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/mips64el/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/mips64el/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/mipseb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/mipseb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/mipsel/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/mipsel/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/powerpc/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/powerpc/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/powerpc64/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/powerpc64/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/sh3eb/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/sh3eb/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/sh3el/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/sh3el/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/sparc/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/sparc/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/sparc64/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/sparc64/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/vax/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libgcc/arch/x86_64/auto-target.h | 2 +-
external/gpl3/gcc.old/lib/libgcc/arch/x86_64/defs.mk | 5 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/aarch64/c++config.h | 128 ++++----
external/gpl3/gcc.old/lib/libstdc++-v3/arch/alpha/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/alpha/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/arm/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/arm/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/armeb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/armeb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earm/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earm/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmeb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmeb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhf/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhf/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhfeb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhfeb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4/c++config.h | 4 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4eb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4eb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6eb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6eb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hf/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hf/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hfeb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hfeb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7eb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7eb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hf/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hf/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hfeb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hfeb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/hppa/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/hppa/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/i386/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/ia64/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/ia64/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/m68000/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/m68000/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/m68k/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mips64eb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mips64el/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mipseb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mipseb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mipsel/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mipsel/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/powerpc64/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/powerpc64/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sh3eb/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sh3eb/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sh3el/c++config.h | 4 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sh3el/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sparc/c++config.h | 2 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sparc/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sparc64/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h | 6 +-
external/gpl3/gcc.old/lib/libstdc++-v3/arch/x86_64/c++config.h | 136 +++++-----
external/gpl3/gcc.old/usr.bin/gcc/arch/aarch64/auto-host.h | 2 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/aarch64/configargs.h | 11 -
external/gpl3/gcc.old/usr.bin/gcc/arch/alpha/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/arm/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/armeb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earm/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmeb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmhf/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmhfeb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv4/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv4eb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6eb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6hf/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6hfeb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7eb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7hf/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7hfeb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/hppa/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/i386/configargs.h | 4 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/ia64/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/m68000/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/m68k/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/mips64eb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/mips64el/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/mipseb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/mipsel/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/powerpc/configargs.h | 8 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/powerpc64/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/powerpc64/defs.mk | 10 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/powerpc64/gtyp-input.list | 5 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/powerpc64/tm.h | 5 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/sh3eb/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/sh3el/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/sparc/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/sparc64/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h | 6 +-
external/gpl3/gcc.old/usr.bin/gcc/arch/x86_64/configargs.h | 6 +-
171 files changed, 536 insertions(+), 511 deletions(-)
diffs (truncated from 3261 to 300 lines):
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/dist/libsanitizer/asan/asan_linux.cc
--- a/external/gpl3/gcc.old/dist/libsanitizer/asan/asan_linux.cc Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/dist/libsanitizer/asan/asan_linux.cc Wed Sep 05 06:26:58 2018 +0000
@@ -172,42 +172,40 @@
#if 0 // was in old netbsd / gcc 5 sanitizer stuff
void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) {
#ifdef __NetBSD__
-# ifndef _UC_MACHINE_FP
-# define __UC_MACHINE_FP(ucontext, r) \
+# define __UC_MACHINE_FP(ucontext, r) \
(ucontext)->uc_mcontext.__gregs[(r)]
/*
* Unfortunately we don't have a portable frame pointer (yet)
*/
-# if defined(__alpha__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_S6)
-# elif defined(__arm__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_FP)
-# elif defined(__x86_64__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_RBP)
-# elif defined(__i386__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_EBP)
-# elif defined(__m68k__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_A6)
-# elif defined(__mips__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_S8)
-# elif defined(__powerpc__) || defined(__powerpc64__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_R1)
-# elif defined(__riscv__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_S0)
-# elif defined(__sparc__)
-# define _UC_MACHINE_FP(ucontext) sp[15]
-# elif defined(__sh3__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_R14)
-# elif defined(__vax__)
-# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_FP)
-# else
-# define _UC_MACHINE_FP(ucontext) 0
-# endif
+# if defined(__alpha__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_S6)
+# elif defined(__arm__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_FP)
+# elif defined(__x86_64__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_RBP)
+# elif defined(__i386__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_EBP)
+# elif defined(__m68k__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_A6)
+# elif defined(__mips__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_S8)
+# elif defined(__powerpc__) || defined(__powerpc64__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_R1)
+# elif defined(__riscv__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_S0)
+# elif defined(__sparc__)
+# define _UC_MACHINE_FP(ucontext) sp[15]
+# elif defined(__sh3__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_R14)
+# elif defined(__vax__)
+# define _UC_MACHINE_FP(ucontext) __UC_MACHINE_FP(ucontext, _REG_FP)
+# else
+# define _UC_MACHINE_FP(ucontext) 0
+# endif
ucontext_t *ucontext = (ucontext_t*)context;
*pc = _UC_MACHINE_PC(ucontext);
*sp = _UC_MACHINE_SP(ucontext);
*bp = _UC_MACHINE_FP(ucontext);
-# endif
#elif ASAN_ANDROID
*pc = *sp = *bp = 0;
#elif defined(__arm__)
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc.old/lib/libgcc/Makefile.inc Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/Makefile.inc Wed Sep 05 06:26:58 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.8 2018/08/02 00:03:35 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.9 2018/09/05 06:26:58 mrg Exp $
LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
@@ -28,6 +28,7 @@
CPPFLAGS+= -I${DIST}/libgcc/config/${LIBGCC_MACHINE_ARCH}
.endif
CPPFLAGS+= -I${DIST}/gcc -I${DIST}/include -I.
+CPPFLAGS+= ${G_INTERNAL_CFLAGS:M-DHAVE_CC_TLS}
.if ${LIBGCC_MACHINE_ARCH} == "powerpc" || \
${LIBGCC_MACHINE_ARCH} == "sh3el" || \
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/aarch64/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/aarch64/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/aarch64/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/aarch64/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/aarch64/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/aarch64/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -3,6 +3,7 @@
# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
-DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/aarch64/sync-cache.c ${GNUHOSTDIST}/libgcc/config/aarch64/sfp-exceptions.c ${GNUHOSTDIST}/libgcc/soft-fp/addtf3.c ${GNUHOSTDIST}/libgcc/soft-fp/divtf3.c
${GNUHOSTDIST}/libgcc/soft-fp/eqtf2.c ${GNUHOSTDIST}/libgcc/soft-fp/getf2.c ${GNUHOSTDIST}/libgcc/soft-fp/letf2.c ${GNUHOSTDIST}/libgcc/soft-fp/multf3.c ${GNUHOSTDIST}/libgcc/soft-fp/negtf2.c
${GNUHOSTDIST}/libgcc/soft-fp/subtf3.c ${GNUHOSTDIST}/libgcc/soft-fp/unordtf2.c ${GNUHOSTDIST}/libgcc/soft-fp/fixtfsi.c ${GNUHOSTDIST}/libgcc/soft-fp/fixunstfsi.c
${GNUHOSTDIST}/libgcc/soft-fp/floatsitf.c ${GNUHOSTDIST}/libgcc/soft-fp/floatunsitf.c ${GNUHOSTDIST}/libgcc/soft-fp/fixtfdi.c ${GNUHOSTDIST}/libgcc/soft-fp/fixunstfdi.c
${GNUHOSTDIST}/libgcc/soft-fp/floatditf.c ${GNUHOSTDIST}/libgcc/soft-fp/floatunditf.c ${GNUHOSTDIST}/libgcc/soft-fp/fixtfti.c ${GNUHOSTDIST}/libgcc/soft-fp/fixunstfti.c
${GNUHOSTDIST}/libgcc/soft-fp/floattitf.c ${GNUHOSTDIST}/libgcc/soft-fp/floatuntitf.c ${GNUHOSTDIST}/libgcc/soft-fp/extendsftf2.c ${GNUHOSTDIST}/libgcc/soft-fp/extenddftf2.c
${GNUHOSTDIST}/libgcc/soft-fp/trunctfsf2.c ${GNUHOSTDIST}/libgcc/soft-fp/trunctfdf2.c enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/unwind-dw2.c ${GNUHOSTDIST}/libgcc/unwind-dw2-fde-dip.c ${GNUHOSTDIST}/libgcc/unwind-sjlj.c ${GNUHOSTDIST}/libgcc/unwind-c.c ${GNUHOSTDIST}/libgcc/emutls.c
G_LIB2ADD_ST=
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/alpha/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/alpha/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/alpha/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/alpha/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/alpha/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/alpha/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -1,8 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.91 2018/02/03 19:06:25 mrg Exp
-# Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp
+# Generated from: NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -mieee -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC
-mieee -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mieee -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc
-I${GNUHOSTDIST}/libgcc/../include -DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/alpha/qrnnd.S enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/unwind-dw2.c ${GNUHOSTDIST}/libgcc/unwind-dw2-fde-dip.c ${GNUHOSTDIST}/libgcc/unwind-sjlj.c ${GNUHOSTDIST}/libgcc/unwind-c.c ${GNUHOSTDIST}/libgcc/emutls.c
G_LIB2ADD_ST=
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/arm/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/arm/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/arm/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/arm/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/arm/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/arm/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -1,8 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.86 2016/03/16 11:16:05 mrg Exp
-# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
+# Generated from: NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC
-fomit-frame-pointer -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -fomit-frame-pointer -fno-inline -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc
-I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include -DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/floatunsidf.c ${GNUHOSTDIST}/libgcc/floatunsisf.c enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/unwind-dw2.c ${GNUHOSTDIST}/libgcc/unwind-dw2-fde-dip.c ${GNUHOSTDIST}/libgcc/unwind-sjlj.c ${GNUHOSTDIST}/libgcc/unwind-c.c ${GNUHOSTDIST}/libgcc/emutls.c
G_LIB2ADD_ST=
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/armeb/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/armeb/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/armeb/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/armeb/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/armeb/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/armeb/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -1,8 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.86 2016/03/16 11:16:05 mrg Exp
-# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
+# Generated from: NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC
-fomit-frame-pointer -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -fomit-frame-pointer -fno-inline -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc
-I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include -DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/floatunsidf.c ${GNUHOSTDIST}/libgcc/floatunsisf.c enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/unwind-dw2.c ${GNUHOSTDIST}/libgcc/unwind-dw2-fde-dip.c ${GNUHOSTDIST}/libgcc/unwind-sjlj.c ${GNUHOSTDIST}/libgcc/unwind-c.c ${GNUHOSTDIST}/libgcc/emutls.c
G_LIB2ADD_ST=
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earm/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earm/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earm/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earm/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earm/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earm/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -1,8 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.91 2018/02/03 19:06:25 mrg Exp
-# Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp
+# Generated from: NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
-DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/arm/unaligned-funcs.c enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/config/arm/unwind-arm.c ${GNUHOSTDIST}/libgcc/config/arm/libunwind.S ${GNUHOSTDIST}/libgcc/config/arm/pr-support.c ${GNUHOSTDIST}/libgcc/unwind-c.c
${GNUHOSTDIST}/libgcc/emutls.c
G_LIB2ADD_ST=
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earmeb/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earmeb/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earmeb/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earmeb/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earmeb/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earmeb/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -1,8 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.86 2016/03/16 11:16:05 mrg Exp
-# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
+# Generated from: NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
-DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/arm/unaligned-funcs.c enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/config/arm/unwind-arm.c ${GNUHOSTDIST}/libgcc/config/arm/libunwind.S ${GNUHOSTDIST}/libgcc/config/arm/pr-support.c ${GNUHOSTDIST}/libgcc/unwind-c.c
${GNUHOSTDIST}/libgcc/emutls.c
G_LIB2ADD_ST=
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earmhf/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earmhf/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earmhf/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earmhf/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earmhf/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earmhf/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -1,8 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.86 2016/03/16 11:16:05 mrg Exp
-# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
+# Generated from: NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
-DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/arm/unaligned-funcs.c enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/config/arm/unwind-arm.c ${GNUHOSTDIST}/libgcc/config/arm/libunwind.S ${GNUHOSTDIST}/libgcc/config/arm/pr-support.c ${GNUHOSTDIST}/libgcc/unwind-c.c
${GNUHOSTDIST}/libgcc/emutls.c
G_LIB2ADD_ST=
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/auto-target.h
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/auto-target.h Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/auto-target.h Wed Sep 05 06:26:58 2018 +0000
@@ -6,7 +6,7 @@
/* config.in. Generated from configure.ac by autoheader. */
/* Define to 1 if the target assembler supports thread-local storage. */
-/* #undef HAVE_CC_TLS */
+#define HAVE_CC_TLS 1
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
diff -r 4923192e67b6 -r b33c83cbcc56 external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/defs.mk
--- a/external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/defs.mk Wed Sep 05 05:03:28 2018 +0000
+++ b/external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/defs.mk Wed Sep 05 06:26:58 2018 +0000
@@ -1,8 +1,9 @@
# This file is automatically generated. DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.86 2016/03/16 11:16:05 mrg Exp
-# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
+# Generated from: NetBSD: mknative-gcc,v 1.94 2018/09/04 22:57:25 mrg Exp
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp
#
G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
+G_INTERNAL_CFLAGS=-g -O2 -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include
-DHAVE_CC_TLS
G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/arm/unaligned-funcs.c enable-execute-stack.c
G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/config/arm/unwind-arm.c ${GNUHOSTDIST}/libgcc/config/arm/libunwind.S ${GNUHOSTDIST}/libgcc/config/arm/pr-support.c ${GNUHOSTDIST}/libgcc/unwind-c.c
${GNUHOSTDIST}/libgcc/emutls.c
Home |
Main Index |
Thread Index |
Old Index