aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2004-08-27configure.ac: Add ENABLE_ASSERT_CHECKING control.Nathan Sidwell1-8/+31
* configure.ac: Add ENABLE_ASSERT_CHECKING control. Add is_release variable, use it for --enable-werror and --enable-checking defaults. * system.h (gcc_assert, gcc_unreachable): New. * doc/install.texi (--enable-checking): Update. * configure, config.in: Rebuilt. From-SVN: r86666
2004-08-21linux64.h (DOT_SYMBOLS): Define.Alan Modra1-0/+41
* config/rs6000/linux64.h (DOT_SYMBOLS): Define. (CRT_CALL_STATIC_FUNCTION): Define !DOT_SYMBOLS version. (ASM_DECLARE_FUNCTION_SIZE): Modify for !DOT_SYMBOLS. (ASM_OUTPUT_SOURCE_LINE, DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Likewise. (RS6000_ABI_NAME): Define as "linux". (SUBSUBTARGET_OVERRIDE_OPTIONS): Set dot_symbols. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Select ABI_AIX when rs6000_abi_name is "linux" and TARGET_64BIT. * config/rs6000/rs6000-protos.h (rs6000_output_function_entry): Decl. * config/rs6000/rs6000.c (dot_symbols): New global var. (rs6000_output_function_entry): New function, modified for !DOT_SYMBOLS.. (print_operand <case 'z'>): ..extracted from here. (rs6000_assemble_visibility): Modify for !DOT_SYMBOLS. (rs6000_output_function_epilogue): Likewise. (rs6000_elf_declare_function_name): Likewise. * config/rs6000/rs6000.h (DOT_SYMBOLS): Define. (ASM_WEAKEN_DECL, ASM_OUTPUT_DEF_FROM_DECLS): Modify for !DOT_SYMBOLS. * configure.ac (HAVE_LD_NO_DOT_SYMS): Add new AC_DEFINE. * configure: Regenerate. * config.in: Regenerate. From-SVN: r86354
2004-08-20configure.ac: Don't escape apostrophe in --enable-coverage help.Ben Elliston1-1/+1
* configure.ac: Don't escape apostrophe in --enable-coverage help. * configure: Regenerate. From-SVN: r86313
2004-08-20configure.ac (mips*-*-*): Print an error if not using GAS.Richard Sandiford1-0/+9
* configure.ac (mips*-*-*): Print an error if not using GAS. * configure: Regenerated. * doc/install.texi: Remove irix5 bullet from --with-gnu-as. Remove comments about buggy MIPSpro assemblers. * config.gcc (mips-sgi-irix[56]*): Combine stanzas. Include elfos.h before mips.h and iris.h after it. Use t-iris and t-slibgcc-irix. Use iris5.h only for IRIX 5 configs. Use iris6.h and t-iris6 for IRIX 6 configs. Define IRIX_USING_GNU_LD if using GNU ld. * config/mips/iris5.h (TARGET_IRIX, SWITCHES_NEED_SPACES) (DEFAULT_SIGNED_CHAR, WORD_SWITCH_TAKES_ARG, SUBTARGET_CC1_SPEC) (NO_IMPLICIT_EXTERN_C, MIPS_DEFAULT_GVALUE) (TARGET_ASM_EXTERNAL_LIBCALL): Move to iris.h. (WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS): Delete in favor of more general IRIX 6 definitions. (OBJECT_FORMAT_ELF, ASM_OUTPUT_ASCII, ASM_WEAKEN_LABEL) (HANDLE_SYSV_PRAGMA): Delete in favor of elfos.h definitions. (TARGET_IRIX5, ABICALLS_ASM_OP, BSS_SECTION_ASM_OP, HAS_INIT_SECTION) (LD_INIT_SWITCH, LD_FINI_SWITCH, SUBTARGET_ASM_OPTIMIZING_SPEC) (ASM_FINAL_SPEC, DBX_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) (PREFERRED_DEBUGGING_TYPE, DWARF2_UNWIND_INFO, SET_FILE_NUMBER) (LABEL_AFTER_LOC, DOLLARS_IN_IDENTIFIERS, NO_DOLLAR_IN_LABEL) (TARGET_ASM_NAMED_SECTION, EXTRA_SECTION_FUNCTIONS) (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_WEAK_ALIAS) (SUBTARGET_EXTRA_SPECS): Delete definitions or undefs. (LINK_SPEC): Move most of definition to iris.h. (SUBTARGET_LINK_SPEC): New macro. (IRIX_STARTFILE_SPEC): Fold into... (STARTFILE_SPEC): ...here. (IRIX_ENDFILE_SPEC): Fold into... (ENDFILE_SPEC): ...here. * config/mips/iris6.h (TARGET_IRIX5): Remove override. (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE) (DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE, SET_ASM_OP) (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES, ASM_DECLARE_OBJECT_NAME) (ASM_FINISH_DECLARE_OBJECT, LOCAL_LABEL_PREFIX): Move to iris.h. (TARGET_OS_CPP_BUILTINS): Likewise. Guard IRIX6-specific bits. (DWARF2_UNWIND_INFO, DWARF2_GENERATE_TEXT_SECTION_LABEL) (SUBTARGET_CPP_SPEC, DWARF2_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) (PREFERRED_DEBUGGING_TYPE, DWARF2_FRAME_INFO, MD_EXEC_PREFIX) (ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_FUNCTION_SIZE) (FUNCTION_NAME_ALREADY_DECLARED, SUPPORTS_INIT_PRIORITY) (POPSECTION_ASM_OP, SUBTARGET_ASM_SPEC, SUBTARGET_MIPS_AS_ASM_SPEC) (SUBTARGET_ASM_DEBUGGING_SPEC, SUBTARGET_ASM_OPTIMIZING_SPEC) (BSS_SECTION_ASM_OP*, READONLY_DATA_SECTION_ASM_OP*) (EH_FRAME_SECTION_NAME, MUST_USE_SJLJ_EXCEPTIONS, CTORS_SECTION_ASM_OP) (DTORS_SECTION_ASM_OP, TARGET_ASM_NAMED_SECTION, EH_FRAME_SECTION_NAME) (ASM_OUTPUT_ALIGN, ASM_OUTPUT_FILENAME, ASM_OUTPUT_ALIGNED_LOCAL) (ASM_OUTPUT_ALIGNED_BSS): Remove definitions or undefs. (TARGET_IRIX6): Define to 1. (DRIVER_SELF_SPECS): Define. (DWARF2_FRAME_INFO): Define to 1 rather than !TARGET_SGI_O32_AS. (SUBTARGET_CC1_SPEC): Remove in favor of DRIVER_SELF_SPECS. (SUBTARGET_LINK_SPEC): New macro. (IRIX_STARTFILE_SPEC): Fold into... (STARTFILE_SPEC): ...here. Remove !mabi=* case. (SUBTARGET_{,DONT_}WARN_UNUSED_SPEC): New macros. (LIB_SPEC, LIBGCC_SPEC): Use them. (LIB_SPEC): Remove !mabi=* case. (IRIX_ENDFILE_SPEC): Fold into... (ENDFILE_SPEC): ...here. Remove !mabi=* case. * config/mips/mips-protos.h (irix_output_external_libcall): Delete. * config/mips/mips.h (TARGET_IRIX5, TARGET_SGI_O32_AS): Delete. (TARGET_IRIX6): New macro. (ASM_ABI_DEFAULT_SPEC): Remove !ELF definition. (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX, SET_FILE_NUMBER) (LABEL_AFTER_LOC): Delete. * config/mips/mips.c (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END) (TARGET_SECTION_TYPE_FLAGS): Remove TARGET_IRIX versions. (mips_build_builtin_va_list): Check TARGET_IRIX6. (override_options): Remove TARGET_SGI_O32_AS-related code. (irix_output_external_libcall): Make static. (mips_output_filename): Avoid use of SET_FILE_NUMBER and LABEL_AFTER_LOC. (mips_file_start): Tidy guard for ABI sections. Remove use of ABICALLS_ASM_OP; use .abicalls instead. (mips_output_aligned_decl_common, mips_declare_object_name) (mips_finish_declare_object): Remove use of TARGET_SGI_O32_AS. (mips_output_function_prologue): Set TREE_ASM_WRITTEN if emitting .globl foo .text directives. (irix_asm_named_section_1, irix_asm_named_section) (irix_section_align_entry, irix_section_align_htab) (irix_orig_asm_out_file, irix_section_align_entry_eq) (irix_section_align_entry_hash, irix_asm_output_align) (irix_file_start, irix_section_align_1, copy_file_data) (irix_file_end, irix_section_type_flags): Delete. * config/mips/irix-crti.asm (__gcc_init): Move to .gcc_init section. Use standard section syntax. Remove protective "jr $31". (__gcc_fini): Likewise .gcc_fini. * config/mips/irix-crtn.asm: Adjust sections accordingly. * config/mips/sdb.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Moved from iris5gas.h. * config/mips/t-iris (irix-crti.o, irix-crtn.o): New rules, moved from t-irix-gld. (EXTRA_MULTILIB_PARTS): Define. * config/mips/t-iris6: Remove bogus comment. (EXTRA_MULTILIB_PARTS, CRTSTUFF_T_CFLAGS): Delete. * config/mips/iris5gas.h, config/mips/iris5gld.h, config/mips/iris6gas.h, config/mips/iris6gld.h, config/mips/t-iris5-as, config/mips/t-iris5-gas config/mips/t-irix-gld: Delete. * config/mips/iris.h: New file. * config/mips/t-slibgcc-irix: Renamed from t-iris5-6. From-SVN: r86309
2004-08-17Makefile.in: Regenerate.Paolo Bonzini1-26/+15
2004-08-17 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate. * configure: Regenerate. * Makefile.def (bootstrap-stage): Rename extra_*_flags to stage_*_flags. * Makefile.tpl (configure-[+module+], all-[+module+]): Exit for bootstrapped modules if toplevel bootstrap is going. (GCC bootstrap): Generate per-stage targets for all bootstrapped modules. Adjust for changes in Makefile.def. Enable several rules even in non-bootstrap mode, just to avoid peppering the template with unnecessary "@if/@endif gcc-bootstrap" pairs. (stage-[+prev+]-bubble): Remove. * Makefile.def (Dependencies): Depend on all-build-bison, all-build-flex, all-build-byacc, all-build-texinfo, rather than the host variations. * Makefile.tpl (BUILD_DIR_PREFIX): Remove. Replace throughout with BUILD_SUBDIR. (BISON): Update for recent Bisons. (YACC): Fix typo. (cross): Depend on all-build. (all): Do not depend on all-build. (prebootstrap): Remove. (dep-kind): Accept separate prefixes for MODULE and ON variables. (Prebootstrap dependencies): Add them to the per-stage targets and to all-prebootstrap. * configure.in (build_configdirs): Always enable build_tools. (BUILD_DIR_PREFIX): Remove. * Makefile.def (gcc): Add target variable. (gdb, expect, guile, tk, tix): Replace with_x with extra_make_flags. * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) in the recursive `make', instead of hardwiring `all'. (Autogenerated TARGET-* variables): New. gcc/ChangeLog: 2004-08-17 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Trust toplevel's notion of BISON/FLEX/MAKEINFO. No need to check if in a cross configuration. * configure: Regenerate. * calls.c (precompute_register_parameters): Inline preserve_subexpressions_p (). * expmed.c (expand_mult_const, emit_store_flag): Likewise. * optabs.c (expand_binop, expand_twoval_binop, prepare_cmp_insn): Likewise. * expr.c (get_subtarget): Likewise. * rtl.h (preserve_subexpressions_p): Remove. * stmt.c (preserve_subexpressions_p): Remove. * dojump.c (do_jump) <COND_EXPR, EQ_EXPR, NE_EXPR, TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, COMPOUND_EXPR>: Abort on gimplified cases. From-SVN: r86111
2004-08-16Makefile.in (BUILD_PREFIX, [...]): Delete.Zack Weinberg1-5/+0
* Makefile.in (BUILD_PREFIX, BUILD_PREFIX_1): Delete. (BUILD_RTL, BUILD_PRINT, BUILD_ERRORS, BUILD_VARRAY): Update. (genobjs): Add build-rtl.o, build-print-rtl.o, build-varray.o. (genobjs static pattern rule): Remove %.c dependency. ($(BUILD_PREFIX_1)rtl.o, print-rtl.o, $(BUILD_PREFIX_1)varray.o): Rename rules; delete commands; fix dependencies. (mostlyclean): Do not delete temporary source copies. * configure.ac: Delete all references to BUILD_PREFIX and BUILD_PREFIX_1. * configure: Regenerate. * print-rtl.c: Include bconfig.h #ifdef GENERATOR_FILE. Do not include tree.h, real.h, flags.h, hard-reg-set.h, or basic-block.h #ifdef GENERATOR_FILE. Surround some more code with #ifndef GENERATOR_FILE so that nothing from those headers is used. * rtl.c, varray.c: Include bconfig.h #ifdef GENERATOR_FILE. From-SVN: r86083
2004-08-16configure.ac: Replace _GCC_TOPLEV_NONCANONICAL_TARGET with ↵Nathanael Nerode1-2/+1
ACX_NONCANONICAL_TARGET... * configure.ac: Replace _GCC_TOPLEV_NONCANONICAL_TARGET with ACX_NONCANONICAL_TARGET; remove now-unneeded AC_SUBST. * configure: Regenerate. From-SVN: r86073
2004-08-12configure.ac: When testing for flex, nm, ar, and bison, check that they will ↵Geoffrey Keating1-4/+8
actually be built. * configure.ac: When testing for flex, nm, ar, and bison, check that they will actually be built. * configure: Regenerate. From-SVN: r85914
2004-07-23intl.c (gcc_init_libintl): Use PACKAGE for the text domain.Matthias Klose1-0/+2
2004-07-23 Matthias Klose <doko@debian.org> intl.c (gcc_init_libintl): Use PACKAGE for the text domain. configure.ac: Add AC_DEFINE_UNQUOTED for PACKAGE. config.h: Regenerate. configure: Likewise. From-SVN: r85072
2004-07-13configure.ac (gcc_cv_as_offsetable_lo10): Fix a typo.Anthony Heading1-1/+1
2004-07-13 Anthony Heading <aheading@jpmorgan.com> * configure.ac (gcc_cv_as_offsetable_lo10: Fix a typo. * configure: Rebuilt. From-SVN: r84603
2004-07-12Fix NM/AR propagation from toplevel for recursive makes.James E Wilson1-0/+15
* Makefile.in (AR): Use @AR@ not ar. (NM): New. (AR_FOR_TARGET): Use $(AR) not ar for native. (NM_FOR_TARGET): Use $(NM) not nm for native. * configure.ac: Add AC_CHECK_PROG calls for NM and AR. * configure: Regenerate. From-SVN: r84600
2004-07-11configure.ac: Alphabetize --enable-checking list, add missing valgrind entry.Phil Edwards1-6/+6
2004-07-11 Phil Edwards <phil@codesourcery.com> * configure.ac: Alphabetize --enable-checking list, add missing valgrind entry. * configure: Regenerate. From-SVN: r84495
2004-07-08system.h: Prototype getpagesize if missing.Aaron W. LaFramboise1-1/+1
* system.h: Prototype getpagesize if missing. * configure.ac: Add getpagesize to gcc_AC_CHECK_DECLS. * configure: Regenerate. * config.in: Regenerate. From-SVN: r84323
2004-07-07collect2.c (dump_file): Don't call cplus_demangle if HAVE_LD_DEMANGLE is ↵H.J. Lu1-0/+26
defined. 2004-07-07 H.J. Lu <hongjiu.lu@intel.com> * collect2.c (dump_file): Don't call cplus_demangle if HAVE_LD_DEMANGLE is defined. (main): Pass "--demangle" to ld if no_demangle is not 0 and HAVE_LD_DEMANGLE is defined. Don't set current_demangling_style if HAVE_LD_DEMANGLE is defined. * configure.ac (--with-demangler-in-ld): Added (HAVE_LD_DEMANGLE): Define if ld supports --demangle when --with-demangler-in-ld is used. * config.in: Regenerated. * configure: Likewise. From-SVN: r84227
2004-07-04configure.ac (ranlib_flags): New variable.Mark Mitchell1-0/+13
* configure.ac (ranlib_flags): New variable. * Makefile.in (RANLIB_FLAGS): New variable. (libbackend.a): Use it. * configure: Regenerated. From-SVN: r84088
2004-06-18opts.sh: Delete.Kelley Cook1-1/+1
2004-06-18 Kelley Cook <kcook@gcc.gnu.org> * opts.sh: Delete. Break out generated code to next four files. * opt-gather.awk: New file. * optc-gen.awk: New file. * opth-gen.awk: New file. * opt-functions.awk: New common file. * Makefile.in: Update for above. * configure.ac: Update comment. * configure: Regenerate. From-SVN: r83333
2004-06-12configure.ac: Don't invoke ACX_HEADER_STDBOOL.Zack Weinberg1-1/+0
gcc: * configure.ac: Don't invoke ACX_HEADER_STDBOOL. * configure, config.in: Regenerate. * system.h: Unconditionally define bool as unsigned char, BOOL_BITFIELD as unsigned int. * domwalk.h: Use BOOL_BITFIELD. libcpp: * configure.ac: Don't invoke ACX_HEADER_STDBOOL. * configure, config.in: Regenerate. * system.h: Unconditionally define bool as unsigned char, BOOL_BITFIELD as unsigned int. * .cvsignore: New file. From-SVN: r83020
2004-06-09Makefile.tpl (touch-stage[+id+]): New.Paolo Bonzini1-1/+1
2004-06-09 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (touch-stage[+id+]): New. (restage[+prev+]): Depend on touch-stage[+id+]. * Makefile.tpl (RECURSE_FLAGS_TO_PASS): New. Use it throughout. * Makefile.def: Add profile and feedback bootstrap stages. Remove next field from bootstrap stages. * Makefile.tpl (LN, LN_S): Substitute. (stageN-start, stageN-end): Use double-colon rules, to provide a hook for additional setup commands. (distclean-stageN-gcc, restageN): Create dependencies from [+prev+], not from [+next+]. (stageN-bubble): Add commands for successive stages from [+prev+], using double-colon rules. (all-stageN-gcc): Fix typo. (stagefeedback-start, profiledbootstrap): New. * Makefile.in: Regenerate. * configure.in: Call ACX_PROG_LN. * configure: Regenerate. config/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_LN): From gcc, modified to accept a parameter. gcc/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4 (gcc_AC_PROG_LN): Remove. (gcc_AC_CHECK_DECLS): Use AH_TEMPLATE to generate config.in entries. * configure.ac: Call ACX_PROG_LN, falling back to $LN_S if hard links are not available. * configure: Regenerate. * config.in: Regenerate. From-SVN: r82816
2004-06-08* configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION.Per Bothner1-0/+9
From-SVN: r82809
2004-05-27configure.ac: Remove --enable-tree-browser option.Bryce McKinlay1-9/+5
* configure.ac: Remove --enable-tree-browser option. Define TREEBROWSER when ac_tree_checking is defined. * configure: Rebuilt. From-SVN: r82338
2004-05-25configure.ac (gcc_cv_ld): Prefer in-tree ld over whatever the top-level ↵Alexandre Oliva1-10/+19
detects... * configure.ac (gcc_cv_ld): Prefer in-tree ld over whatever the top-level detects, except when in-tree ld is being cross-built. (gcc_cv_as): Likewise for as. Use AS_FOR_TARGET otherwise, and then AS only if target is host. * configure: Rebuilt. From-SVN: r82258
2004-05-24Makefile.def (host_modules): add libcpp.Paolo Bonzini1-16/+2
ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host_modules): add libcpp. * Makefile.tpl: Add dependencies on and for libcpp. * Makefile.in: Regenerate. * configure.in: Add libcpp host module. * configure: Regenerate. config/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING): From gcc. gcc/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> Move libcpp to the toplevel. * Makefile.in: Remove references to libcpp files, use CPPLIBS instead of libcpp.a. Define SYMTAB_H and change hashtable.h to that. * aclocal.m4 (gcc_AC_HEADER_STDBOOL, gcc_AC_HEADER_STRING, gcc_AC_C__BOOL): Remove. * configure.ac (gcc_AC_C__BOOL, HAVE_UCHAR): Remove tests. * configure: Regenerate. * config.in: Regenerate. * c-ppoutput.c: Include ../libcpp/internal.h instead of cpphash.h. * cppcharset.c: Removed. * cpperror.c: Removed. * cppexp.c: Removed. * cppfiles.c: Removed. * cpphash.c: Removed. * cpphash.h: Removed. * cppinit.c: Removed. * cpplex.c: Removed. * cpplib.c: Removed. * cpplib.h: Removed. * cppmacro.c: Removed. * cpppch.c: Removed. * cpptrad.c: Removed. * cppucnid.h: Removed. * cppucnid.pl: Removed. * cppucnid.tab: Removed. * hashtable.c: Removed. * hashtable.h: Removed. * line-map.c: Removed. * line-map.h: Removed. * mkdeps.c: Removed. * mkdeps.h: Removed. * stringpool.h: Include symtab.h instead of hashtable.h. * tree.h: Include symtab.h instead of hashtable.h. * system.h (O_NONBLOCK, O_NOCTTY): Do not define. gcc/cp/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * Make-lang.in: No need to specify $(LIBCPP). gcc/java/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * Make-lang.in: Link in $(LIBCPP) instead of mkdeps.o. libcpp/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> Moved libcpp from the gcc subdirectory to the toplevel. * Makefile.am: New file. * Makefile.in: Regenerate. * configure.ac: New file. * configure: Regenerate. * config.in: Regenerate. * charset.c: Moved from gcc/cppcharset.c. Add note about brokenness of input charset detection. Adjust for change in name of cppucnid.h. * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. * expr.c: Moved from gcc/cppexp.c. * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. Remove #define of O_BINARY, it is in system.h. * identifiers.c: Moved from gcc/cpphash.c. * internal.h: Moved from gcc/cpphash.h. Change header guard name. All other files adjusted to match name change. * init.c: Moved from gcc/cppinit.c. (init_library) [ENABLE_NLS]: Call bindtextdomain. * lex.c: Moved from gcc/cpplex.c. * directives.c: Moved from gcc/cpplib.c. * macro.c: Moved from gcc/cppmacro.c. * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. * traditional.c: Moved from gcc/cpptrad.c. * ucnid.h: Moved from gcc/cppucnid.h. Change header guard name. * ucnid.pl: Moved from gcc/cppucnid.pl. * ucnid.tab: Moved from gcc/cppucnid.tab. Change header guard name. * symtab.c: Moved from gcc/hashtable.c. * line-map.c: Moved from gcc. Do not include intl.h. * mkdeps.c: Moved from gcc. * system.h: New file. libcpp/include/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * cpplib.h: Moved from gcc. Change header guard name. * line-map.h: Moved from gcc. Change header guard name. * mkdeps.h: Moved from gcc. Change header guard name. * symtab.h: Moved from gcc/hashtable.h. Change header guard name. libcpp/po/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * be.po: Extracted from gcc/po/be.po. * ca.po: Extracted from gcc/po/ca.po. * da.po: Extracted from gcc/po/da.po. * de.po: Extracted from gcc/po/de.po. * el.po: Extracted from gcc/po/el.po. * es.po: Extracted from gcc/po/es.po. * fr.po: Extracted from gcc/po/fr.po. * ja.po: Extracted from gcc/po/ja.po. * nl.po: Extracted from gcc/po/nl.po. * sv.po: Extracted from gcc/po/sv.po. * tr.po: Extracted from gcc/po/tr.po. From-SVN: r82199
2004-05-13Merge tree-ssa-20020619-branch into mainline.Diego Novillo1-0/+33
From-SVN: r81764
2004-05-02configure.ac (FLEX, BISON): Only use tools from the build tree if build ↵Alexandre Oliva1-2/+2
equals host. * configure.ac (FLEX, BISON): Only use tools from the build tree if build equals host. * configure: Rebuilt. From-SVN: r81406
2004-04-30* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]Brian Ford1-0/+20
(DWARF2_DEBUGGING_INFO): Define to enable. (DBX_REGISTER_NUMBER): Define to use the svr4 register map for DWARF2. * configure.ac (Target-specific assembler checks) <i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32 relocs. * configure: Regenerate. * config.in: Likewise. * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] (ASM_OUPUT_DWARF_OFFSET): Define. From-SVN: r81359
2004-04-30configure.ac (--with-as): Abort if user-supplied assembler cannot be executed.Ben Elliston1-2/+2
* configure.ac (--with-as): Abort if user-supplied assembler cannot be executed. (--with-ld): Likewise for the linker. * configure: Regenerate. From-SVN: r81316
2004-04-17configure.ac (gcc_cv_ld_as_needed): Use AC_CACHE_CHECK.Richard Sandiford1-3/+4
* configure.ac (gcc_cv_ld_as_needed): Use AC_CACHE_CHECK. * configure: Regenerate. From-SVN: r80788
2004-04-15libada-mk.in: New file.Nathanael Nerode1-1/+1
* libada-mk.in: New file. * configure.ac: Create libada-mk from libada-mk.in. * configure: Regenerate. From-SVN: r80710
2004-04-07config.gcc: Stop changing enable_threads midstream.Nathanael Nerode1-6/+4
* config.gcc: Stop changing enable_threads midstream. Replace uses of enable_threads_flag with enable_threads. * configure.ac: Replace uses of enable_threads_flag with enable_threads. Improve autoconf quotation in one place. * configure: Regenerate. From-SVN: r80473
2004-04-05re PR target/14548 (building Ada library incorrectly requires collect2 on mingw)Ian Lance Taylor1-0/+12
PR target/14548 * config.host: Set the shell variable host_can_use_collect2. Set it to yes by default, and to no for alpha*-dec-*vms*, i[34567]86-*-mingw32*, and powerpc-*-beos*. * configure.ac: Set and substitute the shell variable collect2. Give an error if use_collect2 is yes and host_can_use_collect2 is no. * Makefile.in (COLLECT2): Rename from USE_COLLECT2. Change all uses. Initialize to @collect2@. (STAGESTUFF): Remove $(USE_COLLECT2). * config/alpha/x-vms (USE_COLLECT2): Don't set. * config/i386/t-mingw32 (USE_COLLECT2): Likewise. * config/rs6000/t-beos (USE_COLLECT2): Likewise. * config/pa/t-pa64: Remove commented out USE_COLLECT2. * configure: Regenerate. Co-Authored-By: Nathanael Nerode <neroden@gcc.gnu.org> From-SVN: r80422
2004-04-01gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with -lgcc --as-needed ↵Alan Modra1-0/+19
-lgcc_s --no-as-needed by default. * gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with -lgcc --as-needed -lgcc_s --no-as-needed by default. * configure.ac (HAVE_LD_AS_NEEDED): Check for ld --as-needed. * configure: Rebuilt. * config.in: Rebuilt. * Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT). (stage2-start, stage3-start, stage4-start): Likewise. (stageprofile-start, stagefeedback-start): Likewise. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r80302
2004-03-24configure.ac: Add --enable-werror-always (for top level bootstrap support).Nathanael Nerode1-0/+9
(gcc) * configure.ac: Add --enable-werror-always (for top level bootstrap support). * configure: Regenerate. (top level) * configure.in (top level bootstrap support): Rework --enable-werror to set @stage2_werror_flag@. * configure: Regenerate. * Makefile.tpl (top level bootstrap support): Pass @stage2_werror_flag@ down to configure in stages 2 and 3. * Makefile.in: Regenerate. From-SVN: r79935
2004-03-24Makefile.in (STRICT2_WARN): Reorder.Nathanael Nerode1-0/+15
2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in (STRICT2_WARN): Reorder. * configure.ac: Check for -Wold-style-definition, and use it in strict1_warn if it's available. * configure: Regnerate. From-SVN: r79922
2004-03-24configure.ac: Check for -Wno-variadic-macros...Nathanael Nerode1-10/+31
* configure.ac: Check for -Wno-variadic-macros; don't use -pedantic (in stage 1 or a simple 'make all') unless it's available, and if it's available, use it. Also, clean up check for -Wno-long-long. * configure: Regenerate. From-SVN: r79918
2004-03-22configure.ac: Allow --disable-coverage-flags (for the future benefit of top ↵Nathanael Nerode1-9/+13
level bootstrap... * configure.ac: Allow --disable-coverage-flags (for the future benefit of top level bootstrap, and consistency). Reindent. * configure: Regenerate. From-SVN: r79817
2004-03-11(top level)Paolo Bonzini1-132/+47
2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * configure.in: Find default values for the tools as soon as possible. Disable ada if GNAT is not found. Emit error message about missing languages. Expand --enable-languages=all for the gcc subdirectory. (config) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * acx.m4 (ACX_PROG_GNAT): New macro, moved here from the gcc subdirectory. (gcc) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * configure.ac: Remove code to detect languages, it now lives exclusively in the top level. * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the top level, renamed to ACX_PROG_GNAT. (gcc/ada) 2004-03-08 Paolo Bonzini <bonzini@gnu.org> PR ada/14131 Move language detection to the top level. * config-lang.in: Build by default. From-SVN: r79299
2004-03-11configure.ac: Bump AC_PREREQ to 2.59.Kelley Cook1-1/+1
boehm-gc/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. * config.in: Regenerate. fastjar/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. intl/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. * config.h.in: Regenerate. gcc/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. libada/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.in: Rename file to ... * configure.ac: .. to this. Bump AC_PREREQ to 2.59. * configure: Regenerate. libjava/libltdl/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. * config-h.in: Regenerate. libstdc++-v3/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. contrib/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * gcc_update (files_and_dependencies): Insert libada/configure. From-SVN: r79285
2004-03-08re PR target/14471 (Workaround for errata regarding multiplication bug)Hans-Peter Nilsson1-0/+8
PR target/14471 * configure.ac (Target-specific assembler checks) <cris-*-*>: New case, checking for -no-mul-bug-abort option. * configure, config.in: Regenerate. * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround and -mno-mul-bug-workaround. * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart") ("mulsidi3", "umulsidi3"): Prefix output template with "%!". ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"): Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG. * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make sure mulu.d is not last on cache-line. * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION. (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros. (TARGET_SWITCHES): New options -mmul-bug-workaround and -mno-mul-bug-workaround. (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG. (PRINT_OPERAND_PUNCT_VALID_P): Include '!'. * config/cris/cris.c (cris_operand_extend_operator): Clarify relation to MULT in head comment. (cris_op_str): Abort for MULT. (cris_print_operand) <case '!'>: New case. From-SVN: r79086
2004-03-05configure.ac: When passing --enable-languages to subdir configure when host ↵Ian Lance Taylor1-1/+1
!= build... * configure.ac: When passing --enable-languages to subdir configure when host != build, make sure we don't pass an empty value. * configure: Regenerate. From-SVN: r78969
2004-02-29configure.ac: Rearrange some threading code for clarity; add section comment.Nathanael Nerode1-9/+17
* configure.ac: Rearrange some threading code for clarity; add section comment. * configure: Regenerate. From-SVN: r78678
2004-02-29* configure.ac: Add some comments delineating sections of code.Nathanael Nerode1-0/+16
From-SVN: r78672
2004-02-25config.gcc: Add comment describing extra_gcc_objs.Kelley Cook1-1/+2
2004-02-25 Kelley Cook <kcook@gcc.gnu.org> * config.gcc: Add comment describing extra_gcc_objs. i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs. * configure.ac (extra_gcc_objs): New substitution variable. (host_extra_gcc_objs): Don't substitute. * configure: Regenerate. * Makefile.in: Use extra_gcc_objs. From-SVN: r78459
2004-02-18configure.ac: When generating auto-build.h, pass --enable-languages to the ↵Geoffrey Keating1-4/+5
sub-configure. * configure.ac: When generating auto-build.h, pass --enable-languages to the sub-configure. Put quotes around ${program_transform_name} when generating name of as, ld, nm, objdump. * configure: Regenerate. From-SVN: r78012
2004-02-13configure.ac: Search for as, ld below libexec/gcc.Rainer Orth1-4/+4
* configure.ac: Search for as, ld below libexec/gcc. * configure: Regenerate. From-SVN: r77776
2004-02-13configure.ac (gcc_cv_ld): Don't set to LD if target is not host, but try ↵Alexandre Oliva1-1/+3
LD_FOR_TARGET first. * configure.ac (gcc_cv_ld): Don't set to LD if target is not host, but try LD_FOR_TARGET first. * configure: Rebuilt. From-SVN: r77744
2004-02-09configure.ac: Remove default executable files before AC_PROG_CC.Rainer Orth1-0/+9
* configure.ac: Remove default executable files before AC_PROG_CC. * configure: Regenerate. From-SVN: r77542
2004-02-05configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.David Edelsohn1-4/+6
* configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr. * configure: Regenerate. From-SVN: r77325
2004-01-30re PR bootstrap/9249 (bootstrap fails with --enable-__cxa-atexit on Solaris)Dara Hazeghi1-5/+7
2004-01-30 Dara Hazeghi <dhazeghi@yahoo.com> PR bootstrap/9249 * doc/install.texi: document --enable-__cxa_atexit option. * configure.ac: Disable __cxa_atexit if not supported. * configure: Regenerate. From-SVN: r77023
2004-01-30configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for s390*-*-* ↵Ulrich Weigand1-1/+1
targets by specifying a 'nop' insn. * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for s390*-*-* targets by specifying a 'nop' insn. * configure: Regenerate. From-SVN: r76934
2004-01-21re PR other/12730 (manual page install broken with old Pod::man)Kelley Cook1-4/+9
gcc/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> PR bootstrap/12730 * configure.ac: Delete definition and subsitution of docdir. Add info, man, srcman and srcinfo to target hooks. Create doc/ directory. * configure: Regenerate. * Makefile.in: Don't substitute docdir and delete all references throughout. (MAKEINFOFLAGS): Define. (stmp-docobjdir): Delete. (INFOFILES, MANFILES): Define. (info): Call lang.info, srcinfo and lang.srcinfo. (generated-manpages): Call lang.man, srcman and lang.srcman. (srcinfo, srcman): New rules to copy back files to source directory. (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule. (install-man): Revamp rule. (clean): Update dvi directory. (distclean): Delete TAGS from front end directorys. (maintainer-clean): Delete all document files in source directory. objc/Make-lang.in (objc.man, objc.info): Dummy entries. (objc.srcman, objc.srcinfo): Likewise. gcc/ada/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update to use consistent MAKEINFO rule. (ada.man, ada.srcman): Dummy entry. (ADA_INFOFILES): Define. (ada.info, ada.srcinfo): New rules. gcc/cp/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (c++.info, c++.srcinfo): Dummy entry. (c++.man, c++.srcman): New rules. (c++.install-man): Revamp rule. gcc/f/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (TEXI_G77_FILES): Define. (f77.rebuilt): Delete. (f77.srcextra): Add dependencies on f/BUGS and f/NEWS. (f77.srcman, f77.srcinfo, f77.man, f77.info): New rules. (doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in doc directory. Use $(MAKEINFOFLAGS). (info, dvi, generated_manpages): Update to look in doc directory. (f/BUGS, f/NEWS): Generate in build directory. (f77.mostlyclean): Delete BUGS and NEWS from build directory. (f77.maintainer-clean): Adjust to delete from source directory. (f77.install-man): Revamp rule. gcc/java/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (java.info, java.srcinfo, java.man, java.srcman): New rules. (java.install-man): Revamp rule. gcc/treelang/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Replace $(docdir) with doc. (treelang.info, treelang.srcinfo): New rules. (treelang.man, treelang.man): Dummy entries. maintainer-scripts/ 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (build_sources): Delete call to make f77.rebuilt. From-SVN: r76249