C99 gas configury

Also remove alloca stuff since we don't use alloca in gas nowadays.

	* configure.ac: Don't check for string.h, strings.h, stdlib.h,
	errno.h, limits.h, locale.h or time.h.  Don't check for unlink,
	remove, sbrk (unused) or setlocale.  Adjust gas_test_headers.
	Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
	strstr, or vsnprintf declarations.
	(AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
	* as.h: Don't include alloca-conf.h, include config.h instead.
	Include string.h, stdlib.h, errno.h unconditionally.  Remove
	various fallback declarations.
	* asintl.h: Don't test HAVE_LOCALE_H.
	* as.c: Don't test HAVE_SETLOCALE.
	* dwarf2dbg.c: Include limits.h unconditionally.
	* expr.c: Likewise.
	* sb.c: Likewise.
	* symbols.c: Likewise.
	* config/tc-cr16.c: Likewise.
	* config/tc-d30v.c: Likewise.
	* config/tc-i386.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
	* config.in: Regenerate.
	* configure: Regenerate.
	* Makefile.in: Regenerate.
	* doc/Makefile.in: Regenerate.
This commit is contained in:
Alan Modra 2021-04-05 15:31:25 +09:30
parent 87b9f2556d
commit 23d613801d
18 changed files with 694 additions and 2146 deletions

View File

@ -1,3 +1,30 @@
2021-04-05 Alan Modra <amodra@gmail.com>
* configure.ac: Don't check for string.h, strings.h, stdlib.h,
errno.h, limits.h, locale.h or time.h. Don't check for unlink,
remove, sbrk (unused) or setlocale. Adjust gas_test_headers.
Don't check for errno, free, malloc, realoc, sbrk, strstr, getenv
strstr, or vsnprintf declarations.
(AC_ISC_POSIX, AC_FUNC_ALLOCA, AC_C_INLINE): Don't invoke.
* as.h: Don't include alloca-conf.h, include config.h instead.
Include string.h, stdlib.h, errno.h unconditionally. Remove
various fallback declarations.
* asintl.h: Don't test HAVE_LOCALE_H.
* as.c: Don't test HAVE_SETLOCALE.
* dwarf2dbg.c: Include limits.h unconditionally.
* expr.c: Likewise.
* sb.c: Likewise.
* symbols.c: Likewise.
* config/tc-cr16.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-tic54x.c (tic54x_mlib): Call remove rather than unlink.
* config.in: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2021-04-01 Martin Liska <mliska@suse.cz> 2021-04-01 Martin Liska <mliska@suse.cz>
* config/obj-coff.c (strneq): Remove strneq and use startswith. * config/obj-coff.c (strneq): Remove strneq and use startswith.

View File

@ -266,7 +266,6 @@ DEJATOOL = $(PACKAGE)
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = $(SUBDIRS)
ACLOCAL = @ACLOCAL@ ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
AMTAR = @AMTAR@ AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@ AR = @AR@

View File

@ -1256,12 +1256,10 @@ main (int argc, char ** argv)
start_time = get_run_time (); start_time = get_run_time ();
signal_init (); signal_init ();
#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES) #ifdef HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, ""); setlocale (LC_MESSAGES, "");
#endif #endif
#if defined (HAVE_SETLOCALE)
setlocale (LC_CTYPE, ""); setlocale (LC_CTYPE, "");
#endif
bindtextdomain (PACKAGE, LOCALEDIR); bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE); textdomain (PACKAGE);

View File

