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:
parent
87b9f2556d
commit
23d613801d
@ -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>
|
||||
|
||||
* config/obj-coff.c (strneq): Remove strneq and use startswith.
|
||||
|
@ -266,7 +266,6 @@ DEJATOOL = $(PACKAGE)
|
||||
RUNTESTDEFAULTFLAGS = --tool $$tool --srcdir $$srcdir
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
|
4
gas/as.c
4
gas/as.c
@ -1256,12 +1256,10 @@ main (int argc, char ** argv)
|
||||
start_time = get_run_time ();
|
||||
signal_init ();
|
||||
|
||||
#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
|
||||
#ifdef HAVE_LC_MESSAGES
|
||||
setlocale (LC_MESSAGES, "");
|
||||
#endif
|
||||
#if defined (HAVE_SETLOCALE)
|
||||
setlocale (LC_CTYPE, "");
|
||||
#endif
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
|
||||
|
48
gas/as.h
48
gas/as.h
@ -34,29 +34,15 @@
|
||||
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. */
|
||||
|
||||
/* System include files first... */
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef STRING_WITH_STRINGS
|
||||
#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>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
@ -65,10 +51,7 @@
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "getopt.h"
|
||||
@ -101,41 +84,14 @@
|
||||
#ifdef NEED_DECLARATION_ENVIRON
|
||||
extern char **environ;
|
||||
#endif
|
||||
#ifdef NEED_DECLARATION_ERRNO
|
||||
extern int errno;
|
||||
#endif
|
||||
#ifdef NEED_DECLARATION_FFS
|
||||
extern int ffs (int);
|
||||
#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
|
||||
void *mempcpy(void *, const void *, size_t);
|
||||
#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__
|
||||
#define __LINE__ "unknown"
|
||||
#endif /* __LINE__ */
|
||||
|
@ -20,8 +20,7 @@
|
||||
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
||||
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
|
||||
been configured with --disable-nls then ENABLE_NLS will not be defined
|
||||
and the dummy definitions of bindtextdomain (et al) below will conflict
|
||||
@ -29,9 +28,8 @@
|
||||
the bogus inclusion of libintl.h. */
|
||||
# define _LIBINTL_H
|
||||
# define _LIBGETTEXT_H
|
||||
# endif
|
||||
# include <locale.h>
|
||||
#endif
|
||||
#include <locale.h>
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
# include <libintl.h>
|
||||
|
@ -16,17 +16,9 @@
|
||||
/* assert broken? */
|
||||
#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? */
|
||||
#undef CROSS_COMPILE
|
||||
|
||||
/* Define to 1 if using `alloca.c'. */
|
||||
#undef C_ALLOCA
|
||||
|
||||
/* Default architecture. */
|
||||
#undef DEFAULT_ARCH
|
||||
|
||||
@ -79,82 +71,33 @@
|
||||
language is requested. */
|
||||
#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
|
||||
don't. */
|
||||
#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? */
|
||||
#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
|
||||
don't. */
|
||||
#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.
|
||||
*/
|
||||
#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. */
|
||||
#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. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define if your <locale.h> file defines 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. */
|
||||
#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. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
@ -182,18 +125,12 @@
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#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. */
|
||||
#undef HAVE_TM_GMTOFF
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#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. */
|
||||
#undef HAVE_WINDOWS_H
|
||||
|
||||
@ -243,24 +180,9 @@
|
||||
/* Define if environ is not declared in system header files. */
|
||||
#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. */
|
||||
#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? */
|
||||
#undef OBJ_MAYBE_AOUT
|
||||
|
||||
@ -300,23 +222,12 @@
|
||||
/* Define to the version of this package. */
|
||||
#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. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Using strict COFF? */
|
||||
#undef STRICTCOFF
|
||||
|
||||
/* Define if you can safely include both <string.h> and <strings.h>. */
|
||||
#undef STRING_WITH_STRINGS
|
||||
|
||||
/* 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. */
|
||||
#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
|
||||
|
@ -26,9 +26,7 @@
|
||||
#include "opcode/cr16.h"
|
||||
#include "elf/cr16.h"
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
@ -31,10 +31,7 @@ const char *md_shortopts = "OnNcC";
|
||||
const char EXP_CHARS[] = "eE";
|
||||
const char FLT_CHARS[] = "dD";
|
||||
|
||||
#if HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
@ -32,17 +32,7 @@
|
||||
#include "dw2gencfi.h"
|
||||
#include "elf/x86-64.h"
|
||||
#include "opcodes/i386-init.h"
|
||||
|
||||
#ifdef HAVE_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
|
||||
#define INFER_ADDR_PREFIX 1
|
||||
|
@ -51,10 +51,7 @@
|
||||
#include "elf/ia64.h"
|
||||
#include "bfdver.h"
|
||||
#include <time.h>
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#define NELEMS(a) ((int) (sizeof (a)/sizeof ((a)[0])))
|
||||
|
||||
|
@ -2357,7 +2357,7 @@ tic54x_mlib (int ignore ATTRIBUTE_UNUSED)
|
||||
fclose (ftmp);
|
||||
free (buf);
|
||||
input_scrub_insert_file (fname);
|
||||
unlink (fname);
|
||||
remove (fname);
|
||||
}
|
||||
}
|
||||
|
||||
|
2570
gas/configure
vendored
2570
gas/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -29,7 +29,6 @@ dnl we specify this explicitly, automake-1.7 will assume that ylwrap is in
|
||||
dnl gas/ instead of gas/../.
|
||||
AC_CONFIG_AUX_DIR(..)
|
||||
AC_CANONICAL_TARGET
|
||||
AC_ISC_POSIX
|
||||
|
||||
AM_INIT_AUTOMAKE
|
||||
|
||||
@ -941,8 +940,7 @@ AM_MAINTAINER_MODE
|
||||
AM_CONDITIONAL(GENINSRC_NEVER, false)
|
||||
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)
|
||||
ACX_HEADER_STRING
|
||||
AC_CHECK_HEADERS(memory.h sys/stat.h sys/types.h unistd.h)
|
||||
|
||||
# Put this here so that autoconf's "cross-compiling" message doesn't confuse
|
||||
# people who are not cross-compiling but are compiling cross-assemblers.
|
||||
@ -955,14 +953,6 @@ else
|
||||
fi
|
||||
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)
|
||||
|
||||
AM_LC_MESSAGES
|
||||
@ -987,29 +977,13 @@ gas_test_headers="
|
||||
#ifdef HAVE_MEMORY_H
|
||||
#include <memory.h>
|
||||
#endif
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#else
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#endif
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#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_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 *);])],
|
||||
@ -1022,12 +996,8 @@ fi
|
||||
|
||||
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(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
|
||||
|
||||
|
@ -228,7 +228,6 @@ am__DIST_COMMON = $(as_TEXINFOS) $(srcdir)/Makefile.in \
|
||||
$(top_srcdir)/../mkinstalldirs
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALLOCA = @ALLOCA@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
|
@ -30,18 +30,7 @@
|
||||
|
||||
#include "as.h"
|
||||
#include "safe-ctype.h"
|
||||
|
||||
#ifdef HAVE_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 <filenames.h>
|
||||
|
||||
|
@ -28,9 +28,7 @@
|
||||
#include "as.h"
|
||||
#include "safe-ctype.h"
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
2
gas/sb.c
2
gas/sb.c
@ -24,9 +24,7 @@
|
||||
#include "as.h"
|
||||
#include "sb.h"
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
@ -26,9 +26,7 @@
|
||||
#include "subsegs.h"
|
||||
#include "write.h"
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#endif
|
||||
#ifndef CHAR_BIT
|
||||
#define CHAR_BIT 8
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user