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 for GCC 5.3 and mipsel.



details:   https://anonhg.NetBSD.org/src/rev/61e31686c296
branches:  trunk
changeset: 344314:61e31686c296
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Mar 22 04:50:50 2016 +0000

description:
mknative-gcc for GCC 5.3 and mipsel.

diffstat:

 external/gpl3/gcc/lib/libbacktrace/arch/mipsel/backtrace-supported.h |    4 +-
 external/gpl3/gcc/lib/libbacktrace/arch/mipsel/config.h              |    5 +-
 external/gpl3/gcc/lib/libgcc/arch/mipsel/defs.mk                     |    2 +-
 external/gpl3/gcc/lib/libgomp/arch/mipsel/config.h                   |   21 +-
 external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp.spec               |    6 +-
 external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp_f.h                |    9 +-
 external/gpl3/gcc/lib/libgomp/arch/mipsel/omp.h                      |   55 +++-
 external/gpl3/gcc/lib/libiberty/arch/mipsel/config.h                 |   33 ++-
 external/gpl3/gcc/lib/libobjc/arch/mipsel/defs.mk                    |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/c++config.h           |  126 +++++++++-
 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/cxxabi_tweaks.h       |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/defs.mk               |   27 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/gstdint.h             |    4 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/gthr-posix.h          |    6 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/gthr-single.h         |    8 +-
 external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/gthr.h                |    6 +-
 external/gpl3/gcc/usr.bin/gcc/arch/mipsel/auto-host.h                |   10 +-
 external/gpl3/gcc/usr.bin/gcc/arch/mipsel/bversion.h                 |    8 +-
 external/gpl3/gcc/usr.bin/gcc/arch/mipsel/configargs.h               |    4 +-
 external/gpl3/gcc/usr.bin/gcc/arch/mipsel/defs.mk                    |   33 +-
 external/gpl3/gcc/usr.bin/gcc/arch/mipsel/gtyp-input.list            |   30 +-
 external/gpl3/gcc/usr.bin/gcc/arch/mipsel/plugin-version.h           |   12 +-
 external/gpl3/gcc/usr.bin/libcpp/arch/mipsel/config.h                |   17 +-
 23 files changed, 317 insertions(+), 121 deletions(-)

diffs (truncated from 1097 to 300 lines):

diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libbacktrace/arch/mipsel/backtrace-supported.h
--- a/external/gpl3/gcc/lib/libbacktrace/arch/mipsel/backtrace-supported.h      Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/mipsel/backtrace-supported.h      Tue Mar 22 04:50:50 2016 +0000
@@ -1,9 +1,9 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* 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  */
 
 /* backtrace-supported.h.in -- Whether stack backtrace is supported.
-   Copyright (C) 2012-2013 Free Software Foundation, Inc.
+   Copyright (C) 2012-2015 Free Software Foundation, Inc.
    Written by Ian Lance Taylor, Google.
 
 Redistribution and use in source and binary forms, with or without
diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libbacktrace/arch/mipsel/config.h
--- a/external/gpl3/gcc/lib/libbacktrace/arch/mipsel/config.h   Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/mipsel/config.h   Tue Mar 22 04:50:50 2016 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* 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  */
 
 /* config.h.  Generated from config.h.in by configure.  */
@@ -8,6 +8,9 @@
 /* ELF size: 32 or 64 */
 #define BACKTRACE_ELF_SIZE 32
 
+/* Define to 1 if you have the __atomic functions */
+#define HAVE_ATOMIC_FUNCTIONS 1
+
 /* Define to 1 if you have the declaration of `strnlen', and to 0 if you
    don't. */
 #define HAVE_DECL_STRNLEN 1
diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libgcc/arch/mipsel/defs.mk
--- a/external/gpl3/gcc/lib/libgcc/arch/mipsel/defs.mk  Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/mipsel/defs.mk  Tue Mar 22 04:50:50 2016 +0000
@@ -11,7 +11,7 @@
 G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
 G_LIB2FUNCS_ST=_eprintf __gcc_bcmp
 G_LIB2FUNCS_EXTRA=
-G_LIBGCC2_CFLAGS=-O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -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 
+G_LIBGCC2_CFLAGS=-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 
 G_SHLIB_MKMAP=${GNUHOSTDIST}/libgcc/mkmap-symver.awk
 G_SHLIB_MKMAP_OPTS=
 G_SHLIB_MAPFILES=libgcc-std.ver
diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libgomp/arch/mipsel/config.h
--- a/external/gpl3/gcc/lib/libgomp/arch/mipsel/config.h        Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/mipsel/config.h        Tue Mar 22 04:50:50 2016 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.78 2014/03/02 04:58:20 mrg Exp  */
+/* 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  */
 
 /* config.h.  Generated from config.h.in by configure.  */
@@ -35,6 +35,9 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1
 
+/* Define to 1 if you have the `dl' library (-ldl). */
+/* #undef HAVE_LIBDL */
+
 /* Define to 1 if you have the <memory.h> header file. */
 #define HAVE_MEMORY_H 1
 
@@ -91,6 +94,9 @@
    */
 #define LT_OBJDIR ".libs/"
 
+/* Define to hold the list of target names suitable for offloading. */
+#define OFFLOAD_TARGETS ""
+
 /* Name of package */
 #define PACKAGE "libgomp"
 
@@ -98,10 +104,10 @@
 #define PACKAGE_BUGREPORT ""
 
 /* Define to the full name of this package. */
-#define PACKAGE_NAME "GNU OpenMP Runtime Library"
+#define PACKAGE_NAME "GNU Offloading and Multi Processing Runtime Library"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
+#define PACKAGE_STRING "GNU Offloading and Multi Processing Runtime Library 1.0"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "libgomp"
@@ -112,6 +118,12 @@
 /* Define to the version of this package. */
 #define PACKAGE_VERSION "1.0"
 
+/* Define to 1 if the NVIDIA plugin is built, 0 if not. */
+#define PLUGIN_NVPTX 0
+
+/* Define if all infrastructure, needed for plugins, is supported. */
+/* #undef PLUGIN_SUPPORT */
+
 /* The size of `char', as computed by sizeof. */
 /* #undef SIZEOF_CHAR */
 
@@ -136,5 +148,8 @@
 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
 #define TIME_WITH_SYS_TIME 1
 
+/* Define to 1 if the target use emutls for thread-local storage. */
+/* #undef USE_EMUTLS */
+
 /* Version number of package */
 #define VERSION "1.0"
diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp.spec
--- a/external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp.spec    Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp.spec    Tue Mar 22 04:50:50 2016 +0000
@@ -1,7 +1,7 @@
 # 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.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 
 #
 # This spec file is read by gcc when linking.  It is used to specify the
-# standard libraries we need in order to link with -fopenmp.
+# standard libraries we need in order to link with libgomp.
 *link_gomp: -lgomp %{static: }
diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp_f.h
--- a/external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp_f.h     Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/mipsel/libgomp_f.h     Tue Mar 22 04:50:50 2016 +0000
@@ -1,11 +1,12 @@
 /* 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.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  */
 
-/* Copyright (C) 2005-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
    Contributed by Jakub Jelinek <jakub%redhat.com@localhost>.
 
-   This file is part of the GNU OpenMP Library (libgomp).
+   This file is part of the GNU Offloading and Multi Processing Library
+   (libgomp).
 
    Libgomp is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by
diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libgomp/arch/mipsel/omp.h
--- a/external/gpl3/gcc/lib/libgomp/arch/mipsel/omp.h   Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/mipsel/omp.h   Tue Mar 22 04:50:50 2016 +0000
@@ -1,11 +1,12 @@
 /* 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.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  */
 