@ -34,29 +34,15 @@
COMMON as "". COMMON as "".
If TEST is #defined, then we are testing a module: #define COMMON as "". */ If TEST is #defined, then we are testing a module: #define COMMON as "". */
#include "alloca-conf.h" #include "config.h"
/* Now, tend to the rest of the configuration. */ /* Now, tend to the rest of the configuration. */
/* System include files first... */ /* System include files first... */
#include <stdio.h> #include <stdio.h>
#ifdef STRING_WITH_STRINGS
#include <string.h> #include <string.h>
#include <strings.h>
#else
#ifdef HAVE_STRING_H
#include <string.h>
#else
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#endif
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h> #include <stdlib.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
@ -65,10 +51,7 @@
#include <sys/types.h> #include <sys/types.h>
#endif #endif
#ifdef HAVE_ERRNO_H
#include <errno.h> #include <errno.h>
#endif
#include <stdarg.h> #include <stdarg.h>
#include "getopt.h" #include "getopt.h"
@ -101,41 +84,14 @@
#ifdef NEED_DECLARATION_ENVIRON #ifdef NEED_DECLARATION_ENVIRON
extern char **environ; extern char **environ;
#endif #endif
#ifdef NEED_DECLARATION_ERRNO
extern int errno;
#endif
#ifdef NEED_DECLARATION_FFS #ifdef NEED_DECLARATION_FFS
extern int ffs (int); extern int ffs (int);
#endif #endif
#ifdef NEED_DECLARATION_FREE
extern void free ();
#endif
#ifdef NEED_DECLARATION_MALLOC
extern void *malloc ();
extern void *realloc ();
#endif
#ifdef NEED_DECLARATION_STRSTR
extern char *strstr ();
#endif
#if !HAVE_DECL_MEMPCPY #if !HAVE_DECL_MEMPCPY
void *mempcpy(void *, const void *, size_t); void *mempcpy(void *, const void *, size_t);
#endif #endif
#if !HAVE_DECL_VSNPRINTF
extern int vsnprintf(char *, size_t, const char *, va_list);
#endif
/* This is needed for VMS. */
#if ! defined (HAVE_UNLINK) && defined (HAVE_REMOVE)
#define unlink remove
#endif
/* Hack to make "gcc -Wall" not complain about obstack macros. */
#if !defined (memcpy) && !defined (bcopy)
#define bcopy(src,dest,size) memcpy (dest, src, size)
#endif
#ifndef __LINE__ #ifndef __LINE__
#define __LINE__ "unknown" #define __LINE__ "unknown"
#endif /* __LINE__ */ #endif /* __LINE__ */

View File

@ -20,18 +20,16 @@
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */ 02110-1301, USA. */
#ifdef HAVE_LOCALE_H #ifndef ENABLE_NLS
# ifndef ENABLE_NLS /* The Solaris version of locale.h always includes libintl.h. If we have
/* The Solaris version of locale.h always includes libintl.h. If we have been configured with --disable-nls then ENABLE_NLS will not be defined
been configured with --disable-nls then ENABLE_NLS will not be defined and the dummy definitions of bindtextdomain (et al) below will conflict
and the dummy definitions of bindtextdomain (et al) below will conflict with the definitions in libintl.h. So we define these values to prevent
with the definitions in libintl.h. So we define these values to prevent the bogus inclusion of libintl.h. */
the bogus inclusion of libintl.h. */ # define _LIBINTL_H
# define _LIBINTL_H # define _LIBGETTEXT_H
# define _LIBGETTEXT_H
# endif
# include <locale.h>
#endif #endif
#include <locale.h>
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
# include <libintl.h> # include <libintl.h>

View File

