mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
dee9979493
* mpw-config.in: Likewise. * configure: Rebuild. * targmatch.sed: New file; a sed script to build targmatch.h from config.bfd. * config.bfd: Add #if, #endif, and comments for targmatch.h. * targets.c: Include "fnmatch.h". (struct targmatch): Define. (bfd_target_match): Define by including targmatch.h. (bfd_find_target): If the target is not found by name, search for it as a configuration triplet. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o, i386dynix.o, m68k4knetbsd.o, and riscix.o. (BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c, hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c. (HFILES): Add targmatch.h. Also, alphabetize and reindent. (CFILES): Remove i386dynix.c and hp300bsd.c. (targmatch.h): New target. (do_clean): Remove targmatch.h. * configure.in: Add BFD_NEED_DECLARATION(getenv). * acconfig.h: Add NEED_DECLARATION_GETENV. * configure, config.in: Rebuild. * sysdep.h: If NEED_DECLARATION_GETENV, declare getenv. * aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
29 lines
877 B
C
29 lines
877 B
C
|
|
/* Whether strstr must be declared even if <string.h> is included. */
|
|
#undef NEED_DECLARATION_STRSTR
|
|
|
|
/* Whether malloc must be declared even if <stdlib.h> is included. */
|
|
#undef NEED_DECLARATION_MALLOC
|
|
|
|
/* Whether realloc must be declared even if <stdlib.h> is included. */
|
|
#undef NEED_DECLARATION_REALLOC
|
|
|
|
/* Whether free must be declared even if <stdlib.h> is included. */
|
|
#undef NEED_DECLARATION_FREE
|
|
|
|
/* Whether getenv must be declared even if <stdlib.h> is included. */
|
|
#undef NEED_DECLARATION_GETENV
|
|
@TOP@
|
|
|
|
/* Do we need to use the b modifier when opening binary files? */
|
|
#undef USE_BINARY_FOPEN
|
|
|
|
/* Name of host specific header file to include in trad-core.c. */
|
|
#undef TRAD_HEADER
|
|
|
|
/* Define only if <sys/procfs.h> is available *and* it defines prstatus_t. */
|
|
#undef HAVE_SYS_PROCFS_H
|
|
|
|
/* Do we really want to use mmap if it's available? */
|
|
#undef USE_MMAP
|