From owner-svn-src-projects@FreeBSD.ORG Mon Nov 1 19:40:22 2010 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABC09106564A; Mon, 1 Nov 2010 19:40:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 994888FC1C; Mon, 1 Nov 2010 19:40:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oA1JeMRg084796; Mon, 1 Nov 2010 19:40:22 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oA1JeM2L084793; Mon, 1 Nov 2010 19:40:22 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201011011940.oA1JeM2L084793@svn.freebsd.org> From: Dimitry Andric Date: Mon, 1 Nov 2010 19:40:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r214636 - projects/binutils-2.17/gnu/usr.bin/binutils/libiberty X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 19:40:22 -0000 Author: dim Date: Mon Nov 1 19:40:22 2010 New Revision: 214636 URL: http://svn.freebsd.org/changeset/base/214636 Log: Update Makefile and config.h for libiberty. Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/config.h Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile ============================================================================== --- projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile Mon Nov 1 19:39:10 2010 (r214635) +++ projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/Makefile Mon Nov 1 19:40:22 2010 (r214636) @@ -14,6 +14,7 @@ SRCS= argv.c \ dyn-string.c \ getpwd.c \ getruntime.c \ + filename_cmp.c \ floatformat.c \ hashtab.c \ hex.c \ Modified: projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/config.h ============================================================================== --- projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/config.h Mon Nov 1 19:39:10 2010 (r214635) +++ projects/binutils-2.17/gnu/usr.bin/binutils/libiberty/config.h Mon Nov 1 19:40:22 2010 (r214636) @@ -2,16 +2,6 @@ /* config.h. Generated by configure. */ /* config.in. Generated from configure.ac by autoheader. */ -/* Define to `unsigned long' if doesn't define. */ -/* #undef uintptr_t */ - - -/* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */ -#if defined(__sparc64__) || defined(__ARMEB__) || defined(TARGET_BIG_ENDIAN) -#define BYTEORDER 4321 -#else -#define BYTEORDER 1234 -#endif /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems. This function is required for alloca.c support on those systems. */ @@ -50,6 +40,57 @@ /* Define to 1 if you have the `clock' function. */ #define HAVE_CLOCK 1 +/* Define to 1 if you have the declaration of `asprintf', and to 0 if you + don't. */ +#define HAVE_DECL_ASPRINTF 1 + +/* Define to 1 if you have the declaration of `basename', and to 0 if you + don't. */ +#define HAVE_DECL_BASENAME 0 + +/* Define to 1 if you have the declaration of `calloc', and to 0 if you don't. + */ +#define HAVE_DECL_CALLOC 1 + +/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */ +#define HAVE_DECL_FFS 1 + +/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. + */ +#define HAVE_DECL_GETENV 1 + +/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't. + */ +#define HAVE_DECL_GETOPT 1 + +/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't. + */ +#define HAVE_DECL_MALLOC 1 + +/* Define to 1 if you have the declaration of `realloc', and to 0 if you + don't. */ +#define HAVE_DECL_REALLOC 1 + +/* Define to 1 if you have the declaration of `sbrk', and to 0 if you don't. + */ +#define HAVE_DECL_SBRK 1 + +/* Define to 1 if you have the declaration of `snprintf', and to 0 if you + don't. */ +#define HAVE_DECL_SNPRINTF 1 + +/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you + don't. */ +#define HAVE_DECL_STRVERSCMP 0 + +/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you + don't. */ +#define HAVE_DECL_VASPRINTF 1 + +/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you + don't. */ +#define HAVE_DECL_VSNPRINTF 1 + /* Define to 1 if you have the header file. */ #define HAVE_FCNTL_H 1 @@ -161,6 +202,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDIO_EXT_H */ + /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 @@ -168,7 +212,7 @@ #define HAVE_STPCPY 1 /* Define to 1 if you have the `stpncpy' function. */ -/* #undef HAVE_STPNCPY */ +#define HAVE_STPNCPY 1 /* Define to 1 if you have the `strcasecmp' function. */ #define HAVE_STRCASECMP 1 @@ -191,6 +235,9 @@ /* Define to 1 if you have the `strncasecmp' function. */ #define HAVE_STRNCASECMP 1 +/* Define to 1 if you have the `strndup' function. */ +#define HAVE_STRNDUP 1 + /* Define to 1 if you have the `strrchr' function. */ #define HAVE_STRRCHR 1 @@ -209,6 +256,9 @@ /* Define to 1 if you have the `strtoul' function. */ #define HAVE_STRTOUL 1 +/* Define to 1 if you have the `strverscmp' function. */ +/* #undef HAVE_STRVERSCMP */ + /* Define to 1 if you have the `sysconf' function. */ #define HAVE_SYSCONF 1 @@ -308,6 +358,12 @@ /* Define to 1 if you have the `vsprintf' function. */ #define HAVE_VSPRINTF 1 +/* Define to 1 if you have the `wait3' function. */ +#define HAVE_WAIT3 1 + +/* Define to 1 if you have the `wait4' function. */ +#define HAVE_WAIT4 1 + /* Define to 1 if you have the `waitpid' function. */ #define HAVE_WAITPID 1 @@ -323,11 +379,8 @@ /* Define if you have the _system_configuration variable. */ /* #undef HAVE__SYSTEM_CONFIGURATION */ -/* Define if the host machine stores words of multi-word integers in - big-endian order. */ -#if defined(__sparc64__) || defined(__ARMEB__) || defined(TARGET_BIG_ENDIAN) -#define HOST_WORDS_BIG_ENDIAN 1 -#endif +/* Define to 1 if you have the `__fsetlocking' function. */ +/* #undef HAVE___FSETLOCKING */ /* Define if canonicalize_file_name is not declared in system header files. */ #define NEED_DECLARATION_CANONICALIZE_FILE_NAME 1 @@ -353,6 +406,9 @@ /* Define to the version of this package. */ /* #define PACKAGE_VERSION "" */ +/* The size of a `int', as computed by sizeof. */ +/* #define SIZEOF_INT 4 */ + /* Define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses @@ -365,17 +421,23 @@ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 -/* whether byteorder is bigendian */ -#ifdef __sparc64__ -#define WORDS_BIGENDIAN 1 +/* Define to an unsigned 64-bit type available in the compiler. */ +#define UNSIGNED_64BIT_TYPE uint64_t + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +#if defined(__powerpc__) || defined(__sparc64__) +# define WORDS_BIGENDIAN 1 #endif /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ -/* Define as `__inline' if that's what the C compiler calls it, or to nothing - if it is not supported. */ +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus /* #undef inline */ +#endif /* Define to `int' if does not define. */ /* #undef pid_t */