Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc RISC-V configury



details:   https://anonhg.NetBSD.org/src/rev/fb2f7ffe56b9
branches:  trunk
changeset: 332388:fb2f7ffe56b9
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Sep 19 17:23:23 2014 +0000

description:
RISC-V configury

diffstat:

 external/gpl3/gcc/lib/crtstuff/arch/riscv32.mk                        |    11 +
 external/gpl3/gcc/lib/crtstuff/arch/riscv64.mk                        |    11 +
 external/gpl3/gcc/lib/libbacktrace/arch/riscv32/backtrace-supported.h |    65 +
 external/gpl3/gcc/lib/libbacktrace/arch/riscv32/config.h              |   136 +
 external/gpl3/gcc/lib/libbacktrace/arch/riscv64/backtrace-supported.h |    65 +
 external/gpl3/gcc/lib/libbacktrace/arch/riscv64/config.h              |   136 +
 external/gpl3/gcc/lib/libgcc/arch/riscv32/auto-target.h               |    75 +
 external/gpl3/gcc/lib/libgcc/arch/riscv32/defs.mk                     |    21 +
 external/gpl3/gcc/lib/libgcc/arch/riscv64/auto-target.h               |    75 +
 external/gpl3/gcc/lib/libgcc/arch/riscv64/defs.mk                     |    21 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv32/defs.mk             |     5 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv32/gcov-iov.h          |     8 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv64/defs.mk             |     5 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/riscv64/gcov-iov.h          |     8 +
 external/gpl3/gcc/lib/libgomp/arch/riscv32/config.h                   |   140 +
 external/gpl3/gcc/lib/libgomp/arch/riscv32/libgomp.spec               |     7 +
 external/gpl3/gcc/lib/libgomp/arch/riscv32/libgomp_f.h                |    97 +
 external/gpl3/gcc/lib/libgomp/arch/riscv32/omp.h                      |   111 +
 external/gpl3/gcc/lib/libgomp/arch/riscv64/config.h                   |   140 +
 external/gpl3/gcc/lib/libgomp/arch/riscv64/libgomp.spec               |     7 +
 external/gpl3/gcc/lib/libgomp/arch/riscv64/libgomp_f.h                |    97 +
 external/gpl3/gcc/lib/libgomp/arch/riscv64/omp.h                      |   111 +
 external/gpl3/gcc/lib/libiberty/arch/riscv32/config.h                 |   504 ++
 external/gpl3/gcc/lib/libiberty/arch/riscv64/config.h                 |   504 ++
 external/gpl3/gcc/lib/libobjc/arch/riscv32/config.h                   |    76 +
 external/gpl3/gcc/lib/libobjc/arch/riscv32/defs.mk                    |    11 +
 external/gpl3/gcc/lib/libobjc/arch/riscv64/config.h                   |    76 +
 external/gpl3/gcc/lib/libobjc/arch/riscv64/defs.mk                    |    11 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/c++config.h           |  1670 ++++++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/cxxabi_tweaks.h       |    63 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/defs.mk               |    51 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/gstdint.h             |    51 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/gthr-posix.h          |   893 ++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/gthr-single.h         |   302 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/gthr.h                |   158 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/c++config.h           |  1670 ++++++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/cxxabi_tweaks.h       |    63 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/defs.mk               |    51 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/gstdint.h             |    51 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/gthr-posix.h          |   893 ++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/gthr-single.h         |   302 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/gthr.h                |   158 +
 external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/Makefile         |     7 +-
 external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/riscv32/Makefile |     6 +
 external/gpl3/gcc/lib/libstdc++-v3/include/bits/arch/riscv64/Makefile |     7 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/all-tree.def               |     5 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/auto-host.h                |  2060 ++++++++++
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/bconfig.h                  |    11 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/bversion.h                 |     8 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/config.h                   |    14 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/configargs.h               |    11 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/defs.mk                    |    60 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/gtyp-input.list            |   206 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/multilib.h                 |    24 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/plugin-version.h           |    22 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv32/tm.h                       |    36 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/all-tree.def               |     5 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/auto-host.h                |  2060 ++++++++++
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/bconfig.h                  |    11 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/bversion.h                 |     8 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/config.h                   |    14 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/configargs.h               |    11 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/defs.mk                    |    60 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/gtyp-input.list            |   206 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/multilib.h                 |    28 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/plugin-version.h           |    22 +
 external/gpl3/gcc/usr.bin/gcc/arch/riscv64/tm.h                       |    33 +
 external/gpl3/gcc/usr.bin/include/arch/riscv32.mk                     |     5 +
 external/gpl3/gcc/usr.bin/include/arch/riscv64.mk                     |     5 +
 external/gpl3/gcc/usr.bin/libcpp/arch/riscv32/config.h                |   363 +
 external/gpl3/gcc/usr.bin/libcpp/arch/riscv64/config.h                |   363 +
 external/gpl3/gcc/usr.bin/libdecnumber/arch/riscv32/config.h          |    99 +
 external/gpl3/gcc/usr.bin/libdecnumber/arch/riscv64/config.h          |    99 +
 73 files changed, 14778 insertions(+), 1 deletions(-)

