Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc Initial run of gcc mknative for earmeb



details:   https://anonhg.NetBSD.org/src/rev/d5059c478a46
branches:  trunk
changeset: 786149:d5059c478a46
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Apr 17 08:55:12 2013 +0000

description:
Initial run of gcc mknative for earmeb

diffstat:

 external/gpl3/gcc/lib/crtstuff/arch/earmeb.mk                  |    11 +
 external/gpl3/gcc/lib/libgcc/arch/earmeb.mk                    |    24 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/defs.mk       |     5 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/gcov-iov.h    |     8 +
 external/gpl3/gcc/lib/libgomp/arch/earmeb/config.h             |   136 +
 external/gpl3/gcc/lib/libgomp/arch/earmeb/libgomp.spec         |     7 +
 external/gpl3/gcc/lib/libgomp/arch/earmeb/libgomp_f.h          |    97 +
 external/gpl3/gcc/lib/libgomp/arch/earmeb/omp.h                |   109 +
 external/gpl3/gcc/lib/libiberty/arch/earmeb/config.h           |   480 ++
 external/gpl3/gcc/lib/libobjc/arch/earmeb/config.h             |    73 +
 external/gpl3/gcc/lib/libobjc/arch/earmeb/defs.mk              |    10 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/c++allocator.h  |    41 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/c++config.h     |  1507 +++++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/config.h        |  1127 +++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/cxxabi_tweaks.h |    85 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/defs.mk         |    34 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gstdint.h       |    51 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gthr-default.h  |   872 ++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gthr-posix.h    |   872 ++++
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gthr-single.h   |   296 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gthr-tpf.h      |   233 +
 external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/gthr.h          |   177 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/all-tree.def         |     5 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/auto-host.h          |  1915 ++++++++++
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/bconfig.h            |    11 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/bversion.h           |     8 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/config.h             |    14 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h         |    11 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/defs.mk              |    52 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/gthr-default.h       |     5 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/gtyp-input.list      |   189 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/insn-modes.h         |   155 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/multilib.h           |    20 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/plugin-version.h     |    17 +
 external/gpl3/gcc/usr.bin/gcc/arch/earmeb/tm.h                 |    32 +
 external/gpl3/gcc/usr.bin/libcpp/arch/earmeb/config.h          |   290 +
 external/gpl3/gcc/usr.bin/libdecnumber/arch/earmeb/config.h    |    99 +
 37 files changed, 9078 insertions(+), 0 deletions(-)

diffs (truncated from 9226 to 300 lines):