@ -16,17 +16,9 @@
/* assert broken? */ /* assert broken? */
#undef BROKEN_ASSERT #undef BROKEN_ASSERT
/* 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.
*/
#undef CRAY_STACKSEG_END
/* Compiling cross-assembler? */ /* Compiling cross-assembler? */
#undef CROSS_COMPILE #undef CROSS_COMPILE
/* Define to 1 if using `alloca.c'. */
#undef C_ALLOCA
/* Default architecture. */ /* Default architecture. */
#undef DEFAULT_ARCH #undef DEFAULT_ARCH
@ -79,82 +71,33 @@
language is requested. */ language is requested. */
#undef ENABLE_NLS #undef ENABLE_NLS
/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
#undef HAVE_ALLOCA_H
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */ don't. */
#undef HAVE_DECL_ASPRINTF #undef HAVE_DECL_ASPRINTF
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
*/
#undef HAVE_DECL_FREE
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
*/
#undef HAVE_DECL_GETENV
/* Is the prototype for getopt in <unistd.h> in the expected format? */ /* Is the prototype for getopt in <unistd.h> in the expected format? */
#undef HAVE_DECL_GETOPT #undef HAVE_DECL_GETOPT
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
*/
#undef HAVE_DECL_MALLOC
/* Define to 1 if you have the declaration of `mempcpy', and to 0 if you /* Define to 1 if you have the declaration of `mempcpy', and to 0 if you
don't. */ don't. */
#undef HAVE_DECL_MEMPCPY #undef HAVE_DECL_MEMPCPY
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
don't. */
#undef HAVE_DECL_REALLOC
/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
*/ */
#undef HAVE_DECL_STPCPY #undef HAVE_DECL_STPCPY
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
*/
#undef HAVE_DECL_STRSTR
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
don't. */
#undef HAVE_DECL_VSNPRINTF
/* Define to 1 if you have the <dlfcn.h> header file. */ /* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H #undef HAVE_DLFCN_H
/* Define to 1 if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
/* Define to 1 if you have the <inttypes.h> header file. */ /* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H #undef HAVE_INTTYPES_H
/* Define if your <locale.h> file defines LC_MESSAGES. */ /* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES #undef HAVE_LC_MESSAGES
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H
/* Define to 1 if you have the <memory.h> header file. */ /* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H #undef HAVE_MEMORY_H
/* Define to 1 if you have the `remove' function. */
#undef HAVE_REMOVE
/* Define to 1 if you have the `sbrk' function. */
#undef HAVE_SBRK
/* Define to 1 if you have the `setlocale' function. */
#undef HAVE_SETLOCALE
/* Define to 1 if you have the <stdint.h> header file. */ /* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H #undef HAVE_STDINT_H
@ -182,18 +125,12 @@
/* Define to 1 if you have the <sys/types.h> header file. */ /* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H #undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <time.h> header file. */
#undef HAVE_TIME_H
/* Define if <time.h> has struct tm.tm_gmtoff. */ /* Define if <time.h> has struct tm.tm_gmtoff. */
#undef HAVE_TM_GMTOFF #undef HAVE_TM_GMTOFF
/* Define to 1 if you have the <unistd.h> header file. */ /* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H #undef HAVE_UNISTD_H
/* Define to 1 if you have the `unlink' function. */
#undef HAVE_UNLINK
/* Define to 1 if you have the <windows.h> header file. */ /* Define to 1 if you have the <windows.h> header file. */
#undef HAVE_WINDOWS_H #undef HAVE_WINDOWS_H
@ -243,24 +180,9 @@
/* Define if environ is not declared in system header files. */ /* Define if environ is not declared in system header files. */
#undef NEED_DECLARATION_ENVIRON #undef NEED_DECLARATION_ENVIRON
/* Define if errno is not declared in system header files. */
#undef NEED_DECLARATION_ERRNO
/* Define if ffs is not declared in system header files. */ /* Define if ffs is not declared in system header files. */
#undef NEED_DECLARATION_FFS #undef NEED_DECLARATION_FFS
/* Define if free is not declared in system header files. */
#undef NEED_DECLARATION_FREE
/* Define if malloc is not declared in system header files. */
#undef NEED_DECLARATION_MALLOC
/* Define if sbrk is not declared in system header files. */
#undef NEED_DECLARATION_SBRK
/* Define if strstr is not declared in system header files. */
#undef NEED_DECLARATION_STRSTR
/* a.out support? */ /* a.out support? */
#undef OBJ_MAYBE_AOUT #undef OBJ_MAYBE_AOUT
@ -300,23 +222,12 @@
/* Define to the version of this package. */ /* Define to the version of this package. */
#undef PACKAGE_VERSION #undef PACKAGE_VERSION
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at runtime.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS #undef STDC_HEADERS
/* Using strict COFF? */ /* Using strict COFF? */
#undef STRICTCOFF #undef STRICTCOFF
/* Define if you can safely include both <string.h> and <strings.h>. */
#undef STRING_WITH_STRINGS
/* Target alias. */ /* Target alias. */
#undef TARGET_ALIAS #undef TARGET_ALIAS
@ -414,12 +325,3 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */ /* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE #undef _POSIX_SOURCE
/* 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 `unsigned int' if <sys/types.h> does not define. */
#undef size_t

