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 powerpc64.
details: https://anonhg.NetBSD.org/src/rev/e34fad565a2f
branches: trunk
changeset: 770674:e34fad565a2f
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Oct 29 09:21:31 2011 +0000
description:
mknative-gcc for powerpc64.
diffstat:
external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk | 10 +
external/gpl3/gcc/lib/libgcc/arch/powerpc64.mk | 24 +
external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk | 5 +
external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h | 8 +
external/gpl3/gcc/lib/libgomp/arch/powerpc64/config.h | 136 +
external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp.spec | 7 +
external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp_f.h | 97 +
external/gpl3/gcc/lib/libgomp/arch/powerpc64/omp.h | 109 +
external/gpl3/gcc/lib/libiberty/arch/powerpc64/config.h | 480 ++
external/gpl3/gcc/lib/libobjc/arch/powerpc64/config.h | 73 +
external/gpl3/gcc/lib/libobjc/arch/powerpc64/defs.mk | 10 +
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/c++allocator.h | 41 +
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/c++config.h | 1507 +++++++
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/config.h | 1127 +++++
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/cxxabi_tweaks.h | 62 +
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/defs.mk | 34 +
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gstdint.h | 51 +
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-default.h | 872 ++++
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-posix.h | 872 ++++
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-single.h | 296 +
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-tpf.h | 233 +
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr.h | 177 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/all-tree.def | 5 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h | 1915 ++++++++++
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/bconfig.h | 11 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/bversion.h | 8 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/config.h | 14 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h | 11 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk | 52 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/gthr-default.h | 5 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/gtyp-input.list | 192 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/multilib.h | 30 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/plugin-version.h | 17 +
external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.h | 31 +
external/gpl3/gcc/usr.bin/libcpp/arch/powerpc64/config.h | 290 +
external/gpl3/gcc/usr.bin/libdecnumber/arch/powerpc64/config.h | 99 +
36 files changed, 8911 insertions(+), 0 deletions(-)
diffs (truncated from 9055 to 300 lines):
diff -r 2b7091699281 -r e34fad565a2f external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk Sat Oct 29 09:21:31 2011 +0000
@@ -0,0 +1,10 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt 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_tm_defines=NETBSD_ENABLE_PTHREADS
+G_xm_file=
+G_xm_defines=
diff -r 2b7091699281 -r e34fad565a2f external/gpl3/gcc/lib/libgcc/arch/powerpc64.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/powerpc64.mk Sat Oct 29 09:21:31 2011 +0000
@@ -0,0 +1,24 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt 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/rs6000/tramp.asm ${GNUHOSTDIST}/gcc/config/rs6000/ppc64-fp.c ${GNUHOSTDIST}/gcc/config/rs6000/darwin-ldouble.c
+G_LIB2ADDEH=${GNUHOSTDIST}/gcc/unwind-dw2.c ${GNUHOSTDIST}/gcc/unwind-dw2-fde-glibc.c ${GNUHOSTDIST}/gcc/unwind-sjlj.c ${GNUHOSTDIST}/gcc/gthr-gnat.c ${GNUHOSTDIST}/gcc/unwind-c.c
+G_LIB2ADD_ST=
+G_LIB1ASMFUNCS=
+G_LIB1ASMSRC=
+G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
+G_LIB2FUNCS_ST=_eprintf __gcc_bcmp
+G_LIB2FUNCS_EXTRA=${GNUHOSTDIST}/gcc/config/rs6000/tramp.asm ${GNUHOSTDIST}/gcc/config/rs6000/ppc64-fp.c ${GNUHOSTDIST}/gcc/config/rs6000/darwin-ldouble.c
+G_LIBGCC2_CFLAGS=-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mno-minimal-toc -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
+G_SHLIB_NM_FLAGS=-pg
+G_EXTRA_HEADERS=${GNUHOSTDIST}/gcc/config/rs6000/ppc-asm.h ${GNUHOSTDIST}/gcc/config/rs6000/altivec.h ${GNUHOSTDIST}/gcc/config/rs6000/spe.h ${GNUHOSTDIST}/gcc/config/rs6000/ppu_intrinsics.h
${GNUHOSTDIST}/gcc/config/rs6000/paired.h ${GNUHOSTDIST}/gcc/config/rs6000/spu2vmx.h ${GNUHOSTDIST}/gcc/config/rs6000/vec_types.h ${GNUHOSTDIST}/gcc/config/rs6000/si2vmx.h
${GNUHOSTDIST}/gcc/ginclude/tgmath.h
+G_xm_defines=
+G_tm_defines=NETBSD_ENABLE_PTHREADS
+G_COLLECT2=collect2
+G_UNWIND_H=${GNUHOSTDIST}/gcc/unwind-generic.h
+G_xm_include_list=auto-host.h ansidecl.h
diff -r 2b7091699281 -r e34fad565a2f external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk Sat Oct 29 09:21:31 2011 +0000
@@ -0,0 +1,5 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt 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 2b7091699281 -r e34fad565a2f external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h Sat Oct 29 09:21:31 2011 +0000
@@ -0,0 +1,8 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt 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.3 (4 5) and (*)'. */
+
+#define GCOV_VERSION ((gcov_unsigned_t)0x3430352a) /* 405* */
diff -r 2b7091699281 -r e34fad565a2f external/gpl3/gcc/lib/libgomp/arch/powerpc64/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/powerpc64/config.h Sat Oct 29 09:21:31 2011 +0000
@@ -0,0 +1,136 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt 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 */
+#define HAVE_SYNC_BUILTINS 1
+
+/* 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 2b7091699281 -r e34fad565a2f external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp.spec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp.spec Sat Oct 29 09:21:31 2011 +0000
@@ -0,0 +1,7 @@
+# This file is automatically generated. DO NOT EDIT!
+# Generated from: NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt 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 2b7091699281 -r e34fad565a2f external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp_f.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp_f.h Sat Oct 29 09:21:31 2011 +0000
@@ -0,0 +1,97 @@
+/* This file is automatically generated. DO NOT EDIT! */
+/* Generated from: NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt 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 (8 == 8) \
+ && (8 <= 8)
+# 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 (24 == 8) \
+ && (8 <= 24)
+# 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 (48 == 8) \
+ && (8 <= 48)
+# 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 (56 == 8) \
+ && (8 <= 56)
+# 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[(8 != sizeof (omp_lock_t)
+ || 8 != __alignof (omp_lock_t)
+ || 24 != sizeof (omp_nest_lock_t)
Home |
Main Index |
Thread Index |
Old Index