2014-07-04 05:29:42 +02:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2012-05-17 17:13:28 +02:00
|
|
|
/* Check that config.h is #included before system headers
|
|
|
|
(this works only for glibc, but that should be enough). */
|
2012-09-11 00:30:57 +02:00
|
|
|
#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
|
2012-05-17 17:13:28 +02:00
|
|
|
# error config.h must be #included before system headers
|
|
|
|
#endif
|
|
|
|
#define __CONFIG_H__ 1
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define if using AIX 5.2 value for C_WEAKEXT. */
|
|
|
|
#undef AIX_WEAK_SUPPORT
|
2001-04-24 17:22:25 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* assert broken? */
|
|
|
|
#undef BROKEN_ASSERT
|
2001-04-24 17:22:25 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* 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.
|
|
|
|
*/
|
2001-04-25 21:09:30 +02:00
|
|
|
#undef CRAY_STACKSEG_END
|
2001-04-24 17:22:25 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Compiling cross-assembler? */
|
|
|
|
#undef CROSS_COMPILE
|
|
|
|
|
|
|
|
/* Define to 1 if using `alloca.c'. */
|
|
|
|
#undef C_ALLOCA
|
|
|
|
|
|
|
|
/* Default architecture. */
|
|
|
|
#undef DEFAULT_ARCH
|
|
|
|
|
2005-03-11 20:52:51 +01:00
|
|
|
/* Default CRIS architecture. */
|
|
|
|
#undef DEFAULT_CRIS_ARCH
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Default emulation. */
|
|
|
|
#undef DEFAULT_EMULATION
|
|
|
|
|
2015-10-19 12:45:54 +02:00
|
|
|
/* Define if you want compressed debug sections by default. */
|
|
|
|
#undef DEFAULT_FLAG_COMPRESS_DEBUG
|
|
|
|
|
Properly implement STT_COMMON
The BFD configure option, --enable-elf-stt-common, can't be to used to
verify STT_COMMON implementation with the normal binutils build. Instead,
this patch removes it from BFD. It adds --elf-stt-common=[no|yes] to ELF
assembler/objcopy and adds -z common/-z nocommon to ld.
A configure option, --enable-elf-stt-common, is added to gas to specify
whether ELF assembler should generate common symbols with the STT_COMMON
type by default.
Since BSF_KEEP_G is never used, it is renamed to BSF_ELF_COMMON for ELF
common symbols.
bfd/
PR ld/19645
* bfd.c (bfd): Change flags to 20 bits.
(BFD_CONVERT_ELF_COMMON): New.
(BFD_USE_ELF_STT_COMMON): Likewise.
(BFD_FLAGS_SAVED): Add BFD_CONVERT_ELF_COMMON and
BFD_USE_ELF_STT_COMMON.
(BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
* configure.ac: Remove --enable-elf-stt-common.
* elf.c (swap_out_syms): Choose STT_COMMON or STT_OBJECT for
common symbol depending on BFD_CONVERT_ELF_COMMON and
BFD_USE_ELF_STT_COMMON.
* elfcode.h (elf_slurp_symbol_table): Set BSF_ELF_COMMON for
STT_COMMON.
* elflink.c (bfd_elf_link_mark_dynamic_symbol): Also check
STT_COMMON.
(elf_link_convert_common_type): New function.
(elf_link_output_extsym): Choose STT_COMMON or STT_OBJECT for
common symbol depending on BFD_CONVERT_ELF_COMMON and
BFD_USE_ELF_STT_COMMON. Set sym.st_info after sym.st_shndx.
* elfxx-target.h (TARGET_BIG_SYM): Add BFD_CONVERT_ELF_COMMON
and BFD_USE_ELF_STT_COMMON to object_flags.
(TARGET_LITTLE_SYM): Likewise.
* syms.c (BSF_KEEP_G): Renamed to ...
(BSF_ELF_COMMON): This.
* bfd-in2.h: Regenerated.
* config.in: Likewise.
* configure: Likewise.
binutils/
PR ld/19645
* NEWS: Mention --elf-stt-common= for objcopy.
* doc/binutils.texi: Document --elf-stt-common= for objcopy.
* objcopy.c (do_elf_stt_common): New.
(command_line_switch): Add OPTION_ELF_STT_COMMON.
(copy_options): Add --elf-stt-common=.
(copy_usage): Add --elf-stt-common=.
(copy_object): Also check do_elf_stt_common for ELF targets.
(copy_file): Handle do_elf_stt_common.
(copy_main): Handle OPTION_ELF_STT_COMMON.
* readelf.c (apply_relocations): Support STT_COMMON.
* testsuite/binutils-all/common-1.s: New file.
* testsuite/binutils-all/common-1a.d: Likewise.
* testsuite/binutils-all/common-1b.d: Likewise.
* testsuite/binutils-all/common-1c.d: Likewise.
* testsuite/binutils-all/common-1d.d: Likewise.
* testsuite/binutils-all/common-1e.d: Likewise.
* testsuite/binutils-all/common-1f.d: Likewise.
* testsuite/binutils-all/common-2.s: Likewise.
* testsuite/binutils-all/common-2a.d: Likewise.
* testsuite/binutils-all/common-2b.d: Likewise.
* testsuite/binutils-all/common-2c.d: Likewise.
* testsuite/binutils-all/common-2d.d: Likewise.
* testsuite/binutils-all/common-2e.d: Likewise.
* testsuite/binutils-all/common-2f.d: Likewise.
* testsuite/binutils-all/objcopy.exp
(objcopy_test_elf_common_symbols): New proc.
Run objcopy_test_elf_common_symbols for ELF targets
gas/
PR ld/19645
* NEWS: Mention --enable-elf-stt-common and --elf-stt-common=
for ELF assemblers.
* as.c (flag_use_elf_stt_common): New.
(show_usage): Add --elf-stt-common=.
(option_values): Add OPTION_ELF_STT_COMMON.
(std_longopts): Add --elf-stt-common=.
(parse_args): Handle --elf-stt-common=.
* as.h (flag_use_elf_stt_common): New.
* config.in: Regenerated.
* configure: Likewise.
* configure.ac: Add --enable-elf-stt-common and define
DEFAULT_GENERATE_ELF_STT_COMMON.
* gas/write.c (write_object_file): Set BFD_CONVERT_ELF_COMMON
and BFD_USE_ELF_STT_COMMON if flag_use_elf_stt_common is set.
* doc/as.texinfo: Document --elf-stt-common=.
* testsuite/gas/elf/common3.s: New file.
* testsuite/gas/elf/common3a.d: Likewise.
* testsuite/gas/elf/common3b.d: Likewise.
* testsuite/gas/elf/common4.s: Likewise.
* testsuite/gas/elf/common4a.d: Likewise.
* testsuite/gas/elf/common4b.d: Likewise.
* testsuite/gas/i386/dw2-compress-3b.d: Likewise.
* testsuite/gas/i386/dw2-compressed-3b.d: Likewise.
* testsuite/gas/elf/elf.exp: Run common3a, common3b, common4a
and common4b.
* testsuite/gas/i386/dw2-compress-3.d: Renamed to ...
* testsuite/gas/i386/dw2-compress-3a.d: This. Pass
--elf-stt-common=no to as.
* testsuite/gas/i386/dw2-compressed-3.d: Renamed to ...
* testsuite/gas/i386/dw2-compressed-3a.d: This. Pass
--elf-stt-common=no to as.
* testsuite/gas/i386/i386.exp: Run dw2-compress-3a,
dw2-compress-3b, dw2-compressed-3a and dw2-compressed-3b instead
of dw2-compress-3 and dw2-compressed-3.
include/
PR ld/19645
* bfdlink.h (bfd_link_elf_stt_common): New enum.
(bfd_link_info): Add elf_stt_common.
ld/
PR ld/19645
* NEWS: Mention -z common/-z nocommon for ELF targets.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-z common and -z nocommon.
* ld.texinfo: Document -z common/-z nocommon.
* lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
* testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
--elf-stt-common=yes with assembler.
* testsuite/ld-elfcomm/common-1.s: New file.
* testsuite/ld-elfcomm/common-1a.d: Likewise.
* testsuite/ld-elfcomm/common-1b.d: Likewise.
* testsuite/ld-elfcomm/common-1c.d: Likewise.
* testsuite/ld-elfcomm/common-1d.d: Likewise.
* testsuite/ld-elfcomm/common-1e.d: Likewise.
* testsuite/ld-elfcomm/common-1f.d: Likewise.
* testsuite/ld-elfcomm/common-2.s: Likewise.
* testsuite/ld-elfcomm/common-2a.d: Likewise.
* testsuite/ld-elfcomm/common-2b.d: Likewise.
* testsuite/ld-elfcomm/common-2c.d: Likewise.
* testsuite/ld-elfcomm/common-2d.d: Likewise.
* testsuite/ld-elfcomm/common-2e.d: Likewise.
* testsuite/ld-elfcomm/common-2f.d: Likewise.
* testsuite/ld-elfcomm/common-3a.rd: Likewise.
* testsuite/ld-elfcomm/common-3b.rd: Likewise.
* testsuite/ld-i386/pr19645.d: Likewise.
* testsuite/ld-i386/pr19645.s: Likewise.
* testsuite/ld-x86-64/largecomm-1.s: Likewise.
* testsuite/ld-x86-64/largecomm-1a.d: Likewise.
* testsuite/ld-x86-64/largecomm-1b.d: Likewise.
* testsuite/ld-x86-64/largecomm-1c.d: Likewise.
* testsuite/ld-x86-64/largecomm-1d.d: Likewise.
* testsuite/ld-x86-64/largecomm-1e.d: Likewise.
* testsuite/ld-x86-64/largecomm-1f.d: Likewise.
* testsuite/ld-x86-64/pr19645.d: Likewise.
* testsuite/ld-x86-64/pr19645.s: Likewise.
* testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
with assembler.
(assembler_generates_commons): Removed.
Run -z common/-z nocommon tests. Run *.d tests.
* testsuite/ld-i386/i386.exp: Run pr19645.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
assembler. Test STT_COMMON with readelf.
2016-02-22 18:18:52 +01:00
|
|
|
/* Define to 1 if you want to generate ELF common symbols with the STT_COMMON
|
|
|
|
type by default. */
|
|
|
|
#undef DEFAULT_GENERATE_ELF_STT_COMMON
|
|
|
|
|
2016-02-03 17:25:15 +01:00
|
|
|
/* Define to 1 if you want to generate x86 relax relocations by default. */
|
|
|
|
#undef DEFAULT_GENERATE_X86_RELAX_RELOCATIONS
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Supported emulations. */
|
|
|
|
#undef EMULATIONS
|
|
|
|
|
2007-04-21 07:15:41 +02:00
|
|
|
/* Define if you want run-time sanity checks. */
|
|
|
|
#undef ENABLE_CHECKING
|
|
|
|
|
2006-06-01 14:21:05 +02:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
2004-03-19 08:05:56 +01:00
|
|
|
#undef ENABLE_NLS
|
|
|
|
|
|
|
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
1999-05-03 09:29:11 +02:00
|
|
|
#undef HAVE_ALLOCA
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
|
|
|
*/
|
1999-05-03 09:29:11 +02:00
|
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
|
2015-08-26 11:56:26 +02:00
|
|
|
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_ASPRINTF
|
|
|
|
|
2012-06-18 06:43:07 +02:00
|
|
|
/* 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
|
|
|
|
|
ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* configure.in: Add cases for Renesas m32c.
* configure: Regenerated.
bfd/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for m32c-*-elf (Renesas m32c and m16c).
* Makefile.am (ALL_MACHINES): Add cpu-m32c.lo.
(ALL_MACHINES_CFILES): Add cpu-m32c.c.
(BFD32_BACKENDS): Add elf32-m32c.lo.
(BFD32_BACKENDS_CFILES): Add elf32-m32c.c.
(cpu-m32c.lo, elf32-m32c.lo): New rules, generated by 'make dep-am'.
* Makefile.in: Regenerated.
* archures.c (bfd_arch_m32c, bfd_mach_m16c, bfd_mach_m32c): New
arch and mach codes.
(bfd_m32c_arch): New arch info object.
(bfd_archures_list): List bfd_m32c_arch.
* bfd-in2.h: Regenerated.
* config.bfd: Add case for the m32c.
* configure.in: Add case for the m32c.
* configure: Regenerated.
* cpu-m32c.c, elf32-m32c.c: New files.
* libbfd.h: Regenerated.
* targets.c (bfd_elf32_m32c_vec): Declare.
(_bfd_target_vector): List bfd_elf32_m32c_vec.
binutils/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* readelf.c: #include "elf/m32c.h"
(guess_is_rela, dump_relocations, get_machine_name): Add cases for
EM_M32C.
* Makefile.am (readelf.o): Update dependencies.
* Makefile.in: Regenerated.
cpu/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* m32c.cpu, m32c.opc: Machine description for the Renesas M32C.
gas/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C.
* Makefile.am (CPU_TYPES): List m32c.
(TARGET_CPU_CFILES): List config/tc-m32c.c.
(TARGET_CPU_HFILES): List config/tc-m32c.h.
* configure.in: Add case for m32c.
* configure.tgt: Add cases for m32c and m32c-*-elf.
* configure: Regenerated.
* config/tc-m32c.c, config/tc-m32c.h: New files.
* doc/Makefile.am (CPU_DOCS): Add c-m32c.texi.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Set M32C.
* doc/as.texinfo: Add text for the M32C-specific options and line
comment characters, and refer to c-m32c.texi.
* doc/c-m32c.texi: New file.
include/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
* dis-asm.h (print_insn_m32c): New declaration.
include/elf/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for Renesas M32C and M16C.
* common.h (EM_M32C): New machine number.
* m32c.h: New file.
ld/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
(eelf32m32c.c): New target.
* Makefile.in: Regenerated.
* configure.tgt: Add case for m32c-*-elf.
* emulparams/elf32m32c.sh: New file.
opcodes/ChangeLog:
2005-07-14 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c: New.
* m32c-desc.h, m32c-opc.h: New.
* Makefile.am (HFILES): List m32c-desc.h and m32c-opc.h.
(CFILES): List m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c,
m32c-opc.c.
(ALL_MACHINES): List m32c-asm.lo, m32c-desc.lo, m32c-dis.lo,
m32c-ibld.lo, m32c-opc.lo.
(CLEANFILES): List stamp-m32c.
(M32C_DEPS): List stamp-m32c, if CGEN_MAINT.
(CGEN_CPUS): Add m32c.
(m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c)
(m32c-desc.h, m32c-opc.h): Depend on M32C_DEPS.
(m32c_opc_h): New variable.
(stamp-m32c, m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo)
(m32c-opc.lo): New rules.
* Makefile.in: Regenerated.
* configure.in: Add case for bfd_m32c_arch.
* configure: Regenerated.
* disassemble.c (ARCH_m32c): New.
[ARCH_m32c]: #include "m32c-desc.h".
(disassembler) [ARCH_m32c]: Add case for bfd_arch_m32c.
(disassemble_init_for_target) [ARCH_m32c]: Same.
* cgen-ops.h, cgen-types.h: New files.
* Makefile.am (HFILES): List them.
* Makefile.in: Regenerated.
2005-07-15 00:52:28 +02:00
|
|
|
/* Is the prototype for getopt in <unistd.h> in the expected format? */
|
|
|
|
#undef HAVE_DECL_GETOPT
|
|
|
|
|
2012-06-18 06:43:07 +02:00
|
|
|
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_MALLOC
|
|
|
|
|
2009-12-16 01:28:56 +01:00
|
|
|
/* Define to 1 if you have the declaration of `mempcpy', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_MEMPCPY
|
|
|
|
|
2012-06-18 06:43:07 +02:00
|
|
|
/* 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
|
|
|
|
|
2006-02-14 09:59:10 +01:00
|
|
|
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_VSNPRINTF
|
|
|
|
|
2007-07-02 09:12:53 +02:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <errno.h> header file. */
|
|
|
|
#undef HAVE_ERRNO_H
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2012-04-05 10:43:41 +02:00
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
|
2007-09-09 03:22:57 +02:00
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
|
|
#undef HAVE_LIMITS_H
|
|
|
|
|
2012-04-06 18:49:02 +02:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the `remove' function. */
|
1999-05-03 09:29:11 +02:00
|
|
|
#undef HAVE_REMOVE
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the `sbrk' function. */
|
1999-05-03 09:29:11 +02:00
|
|
|
#undef HAVE_SBRK
|
|
|
|
|
2012-04-06 18:49:02 +02:00
|
|
|
/* Define to 1 if you have the `setlocale' function. */
|
|
|
|
#undef HAVE_SETLOCALE
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
2001-04-25 21:09:30 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#undef HAVE_STDLIB_H
|
2001-04-25 21:09:30 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
|
|
#undef HAVE_STRINGS_H
|
2001-04-25 21:09:30 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
1999-05-03 09:29:11 +02:00
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
2017-01-18 14:23:10 +01:00
|
|
|
/* Define to 1 if you have the `strsignal' function. */
|
|
|
|
#undef HAVE_STRSIGNAL
|
|
|
|
|
2009-09-07 11:15:31 +02:00
|
|
|
/* Define if <sys/stat.h> has struct stat.st_mtim.tv_nsec */
|
|
|
|
#undef HAVE_ST_MTIM_TV_NSEC
|
|
|
|
|
|
|
|
/* Define if <sys/stat.h> has struct stat.st_mtim.tv_sec */
|
|
|
|
#undef HAVE_ST_MTIM_TV_SEC
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
1999-05-03 09:29:11 +02:00
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2009-09-07 11:15:31 +02:00
|
|
|
/* 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
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
1999-05-03 09:29:11 +02:00
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if you have the `unlink' function. */
|
|
|
|
#undef HAVE_UNLINK
|
|
|
|
|
2014-08-14 06:16:09 +02:00
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
|
|
|
#undef HAVE_WINDOWS_H
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Using i386 COFF? */
|
|
|
|
#undef I386COFF
|
2000-09-02 22:46:19 +02:00
|
|
|
|
2007-07-02 09:12:53 +02:00
|
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
|
|
*/
|
|
|
|
#undef LT_OBJDIR
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Default CPU for MIPS targets. */
|
|
|
|
#undef MIPS_CPU_STRING_DEFAULT
|
[gas/]
* doc/c-mips.texi: Remove -mcpu. Document -mabi.
* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
* configure, config.in: Regenerate.
* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
(mips_set_options): Remove "abi" field.
(mips_opts): Update accordingly. Replace all uses of mips_opts.abi
with mips_abi.
(mips_cpu): Remove.
(mips_arch_string, mips_arch_info): New vars.
(mips_tune_string, mips_tune_info): New vars.
(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
(mips_isa_to_str, mips_cpu_to_str): Remove.
(mips_ip): If the selected architecture is a generic ISA rather
than a processor, only mention the ISA level in error messages.
(OPTION_MCPU): Remove.
(OPTION_FP64): New.
(md_longopts): Add -mfp64, remove -mcpu.
(mips_set_option_string): New fn.
(md_parse_option): Make -mipsN update file_mips_isa rather than
mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
Don't let -mgp32 and -mfp32 change the ABI.
(show): Move to end of file. Constify string argument.
(md_show_usage): Move to the end of the file. Read available
architectures from mips_cpu_info_table.
(mips_set_architecture): New fn.
(mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
is an alias for -march=mipsN. Don't change the ABI based on other
flags. Infer the register size from the ABI as well as the
architecture. Complain about more conflicting arguments.
Unify logic with GCC.
(s_mipsset): Don't change the ABI.
(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
"mipsN"-type entries. Remove entries that vary only in the
manufacturer's prefix, or that have "000" replaced by "k".
Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
(mips_parse_cpu): New fn.
(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
(mips_cpu_info_from_isa): Minor formatting tweak.
[gas/testsuite]
* gas/mips/mips-gp32-fp64.d,
* gas/mips/mips-gp32-fp64-pic.d: Add -mfp64.
2002-07-25 11:48:07 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Generate 64-bit code by default on MIPS targets. */
|
[gas/]
* doc/c-mips.texi: Remove -mcpu. Document -mabi.
* configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
(USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
* configure, config.in: Regenerate.
* config/tc-mips.c (file_mips_abi): Rename to mips_abi.
(mips_set_options): Remove "abi" field.
(mips_opts): Update accordingly. Replace all uses of mips_opts.abi
with mips_abi.
(mips_cpu): Remove.
(mips_arch_string, mips_arch_info): New vars.
(mips_tune_string, mips_tune_info): New vars.
(ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
(mips_isa_to_str, mips_cpu_to_str): Remove.
(mips_ip): If the selected architecture is a generic ISA rather
than a processor, only mention the ISA level in error messages.
(OPTION_MCPU): Remove.
(OPTION_FP64): New.
(md_longopts): Add -mfp64, remove -mcpu.
(mips_set_option_string): New fn.
(md_parse_option): Make -mipsN update file_mips_isa rather than
mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
Don't let -mgp32 and -mfp32 change the ABI.
(show): Move to end of file. Constify string argument.
(md_show_usage): Move to the end of the file. Read available
architectures from mips_cpu_info_table.
(mips_set_architecture): New fn.
(mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
is an alias for -march=mipsN. Don't change the ABI based on other
flags. Infer the register size from the ABI as well as the
architecture. Complain about more conflicting arguments.
Unify logic with GCC.
(s_mipsset): Don't change the ABI.
(mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
(mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
"mipsN"-type entries. Remove entries that vary only in the
manufacturer's prefix, or that have "000" replaced by "k".
Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
(mips_parse_cpu): New fn.
(mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
(mips_cpu_info_from_isa): Minor formatting tweak.
[gas/testsuite]
* gas/mips/mips-gp32-fp64.d,
* gas/mips/mips-gp32-fp64-pic.d: Add -mfp64.
2002-07-25 11:48:07 +02:00
|
|
|
#undef MIPS_DEFAULT_64BIT
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Choose a default ABI for MIPS targets. */
|
2003-05-07 07:10:45 +02:00
|
|
|
#undef MIPS_DEFAULT_ABI
|
|
|
|
|
2014-03-12 05:32:00 +01:00
|
|
|
/* Define value for nds32_arch_name */
|
|
|
|
#undef NDS32_DEFAULT_ARCH_NAME
|
|
|
|
|
|
|
|
/* Define default value for nds32_audio_ext */
|
|
|
|
#undef NDS32_DEFAULT_AUDIO_EXT
|
|
|
|
|
|
|
|
/* Define default value for nds32_dx_regs */
|
|
|
|
#undef NDS32_DEFAULT_DX_REGS
|
|
|
|
|
|
|
|
/* Define default value for nds32_perf_ext */
|
|
|
|
#undef NDS32_DEFAULT_PERF_EXT
|
|
|
|
|
|
|
|
/* Define default value for nds32_perf_ext2 */
|
|
|
|
#undef NDS32_DEFAULT_PERF_EXT2
|
|
|
|
|
|
|
|
/* Define default value for nds32_string_ext */
|
|
|
|
#undef NDS32_DEFAULT_STRING_EXT
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define if environ is not declared in system header files. */
|
|
|
|
#undef NEED_DECLARATION_ENVIRON
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define if errno is not declared in system header files. */
|
|
|
|
#undef NEED_DECLARATION_ERRNO
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2005-03-30 04:55:13 +02:00
|
|
|
/* Define if ffs is not declared in system header files. */
|
|
|
|
#undef NEED_DECLARATION_FFS
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define if free is not declared in system header files. */
|
|
|
|
#undef NEED_DECLARATION_FREE
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define if malloc is not declared in system header files. */
|
|
|
|
#undef NEED_DECLARATION_MALLOC
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* 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
|
1999-05-03 09:29:11 +02:00
|
|
|
|
|
|
|
/* a.out support? */
|
|
|
|
#undef OBJ_MAYBE_AOUT
|
|
|
|
|
|
|
|
/* COFF support? */
|
|
|
|
#undef OBJ_MAYBE_COFF
|
|
|
|
|
|
|
|
/* ECOFF support? */
|
|
|
|
#undef OBJ_MAYBE_ECOFF
|
|
|
|
|
|
|
|
/* ELF support? */
|
|
|
|
#undef OBJ_MAYBE_ELF
|
|
|
|
|
|
|
|
/* generic support? */
|
|
|
|
#undef OBJ_MAYBE_GENERIC
|
|
|
|
|
|
|
|
/* SOM support? */
|
|
|
|
#undef OBJ_MAYBE_SOM
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Name of package */
|
|
|
|
#undef PACKAGE
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
|
|
|
/* Define if defaulting to ELF on SCO 5. */
|
|
|
|
#undef SCO_ELF
|
|
|
|
|
|
|
|
/* If using the C implementation of alloca, define if you know the
|
|
|
|
direction of stack growth for your system; otherwise it will be
|
2009-08-22 18:56:56 +02:00
|
|
|
automatically deduced at runtime.
|
2004-03-19 08:05:56 +01:00
|
|
|
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
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2012-05-17 17:13:28 +02:00
|
|
|
/* Define if you can safely include both <string.h> and <strings.h>. */
|
|
|
|
#undef STRING_WITH_STRINGS
|
|
|
|
|
1999-05-03 09:29:11 +02:00
|
|
|
/* Target alias. */
|
|
|
|
#undef TARGET_ALIAS
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define as 1 if big endian. */
|
|
|
|
#undef TARGET_BYTES_BIG_ENDIAN
|
|
|
|
|
1999-05-03 09:29:11 +02:00
|
|
|
/* Canonical target. */
|
|
|
|
#undef TARGET_CANONICAL
|
|
|
|
|
|
|
|
/* Target CPU. */
|
|
|
|
#undef TARGET_CPU
|
|
|
|
|
|
|
|
/* Target OS. */
|
|
|
|
#undef TARGET_OS
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define if default target is PowerPC Solaris. */
|
|
|
|
#undef TARGET_SOLARIS_COMMENT
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Target vendor. */
|
|
|
|
#undef TARGET_VENDOR
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2016-06-30 12:14:41 +02:00
|
|
|
/* Target specific CPU. */
|
|
|
|
#undef TARGET_WITH_CPU
|
|
|
|
|
2006-08-03 19:01:10 +02:00
|
|
|
/* Use b modifier when opening binary files? */
|
|
|
|
#undef USE_BINARY_FOPEN
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Use emulation support? */
|
|
|
|
#undef USE_EMULATIONS
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Allow use of E_MIPS_ABI_O32 on MIPS targets. */
|
|
|
|
#undef USE_E_MIPS_ABI_O32
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable threading extensions on Solaris. */
|
|
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
#endif
|
|
|
|
/* Enable extensions on HP NonStop. */
|
|
|
|
#ifndef _TANDEM_SOURCE
|
|
|
|
# undef _TANDEM_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable general extensions on Solaris. */
|
|
|
|
#ifndef __EXTENSIONS__
|
|
|
|
# undef __EXTENSIONS__
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Using cgen code? */
|
|
|
|
#undef USING_CGEN
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Version number of package */
|
|
|
|
#undef VERSION
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2009-08-22 18:56:56 +02:00
|
|
|
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
|
|
|
significant byte first (like Motorola and SPARC, unlike Intel). */
|
|
|
|
#if defined AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
# if defined __BIG_ENDIAN__
|
|
|
|
# define WORDS_BIGENDIAN 1
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# ifndef WORDS_BIGENDIAN
|
|
|
|
# undef WORDS_BIGENDIAN
|
|
|
|
# endif
|
|
|
|
#endif
|
2005-03-11 20:52:51 +01:00
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
|
|
|
|
`char[]'. */
|
|
|
|
#undef YYTEXT_POINTER
|
1999-05-03 09:29:11 +02:00
|
|
|
|
2008-09-11 21:02:04 +02:00
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
2008-08-15 10:31:52 +02:00
|
|
|
/* Define to 1 if on MINIX. */
|
|
|
|
#undef _MINIX
|
|
|
|
|
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
|
|
this defined. */
|
|
|
|
#undef _POSIX_1_SOURCE
|
|
|
|
|
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
|
|
#undef _POSIX_SOURCE
|
|
|
|
|
2004-03-19 08:05:56 +01:00
|
|
|
/* 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
|