Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc mknative gcc 6.4 and powerpc / earmv4. ea...



details:   https://anonhg.NetBSD.org/src/rev/d3d2cffe3e9b
branches:  trunk
changeset: 829555:d3d2cffe3e9b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Feb 05 22:06:44 2018 +0000

description:
mknative gcc 6.4 and powerpc / earmv4.  earmv4 seems to work.
powerpc not properly tested yet, but builds.

diffstat:

 external/gpl3/gcc/lib/libbacktrace/arch/earmv4/backtrace-supported.h |   11 +-
 external/gpl3/gcc/lib/libgcc/arch/earmv4/auto-target.h               |    7 +-
 external/gpl3/gcc/lib/libgomp/arch/earmv4/config.h                   |   18 +-
 external/gpl3/gcc/lib/libgomp/arch/earmv4/libgomp_f.h                |    6 +-
 external/gpl3/gcc/lib/libgomp/arch/earmv4/omp.h                      |   43 +-
 external/gpl3/gcc/lib/libiberty/arch/earmv4/config.h                 |    7 +-
 external/gpl3/gcc/lib/libobjc/arch/earmv4/config.h                   |   10 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/c++config.h           |  172 ++++-
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/cxxabi_tweaks.h       |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/defs.mk               |   13 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/gstdint.h             |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/gthr-posix.h          |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/gthr-single.h         |    8 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/gthr.h                |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc/gstdint.h            |    2 +-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/auto-host.h                |  189 ++++-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/bversion.h                 |    8 +-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/configargs.h               |    6 +-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/defs.mk                    |   26 +-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/gtyp-input.list            |    7 +-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/insn-modes.h               |  321 ++++++++-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/plugin-version.h           |   12 +-
 external/gpl3/gcc/usr.bin/gcc/arch/earmv4/tm.h                       |    7 +-
 external/gpl3/gcc/usr.bin/gcc/arch/powerpc/auto-host.h               |  100 +-
 external/gpl3/gcc/usr.bin/gcc/arch/powerpc/configargs.h              |    4 +-
 external/gpl3/gcc/usr.bin/libcpp/arch/earmv4/config.h                |   10 +-
 26 files changed, 759 insertions(+), 252 deletions(-)

diffs (truncated from 2136 to 300 lines):

diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libbacktrace/arch/earmv4/backtrace-supported.h
--- a/external/gpl3/gcc/lib/libbacktrace/arch/earmv4/backtrace-supported.h      Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/earmv4/backtrace-supported.h      Mon Feb 05 22:06:44 2018 +0000
@@ -1,9 +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.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  */
 
 /* backtrace-supported.h.in -- Whether stack backtrace is supported.
-   Copyright (C) 2012-2015 Free Software Foundation, Inc.
+   Copyright (C) 2012-2016 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
@@ -63,3 +63,8 @@
    as 0.  */
 
 #define BACKTRACE_SUPPORTS_THREADS 1
+
+/* BACKTRACE_SUPPORTS_DATA will be #defined'd as 1 if the backtrace_syminfo
+   will work for variables.  It will always work for functions.  */
+
+#define BACKTRACE_SUPPORTS_DATA 1
diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libgcc/arch/earmv4/auto-target.h
--- a/external/gpl3/gcc/lib/libgcc/arch/earmv4/auto-target.h    Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/earmv4/auto-target.h    Mon Feb 05 22:06:44 2018 +0000
@@ -1,6 +1,6 @@
 /* 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.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  */
 
 /* auto-target.h.  Generated from config.in by configure.  */
 /* config.in.  Generated from configure.ac by autoheader.  */
@@ -50,9 +50,6 @@
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
 
-/* Define if the C compiler is configured for setjmp/longjmp exceptions. */
-/* #undef LIBGCC_SJLJ_EXCEPTIONS */
-
 /* Define to the address where bug reports for this package should be sent. */
 #define PACKAGE_BUGREPORT ""
 
diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libgomp/arch/earmv4/config.h
--- a/external/gpl3/gcc/lib/libgomp/arch/earmv4/config.h        Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/earmv4/config.h        Mon Feb 05 22:06:44 2018 +0000
@@ -1,6 +1,6 @@
 /* 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.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  */
 
 /* config.h.  Generated from config.h.in by configure.  */
 /* config.h.in.  Generated from configure.ac by autoheader.  */
@@ -44,6 +44,9 @@
 /* Define if pthread_{,attr_}{g,s}etaffinity_np is supported. */
 /* #undef HAVE_PTHREAD_AFFINITY_NP */
 
+/* Define to 1 if you have the <pthread.h> header file. */
+#define HAVE_PTHREAD_H 1
+
 /* Define to 1 if you have the <semaphore.h> header file. */
 #define HAVE_SEMAPHORE_H 1
 
