summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/libbinutils
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
committerobrien <obrien@FreeBSD.org>2004-06-16 07:09:44 +0000
commitc15b182a8c9d192b8bd7b065d50f26fdc66e57bb (patch)
tree1d994d80dc9d835f3cdaf765535ae861867b19c9 /gnu/usr.bin/binutils/libbinutils
parent77e70076440e09568096be35d7dee1a7d58373bc (diff)
downloadFreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.zip
FreeBSD-src-c15b182a8c9d192b8bd7b065d50f26fdc66e57bb.tar.gz
Updated Bmake framework for Binutils 2.15.
Diffstat (limited to 'gnu/usr.bin/binutils/libbinutils')
-rw-r--r--gnu/usr.bin/binutils/libbinutils/Makefile8
-rw-r--r--gnu/usr.bin/binutils/libbinutils/config.h18
2 files changed, 8 insertions, 18 deletions
diff --git a/gnu/usr.bin/binutils/libbinutils/Makefile b/gnu/usr.bin/binutils/libbinutils/Makefile
index 8e07cc9..0390929 100644
--- a/gnu/usr.bin/binutils/libbinutils/Makefile
+++ b/gnu/usr.bin/binutils/libbinutils/Makefile
@@ -9,13 +9,9 @@ SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c \
wrstabs.c version.c binemul.c budemang.c emul_vanilla.c
WARNS?= 0
-.if ${TARGET_ARCH} == "amd64"
-BINUTILS_ARCH=x86_64
-.else
-BINUTILS_ARCH=${TARGET_ARCH}
-.endif
-CFLAGS+= -DTARGET=\"${BINUTILS_ARCH}-unknown-freebsd\"
+CFLAGS+= -DTARGET=\"${BINUTILS_ARCH}-obrien-freebsd\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
+CFLAGS+= -D_GNU_SOURCE
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
INTERNALLIB= true
diff --git a/gnu/usr.bin/binutils/libbinutils/config.h b/gnu/usr.bin/binutils/libbinutils/config.h
index e85b41c..1b35139 100644
--- a/gnu/usr.bin/binutils/libbinutils/config.h
+++ b/gnu/usr.bin/binutils/libbinutils/config.h
@@ -34,9 +34,6 @@
/* Define to `long' if <sys/types.h> doesn't define. */
/* #undef off_t */
-/* Define if you need to in order for stat and other things to work. */
-/* #undef _POSIX_SOURCE */
-
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
@@ -68,7 +65,7 @@
/* #undef HAVE_DCGETTEXT */
/* Define if you have the getc_unlocked function. */
-/* #undef HAVE_GETC_UNLOCKED */
+#define HAVE_GETC_UNLOCKED 1
/* Define if you have the getcwd function. */
#define HAVE_GETCWD 1
@@ -142,12 +139,6 @@
/* Define if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
-/* Define if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
@@ -158,7 +149,7 @@
#define PACKAGE "binutils"
/* Version number of package */
-/* #define VERSION "2.13.2" */
+/* #define VERSION "2.15" */
/* Define if you have the stpcpy function */
#define HAVE_STPCPY 1
@@ -212,5 +203,8 @@
/* #undef USE_BINARY_FOPEN */
/* Configured target name. */
-/* #define TARGET "alpha-obrien-freebsd5.0" */
+/* #define TARGET "amd64-unknown-freebsd5.2" */
+
+/* Define to 1 if user symbol names have a leading underscore, 0 if not. */
+#define TARGET_PREPENDS_UNDERSCORE 0
OpenPOWER on IntegriCloud