diffs (truncated from 15081 to 300 lines):

diff -r 5944453656a3 -r fb2f7ffe56b9 external/gpl3/gcc/lib/crtstuff/arch/riscv32.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/arch/riscv32.mk    Fri Sep 19 17:23:23 2014 +0000
@@ -0,0 +1,11 @@
+# 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.common,v 1.11 2014/02/17 21:39:43 christos Exp 
+#
+G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I./../intl -I${GNUHOSTDIST}/gcc/../libcpp/include     -I${GNUHOSTDIST}/gcc/../libdecnumber 
-I${GNUHOSTDIST}/gcc/../libdecnumber/dpd -I../libdecnumber -I${GNUHOSTDIST}/gcc/../libbacktrace  
+G_CRTSTUFF_CFLAGS=
+G_CRTSTUFF_T_CFLAGS=
+G_CRTSTUFF_T_CFLAGS_S=
+G_tm_defines=LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 NETBSD_ENABLE_PTHREADS TARGET_64BIT_DEFAULT=0
+G_xm_file=
+G_xm_defines=
diff -r 5944453656a3 -r fb2f7ffe56b9 external/gpl3/gcc/lib/crtstuff/arch/riscv64.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/arch/riscv64.mk    Fri Sep 19 17:23:23 2014 +0000
@@ -0,0 +1,11 @@
+# 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.common,v 1.11 2014/02/17 21:39:43 christos Exp 
+#
+G_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I./../intl -I${GNUHOSTDIST}/gcc/../libcpp/include     -I${GNUHOSTDIST}/gcc/../libdecnumber 
-I${GNUHOSTDIST}/gcc/../libdecnumber/dpd -I../libdecnumber -I${GNUHOSTDIST}/gcc/../libbacktrace  
+G_CRTSTUFF_CFLAGS=
+G_CRTSTUFF_T_CFLAGS=
+G_CRTSTUFF_T_CFLAGS_S=
+G_tm_defines=LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 NETBSD_ENABLE_PTHREADS
+G_xm_file=
+G_xm_defines=
diff -r 5944453656a3 -r fb2f7ffe56b9 external/gpl3/gcc/lib/libbacktrace/arch/riscv32/backtrace-supported.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/riscv32/backtrace-supported.h     Fri Sep 19 17:23:23 2014 +0000
@@ -0,0 +1,65 @@
+/* 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.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.
+   Written by Ian Lance Taylor, Google.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    (1) Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer. 
+
+    (2) Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.  
+    
+    (3) The name of the author may not be used to
+    endorse or promote products derived from this software without
+    specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.  */
+
+/* The file backtrace-supported.h.in is used by configure to generate
+   the file backtrace-supported.h.  The file backtrace-supported.h may
+   be #include'd to see whether the backtrace library will be able to
+   get a backtrace and produce symbolic information.  */
+
+
+/* BACKTRACE_SUPPORTED will be #define'd as 1 if the backtrace library
+   should work, 0 if it will not.  Libraries may #include this to make
+   other arrangements.  */
+
+#define BACKTRACE_SUPPORTED 0
+
+/* BACKTRACE_USES_MALLOC will be #define'd as 1 if the backtrace
+   library will call malloc as it works, 0 if it will call mmap
+   instead.  This may be used to determine whether it is safe to call
+   the backtrace functions from a signal handler.  In general this
+   only applies to calls like backtrace and backtrace_pcinfo.  It does
+   not apply to backtrace_simple, which never calls malloc.  It does
+   not apply to backtrace_print, which always calls fprintf and
+   therefore malloc.  */
+
+#define BACKTRACE_USES_MALLOC 0
+
+/* BACKTRACE_SUPPORTS_THREADS will be #define'd as 1 if the backtrace
+   library is configured with threading support, 0 if not.  If this is
+   0, the threaded parameter to backtrace_create_state must be passed
+   as 0.  */
+
+#define BACKTRACE_SUPPORTS_THREADS 1
diff -r 5944453656a3 -r fb2f7ffe56b9 external/gpl3/gcc/lib/libbacktrace/arch/riscv32/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/riscv32/config.h  Fri Sep 19 17:23:23 2014 +0000
@@ -0,0 +1,136 @@
+/* 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.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
+
+/* config.h.  Generated from config.h.in by configure.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* ELF size: 32 or 64 */
+#define BACKTRACE_ELF_SIZE 32
+
+/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRNLEN 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define if dl_iterate_phdr is available. */
+#define HAVE_DL_ITERATE_PHDR 1
+
+/* Define to 1 if you have the fcntl function */
+#define HAVE_FCNTL 1
+
+/* Define if getexecname is available. */
+/* #undef HAVE_GETEXECNAME */
+
+/* Define if _Unwind_GetIPInfo is available. */
+/* #undef HAVE_GETIPINFO */
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <link.h> header file. */
+#define HAVE_LINK_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the __sync functions */
+#define HAVE_SYNC_FUNCTIONS 1
+
+/* Define to 1 if you have the <sys/mman.h> header file. */
+#define HAVE_SYS_MMAN_H 1
+
+/* 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/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "package-unused"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "package-unused version-unused"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "libbacktrace"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "version-unused"
+
+/* The size of `char', as computed by sizeof. */
+/* #undef SIZEOF_CHAR */
+
+/* The size of `int', as computed by sizeof. */
+/* #undef SIZEOF_INT */
+
+/* The size of `long', as computed by sizeof. */
+/* #undef SIZEOF_LONG */
+
+/* The size of `short', as computed by sizeof. */
+/* #undef SIZEOF_SHORT */
+
+/* The size of `void *', as computed by sizeof. */
+/* #undef SIZEOF_VOID_P */
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Enable extensions on AIX 3, Interix.  */
+#ifndef _ALL_SOURCE
+# define _ALL_SOURCE 1
+#endif
+/* Enable GNU extensions on systems that have them.  */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+/* Enable threading extensions on Solaris.  */
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS 1
+#endif
+/* Enable extensions on HP NonStop.  */
+#ifndef _TANDEM_SOURCE
+# define _TANDEM_SOURCE 1
+#endif
+/* Enable general extensions on Solaris.  */
+#ifndef __EXTENSIONS__
+# define __EXTENSIONS__ 1
+#endif
+
+
+/* Define to 1 if on MINIX. */
+/* #undef _MINIX */
+
+/* Define to 2 if the system does not provide POSIX.1 features except with
+   this defined. */
+/* #undef _POSIX_1_SOURCE */
+
+/* Define to 1 if you need to in order for `stat' and other things to work. */
+/* #undef _POSIX_SOURCE */
diff -r 5944453656a3 -r fb2f7ffe56b9 external/gpl3/gcc/lib/libbacktrace/arch/riscv64/backtrace-supported.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libbacktrace/arch/riscv64/backtrace-supported.h     Fri Sep 19 17:23:23 2014 +0000
@@ -0,0 +1,65 @@
+/* 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.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.
+   Written by Ian Lance Taylor, Google.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    (1) Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer. 
+
+    (2) Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in
+    the documentation and/or other materials provided with the
+    distribution.  
+    
+    (3) The name of the author may not be used to
+    endorse or promote products derived from this software without
+    specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.  */
+
+/* The file backtrace-supported.h.in is used by configure to generate
+   the file backtrace-supported.h.  The file backtrace-supported.h may
+   be #include'd to see whether the backtrace library will be able to
+   get a backtrace and produce symbolic information.  */
+
+
+/* BACKTRACE_SUPPORTED will be #define'd as 1 if the backtrace library
+   should work, 0 if it will not.  Libraries may #include this to make
+   other arrangements.  */
+
+#define BACKTRACE_SUPPORTED 0
+
+/* BACKTRACE_USES_MALLOC will be #define'd as 1 if the backtrace
+   library will call malloc as it works, 0 if it will call mmap
+   instead.  This may be used to determine whether it is safe to call
+   the backtrace functions from a signal handler.  In general this
+   only applies to calls like backtrace and backtrace_pcinfo.  It does
+   not apply to backtrace_simple, which never calls malloc.  It does
+   not apply to backtrace_print, which always calls fprintf and
+   therefore malloc.  */
+



Home | Main Index | Thread Index | Old Index