Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc partial mknative-gcc for gcc 4.8 and ppc64.



details:   https://anonhg.NetBSD.org/src/rev/8b2733b77fc5
branches:  trunk
changeset: 794067:8b2733b77fc5
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Mar 04 21:07:38 2014 +0000

description:
partial mknative-gcc for gcc 4.8 and ppc64.

diffstat:

 external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk               |   11 +-
 external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h      |   75 ++
 external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk            |   21 +
 external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk    |    6 +-
 external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h |    8 +-
 external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h       |  269 +++++++--
 external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.h              |   23 +-
 7 files changed, 332 insertions(+), 81 deletions(-)

diffs (truncated from 763 to 300 lines):

diff -r 0ea10f51c5c3 -r 8b2733b77fc5 external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk
--- a/external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk  Tue Mar 04 21:07:22 2014 +0000
+++ b/external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk  Tue Mar 04 21:07:38 2014 +0000
@@ -1,10 +1,11 @@
 # 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 from: NetBSD: mknative-gcc,v 1.78 2014/03/02 04:58:20 mrg 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/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_INCLUDES=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -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_tm_defines=NETBSD_ENABLE_PTHREADS
+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 0ea10f51c5c3 -r 8b2733b77fc5 external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h Tue Mar 04 21:07:38 2014 +0000
@@ -0,0 +1,75 @@
+/* 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.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
+
+/* auto-target.h.  Generated from config.in by configure.  */
+/* config.in.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if the target assembler supports thread-local storage. */
+/* #undef HAVE_CC_TLS */
+
+/* Define if _Unwind_GetIPInfo is available. */
+#define HAVE_GETIPINFO 1
+
+/* Define if the compiler supports init priority. */
+#define HAVE_INIT_PRIORITY 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+/* #undef HAVE_INTTYPES_H */
+
+/* Define to 1 if you have the <memory.h> header file. */
+/* #undef HAVE_MEMORY_H */
+
+/* Define to 1 if you have the <stdint.h> header file. */
+/* #undef HAVE_STDINT_H */
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+/* #undef HAVE_STDLIB_H */
+
+/* Define to 1 if you have the <strings.h> header file. */
+/* #undef HAVE_STRINGS_H */
+
+/* Define to 1 if you have the <string.h> header file. */
+/* #undef HAVE_STRING_H */
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+/* #undef HAVE_SYS_STAT_H */
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+/* #undef HAVE_SYS_TYPES_H */
+
+/* Define to 1 if you have the <unistd.h> header file. */
+/* #undef HAVE_UNISTD_H */
+
+/* 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 ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "GNU C Runtime Library"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "GNU C Runtime Library 1.0"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "libgcc"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "1.0"
+
+/* The size of `double', as computed by sizeof. */
+#define SIZEOF_DOUBLE 8
+
+/* The size of `long double', as computed by sizeof. */
+#define SIZEOF_LONG_DOUBLE 16
+
+/* Define to 1 if you have the ANSI C header files. */
+/* #undef STDC_HEADERS */
+
+/* Define to 1 if the target use emutls for thread-local storage. */
+/* #undef USE_EMUTLS */
diff -r 0ea10f51c5c3 -r 8b2733b77fc5 external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk       Tue Mar 04 21:07:38 2014 +0000
@@ -0,0 +1,21 @@
+# 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.common,v 1.11 2014/02/17 21:39:43 christos Exp 
+#
+G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include 
+G_LIB2ADD=${GNUHOSTDIST}/libgcc/config/rs6000/tramp.S enable-execute-stack.c
+G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/unwind-dw2.c ${GNUHOSTDIST}/libgcc/unwind-dw2-fde-dip.c ${GNUHOSTDIST}/libgcc/unwind-sjlj.c ${GNUHOSTDIST}/libgcc/unwind-c.c ${GNUHOSTDIST}/libgcc/emutls.c
+G_LIB2ADD_ST=${GNUHOSTDIST}/libgcc/config/rs6000/crtsavfpr.S ${GNUHOSTDIST}/libgcc/config/rs6000/crtresfpr.S ${GNUHOSTDIST}/libgcc/config/rs6000/crtsavgpr.S 
${GNUHOSTDIST}/libgcc/config/rs6000/crtresgpr.S ${GNUHOSTDIST}/libgcc/config/rs6000/crtresxfpr.S ${GNUHOSTDIST}/libgcc/config/rs6000/crtresxgpr.S ${GNUHOSTDIST}/libgcc/config/rs6000/crtsavevr.S 
${GNUHOSTDIST}/libgcc/config/rs6000/crtrestvr.S
+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=
+G_LIBGCC2_CFLAGS=-O2  -g -O2 -O -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -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
+G_SHLIB_NM_FLAGS=-pg
+G_NOEXCEPTION_FLAGS=-fno-exceptions -fno-rtti -fasynchronous-unwind-tables
+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_CONFIGLINKS=${GNUHOSTDIST}/libgcc/enable-execute-stack-mprotect.c  enable-execute-stack.c ${GNUHOSTDIST}/libgcc/unwind-generic.h  unwind.h ${GNUHOSTDIST}/libgcc/config/no-unwind.h  
md-unwind-support.h ${GNUHOSTDIST}/libgcc/config/rs6000/sfp-machine.h  sfp-machine.h ${GNUHOSTDIST}/libgcc/gthr-posix.h  gthr-default.h 
diff -r 0ea10f51c5c3 -r 8b2733b77fc5 external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk
--- a/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk       Tue Mar 04 21:07:22 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk       Tue Mar 04 21:07:38 2014 +0000
@@ -1,5 +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 
+# Generated from: NetBSD: mknative-gcc,v 1.78 2014/03/02 04:58:20 mrg Exp 
+# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos 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
+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_reset _gcov_dump 
_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 0ea10f51c5c3 -r 8b2733b77fc5 external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h
--- a/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h    Tue Mar 04 21:07:22 2014 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h    Tue Mar 04 21:07:38 2014 +0000
@@ -1,8 +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 from: NetBSD: mknative-gcc,v 1.78 2014/03/02 04:58:20 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* Generated automatically by the program `build/gcov-iov'
-   from `4.5.3 (4 5) and  (*)'.  */
+   from `4.8.3 (4 8) and prerelease (*)'.  */
 
-#define GCOV_VERSION ((gcov_unsigned_t)0x3430352a)  /* 405* */
+#define GCOV_VERSION ((gcov_unsigned_t)0x3430382a)  /* 408* */
diff -r 0ea10f51c5c3 -r 8b2733b77fc5 external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h
--- a/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h  Tue Mar 04 21:07:22 2014 +0000
+++ b/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h  Tue Mar 04 21:07:38 2014 +0000
@@ -1,6 +1,6 @@
 /* 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 from: NetBSD: mknative-gcc,v 1.78 2014/03/02 04:58:20 mrg Exp  */
+/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
 /* auto-host.h.  Generated from config.in by configure.  */
 /* config.in.  Generated from configure.ac by autoheader.  */
@@ -118,6 +118,12 @@
 #endif
 
 
+/* Define to 1 to enable libquadmath support */
+#ifndef USED_FOR_TARGET
+#define ENABLE_LIBQUADMATH_SUPPORT 1
+#endif
+
+
 /* Define to enable LTO support. */
 #ifndef USED_FOR_TARGET
 #define ENABLE_LTO 1
@@ -127,7 +133,7 @@
 /* Define to 1 if translation of program messages to the user's native
    language is requested. */
 #ifndef USED_FOR_TARGET
-#define ENABLE_NLS 1
+/* #undef ENABLE_NLS */
 #endif
 
 
@@ -194,13 +200,7 @@
 
 /* Define to enable detailed memory allocation stats gathering. */
 #ifndef USED_FOR_TARGET
-/* #undef GATHER_STATISTICS */
-#endif
-
-
-/* Define if the zone collector is in use */
-#ifndef USED_FOR_TARGET
-/* #undef GGC_ZONE */
+#define GATHER_STATISTICS 0
 #endif
 
 
@@ -234,6 +234,12 @@
 #endif
 
 
+/* Define if your assembler supports DSPR1 mult. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_DSPR1_MULT */
+#endif
+
+
 /* Define if your assembler supports .dtprelword. */
 #ifndef USED_FOR_TARGET
 /* #undef HAVE_AS_DTPRELWORD */
@@ -253,6 +259,12 @@
 #endif
 
 
+/* Define if your assembler supports FMAF, HPC, and VIS 3.0 instructions. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_FMAF_HPC_VIS3 */
+#endif
+
+
 /* Define if your assembler supports fprnd. */
 #ifndef USED_FOR_TARGET
 #define HAVE_AS_FPRND 1
@@ -314,13 +326,19 @@
 #endif
 
 
+/* Define if your assembler supports HLE prefixes. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_IX86_HLE */
+#endif
+
+
 /* Define if your assembler supports the .quad directive. */
 #ifndef USED_FOR_TARGET
 /* #undef HAVE_AS_IX86_QUAD */
 #endif
 
 
-/* Define true if the assembler supports 'rep <insn>, lock <insn>'. */
+/* Define if the assembler supports 'rep <insn>, lock <insn>'. */
 #ifndef USED_FOR_TARGET
 /* #undef HAVE_AS_IX86_REP_LOCK_PREFIX */
 #endif
@@ -338,6 +356,24 @@
 #endif
 
 
+/* Define if your assembler and linker support @tlsgdplt. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_IX86_TLSGDPLT */
+#endif
+
+
+/* Define if your assembler and linker support @tlsldmplt. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_IX86_TLSLDMPLT */
+#endif
+
+
+/* Define if your assembler supports the 'ud2' mnemonic. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_IX86_UD2 */
+#endif
+
+
 /* Define if your assembler supports the lituse_jsrdirect relocation. */
 #ifndef USED_FOR_TARGET
 /* #undef HAVE_AS_JSRDIRECT_RELOCS */
@@ -350,6 +386,12 @@
 #endif
 
 
+/* Define if your assembler supports LEON instructions. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_LEON */
+#endif
+
+
 /* Define if the assembler won't complain about a line such as # 0 "" 2. */
 #ifndef USED_FOR_TARGET
 #define HAVE_AS_LINE_ZERO 1
@@ -410,6 +452,12 @@
 #endif
 
 
+/* Define if your assembler supports POWER8 instructions. */
+#ifndef USED_FOR_TARGET
+/* #undef HAVE_AS_POWER8 */
+#endif
+
+
 /* Define if your assembler supports .ref */
 #ifndef USED_FOR_TARGET
 /* #undef HAVE_AS_REF */
@@ -434,12 +482,24 @@



Home | Main Index | Thread Index | Old Index