View File

@ -26,9 +26,7 @@
#include "opcode/cr16.h" #include "opcode/cr16.h"
#include "elf/cr16.h" #include "elf/cr16.h"
#ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#endif
#ifndef CHAR_BIT #ifndef CHAR_BIT
#define CHAR_BIT 8 #define CHAR_BIT 8
#endif #endif

View File

@ -31,10 +31,7 @@ const char *md_shortopts = "OnNcC";
const char EXP_CHARS[] = "eE"; const char EXP_CHARS[] = "eE";
const char FLT_CHARS[] = "dD"; const char FLT_CHARS[] = "dD";
#if HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#endif
#ifndef CHAR_BIT #ifndef CHAR_BIT
#define CHAR_BIT 8 #define CHAR_BIT 8
#endif #endif

View File

@ -32,17 +32,7 @@
#include "dw2gencfi.h" #include "dw2gencfi.h"
#include "elf/x86-64.h" #include "elf/x86-64.h"
#include "opcodes/i386-init.h" #include "opcodes/i386-init.h"
#ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#else
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifndef INT_MAX
#define INT_MAX (int) (((unsigned) (-1)) >> 1)
#endif
#endif
#ifndef INFER_ADDR_PREFIX #ifndef INFER_ADDR_PREFIX
#define INFER_ADDR_PREFIX 1 #define INFER_ADDR_PREFIX 1

View File

@ -51,10 +51,7 @@
#include "elf/ia64.h" #include "elf/ia64.h"
#include "bfdver.h" #include "bfdver.h"
#include <time.h> #include <time.h>
#ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#endif
#define NELEMS(a) ((int) (sizeof (a)/sizeof ((a)[0]))) #define NELEMS(a) ((int) (sizeof (a)/sizeof ((a)[0])))

View File

@ -2357,7 +2357,7 @@ tic54x_mlib (int ignore ATTRIBUTE_UNUSED)
fclose (ftmp); fclose (ftmp);
free (buf); free (buf);
input_scrub_insert_file (fname); input_scrub_insert_file (fname);
unlink (fname); remove (fname);
} }
} }

