Module Name: src Committed By: yamt Date: Thu May 22 16:13:27 UTC 2014
Modified Files: src/external/bsd/llvm/config/clang/Config [yamt-pagecache]: config.h src/external/bsd/llvm/config/llvm/Config [yamt-pagecache]: AsmParsers.def AsmPrinters.def Disassemblers.def Targets.def config.h.in llvm-config.h.in src/external/bsd/llvm/config/llvm/Support [yamt-pagecache]: DataTypes.h Added Files: src/external/bsd/llvm/config/mclinker/mcld/Config [yamt-pagecache]: Config.h Linkers.def Targets.def Log Message: sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") To generate a diff of this commit: cvs rdiff -u -r1.1.2.4 -r1.1.2.5 \ src/external/bsd/llvm/config/clang/Config/config.h cvs rdiff -u -r1.2.2.2 -r1.2.2.3 \ src/external/bsd/llvm/config/llvm/Config/AsmParsers.def \ src/external/bsd/llvm/config/llvm/Config/Disassemblers.def \ src/external/bsd/llvm/config/llvm/Config/config.h.in \ src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in cvs rdiff -u -r1.5.2.1 -r1.5.2.2 \ src/external/bsd/llvm/config/llvm/Config/AsmPrinters.def cvs rdiff -u -r1.5 -r1.5.2.1 \ src/external/bsd/llvm/config/llvm/Config/Targets.def cvs rdiff -u -r1.1.6.2 -r1.1.6.3 \ src/external/bsd/llvm/config/llvm/Support/DataTypes.h cvs rdiff -u -r0 -r1.2.12.2 \ src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h cvs rdiff -u -r0 -r1.1.12.2 \ src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def \ src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/llvm/config/clang/Config/config.h diff -u src/external/bsd/llvm/config/clang/Config/config.h:1.1.2.4 src/external/bsd/llvm/config/clang/Config/config.h:1.1.2.5 --- src/external/bsd/llvm/config/clang/Config/config.h:1.1.2.4 Tue Oct 30 18:55:48 2012 +++ src/external/bsd/llvm/config/clang/Config/config.h Thu May 22 16:13:26 2014 @@ -11,10 +11,10 @@ #define CLANG_RESOURCE_DIR "" /* Directories clang will search for headers */ -#define C_INCLUDE_DIRS "/usr/include/clang-3.2:/usr/include" +#define C_INCLUDE_DIRS "/usr/include/clang-3.5:/usr/include" /* Linker version detected at compile time. */ -#define HOST_LINK_VERSION "2.22" +#define HOST_LINK_VERSION "2.23.52.20130913" /* Default <path> to all compiler invocations for --sysroot=<path>. */ #define DEFAULT_SYSROOT "" Index: src/external/bsd/llvm/config/llvm/Config/AsmParsers.def diff -u src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.2.2.2 src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.2.2.3 --- src/external/bsd/llvm/config/llvm/Config/AsmParsers.def:1.2.2.2 Tue Oct 30 18:55:48 2012 +++ src/external/bsd/llvm/config/llvm/Config/AsmParsers.def Thu May 22 16:13:26 2014 @@ -24,6 +24,6 @@ # error Please define the macro LLVM_ASM_PARSER(TargetName) #endif -LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) +LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(PowerPC) LLVM_ASM_PARSER(Sparc) LLVM_ASM_PARSER(AArch64) LLVM_ASM_PARSER(ARM) LLVM_ASM_PARSER(Mips) #undef LLVM_ASM_PARSER Index: src/external/bsd/llvm/config/llvm/Config/Disassemblers.def diff -u src/external/bsd/llvm/config/llvm/Config/Disassemblers.def:1.2.2.2 src/external/bsd/llvm/config/llvm/Config/Disassemblers.def:1.2.2.3 --- src/external/bsd/llvm/config/llvm/Config/Disassemblers.def:1.2.2.2 Tue Oct 30 18:55:49 2012 +++ src/external/bsd/llvm/config/llvm/Config/Disassemblers.def Thu May 22 16:13:26 2014 @@ -24,6 +24,6 @@ # error Please define the macro LLVM_DISASSEMBLER(TargetName) #endif -LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) +LLVM_DISASSEMBLER(X86) LLVM_DISASSEMBLER(PowerPC) LLVM_DISASSEMBLER(Sparc) LLVM_DISASSEMBLER(AArch64) LLVM_DISASSEMBLER(ARM) LLVM_DISASSEMBLER(Mips) #undef LLVM_DISASSEMBLER Index: src/external/bsd/llvm/config/llvm/Config/config.h.in diff -u src/external/bsd/llvm/config/llvm/Config/config.h.in:1.2.2.2 src/external/bsd/llvm/config/llvm/Config/config.h.in:1.2.2.3 --- src/external/bsd/llvm/config/llvm/Config/config.h.in:1.2.2.2 Tue Oct 30 18:55:49 2012 +++ src/external/bsd/llvm/config/llvm/Config/config.h.in Thu May 22 16:13:26 2014 @@ -14,11 +14,17 @@ #define CLANG_RESOURCE_DIR "" /* Directories clang will search for headers */ -#define C_INCLUDE_DIRS "/usr/include/clang-3.2:/usr/include" +#define C_INCLUDE_DIRS "/usr/include/clang-3.5:/usr/include" /* Default <path> to all compiler invocations for --sysroot=<path>. */ #define DEFAULT_SYSROOT "" +/* Define if you want backtraces on crash */ +#define ENABLE_BACKTRACES 1 + +/* Define to enable crash handling overrides */ +#define ENABLE_CRASH_OVERRIDES 1 + /* Define if position independent code is enabled */ #define ENABLE_PIC 1 @@ -28,9 +34,6 @@ /* Directory where gcc is installed. */ #define GCC_INSTALL_PREFIX "" -/* Define to 1 if you have the `arc4random' function. */ -#define HAVE_ARC4RANDOM 1 - /* Define to 1 if you have the `argz_append' function. */ /* #undef HAVE_ARGZ_APPEND */ @@ -49,15 +52,9 @@ /* Define to 1 if you have the `argz_stringify' function. */ /* #undef HAVE_ARGZ_STRINGIFY */ -/* Define to 1 if you have the <assert.h> header file. */ -#define HAVE_ASSERT_H 1 - /* Define to 1 if you have the `backtrace' function. */ /* #undef HAVE_BACKTRACE */ -/* Define to 1 if you have the `bcopy' function. */ -/* #undef HAVE_BCOPY */ - /* Define to 1 if you have the `ceilf' function. */ #define HAVE_CEILF 1 @@ -70,11 +67,23 @@ /* Define to 1 if you have the <CrashReporterClient.h> header file. */ /* #undef HAVE_CRASHREPORTERCLIENT_H */ -/* Define if __crashreporter_info__ exists. */ +/* can use __crashreporter_info__ */ #define HAVE_CRASHREPORTER_INFO 0 -/* Define to 1 if you have the <ctype.h> header file. */ -#define HAVE_CTYPE_H 1 +/* Define to 1 if you have the <cxxabi.h> header file. */ +#define HAVE_CXXABI_H 1 + +/* Define to 1 if you have the declaration of `arc4random', and to 0 if you + don't. */ +#define HAVE_DECL_ARC4RANDOM 1 + +/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you + don't. */ +#define HAVE_DECL_FE_ALL_EXCEPT 1 + +/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you + don't. */ +#define HAVE_DECL_FE_INEXACT 1 /* Define to 1 if you have the declaration of `strerror_s', and to 0 if you don't. */ @@ -87,9 +96,6 @@ /* Define if you have the GNU dld library. */ /* #undef HAVE_DLD */ -/* Define to 1 if you have the <dld.h> header file. */ -/* #undef HAVE_DLD_H */ - /* Define to 1 if you have the `dlerror' function. */ #define HAVE_DLERROR 1 @@ -99,9 +105,6 @@ /* Define if dlopen() is available on this platform. */ #define HAVE_DLOPEN 1 -/* Define to 1 if you have the <dl.h> header file. */ -/* #undef HAVE_DL_H */ - /* Define if the dot program is available */ /* #undef HAVE_DOT */ @@ -120,6 +123,12 @@ /* Define to 1 if you have the <execinfo.h> header file. */ #define HAVE_EXECINFO_H 1 +/* Define to 1 if you have the `exp' function. */ +#define HAVE_EXP 1 + +/* Define to 1 if you have the `exp2' function. */ +#define HAVE_EXP2 1 + /* Define to 1 if you have the <fcntl.h> header file. */ #define HAVE_FCNTL_H 1 @@ -127,7 +136,9 @@ /* #undef HAVE_FDP */ /* Define to 1 if you have the <fenv.h> header file. */ + #ifndef __powerpc__ #define HAVE_FENV_H 1 + #endif /* Define if libffi is available on this platform. */ /* #undef HAVE_FFI_CALL */ @@ -147,6 +158,12 @@ /* Define to 1 if you have the `fmodf' function. */ #define HAVE_FMODF 1 +/* Define to 1 if you have the `futimens' function. */ +#define HAVE_FUTIMENS 1 + +/* Define to 1 if you have the `futimes' function. */ +#define HAVE_FUTIMES 1 + /* Define to 1 if you have the `getcwd' function. */ #define HAVE_GETCWD 1 @@ -168,9 +185,6 @@ /* Define if the gv program is available */ /* #undef HAVE_GV */ -/* Define to 1 if you have the `index' function. */ -/* #undef HAVE_INDEX */ - /* Define to 1 if the system has the type `int64_t'. */ #define HAVE_INT64_T 1 @@ -181,13 +195,13 @@ #define HAVE_ISATTY 1 /* Set to 1 if the isinf function is found in <cmath> */ -/* #undef HAVE_ISINF_IN_CMATH */ +#define HAVE_ISINF_IN_CMATH 1 /* Set to 1 if the isinf function is found in <math.h> */ #define HAVE_ISINF_IN_MATH_H 1 /* Set to 1 if the isnan function is found in <cmath> */ -/* #undef HAVE_ISNAN_IN_CMATH */ +#define HAVE_ISNAN_IN_CMATH 1 /* Set to 1 if the isnan function is found in <math.h> */ #define HAVE_ISNAN_IN_MATH_H 1 @@ -195,6 +209,9 @@ /* Define if you have the libdl library or equivalent. */ #define HAVE_LIBDL 1 +/* Define if libedit is available on this platform. */ +#define HAVE_LIBEDIT 1 + /* Define to 1 if you have the `imagehlp' library (-limagehlp). */ /* #undef HAVE_LIBIMAGEHLP */ @@ -207,13 +224,16 @@ /* Define to 1 if you have the `pthread' library (-lpthread). */ #define HAVE_LIBPTHREAD 1 +/* Define to 1 if you have the `shell32' library (-lshell32). */ +/* #undef HAVE_LIBSHELL32 */ + /* Define to 1 if you have the `udis86' library (-ludis86). */ /* #undef HAVE_LIBUDIS86 */ -/* Define to 1 if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 +/* Define to 1 if you have the `z' library (-lz). */ +#define HAVE_LIBZ 1 -/* Define if you can use -Wl,-export-dynamic. */ +/* Define if you can use -rdynamic. */ #define HAVE_LINK_EXPORT_DYNAMIC 1 /* Define to 1 if you have the <link.h> header file. */ @@ -223,6 +243,15 @@ the current directory to the dynamic linker search path. */ #define HAVE_LINK_R 1 +/* Define to 1 if you have the `log' function. */ +#define HAVE_LOG 1 + +/* Define to 1 if you have the `log10' function. */ +#define HAVE_LOG10 1 + +/* Define to 1 if you have the `log2' function. */ +#define HAVE_LOG2 1 + /* Define to 1 if you have the `longjmp' function. */ /* #undef HAVE_LONGJMP */ @@ -244,12 +273,6 @@ /* Define to 1 if you have the `malloc_zone_statistics' function. */ /* #undef HAVE_MALLOC_ZONE_STATISTICS */ -/* Define to 1 if you have the `memcpy' function. */ -#define HAVE_MEMCPY 1 - -/* Define to 1 if you have the `memmove' function. */ -#define HAVE_MEMMOVE 1 - /* Define to 1 if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 @@ -276,7 +299,7 @@ /* #undef HAVE_NDIR_H */ /* Define to 1 if you have the `nearbyintf' function. */ -/* #undef HAVE_NEARBYINTF */ +#define HAVE_NEARBYINTF 1 /* Define if the neat program is available */ /* #undef HAVE_NEATO */ @@ -320,9 +343,6 @@ /* Define to 1 if you have the `realpath' function. */ #define HAVE_REALPATH 1 -/* Define to 1 if you have the `rindex' function. */ -/* #undef HAVE_RINDEX */ - /* Define to 1 if you have the `rintf' function. */ #define HAVE_RINTF 1 @@ -362,9 +382,6 @@ /* Define to 1 if you have the <stdint.h> header file. */ #define HAVE_STDINT_H 1 -/* Define to 1 if you have the <stdio.h> header file. */ -#define HAVE_STDIO_H 1 - /* Define to 1 if you have the <stdlib.h> header file. */ #define HAVE_STDLIB_H 1 @@ -374,15 +391,6 @@ /* Set to 1 if the std::isnan function is found in <cmath> */ #define HAVE_STD_ISNAN_IN_CMATH 1 -/* Define to 1 if you have the `strchr' function. */ -#define HAVE_STRCHR 1 - -/* Define to 1 if you have the `strcmp' function. */ -#define HAVE_STRCMP 1 - -/* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 - /* Define to 1 if you have the `strerror' function. */ #define HAVE_STRERROR 1 @@ -395,9 +403,6 @@ /* Define to 1 if you have the <string.h> header file. */ #define HAVE_STRING_H 1 -/* Define to 1 if you have the `strrchr' function. */ -#define HAVE_STRRCHR 1 - /* Define to 1 if you have the `strtof' function. */ #define HAVE_STRTOF 1 @@ -414,9 +419,6 @@ */ /* #undef HAVE_SYS_DIR_H */ -/* Define to 1 if you have the <sys/dl.h> header file. */ -/* #undef HAVE_SYS_DL_H */ - /* Define to 1 if you have the <sys/ioctl.h> header file. */ #define HAVE_SYS_IOCTL_H 1 @@ -448,6 +450,9 @@ /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 +/* Define if the setupterm() function is supported this platform. */ +#define HAVE_TERMINFO 1 + /* Define to 1 if you have the <termios.h> header file. */ #define HAVE_TERMIOS_H 1 @@ -469,14 +474,14 @@ /* Define to 1 if you have the <valgrind/valgrind.h> header file. */ /* #undef HAVE_VALGRIND_VALGRIND_H */ -/* Define to 1 if you have the <windows.h> header file. */ -/* #undef HAVE_WINDOWS_H */ - /* Define to 1 if you have the `writev' function. */ #define HAVE_WRITEV 1 -/* Define if the xdot.py program is available */ -/* #undef HAVE_XDOT_PY */ +/* Define if the xdot program is available */ +/* #undef HAVE_XDOT */ + +/* Define to 1 if you have the <zlib.h> header file. */ +#define HAVE_ZLIB_H 1 /* Have host's _alloca */ /* #undef HAVE__ALLOCA */ @@ -530,7 +535,7 @@ /* #undef HAVE____CHKSTK */ /* Linker version detected at compile time. */ -#define HOST_LINK_VERSION "2.22" +#define HOST_LINK_VERSION "2.23.52.20130913" /* Installation directory for binary executables */ #define LLVM_BINDIR "/usr/bin" @@ -550,6 +555,9 @@ /* Define if threads enabled */ #define LLVM_ENABLE_THREADS 1 +/* Define if zlib is enabled */ +#define LLVM_ENABLE_ZLIB 1 + /* Installation directory for config files */ #define LLVM_ETCDIR "/usr/etc/llvm" @@ -557,7 +565,7 @@ #define LLVM_HAS_ATOMICS 1 /* Host triple LLVM will be executed on */ -#define LLVM_HOSTTRIPLE "x86_64--netbsd" +#define LLVM_HOST_TRIPLE "x86_64--netbsd" /* Installation directory for include files */ #define LLVM_INCLUDEDIR "/usr/include" @@ -565,9 +573,6 @@ /* Installation directory for .info files */ #define LLVM_INFODIR "/usr/info" -/* Installation directory for libraries */ -#define LLVM_LIBDIR "/usr/lib" - /* Installation directory for man pages */ #define LLVM_MANDIR "/usr/man" @@ -622,8 +627,8 @@ /* Define to path to twopi program if found or 'echo twopi' otherwise */ /* #undef LLVM_PATH_TWOPI */ -/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */ -/* #undef LLVM_PATH_XDOT_PY */ +/* Define to path to xdot program if found or 'echo xdot' otherwise */ +/* #undef LLVM_PATH_XDOT */ /* Installation prefix directory */ #define LLVM_PREFIX "/usr" @@ -638,7 +643,7 @@ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 2 +#define LLVM_VERSION_MINOR 5 /* Define if the OS needs help to load dependent libraries for dlopen(). */ /* #undef LTDL_DLOPEN_DEPLIBS */ @@ -647,10 +652,6 @@ */ #define LTDL_OBJDIR ".libs/" -/* Define to the name of the environment variable that determines the dynamic - library search path. */ -#define LTDL_SHLIBPATH_VAR "LD_LIBRARY_PATH" - /* Define to the extension used for shared libraries, say, ".so". */ #define LTDL_SHLIB_EXT ".so" @@ -671,13 +672,13 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 3.2svn" +#define PACKAGE_STRING "LLVM 3.5svn" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "llvm" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.2svn" +#define PACKAGE_VERSION "3.5svn" /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void Index: src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in diff -u src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in:1.2.2.2 src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in:1.2.2.3 --- src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in:1.2.2.2 Tue Oct 30 18:55:49 2012 +++ src/external/bsd/llvm/config/llvm/Config/llvm-config.h.in Thu May 22 16:13:26 2014 @@ -42,7 +42,7 @@ #define LLVM_HAS_ATOMICS 1 /* Host triple LLVM will be executed on */ -#define LLVM_HOSTTRIPLE "x86_64--netbsd" +#define LLVM_HOST_TRIPLE "x86_64--netbsd" /* Installation directory for include files */ #define LLVM_INCLUDEDIR "/usr/include" @@ -50,9 +50,6 @@ /* Installation directory for .info files */ #define LLVM_INFODIR "/usr/info" -/* Installation directory for libraries */ -#define LLVM_LIBDIR "/usr/lib" - /* Installation directory for man pages */ #define LLVM_MANDIR "/usr/man" @@ -113,10 +110,16 @@ /* Installation prefix directory */ #define LLVM_PREFIX "/usr" +/* Define if we have the Intel JIT API runtime support library */ +#define LLVM_USE_INTEL_JITEVENTS 0 + +/* Define if we have the oprofile JIT-support library */ +#define LLVM_USE_OPROFILE 0 + /* Major version of the LLVM API */ #define LLVM_VERSION_MAJOR 3 /* Minor version of the LLVM API */ -#define LLVM_VERSION_MINOR 2 +#define LLVM_VERSION_MINOR 5 #endif Index: src/external/bsd/llvm/config/llvm/Config/AsmPrinters.def diff -u src/external/bsd/llvm/config/llvm/Config/AsmPrinters.def:1.5.2.1 src/external/bsd/llvm/config/llvm/Config/AsmPrinters.def:1.5.2.2 --- src/external/bsd/llvm/config/llvm/Config/AsmPrinters.def:1.5.2.1 Tue Oct 30 18:55:48 2012 +++ src/external/bsd/llvm/config/llvm/Config/AsmPrinters.def Thu May 22 16:13:26 2014 @@ -24,6 +24,6 @@ # error Please define the macro LLVM_ASM_PRINTER(TargetName) #endif -LLVM_ASM_PRINTER(X86) LLVM_ASM_PRINTER(PowerPC) LLVM_ASM_PRINTER(Sparc) LLVM_ASM_PRINTER(ARM) LLVM_ASM_PRINTER(Mips) +LLVM_ASM_PRINTER(X86) LLVM_ASM_PRINTER(PowerPC) LLVM_ASM_PRINTER(Sparc) LLVM_ASM_PRINTER(AArch64) LLVM_ASM_PRINTER(ARM) LLVM_ASM_PRINTER(Mips) #undef LLVM_ASM_PRINTER Index: src/external/bsd/llvm/config/llvm/Config/Targets.def diff -u src/external/bsd/llvm/config/llvm/Config/Targets.def:1.5 src/external/bsd/llvm/config/llvm/Config/Targets.def:1.5.2.1 --- src/external/bsd/llvm/config/llvm/Config/Targets.def:1.5 Tue Jul 5 19:37:11 2011 +++ src/external/bsd/llvm/config/llvm/Config/Targets.def Thu May 22 16:13:26 2014 @@ -23,6 +23,6 @@ # error Please define the macro LLVM_TARGET(TargetName) #endif -LLVM_TARGET(X86) LLVM_TARGET(PowerPC) LLVM_TARGET(Sparc) LLVM_TARGET(ARM) LLVM_TARGET(Mips) +LLVM_TARGET(X86) LLVM_TARGET(PowerPC) LLVM_TARGET(Sparc) LLVM_TARGET(AArch64) LLVM_TARGET(ARM) LLVM_TARGET(Mips) #undef LLVM_TARGET Index: src/external/bsd/llvm/config/llvm/Support/DataTypes.h diff -u src/external/bsd/llvm/config/llvm/Support/DataTypes.h:1.1.6.2 src/external/bsd/llvm/config/llvm/Support/DataTypes.h:1.1.6.3 --- src/external/bsd/llvm/config/llvm/Support/DataTypes.h:1.1.6.2 Tue Oct 30 18:55:49 2012 +++ src/external/bsd/llvm/config/llvm/Support/DataTypes.h Thu May 22 16:13:26 2014 @@ -27,7 +27,6 @@ #ifndef SUPPORT_DATATYPES_H #define SUPPORT_DATATYPES_H -#define HAVE_SYS_TYPES_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UINT64_T 1 @@ -55,9 +54,7 @@ #endif /* Note that <inttypes.h> includes <stdint.h>, if this is a C99 system. */ -#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> -#endif #ifdef HAVE_INTTYPES_H #include <inttypes.h> @@ -99,7 +96,12 @@ typedef short int16_t; typedef unsigned short uint16_t; typedef signed char int8_t; typedef unsigned char uint8_t; -typedef signed int ssize_t; +#if defined(_WIN64) + typedef signed __int64 ssize_t; +#else + typedef signed int ssize_t; +#endif + #ifndef INT8_MAX # define INT8_MAX 127 #endif Added files: Index: src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h diff -u /dev/null src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h:1.2.12.2 --- /dev/null Thu May 22 16:13:27 2014 +++ src/external/bsd/llvm/config/mclinker/mcld/Config/Config.h Thu May 22 16:13:26 2014 @@ -0,0 +1,114 @@ +/* include/mcld/Config/Config.h. Generated from Config.h.in by configure. */ +/* include/mcld/Config/Config.h.in. Generated from configure.ac by autoheader. */ + + +//===- Config.h.in --------------------------------------------------------===// +// +// The MCLinker Project +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +#ifndef MCLD_CONFIG_H +#define MCLD_CONFIG_H + + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 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 you have POSIX threads libraries and header files. */ +#define HAVE_PTHREAD 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 <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/" + +/* Target triple MCLinker will generate code for by default */ +#define MCLD_DEFAULT_TARGET_TRIPLE "x86_64--netbsd" + +/* Define if this is Unixish platform */ +#define MCLD_ON_UNIX 1 + +/* Define if this is Win32ish platform */ +/* #undef MCLD_ON_WIN32 */ + +/* MCLINKER version */ +#define MCLD_VERSION "2.1.0.0-NanHu" + +/* Name of package */ +#define PACKAGE "mclinker" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "mclin...@googlegroups.com" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "MCLinker" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "MCLinker NanHu" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "mclinker" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "NanHu" + +/* Define to necessary symbol if this constant uses a non-standard name on + your system. */ +/* #undef PTHREAD_CREATE_JOINABLE */ + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define for standalone Android linker */ +/* #undef TARGET_BUILD */ + +/* Version number of package */ +#define VERSION "NanHu" + + +#define MCLD_REGION_CHUNK_SIZE 32 +#define MCLD_NUM_OF_INPUTS 32 +#define MCLD_SECTIONS_PER_INPUT 16 +#define MCLD_SYMBOLS_PER_INPUT 128 +#define MCLD_RELOCATIONS_PER_INPUT 1024 + +#endif + Index: src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def diff -u /dev/null src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def:1.1.12.2 --- /dev/null Thu May 22 16:13:27 2014 +++ src/external/bsd/llvm/config/mclinker/mcld/Config/Linkers.def Thu May 22 16:13:26 2014 @@ -0,0 +1,28 @@ +//===- llvm/Config/Linkers.def - MCLinkers ----------------------*- C++ -*-===// +// +// The MCLinker Project +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file enumerates all of the linkers supported by this build of MCLinker. +// Clients of this file should define the MCLD_LINKER macro to be a function-like +// macro with a single parameter (the name of the target whose exe/dso can be +// generated); including this file will then enumerate all of the targets with +// linkers. +// +// The set of targets supported by MCLD is generated at configuration +// time, at which point this header is generated. Do not modify this +// header directly. +// +//===----------------------------------------------------------------------===// + +#ifndef MCLD_LINKER +# error Please define the macro MCLD_LINKER(TargetName) +#endif + +MCLD_LINKER(Mips) MCLD_LINKER(ARM) MCLD_LINKER(X86) + +#undef MCLD_LINKER Index: src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def diff -u /dev/null src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def:1.1.12.2 --- /dev/null Thu May 22 16:13:27 2014 +++ src/external/bsd/llvm/config/mclinker/mcld/Config/Targets.def Thu May 22 16:13:26 2014 @@ -0,0 +1,28 @@ +/*===- llvm/Config/Targets.def - MCLD Target Architectures ------*- C++ -*-===*\ +|* *| +|* The MCLinker Project *| +|* *| +|* This file is distributed under the University of Illinois Open Source *| +|* License. See LICENSE.TXT for details. *| +|* *| +|*===----------------------------------------------------------------------===*| +|* *| +|* This file enumerates all of the target architectures supported by *| +|* this build of MCLD. Clients of this file should define the *| +|* MCLD_TARGET macro to be a function-like macro with a single *| +|* parameter (the name of the target); including this file will then *| +|* enumerate all of the targets. *| +|* *| +|* The set of targets supported by MCLD is generated at configuration *| +|* time, at which point this header is generated. Do not modify this *| +|* header directly. *| +|* *| +\*===----------------------------------------------------------------------===*/ + +#ifndef MCLD_TARGET +# error Please define the macro MCLD_TARGET(TargetName) +#endif + +MCLD_TARGET(Mips) MCLD_TARGET(ARM) MCLD_TARGET(X86) + +#undef MCLD_TARGET