From d2d5b59cdd7946383bbe97693dff646a39d6c46a Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 1 Nov 2010 19:45:55 +0000 Subject: [PATCH] Update Makefile and config.h for as. --- gnu/usr.bin/binutils/as/Makefile | 3 +- gnu/usr.bin/binutils/as/config.h | 99 ++++++-------------------------- 2 files changed, 17 insertions(+), 85 deletions(-) diff --git a/gnu/usr.bin/binutils/as/Makefile b/gnu/usr.bin/binutils/as/Makefile index 1469214d1f7e..7e2df54c3fae 100644 --- a/gnu/usr.bin/binutils/as/Makefile +++ b/gnu/usr.bin/binutils/as/Makefile @@ -8,7 +8,6 @@ .PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config PROG= as -MAN= doc/as.1 SRCS+= app.c \ as.c \ atof-generic.c \ @@ -70,7 +69,7 @@ CFLAGS+= -DTARGET_CANONICAL=\"${TARGET_TUPLE}\" CFLAGS+= -DTARGET_ALIAS=\"${TARGET_TUPLE}\" CFLAGS+= -DVERSION=\"${VERSION}\" CFLAGS+= -D_GNU_SOURCE -CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} +CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/bfd -I${SRCDIR}/gas/config -I${SRCDIR} CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${TARGET_ARCH}-freebsd NO_SHARED?= yes diff --git a/gnu/usr.bin/binutils/as/config.h b/gnu/usr.bin/binutils/as/config.h index 24d3eef3af3a..9723ac77ece0 100644 --- a/gnu/usr.bin/binutils/as/config.h +++ b/gnu/usr.bin/binutils/as/config.h @@ -32,7 +32,11 @@ /* Supported emulations. */ /* #define EMULATIONS &i386elf, */ -/* Define to 1 if NLS is requested */ +/* Define if you want run-time sanity checks. */ +/* #undef ENABLE_CHECKING */ + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ /* #undef ENABLE_NLS */ /* Define to 1 if you have `alloca', as a function or macro. */ @@ -42,12 +46,6 @@ */ /* #undef HAVE_ALLOCA_H */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_ARGZ_H */ - -/* Define to 1 if you have the `dcgettext' function. */ -/* #undef HAVE_DCGETTEXT */ - /* Is the prototype for getopt in in the expected format? */ #define HAVE_DECL_GETOPT 1 @@ -55,60 +53,24 @@ don't. */ #define HAVE_DECL_VSNPRINTF 1 +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_ERRNO_H 1 -/* Define to 1 if you have the `getcwd' function. */ -#define HAVE_GETCWD 1 - -/* Define to 1 if you have the `getpagesize' function. */ -#define HAVE_GETPAGESIZE 1 - -/* Define as 1 if you have gettext and don't want to use GNU gettext. */ -/* #undef HAVE_GETTEXT */ - /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 -/* Define if your locale.h file contains LC_MESSAGES. */ -#define HAVE_LC_MESSAGES 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LIMITS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LOCALE_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_MALLOC_H */ - /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 -/* Define to 1 if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -/* Define to 1 if you have the `munmap' function. */ -#define HAVE_MUNMAP 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_NL_TYPES_H 1 - -/* Define to 1 if you have the `putenv' function. */ -#define HAVE_PUTENV 1 - /* Define to 1 if you have the `remove' function. */ /* #undef HAVE_REMOVE */ /* Define to 1 if you have the `sbrk' function. */ #define HAVE_SBRK 1 -/* Define to 1 if you have the `setenv' function. */ -#define HAVE_SETENV 1 - -/* Define to 1 if you have the `setlocale' function. */ -#define HAVE_SETLOCALE 1 - /* Define to 1 if you have the header file. */ #define HAVE_STDARG_H 1 @@ -118,24 +80,12 @@ /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 -/* Define if you have the stpcpy function */ -#define HAVE_STPCPY 1 - -/* Define to 1 if you have the `strcasecmp' function. */ -#define HAVE_STRCASECMP 1 - -/* Define to 1 if you have the `strchr' function. */ -#define HAVE_STRCHR 1 - /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 @@ -148,24 +98,16 @@ /* Define to 1 if you have the `unlink' function. */ #define HAVE_UNLINK 1 -/* Define to 1 if you have the header file. */ -/* #undef HAVE_VALUES_H */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_VARARGS_H */ -/* Define to 1 if you have the `__argz_count' function. */ -/* #undef HAVE___ARGZ_COUNT */ - -/* Define to 1 if you have the `__argz_next' function. */ -/* #undef HAVE___ARGZ_NEXT */ - -/* Define to 1 if you have the `__argz_stringify' function. */ -/* #undef HAVE___ARGZ_STRINGIFY */ - /* Using i386 COFF? */ /* #undef I386COFF */ +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + /* Using m68k COFF? */ /* #undef M68KCOFF */ @@ -220,9 +162,6 @@ /* generic support? */ /* #undef OBJ_MAYBE_GENERIC */ -/* IEEE support? */ -/* #undef OBJ_MAYBE_IEEE */ - /* SOM support? */ /* #undef OBJ_MAYBE_SOM */ @@ -285,6 +224,9 @@ /* Target vendor. */ /* #define TARGET_VENDOR "unknown" */ +/* Use b modifier when opening binary files? */ +/* #undef USE_BINARY_FOPEN */ + /* Use emulation support? */ /* #undef USE_EMULATIONS */ @@ -295,7 +237,7 @@ /* #undef USING_CGEN */ /* Version number of package */ -/* #define VERSION "2.17" */ +/* #define VERSION "2.17.50" */ /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ @@ -305,17 +247,8 @@ `char[]'. */ #define YYTEXT_POINTER 1 -/* Define to empty if `const' does not conform to ANSI C. */ -/* #undef const */ - /* 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 `long' if does not define. */ -/* #undef off_t */ - -/* Define to `unsigned' if does not define. */ -/* #undef size_t */