@@ -62,6 +65,9 @@
 /* Define to 1 if you have the `strtoull' function. */
 #define HAVE_STRTOULL 1
 
+/* Define to 1 if the system has the type `struct _Mutex_Control'. */
+/* #undef HAVE_STRUCT__MUTEX_CONTROL */
+
 /* Define to 1 if the target runtime linker supports binding the same symbol
    to different versions. */
 /* #undef HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT */
@@ -75,6 +81,9 @@
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #define HAVE_SYS_STAT_H 1
 
+/* Define to 1 if you have the <sys/sysctl.h> header file. */
+#define HAVE_SYS_SYSCTL_H 1
+
 /* Define to 1 if you have the <sys/time.h> header file. */
 #define HAVE_SYS_TIME_H 1
 
@@ -94,7 +103,7 @@
    */
 #define LT_OBJDIR ".libs/"
 
-/* Define to hold the list of target names suitable for offloading. */
+/* Define to offload targets, separated by commas. */
 #define OFFLOAD_TARGETS ""
 
 /* Name of package */
@@ -118,6 +127,9 @@
 /* Define to the version of this package. */
 #define PACKAGE_VERSION "1.0"
 
+/* Define to 1 if the HSA plugin is built, 0 if not. */
+#define PLUGIN_HSA 0
+
 /* Define to 1 if the NVIDIA plugin is built, 0 if not. */
 #define PLUGIN_NVPTX 0
 
diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libgomp/arch/earmv4/libgomp_f.h
--- a/external/gpl3/gcc/lib/libgomp/arch/earmv4/libgomp_f.h     Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/earmv4/libgomp_f.h     Mon Feb 05 22:06:44 2018 +0000
@@ -1,8 +1,8 @@
 /* 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.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  */
 
-/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2016 Free Software Foundation, Inc.
    Contributed by Jakub Jelinek <jakub%redhat.com@localhost>.
 
    This file is part of the GNU Offloading and Multi Processing Library
diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libgomp/arch/earmv4/omp.h
--- a/external/gpl3/gcc/lib/libgomp/arch/earmv4/omp.h   Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/earmv4/omp.h   Mon Feb 05 22:06:44 2018 +0000
@@ -1,8 +1,8 @@
 /* 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.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  */
 
-/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2016 Free Software Foundation, Inc.
    Contributed by Richard Henderson <rth%redhat.com@localhost>.
 
    This file is part of the GNU Offloading and Multi Processing Library
@@ -66,6 +66,15 @@
   omp_proc_bind_spread = 4
 } omp_proc_bind_t;
 
+typedef enum omp_lock_hint_t
+{
+  omp_lock_hint_none = 0,
+  omp_lock_hint_uncontended = 1,
+  omp_lock_hint_contended = 2,
+  omp_lock_hint_nonspeculative = 4,
+  omp_lock_hint_speculative = 8,
+} omp_lock_hint_t;
+
 #ifdef __cplusplus
 extern "C" {
 # define __GOMP_NOTHROW throw ()
@@ -88,12 +97,16 @@
 extern int omp_get_nested (void) __GOMP_NOTHROW;
 
 extern void omp_init_lock (omp_lock_t *) __GOMP_NOTHROW;
+extern void omp_init_lock_with_hint (omp_lock_t *, omp_lock_hint_t)
+  __GOMP_NOTHROW;
 extern void omp_destroy_lock (omp_lock_t *) __GOMP_NOTHROW;
 extern void omp_set_lock (omp_lock_t *) __GOMP_NOTHROW;
 extern void omp_unset_lock (omp_lock_t *) __GOMP_NOTHROW;
 extern int omp_test_lock (omp_lock_t *) __GOMP_NOTHROW;
 
 extern void omp_init_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW;
+extern void omp_init_nest_lock_with_hint (omp_lock_t *, omp_lock_hint_t)
+  __GOMP_NOTHROW;
 extern void omp_destroy_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW;
 extern void omp_set_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW;
 extern void omp_unset_nest_lock (omp_nest_lock_t *) __GOMP_NOTHROW;
@@ -116,6 +129,12 @@
 
 extern int omp_get_cancellation (void) __GOMP_NOTHROW;
 extern omp_proc_bind_t omp_get_proc_bind (void) __GOMP_NOTHROW;
+extern int omp_get_num_places (void) __GOMP_NOTHROW;
+extern int omp_get_place_num_procs (int) __GOMP_NOTHROW;
+extern void omp_get_place_proc_ids (int, int *) __GOMP_NOTHROW;
+extern int omp_get_place_num (void) __GOMP_NOTHROW;
+extern int omp_get_partition_num_places (void) __GOMP_NOTHROW;
+extern void omp_get_partition_place_nums (int *) __GOMP_NOTHROW;
 
 extern void omp_set_default_device (int) __GOMP_NOTHROW;
 extern int omp_get_default_device (void) __GOMP_NOTHROW;
@@ -124,6 +143,24 @@
 extern int omp_get_team_num (void) __GOMP_NOTHROW;
 
 extern int omp_is_initial_device (void) __GOMP_NOTHROW;
+extern int omp_get_initial_device (void) __GOMP_NOTHROW;
+extern int omp_get_max_task_priority (void) __GOMP_NOTHROW;
+
+extern void *omp_target_alloc (__SIZE_TYPE__, int) __GOMP_NOTHROW;
+extern void omp_target_free (void *, int) __GOMP_NOTHROW;
+extern int omp_target_is_present (void *, int) __GOMP_NOTHROW;
+extern int omp_target_memcpy (void *, void *, __SIZE_TYPE__, __SIZE_TYPE__,
+                             __SIZE_TYPE__, int, int) __GOMP_NOTHROW;
+extern int omp_target_memcpy_rect (void *, void *, __SIZE_TYPE__, int,
+                                  const __SIZE_TYPE__ *,
+                                  const __SIZE_TYPE__ *,
+                                  const __SIZE_TYPE__ *,
+                                  const __SIZE_TYPE__ *,
+                                  const __SIZE_TYPE__ *, int, int)
+  __GOMP_NOTHROW;
+extern int omp_target_associate_ptr (void *, void *, __SIZE_TYPE__,
+                                    __SIZE_TYPE__, int) __GOMP_NOTHROW;
+extern int omp_target_disassociate_ptr (void *, int) __GOMP_NOTHROW;
 
 #ifdef __cplusplus
 }
diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libiberty/arch/earmv4/config.h
--- a/external/gpl3/gcc/lib/libiberty/arch/earmv4/config.h      Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libiberty/arch/earmv4/config.h      Mon Feb 05 22:06:44 2018 +0000
@@ -1,6 +1,6 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.87 2016/03/17 23:41:21 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.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  */
 
 /* config.h.  Generated from config.in by configure.  */
 /* config.in.  Generated from configure.ac by autoheader.  */
@@ -475,6 +475,9 @@
 /* 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 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
    toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses
diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libobjc/arch/earmv4/config.h
--- a/external/gpl3/gcc/lib/libobjc/arch/earmv4/config.h        Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libobjc/arch/earmv4/config.h        Mon Feb 05 22:06:44 2018 +0000
@@ -1,10 +1,13 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.70 2013/05/05 07:11:34 skrll Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.8 2006/05/26 19:17:21 mrg Exp  */
+/* 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  */
 
 /* config.h.  Generated from config.h.in by configure.  */
 /* config.h.in.  Generated from configure.ac by autoheader.  */
 
+/* Define if the type of bitfields effects alignment. */
+#define HAVE_BITFIELD_TYPE_MATTERS 1
+
 /* Define to 1 if the target assembler supports thread-local storage. */
 /* #undef HAVE_CC_TLS */
 
@@ -69,8 +72,5 @@
 /* Define to the version of this package. */
 #define PACKAGE_VERSION "version-unused"
 
-/* Define if the compiler is configured for setjmp/longjmp exceptions. */
-/* #undef SJLJ_EXCEPTIONS */
-
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
diff -r 29f606444a31 -r d3d2cffe3e9b external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/c++config.h
--- a/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/c++config.h        Mon Feb 05 22:04:54 2018 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/c++config.h        Mon Feb 05 22:06:44 2018 +0000
@@ -1,10 +1,10 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc.old,v 1.5 2017/10/04 21:42:20 christos Exp  */
-/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
+/* 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  */
 
 // Predefined symbols and macros -*- C++ -*-
 
-// Copyright (C) 1997-2015 Free Software Foundation, Inc.
+// Copyright (C) 1997-2016 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -35,7 +35,7 @@
 #define _GLIBCXX_CXX_CONFIG_H 1
 
 // The current version of the C++ library in compressed ISO date format.
-#define __GLIBCXX__ 20171010
+#define __GLIBCXX__ 20170704
 
 // Macros for various attributes.
 //   _GLIBCXX_PURE
@@ -119,10 +119,12 @@
 #ifndef _GLIBCXX_NOEXCEPT
 # if __cplusplus >= 201103L
 #  define _GLIBCXX_NOEXCEPT noexcept
+#  define _GLIBCXX_NOEXCEPT_IF(_COND) noexcept(_COND)
 #  define _GLIBCXX_USE_NOEXCEPT noexcept
 #  define _GLIBCXX_THROW(_EXC)
 # else
 #  define _GLIBCXX_NOEXCEPT
+#  define _GLIBCXX_NOEXCEPT_IF(_COND)
 #  define _GLIBCXX_USE_NOEXCEPT throw()
 #  define _GLIBCXX_THROW(_EXC) throw(_EXC)
 # endif
@@ -140,7 +142,7 @@
 # endif



Home | Main Index | Thread Index | Old Index