-/* Copyright (C) 2005-2013 Free Software Foundation, Inc.
+/* Copyright (C) 2005-2015 Free Software Foundation, Inc.
    Contributed by Richard Henderson <rth%redhat.com@localhost>.
 
-   This file is part of the GNU OpenMP Library (libgomp).
+   This file is part of the GNU Offloading and Multi Processing Library
+   (libgomp).
 
    Libgomp is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by
@@ -26,8 +27,8 @@
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef OMP_H
-#define OMP_H 1
+#ifndef _OMP_H
+#define _OMP_H 1
 
 #ifndef _LIBGOMP_OMP_LOCK_DEFINED
 #define _LIBGOMP_OMP_LOCK_DEFINED 1
@@ -56,6 +57,15 @@
   omp_sched_auto = 4
 } omp_sched_t;
 
+typedef enum omp_proc_bind_t
+{
+  omp_proc_bind_false = 0,
+  omp_proc_bind_true = 1,
+  omp_proc_bind_master = 2,
+  omp_proc_bind_close = 3,
+  omp_proc_bind_spread = 4
+} omp_proc_bind_t;
+
 #ifdef __cplusplus
 extern "C" {
 # define __GOMP_NOTHROW throw ()
@@ -92,20 +102,31 @@
 extern double omp_get_wtime (void) __GOMP_NOTHROW;
 extern double omp_get_wtick (void) __GOMP_NOTHROW;
 
-void omp_set_schedule (omp_sched_t, int) __GOMP_NOTHROW;
-void omp_get_schedule (omp_sched_t *, int *) __GOMP_NOTHROW;
-int omp_get_thread_limit (void) __GOMP_NOTHROW;
-void omp_set_max_active_levels (int) __GOMP_NOTHROW;
-int omp_get_max_active_levels (void) __GOMP_NOTHROW;
-int omp_get_level (void) __GOMP_NOTHROW;
-int omp_get_ancestor_thread_num (int) __GOMP_NOTHROW;
-int omp_get_team_size (int) __GOMP_NOTHROW;
-int omp_get_active_level (void) __GOMP_NOTHROW;
+extern void omp_set_schedule (omp_sched_t, int) __GOMP_NOTHROW;
+extern void omp_get_schedule (omp_sched_t *, int *) __GOMP_NOTHROW;
+extern int omp_get_thread_limit (void) __GOMP_NOTHROW;
+extern void omp_set_max_active_levels (int) __GOMP_NOTHROW;
+extern int omp_get_max_active_levels (void) __GOMP_NOTHROW;
+extern int omp_get_level (void) __GOMP_NOTHROW;
+extern int omp_get_ancestor_thread_num (int) __GOMP_NOTHROW;
+extern int omp_get_team_size (int) __GOMP_NOTHROW;
+extern int omp_get_active_level (void) __GOMP_NOTHROW;
 
-int omp_in_final (void) __GOMP_NOTHROW;
+extern int omp_in_final (void) __GOMP_NOTHROW;
+
+extern int omp_get_cancellation (void) __GOMP_NOTHROW;
+extern omp_proc_bind_t omp_get_proc_bind (void) __GOMP_NOTHROW;
+
+extern void omp_set_default_device (int) __GOMP_NOTHROW;
+extern int omp_get_default_device (void) __GOMP_NOTHROW;
+extern int omp_get_num_devices (void) __GOMP_NOTHROW;
+extern int omp_get_num_teams (void) __GOMP_NOTHROW;
+extern int omp_get_team_num (void) __GOMP_NOTHROW;
+
+extern int omp_is_initial_device (void) __GOMP_NOTHROW;
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* OMP_H */
+#endif /* _OMP_H */
diff -r cf695b272b97 -r 61e31686c296 external/gpl3/gcc/lib/libiberty/arch/mipsel/config.h
--- a/external/gpl3/gcc/lib/libiberty/arch/mipsel/config.h      Tue Mar 22 04:48:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libiberty/arch/mipsel/config.h      Tue Mar 22 04:50:50 2016 +0000
@@ -1,5 +1,5 @@
 /* This file is automatically generated.  DO NOT EDIT! */
-/* Generated from: NetBSD: mknative-gcc,v 1.79 2014/05/29 16:27:50 skrll Exp  */
+/* 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  */
 
 /* config.h.  Generated from config.in by configure.  */
@@ -84,6 +84,22 @@
    don't. */
 #define HAVE_DECL_SNPRINTF 1
 
+/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
+   */
+#define HAVE_DECL_STRTOL 1
+
+/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRTOLL 1
+
+/* Define to 1 if you have the declaration of `strtoul', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRTOUL 1
+
+/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRTOULL 1
+
 /* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
    don't. */
 #define HAVE_DECL_STRVERSCMP 0
@@ -141,6 +157,9 @@
 /* Define to 1 if you have the <limits.h> header file. */
 #define HAVE_LIMITS_H 1
 
+/* Define if you have the `long long' type. */
+#define HAVE_LONG_LONG 1
+
 /* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */
 /* #undef HAVE_MACHINE_HAL_SYSINFO_H */
 
@@ -285,9 +304,15 @@
 /* Define to 1 if you have the `strtol' function. */
 #define HAVE_STRTOL 1
 
+/* Define to 1 if you have the `strtoll' function. */
+#define HAVE_STRTOLL 1
+
 /* Define to 1 if you have the `strtoul' function. */
 #define HAVE_STRTOUL 1
 
+/* Define to 1 if you have the `strtoull' function. */
+#define HAVE_STRTOULL 1
+
 /* Define to 1 if you have the `strverscmp' function. */
 /* #undef HAVE_STRVERSCMP */
 
@@ -444,6 +469,12 @@
 /* The size of `int', as computed by sizeof. */
 #define SIZEOF_INT 4
 
+/* The size of `long', as computed by sizeof. */



Home | Main Index | Thread Index | Old Index