diff -r 2a42806a3353 -r d5059c478a46 external/gpl3/gcc/lib/crtstuff/arch/earmeb.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/arch/earmeb.mk     Wed Apr 17 08:55:12 2013 +0000
@@ -0,0 +1,11 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: mknative-gcc,v 1.68 2012/09/25 06:55:10 skrll Exp 
+# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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/usr/include/libelf
+G_CRTSTUFF_CFLAGS=-O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -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/usr/include/libelf  -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize 
+G_CRTSTUFF_T_CFLAGS=
+G_CRTSTUFF_T_CFLAGS_S= -fPIC
+G_tm_defines=NETBSD_ENABLE_PTHREADS TARGET_BIG_ENDIAN_DEFAULT=1
+G_xm_file=
+G_xm_defines=
diff -r 2a42806a3353 -r d5059c478a46 external/gpl3/gcc/lib/libgcc/arch/earmeb.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/earmeb.mk       Wed Apr 17 08:55:12 2013 +0000
@@ -0,0 +1,24 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: mknative-gcc,v 1.68 2012/09/25 06:55:10 skrll Exp 
+# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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/usr/include/libelf
+G_LIB2ADD=${GNUHOSTDIST}/gcc/config/arm/bpabi-netbsd.c ${GNUHOSTDIST}/gcc/config/arm/unaligned-funcs.c
+G_LIB2ADDEH=${GNUHOSTDIST}/gcc/config/arm/unwind-arm.c ${GNUHOSTDIST}/gcc/config/arm/libunwind.S ${GNUHOSTDIST}/gcc/config/arm/pr-support.c ${GNUHOSTDIST}/gcc/unwind-c.c
+G_LIB2ADD_ST=
+G_LIB1ASMFUNCS=_thumb1_case_sqi _thumb1_case_uqi _thumb1_case_shi _thumb1_case_uhi _thumb1_case_si _aeabi_lcmp _aeabi_ulcmp _aeabi_ldivmod _aeabi_uldivmod
+G_LIB1ASMSRC=arm/lib1funcs.asm
+G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
+G_LIB2FUNCS_ST=_eprintf __gcc_bcmp
+G_LIB2FUNCS_EXTRA=${GNUHOSTDIST}/gcc/config/arm/bpabi-netbsd.c ${GNUHOSTDIST}/gcc/config/arm/unaligned-funcs.c
+G_LIBGCC2_CFLAGS=-O2   -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 
-D__GCC_FLOAT_NOT_NEEDED 
+G_SHLIB_MKMAP=${GNUHOSTDIST}/gcc/mkmap-symver.awk
+G_SHLIB_MKMAP_OPTS=
+G_SHLIB_MAPFILES=${GNUHOSTDIST}/gcc/libgcc-std.ver ${GNUHOSTDIST}/gcc/config/arm/libgcc-bpabi.ver
+G_SHLIB_NM_FLAGS=-pg
+G_EXTRA_HEADERS=${GNUHOSTDIST}/gcc/config/arm/mmintrin.h ${GNUHOSTDIST}/gcc/config/arm/arm_neon.h ${GNUHOSTDIST}/gcc/ginclude/tgmath.h
+G_xm_defines=
+G_tm_defines=NETBSD_ENABLE_PTHREADS TARGET_BIG_ENDIAN_DEFAULT=1
+G_COLLECT2=collect2
+G_UNWIND_H=${GNUHOSTDIST}/gcc/config/arm/unwind-arm.h 
+G_xm_include_list=auto-host.h ansidecl.h
diff -r 2a42806a3353 -r d5059c478a46 external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/defs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/defs.mk  Wed Apr 17 08:55:12 2013 +0000
@@ -0,0 +1,5 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: mknative-gcc,v 1.68 2012/09/25 06:55:10 skrll Exp 
+# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp 
+#
+G_LIBGCOV=_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta _gcov_fork _gcov_execl _gcov_execlp _gcov_execle _gcov_execv _gcov_execvp _gcov_execve _gcov_interval_profiler 
_gcov_pow2_profiler _gcov_one_value_profiler _gcov_indirect_call_profiler _gcov_average_profiler _gcov_ior_profiler _gcov_merge_ior
diff -r 2a42806a3353 -r d5059c478a46 external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/gcov-iov.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/gcov-iov.h       Wed Apr 17 08:55:12 2013 +0000
@@ -0,0 +1,8 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.68 2012/09/25 06:55:10 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+
+/* Generated automatically by the program `build/gcov-iov'
+   from `4.5.4 (4 5) and  (*)'.  */
+
+#define GCOV_VERSION ((gcov_unsigned_t)0x3430352a)  /* 405* */
diff -r 2a42806a3353 -r d5059c478a46 external/gpl3/gcc/lib/libgomp/arch/earmeb/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/earmeb/config.h        Wed Apr 17 08:55:12 2013 +0000
@@ -0,0 +1,136 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.68 2012/09/25 06:55:10 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+
+/* config.h.  Generated from config.h.in by configure.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if the target assembler supports .symver directive. */
+#define HAVE_AS_SYMVER_DIRECTIVE 1
+
+/* Define to 1 if the target supports __attribute__((alias(...))). */
+#define HAVE_ATTRIBUTE_ALIAS 1
+
+/* Define to 1 if the target supports __attribute__((dllexport)). */
+/* #undef HAVE_ATTRIBUTE_DLLEXPORT */
+
+/* Define to 1 if the target supports __attribute__((visibility(...))). */
+#define HAVE_ATTRIBUTE_VISIBILITY 1
+
+/* Define if the POSIX Semaphores do not work on your system. */
+/* #undef HAVE_BROKEN_POSIX_SEMAPHORES */
+
+/* Define to 1 if the target assembler supports thread-local storage. */
+/* #undef HAVE_CC_TLS */
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#define HAVE_CLOCK_GETTIME 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the `getloadavg' function. */
+#define HAVE_GETLOADAVG 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define if pthread_{,attr_}{g,s}etaffinity_np is supported. */
+/* #undef HAVE_PTHREAD_AFFINITY_NP */
+
+/* Define to 1 if you have the <semaphore.h> header file. */
+#define HAVE_SEMAPHORE_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 `strtoull' function. */
+#define HAVE_STRTOULL 1
+
+/* Define to 1 if the target supports __sync_*_compare_and_swap */
+/* #undef HAVE_SYNC_BUILTINS */
+
+/* Define to 1 if you have the <sys/loadavg.h> header file. */
+/* #undef HAVE_SYS_LOADAVG_H */
+
+/* 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/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if the target supports thread-local storage. */
+#define HAVE_TLS 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to 1 if GNU symbol versioning is used for libgomp. */
+/* #undef LIBGOMP_GNU_SYMBOL_VERSIONING */
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "libgomp"
+
+/* 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 "GNU OpenMP Runtime Library"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "libgomp"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL "http://www.gnu.org/software/libgomp/";
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "1.0"
+
+/* 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
+
+/* Define if you can safely include both <string.h> and <strings.h>. */
+#define STRING_WITH_STRINGS 1
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Version number of package */
+#define VERSION "1.0"
diff -r 2a42806a3353 -r d5059c478a46 external/gpl3/gcc/lib/libgomp/arch/earmeb/libgomp.spec
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/earmeb/libgomp.spec    Wed Apr 17 08:55:12 2013 +0000
@@ -0,0 +1,7 @@
+# This file is automatically generated.  DO NOT EDIT!
+# Generated from:      NetBSD: mknative-gcc,v 1.68 2012/09/25 06:55:10 skrll Exp 
+# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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.
+*link_gomp: -lgomp %{static: -lintl}
diff -r 2a42806a3353 -r d5059c478a46 external/gpl3/gcc/lib/libgomp/arch/earmeb/libgomp_f.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/earmeb/libgomp_f.h     Wed Apr 17 08:55:12 2013 +0000
@@ -0,0 +1,97 @@
+/* This file is automatically generated.  DO NOT EDIT! */
+/* Generated from:     NetBSD: mknative-gcc,v 1.68 2012/09/25 06:55:10 skrll Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp  */
+
+/* Copyright (C) 2005, 2008, 2009 Free Software Foundation, Inc.
+   Contributed by Jakub Jelinek <jakub%redhat.com@localhost>.
+
+   This file is part of the GNU OpenMP 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
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
+
+   Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
+   WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+   FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+   more details.
+
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
+   You should have received a copy of the GNU General Public License and
+   a copy of the GCC Runtime Library Exception along with this program;
+   see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
+   <http://www.gnu.org/licenses/>.  */
+
+/* This file contains prototypes of functions in the external ABI.
+   This file is included by files in the testsuite.  */
+
+#ifndef LIBGOMP_F_H
+#define LIBGOMP_F_H 1
+
+#include "libgomp.h"
+
+#if (4 == 4) \
+    && (4 <= 4)
+# define OMP_LOCK_DIRECT
+typedef omp_lock_t *omp_lock_arg_t;
+# define omp_lock_arg(arg) (arg)
+#else
+typedef union { omp_lock_t *lock; uint64_t u; } *omp_lock_arg_t;
+# define omp_lock_arg(arg) ((arg)->lock)
+# endif
+
+#if (12 == 8) \
+    && (4 <= 12)
+# define OMP_NEST_LOCK_DIRECT
+typedef omp_nest_lock_t *omp_nest_lock_arg_t;
+# define omp_nest_lock_arg(arg) (arg)
+#else
+typedef union { omp_nest_lock_t *lock; uint64_t u; } *omp_nest_lock_arg_t;
+# define omp_nest_lock_arg(arg) ((arg)->lock)
+# endif
+
+#if (28 == 8) \
+    && (4 <= 28)
+# define OMP_LOCK_25_DIRECT
+typedef omp_lock_25_t *omp_lock_25_arg_t;
+# define omp_lock_25_arg(arg) (arg)
+#else
+typedef union { omp_lock_25_t *lock; uint64_t u; } *omp_lock_25_arg_t;
+# define omp_lock_25_arg(arg) ((arg)->lock)
+# endif
+
+#if (32 == 8) \
+    && (4 <= 32)
+# define OMP_NEST_LOCK_25_DIRECT
+typedef omp_nest_lock_25_t *omp_nest_lock_25_arg_t;
+# define omp_nest_lock_25_arg(arg) (arg)
+#else
+typedef union { omp_nest_lock_25_t *lock; uint64_t u; } *omp_nest_lock_25_arg_t;
+# define omp_nest_lock_25_arg(arg) ((arg)->lock)
+# endif
+
+static inline void
+omp_check_defines (void)
+{
+  char test[(4 != sizeof (omp_lock_t)
+            || 4 != __alignof (omp_lock_t)



Home | Main Index | Thread Index | Old Index