From bc1bc906ca0e69a539132458ab38bf10c9508804 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 4 Mar 2014 21:07:38 +0000 Subject: [PATCH] partial mknative-gcc for gcc 4.8 and ppc64. --- .../gpl3/gcc/lib/crtstuff/arch/powerpc64.mk | 11 +- .../lib/libgcc/arch/powerpc64/auto-target.h | 75 +++++ .../gcc/lib/libgcc/arch/powerpc64/defs.mk | 21 ++ .../lib/libgcc/libgcov/arch/powerpc64/defs.mk | 6 +- .../libgcc/libgcov/arch/powerpc64/gcov-iov.h | 8 +- .../usr.bin/gcc/arch/powerpc64/auto-host.h | 269 ++++++++++++++---- .../gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.h | 23 +- 7 files changed, 332 insertions(+), 81 deletions(-) create mode 100644 external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h create mode 100644 external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk diff --git a/external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk b/external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk index 4f56b39a3de6..ea0760eba454 100644 --- a/external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk +++ b/external/gpl3/gcc/lib/crtstuff/arch/powerpc64.mk @@ -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 --git a/external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h b/external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h new file mode 100644 index 000000000000..8fb59dee38da --- /dev/null +++ b/external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h @@ -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 header file. */ +/* #undef HAVE_INTTYPES_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MEMORY_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDINT_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDLIB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STRINGS_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STRING_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_STAT_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_TYPES_H */ + +/* Define to 1 if you have the 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 --git a/external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk b/external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk new file mode 100644 index 000000000000..4f98d3eaabde --- /dev/null +++ b/external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk @@ -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 --git a/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk index ef83b761d555..0ad82aab45fb 100644 --- a/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk +++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk @@ -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 --git a/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h index 6e4670c7dbb5..6479b12de2de 100644 --- a/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h +++ b/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h @@ -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 --git a/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h b/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h index a3bb57e9a295..d1596d312d77 100644 --- a/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h +++ b/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h @@ -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 , lock '. */ +/* Define if the assembler supports 'rep , lock '. */ #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 @@ #endif +/* Define if your assembler supports SPARC4 instructions. */ +#ifndef USED_FOR_TARGET +/* #undef HAVE_AS_SPARC4 */ +#endif + + /* Define if your assembler and linker support GOTDATA_OP relocs. */ #ifndef USED_FOR_TARGET /* #undef HAVE_AS_SPARC_GOTDATA_OP */ #endif +/* Define to 1 if your assembler supports #nobits, 0 otherwise. */ +#ifndef USED_FOR_TARGET +/* #undef HAVE_AS_SPARC_NOBITS */ +#endif + + /* Define if your assembler and linker support unaligned PC relative relocs. */ #ifndef USED_FOR_TARGET @@ -454,7 +514,7 @@ #endif -/* Define if your assembler supports thread-local storage. */ +/* Define if your assembler and linker support thread-local storage. */ #ifndef USED_FOR_TARGET #define HAVE_AS_TLS 1 #endif @@ -590,6 +650,12 @@ #endif +/* Define to 1 if we found a declaration for 'ffs', otherwise define to 0. */ +#ifndef USED_FOR_TARGET +#define HAVE_DECL_FFS 1 +#endif + + /* Define to 1 if we found a declaration for 'fgetc_unlocked', otherwise define to 0. */ #ifndef USED_FOR_TARGET @@ -722,6 +788,13 @@ #endif +/* Define to 1 if we found a declaration for 'madvise', otherwise define to 0. + */ +#ifndef USED_FOR_TARGET +#define HAVE_DECL_MADVISE 1 +#endif + + /* Define to 1 if we found a declaration for 'malloc', otherwise define to 0. */ #ifndef USED_FOR_TARGET @@ -777,6 +850,13 @@ #endif +/* Define to 1 if we found a declaration for 'stpcpy', otherwise define to 0. + */ +#ifndef USED_FOR_TARGET +#define HAVE_DECL_STPCPY 1 +#endif + + /* Define to 1 if we found a declaration for 'strsignal', otherwise define to 0. */ #ifndef USED_FOR_TARGET @@ -831,21 +911,9 @@ #endif -/* Define to 1 if you have the `elf_getshdrstrndx' function. */ +/* Define to 1 if you have the header file. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_ELF_GETSHDRSTRNDX */ -#endif - - -/* Define to 1 if you have the `elf_getshstrndx' function. */ -#ifndef USED_FOR_TARGET -/* #undef HAVE_ELF_GETSHSTRNDX */ -#endif - - -/* Define if elf_getshstrndx has gABI conformant return values. */ -#ifndef USED_FOR_TARGET -/* #undef HAVE_ELF_GETSHSTRNDX_GABI */ +#define HAVE_EXT_HASH_MAP 1 #endif @@ -941,22 +1009,13 @@ /* Define 0/1 if your assembler supports CFI directives. */ -#ifndef USED_FOR_TARGET #define HAVE_GAS_CFI_DIRECTIVE 1 -#endif - /* Define 0/1 if your assembler supports .cfi_personality. */ -#ifndef USED_FOR_TARGET #define HAVE_GAS_CFI_PERSONALITY_DIRECTIVE 1 -#endif - /* Define 0/1 if your assembler supports .cfi_sections. */ -#ifndef USED_FOR_TARGET #define HAVE_GAS_CFI_SECTIONS_DIRECTIVE 1 -#endif - /* Define if your assembler supports the .loc discriminator sub-directive. */ #ifndef USED_FOR_TARGET @@ -1005,6 +1064,12 @@ #endif +/* Define if your assembler supports specifying the section flag e. */ +#ifndef USED_FOR_TARGET +/* #undef HAVE_GAS_SECTION_EXCLUDE */ +#endif + + /* Define 0/1 if your assembler supports marking sections with SHF_MERGE flag. */ #ifndef USED_FOR_TARGET @@ -1043,12 +1108,6 @@ #endif -/* Define if _Unwind_GetIPInfo is available. */ -#ifndef USED_FOR_TARGET -#define HAVE_GETIPINFO 1 -#endif - - /* Define to 1 if you have the `getrlimit' function. */ #ifndef USED_FOR_TARGET #define HAVE_GETRLIMIT 1 @@ -1067,15 +1126,21 @@ #endif -/* Define if using GNU as. */ +/* Define to 1 if using GNU as. */ #ifndef USED_FOR_TARGET -#define HAVE_GNU_AS 0 +#define HAVE_GNU_AS 1 #endif -/* Define if using GNU ld. */ +/* Define if your system supports gnu indirect functions. */ #ifndef USED_FOR_TARGET -#define HAVE_GNU_LD 0 +/* #undef HAVE_GNU_INDIRECT_FUNCTION */ +#endif + + +/* Define to 1 if using GNU ld. */ +#ifndef USED_FOR_TARGET +#define HAVE_GNU_LD 1 #endif @@ -1093,7 +1158,7 @@ /* Define .init_array/.fini_array sections are available and working. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_INITFINI_ARRAY */ +/* #undef HAVE_INITFINI_ARRAY_SUPPORT */ #endif @@ -1159,11 +1224,11 @@ /* Define if your linker supports --demangle option. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_LD_DEMANGLE */ +#define HAVE_LD_DEMANGLE 1 #endif -/* Define if your linker supports --eh-frame-hdr option. */ +/* Define if your linker supports .eh_frame_hdr. */ #define HAVE_LD_EH_FRAME_HDR 1 /* Define if your linker supports garbage collection of sections in presence @@ -1173,6 +1238,19 @@ #endif +/* Define if your linker has buggy garbage collection of sections support when + .text.startup.foo like sections are used. */ +#ifndef USED_FOR_TARGET +/* #undef HAVE_LD_EH_GC_SECTIONS_BUG */ +#endif + + +/* Define if your PowerPC64 linker supports a large TOC. */ +#ifndef USED_FOR_TARGET +/* #undef HAVE_LD_LARGE_TOC */ +#endif + + /* Define if your PowerPC64 linker only needs function descriptor syms. */ #ifndef USED_FOR_TARGET /* #undef HAVE_LD_NO_DOT_SYMS */ @@ -1205,7 +1283,7 @@ #endif -/* Define if your linker supports -Bstatic/-Bdynamic option. */ +/* Define if your linker supports -Bstatic/-Bdynamic or equivalent options. */ #ifndef USED_FOR_TARGET #define HAVE_LD_STATIC_DYNAMIC 1 #endif @@ -1241,6 +1319,18 @@ #endif +/* Define to the level of your linker's plugin support. */ +#ifndef USED_FOR_TARGET +#define HAVE_LTO_PLUGIN 2 +#endif + + +/* Define to 1 if you have the `madvise' function. */ +#ifndef USED_FOR_TARGET +#define HAVE_MADVISE 1 +#endif + + /* Define to 1 if you have the header file. */ #ifndef USED_FOR_TARGET #define HAVE_MALLOC_H 1 @@ -1265,12 +1355,6 @@ #endif -/* Define to 1 if you have the `mincore' function. */ -#ifndef USED_FOR_TARGET -#define HAVE_MINCORE 1 -#endif - - /* Define to 1 if you have the `mmap' function. */ #ifndef USED_FOR_TARGET #define HAVE_MMAP 1 @@ -1397,6 +1481,9 @@ #endif +/* Define if your target C library provides sys/sdt.h */ +#define HAVE_SYS_SDT_H 1 + /* Define to 1 if you have the header file. */ #ifndef USED_FOR_TARGET #define HAVE_SYS_STAT_H 1 @@ -1439,6 +1526,12 @@ #endif +/* Define to 1 if you have the header file. */ +#ifndef USED_FOR_TARGET +#define HAVE_TR1_UNORDERED_MAP 1 +#endif + + /* Define to 1 if the system has the type `uintmax_t'. */ #ifndef USED_FOR_TARGET #define HAVE_UINTMAX_T 1 @@ -1457,6 +1550,12 @@ #endif +/* Define to 1 if you have the header file. */ +#ifndef USED_FOR_TARGET +/* #undef HAVE_UNORDERED_MAP */ +#endif + + /* Define to 1 if the system has the type `unsigned long long int'. */ #ifndef USED_FOR_TARGET #define HAVE_UNSIGNED_LONG_LONG_INT 1 @@ -1471,7 +1570,7 @@ /* Define to 1 if you have the `vfork' function. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_VFORK */ +#define HAVE_VFORK 1 #endif @@ -1508,7 +1607,7 @@ /* Define to 1 if `vfork' works. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_WORKING_VFORK */ +#define HAVE_WORKING_VFORK 1 #endif @@ -1524,9 +1623,9 @@ #endif -/* Define if libelf is in use. */ +/* Define if F_SETLKW supported by fcntl. */ #ifndef USED_FOR_TARGET -#define HAVE_libelf 1 +#define HOST_HAS_F_SETLKW 1 #endif @@ -1536,6 +1635,37 @@ #endif +/* Define to the linker option to enable use of shared objects. */ +#ifndef USED_FOR_TARGET +#define LD_DYNAMIC_OPTION "-Bdynamic" +#endif + + +/* Define to the linker option to disable use of shared objects. */ +#ifndef USED_FOR_TARGET +#define LD_STATIC_OPTION "-Bstatic" +#endif + + +/* Define to the library containing __tls_get_addr/___tls_get_addr. */ +#ifndef USED_FOR_TARGET +/* #undef LIB_TLS_SPEC */ +#endif + + +/* The linker hash style */ +#ifndef USED_FOR_TARGET +/* #undef LINKER_HASH_STYLE */ +#endif + + +/* Define to the name of the LTO plugin DSO that must be passed to the + linker's -plugin=LIB option. */ +#ifndef USED_FOR_TARGET +#define LTOPLUGINSONAME "liblto_plugin.so" +#endif + + /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #ifndef USED_FOR_TARGET @@ -1599,7 +1729,7 @@ /* Specify plugin linker */ #ifndef USED_FOR_TARGET -#define PLUGIN_LD "ld" +#define PLUGIN_LD_SUFFIX "ld" #endif @@ -1663,6 +1793,9 @@ #endif +/* Define if your target C library provides the `dl_iterate_phdr' function. */ +/* #undef TARGET_DL_ITERATE_PHDR */ + /* Define if your target C library provides stack protector support */ #ifndef USED_FOR_TARGET #define TARGET_LIBC_PROVIDES_SSP 1 @@ -1747,10 +1880,22 @@ # endif #else # ifndef WORDS_BIGENDIAN -# define WORDS_BIGENDIAN 1 +/* # undef WORDS_BIGENDIAN */ # endif #endif +/* Number of bits in a file offset, on hosts where this is settable. */ +#ifndef USED_FOR_TARGET +/* #undef _FILE_OFFSET_BITS */ +#endif + + +/* Define for large files, on AIX-style hosts. */ +#ifndef USED_FOR_TARGET +/* #undef _LARGE_FILES */ +#endif + + /* Define to 1 if on MINIX. */ #ifndef USED_FOR_TARGET /* #undef _MINIX */ @@ -1910,6 +2055,6 @@ /* Define as `fork' if `vfork' does not work. */ #ifndef USED_FOR_TARGET -#define vfork fork +/* #undef vfork */ #endif diff --git a/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.h b/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.h index ee4118468bbc..2c7f285d3c57 100644 --- a/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.h +++ b/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/tm.h @@ -1,31 +1,40 @@ /* 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 */ #ifndef GCC_TM_H #define GCC_TM_H +#ifndef LIBC_GLIBC +# define LIBC_GLIBC 1 +#endif +#ifndef LIBC_UCLIBC +# define LIBC_UCLIBC 2 +#endif +#ifndef LIBC_BIONIC +# define LIBC_BIONIC 3 +#endif #ifndef NETBSD_ENABLE_PTHREADS # define NETBSD_ENABLE_PTHREADS #endif #ifdef IN_GCC # include "options.h" +# include "insn-constants.h" # include "config/rs6000/secureplt.h" # include "config/rs6000/biarch64.h" # include "config/rs6000/rs6000.h" # include "config/dbxelf.h" # include "config/elfos.h" -# include "config/netbsd.h" -# include "config/netbsd-elf.h" -# include "config/svr4.h" # include "config/freebsd-spec.h" # include "config/rs6000/sysv4.h" +# include "config/netbsd.h" +# include "config/netbsd-elf.h" # include "config/rs6000/default64.h" # include "config/rs6000/netbsd64.h" # include "config/rs6000/option-defaults.h" -# include "defaults.h" +# include "config/initfini-array.h" #endif #if defined IN_GCC && !defined GENERATOR_FILE && !defined USED_FOR_TARGET -# include "insn-constants.h" # include "insn-flags.h" #endif +# include "defaults.h" #endif /* GCC_TM_H */