summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libiberty
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/libiberty')
-rw-r--r--gnu/usr.bin/binutils/libiberty/Makefile33
-rw-r--r--gnu/usr.bin/binutils/libiberty/config.h104
2 files changed, 110 insertions, 27 deletions
diff --git a/gnu/usr.bin/binutils/libiberty/Makefile b/gnu/usr.bin/binutils/libiberty/Makefile
index 292d1fc..9731547 100644
--- a/gnu/usr.bin/binutils/libiberty/Makefile
+++ b/gnu/usr.bin/binutils/libiberty/Makefile
@@ -5,16 +5,37 @@
.PATH: ${SRCDIR}/libiberty
LIB= iberty
-SRCS= argv.c concat.c choose-temp.c cp-demangle.c cp-demint.c \
- cplus-dem.c dyn-string.c getpwd.c getruntime.c floatformat.c \
- hashtab.c hex.c lbasename.c lrealpath.c make-relative-prefix.c \
- make-temp-file.c objalloc.c obstack.c safe-ctype.c xatexit.c \
- xexit.c xmalloc.c xstrdup.c xstrerror.c
+SRCS= argv.c \
+ concat.c \
+ choose-temp.c \
+ cp-demangle.c \
+ cp-demint.c \
+ cplus-dem.c \
+ dyn-string.c \
+ getpwd.c \
+ getruntime.c \
+ filename_cmp.c \
+ floatformat.c \
+ hashtab.c \
+ hex.c \
+ lbasename.c \
+ lrealpath.c \
+ make-relative-prefix.c \
+ make-temp-file.c \
+ objalloc.c \
+ obstack.c \
+ safe-ctype.c \
+ unlink-if-ordinary.c \
+ xatexit.c \
+ xexit.c \
+ xmalloc.c \
+ xstrdup.c \
+ xstrerror.c
# The following files are needed by gdb(1)
SRCS+= splay-tree.c
-WARNS?= 1
+WARNS?= 2
CFLAGS+= -DHAVE_CONFIG_H
INTERNALLIB=
diff --git a/gnu/usr.bin/binutils/libiberty/config.h b/gnu/usr.bin/binutils/libiberty/config.h
index 190bee5..2b00517 100644
--- a/gnu/usr.bin/binutils/libiberty/config.h
+++ b/gnu/usr.bin/binutils/libiberty/config.h
@@ -2,16 +2,6 @@
/* config.h. Generated by configure. */
/* config.in. Generated from configure.ac by autoheader. */
-/* Define to `unsigned long' if <sys/types.h> 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 <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
@@ -161,6 +202,9 @@
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
+/* Define to 1 if you have the <stdio_ext.h> header file. */
+/* #undef HAVE_STDIO_EXT_H */
+
/* Define to 1 if you have the <stdlib.h> 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 <sys/time.h> and <time.h>. */
#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 <sys/types.h> does not define. */
/* #undef pid_t */
OpenPOWER on IntegriCloud