2570
gas/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,6 @@ dnl we specify this explicitly, automake-1.7 will assume that ylwrap is in
dnl gas/ instead of gas/../. dnl gas/ instead of gas/../.
AC_CONFIG_AUX_DIR(..) AC_CONFIG_AUX_DIR(..)
AC_CANONICAL_TARGET AC_CANONICAL_TARGET
AC_ISC_POSIX
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
@ -941,8 +940,7 @@ AM_MAINTAINER_MODE
AM_CONDITIONAL(GENINSRC_NEVER, false) AM_CONDITIONAL(GENINSRC_NEVER, false)
AC_EXEEXT AC_EXEEXT
AC_CHECK_HEADERS(string.h stdlib.h memory.h strings.h unistd.h errno.h sys/types.h limits.h locale.h time.h sys/stat.h) AC_CHECK_HEADERS(memory.h sys/stat.h sys/types.h unistd.h)
ACX_HEADER_STRING
# Put this here so that autoconf's "cross-compiling" message doesn't confuse # Put this here so that autoconf's "cross-compiling" message doesn't confuse
# people who are not cross-compiling but are compiling cross-assemblers. # people who are not cross-compiling but are compiling cross-assemblers.
@ -955,14 +953,6 @@ else
fi fi
AC_MSG_RESULT($cross_gas) AC_MSG_RESULT($cross_gas)
dnl ansidecl.h will deal with const
dnl AC_C_CONST
AC_FUNC_ALLOCA
AC_C_INLINE
# VMS doesn't have unlink.
AC_CHECK_FUNCS(unlink remove, break)
AC_CHECK_FUNCS(sbrk setlocale)
AC_CHECK_FUNCS(strsignal) AC_CHECK_FUNCS(strsignal)
AM_LC_MESSAGES AM_LC_MESSAGES
@ -987,29 +977,13 @@ gas_test_headers="
#ifdef HAVE_MEMORY_H #ifdef HAVE_MEMORY_H
#include <memory.h> #include <memory.h>
#endif #endif
#ifdef HAVE_STRING_H
#include <string.h> #include <string.h>
#else
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h> #include <stdlib.h>
#endif
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif
" "
# Does errno.h declare errno, or do we have to add a separate declaration
# for it?
GAS_CHECK_DECL_NEEDED(errno, f, int f, [
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
])
AC_MSG_CHECKING(for a known getopt prototype in unistd.h) AC_MSG_CHECKING(for a known getopt prototype in unistd.h)
AC_CACHE_VAL(gas_cv_decl_getopt_unistd_h, AC_CACHE_VAL(gas_cv_decl_getopt_unistd_h,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <unistd.h>], [extern int getopt (int, char *const*, const char *);])], [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <unistd.h>], [extern int getopt (int, char *const*, const char *);])],
@ -1022,12 +996,8 @@ fi
GAS_CHECK_DECL_NEEDED(environ, f, char **f, $gas_test_headers) GAS_CHECK_DECL_NEEDED(environ, f, char **f, $gas_test_headers)
GAS_CHECK_DECL_NEEDED(ffs, f, int (*f)(int), $gas_test_headers) GAS_CHECK_DECL_NEEDED(ffs, f, int (*f)(int), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(free, f, void (*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(malloc, f, char *(*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(sbrk, f, char *(*f)(), $gas_test_headers)
GAS_CHECK_DECL_NEEDED(strstr, f, char *(*f)(), $gas_test_headers)
AC_CHECK_DECLS([free, getenv, malloc, mempcpy, realloc, stpcpy, strstr, vsnprintf, asprintf]) AC_CHECK_DECLS([asprintf, mempcpy, stpcpy])
BFD_BINARY_FOPEN BFD_BINARY_FOPEN

View File

@ -228,7 +228,6 @@ am__DIST_COMMON = $(as_TEXINFOS) $(srcdir)/Makefile.in \
$(top_srcdir)/../mkinstalldirs $(top_srcdir)/../mkinstalldirs
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@ ACLOCAL = @ACLOCAL@
ALLOCA = @ALLOCA@
AMTAR = @AMTAR@ AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AR = @AR@ AR = @AR@

View File

@ -30,18 +30,7 @@
#include "as.h" #include "as.h"
#include "safe-ctype.h" #include "safe-ctype.h"
#ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#else
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifndef INT_MAX
#define INT_MAX (int) (((unsigned) (-1)) >> 1)
#endif
#endif
#include "dwarf2dbg.h" #include "dwarf2dbg.h"
#include <filenames.h> #include <filenames.h>

View File

@ -28,9 +28,7 @@
#include "as.h" #include "as.h"
#include "safe-ctype.h" #include "safe-ctype.h"
#ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#endif
#ifndef CHAR_BIT #ifndef CHAR_BIT
#define CHAR_BIT 8 #define CHAR_BIT 8
#endif #endif

View File

@ -24,9 +24,7 @@
#include "as.h" #include "as.h"
#include "sb.h" #include "sb.h"
#ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#endif
#ifndef CHAR_BIT #ifndef CHAR_BIT
#define CHAR_BIT 8 #define CHAR_BIT 8
#endif #endif

View File

@ -26,9 +26,7 @@
#include "subsegs.h" #include "subsegs.h"
#include "write.h" #include "write.h"
#ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
#endif
#ifndef CHAR_BIT #ifndef CHAR_BIT
#define CHAR_BIT 8 #define CHAR_BIT 8
#endif #endif