aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
AgeCommit message (Collapse)AuthorFilesLines
2005-06-01configure.ac: Add --enable-secureplt.Alan Modra1-1/+57
* configure.ac: Add --enable-secureplt. (HAVE_AS_REL16): Test for R_PPC_REL16 relocs. * config.in: Regenerate. * configure: Regenerate. * config.gcc (powerpc64-*-linux*, powerpc-*-linux*): Add rs6000/secureplt.h to tm_file when enable_secureplt. * doc/invoke.texi (msecure-plt, mbss-plt): Document. * doc/install.texi: Document --enable-targets and --enable-secureplt. Correct xrefs to "Using the GNU Compiler Collection (GCC)". * config/rs6000/secureplt.h: New file. * config/rs6000/sysv4.h (TARGET_SECURE_PLT): Define. (SUBTARGET_OVERRIDE_OPTIONS): Error if -msecure-plt given without assembler support. (CC1_SECURE_PLT_DEFAULT_SPEC): Define. (CC1_SPEC): Delete duplicate mno-sdata. Invoke cc1_secure_plt_default. (SUBTARGET_EXTRA_SPECS): Add cc1_secure_plt_default. * config/rs6000/sysv4.opt (msecure-plt, bss-plt): Add options. * config/rs6000/rs6000.h (TARGET_SECURE_PLT): Define. * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Handle TARGET_SECURE_PLT got register load sequence. (rs6000_emit_prologue): Call rs6000_emit_load_toc_table when TARGET_SECURE_PLT. (rs6000_elf_declare_function_name): Don't emit toc address offset word when TARGET_SECURE_PLT. * config/rs6000/rs6000.md (elf_high, elf_low): Move past load_toc_*. (load_toc_v4_PIC_1) Enable for TARGET_SECURE_PLT. (load_toc_v4_PIC_3b, load_toc_v4_PIC_3c): New insns. (call, call_value): Mark pic_offset_table_rtx used for sysv pic and TARGET_SECURE_PLT. (call_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_nonlocal_sysv, sibcall_value_nonlocal_sysv): Add 32768 offset when TARGET_SECURE_PLT and -fPIC. * config/rs6000/tramp.asm (trampoline_initial): Use "bcl 20,31". (__trampoline_setup): Likewise. Init r30 before plt call. From-SVN: r100415
2005-05-25configure.ac: Don't use gcc_AC_C_LONG_LONG.Kelley Cook1-127/+129
2005-05-24 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Don't use gcc_AC_C_LONG_LONG. Check for existence of long long and __int64 before determining their size. * aclocal.m4: Delete gcc_AC_C_LONG_LONG. * configure, config.h.in: Regenerate. From-SVN: r100131
2005-05-24configure: Regenerate.Kelley Cook1-108/+207
2005-05-24 Kelley Cook <kcook@gcc.gnu.org> * configure: Regenerate. From-SVN: r100128
2005-05-17configure.ac: Remove spaces around assignment to gcc_cv_ld_sysroot.Daniel Jacobowitz1-1/+1
* configure.ac: Remove spaces around assignment to gcc_cv_ld_sysroot. * configure: Regenerated. From-SVN: r99833
2005-05-08configure.ac: Set ld_vers_major, ld_vers_minor and ld_vers_patch for GNU linker.Julian Brown1-214/+133
* configure.ac: Set ld_vers_major, ld_vers_minor and ld_vers_patch for GNU linker. Support linker version x.x.x.x.x. Require GNU linker 20050308/2.16.0 or newer for comdat group. * configure: Regenerated. * config.in: Regenerated. * varasm.c (default_function_rodata_section): Put .rodata section in COMDAT group when necessary. (default_elf_asm_named_section): Rename HAVE_GAS_COMDAT_GROUP to HAVE_COMDAT_GROUP. (default_unique_section_1): Don't use .gnu.linkonce when COMDAT is available. Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> Co-Authored-By: Paul Brook <paul@codesourcery.com> From-SVN: r99395
2005-05-08Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.shNathan Sidwell1-4/+7
* Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh * aclocal.m4 (GCC_TARGET_TEMPLATE, AH_TEMPLATE): New. * configure.ac (enable_checking): Fix typos in runtime_checking. (ENABLE_RUNTIME_CHECKING): Mark as target template. (xm_file): Prepend auto-host.h (HAVE_GAS_HIDDEN, HAVE_LD_EH_FRAME_HDR): Mark as target template. * mkconfig.sh: Do not automatically define USED_FOR_TARGET in tconfig.h. * crtstuff.c: Do not include auto-host.h. (IN_LIBGCC2): Do not define. * gcov-io.h: Include tconfig.h, not auto-host.h. * libgcc2.c: Do not include auto-host.h. (abort): Do not undefine. * libgcov.c: Remove unneeded comment about config.h. * unwind-dw2-fde-glibc.c: Do not inlude auto-host.h. * config.in, configure: Regenerated. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r99386
2005-05-07re PR bootstrap/21403 (Canadian cross build fails.)Anthony Green1-1/+1
2005-05-07 Anthony Green <green@redhat.com> PR bootstrap/21403 * configure.ac (STMP_FIXPROTO): Fix [ ] consumption problem in x$STMP_FIXPROTO test. * configure: Rebuilt. From-SVN: r99370
2005-05-07config.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from ↵David Edelsohn1-1/+49
extra_options. * config.gcc ({powerpc,rs6000}-ibm-aix*): Remove rs6000/aix.opt from extra_options. * config.in (HAVE_AS_POPCNTB): New. * configure.ac (HAVE_AS_MFCRF): Add .machine "pwr5" to AIX test. (HAVE_AS_POPCNTB): New. * configure: Regenerated. * config/rs6000/aix.h (TARGET_XL_COMPAT): Delete. * config/rs6000/rs6000.c (rs6000_override_options, power5): Add MASK_POPCNTB. Uncomment rs6000_sched_restricted_insns_priority and rs6000_sched_costly_dep. * config/rs6000/rs6000.h (TARGET_POPCNTB): New. (TARGET_XL_COMPAT): Delete. * config/rs6000/rs6000.md (UNSPEC_POPCNTB): New. (popcount<mode>2): New. (popcntb<mode>2): New. * config/rs6000/rs6000.opt (mpopcntb): New. From-SVN: r99356
2005-05-04xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN.Kelley Cook1-62/+82
2005-05-04 Kelley Cook <kcook@gcc.gnu.org> * config/m32r/xm-m32r.h: Don't define HOST_WORDS_BIG_ENDIAN. * config/m32r/xm-linux.h: Don't undefine HOST_WORDS_BIG_ENDIAN. * mips-tfile.c: Use WORDS_BIG_ENDIAN instead of HOST_WORDS_BIG_ENDIAN. * aclocal.m4: Don't include accross.m4. * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. * configure, config.in: Regenerate. From-SVN: r99203
2005-04-27configure.ac: Check for ld --sysroot support.Mark Mitchell1-0/+26
* configure.ac: Check for ld --sysroot support. * gcc.c: Document %R specifier for specs. (SYSROOT_SPEC): New macro. (sysroot_spec): New variable. (static_specs): Add sysroot_spec. (main): Pass the sysroot spec to the linker if appropriate. * configure: Regenerated. * config.in: Likewise. From-SVN: r98880
2005-04-13configure.ac (gcc_AC_CHECK_DECLS): Add vsnprintf.Eric Botcazou1-2/+3
* configure.ac (gcc_AC_CHECK_DECLS): Add vsnprintf. * configure: Regenerate. * config.in: Likewise. * system.h: Declare vsnprintf if not already declared. From-SVN: r98080
2005-04-11configure.ac (fixincludes_UNLOCKED_FUNCS): New.Kaveh R. Ghazi1-8/+30
fixincludes: * configure.ac (fixincludes_UNLOCKED_FUNCS): New. (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS. * system.h (putchar, getc, getchar, clearerr, feof, fileno, fflush, fgetc, fgets, ferror, fread): Redefine to the associated _unlocked function. (fwrite_unlocked): Fix prototype. * configure, config.h.in: Regenerate. gcc: PR/17092 * configure.ac (gcc_UNLOCKED_FUNCS): New. (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for gcc_UNLOCKED_FUNCS. * system.h (putchar, getc, getchar, clearerr, feof, fileno, fflush, fgetc, fgets, ferror, fread): Redefine to the associated _unlocked function. (fwrite_unlocked): Fix prototype. * configure, config.in: Regenerate. libcpp: * configure.ac (libcpp_UNLOCKED_FUNCS): New. (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for libcpp_UNLOCKED_FUNCS. * system.h (putchar, getc, getchar, clearerr, feof, fileno, fflush, fgetc, fgets, ferror, fread): Redefine to the associated _unlocked function. (fwrite_unlocked): Fix prototype. * configure, config.in: Regenerate. From-SVN: r97986
2005-04-01configure.ac (enable-checking): Explicitly set all variables for collective ↵Nathan Sidwell1-21/+32
switch values. * configure.ac (enable-checking): Explicitly set all variables for collective switch values. Alphabetize variables. Rename ac_checking_valgrind to ac_valgrind_checking. Allow 'none' as synonym for 'no'. * doc/install.texi (enable-checking): Update documentation. * configure: Rebuilt. From-SVN: r97390
2005-03-30Makefile.def (bfd, [...]): Set lib_path.Paolo Bonzini1-17/+1
2005-03-31 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (bfd, opcodes, libstdc++-v3, libmudflap): Set lib_path. * Makefile.tpl (SET_LIB_PATH, REALLY_SET_LIB_PATH): Remove. (HOST_EXPORTS, STAGE_HOST_EXPORTS, TARGET_EXPORTS): Set $(RPATH_ENVVAR). (HOST_LIB_PATH): Generate from Makefile.def. (TARGET_LIB_PATH): Likewise. (Old bootstrap targets): Include TARGET_LIB_PATH into RPATH_ENVVAR. * Makefile.in: Regenerate. * configure.in (set_lib_path, SET_LIB_PATH, SET_GCC_LIB_PATH): Remove. (RPATH_ENVVAR): Include Darwin case. * configure: Regenerate. config: 2005-03-31 Paolo Bonzini <bonzini@gnu.org> * config/gcc-lib-path.m4: Remove. gcc: 2005-03-31 Paolo Bonzini <bonzini@gnu.org> * gcc/aclocal.m4: Do not include config/gcc-lib-path.m4. * gcc/Makefile.in: Do not @set_gcc_lib_path@. * gcc/configure.ac (TL_AC_GNU_MAKE_GCC_LIB_PATH): Remove. * gcc/configure: Regenerate. From-SVN: r97249
2005-03-24configure.ac (enable-checking): Add 'runtime' option.Nathan Sidwell1-5/+15
* configure.ac (enable-checking): Add 'runtime' option. * doc/install.texi (enable-checking): Document 'runtime' checking. * tsystem.h (gcc_assert, gcc_unreachable): Define. * config.in: Regenerated. * configure: Regenerated. From-SVN: r96990
2005-03-16gcc-version.m4: Delete.Zack Weinberg1-183/+232
config: * gcc-version.m4: Delete. fastjar: * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi. (BASEVER, DEVPHASE): New variables. (POD2MAN): Adjust setting of --release option. (fastjar.1, grepjar.1, gcc-vers.texi): New rules. * Makefile.in: Regenerate. * configure.ac: Do not invoke TL_AC_GCC_VERSION. * aclocal.m4, configure: Regenerate. gcc: * BASE-VER, DATESTAMP, DEV-PHASE: New files. * Makefile.in (gcc_version, gcc_version_trigger, ): Delete. (BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c) (BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables. (version): Define using $(BASEVER_c). (Makefile, config.status, build/gcov-iov.o): No longer depends on version.c. (version.o): Depend on version files; add custom generation command. (prefix.o): Define BASEVER on command line. (s-iov): Depend on version files; adjust command. (TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES): Add gcc-vers.texi. (gcc-vers.texi): New rule. (doc/%.info, doc/%.dvi): Add -I . to command line. (doc/gccinstall.dvi): Likewise. (PACKAGE): Delete. All uses replaced with "gcc". * aclocal.m4: Do not include gcc-version.m4. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION. Set is_release based on contents of DEV-PHASE. Set gcc_version based on contents of BASE-VER. Define WIN32_REGISTRY_KEY only if the user overrode the default. * config.in, configure: Regenerate. * gccbug.in: Determine version of GCC in use at runtime. * gcov-iov.c: Get version number and development phase from command line, not by including version.c. * intl.c: Replace all uses of PACKAGE with "gcc". * libada-mk.in: Delete unused "gcc_version" variable. * prefix.c: Default WIN32_REGISTRY_KEY to BASEVER. * version.c: (VERSUFFIX): New hook for redistributors; adjust commentary to match. (version_string): Put together from pieces. * config/alpha/x-vms: Do not use $(gcc_version). * config/i386/t-nwld: Likewise. * doc/include/gcc-common.texi: Include gcc-vers.texi for version-GCC and DEVELOPMENT. gcc/ada: * Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info) (doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi to dependencies. gcc/fortran: * Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi. gcc/java: * Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi. gcc/treelang: * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi. libstdc++-v3: * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc subdirectory. Generate #define of __GLIBCXX__ from contents of that file. * include/Makefile.in: Regenerate. * include/bits/c++config: Do not define __GLIBCXX__. maintainer-scripts: * README: Update. * gcc_release: Update gcc/DEV-PHASE if that file exists, instead of gcc/version.c. * update_version: Handle updating gcc/DATESTAMP. * update_web_docs: Generate gcc-vers.texi first. From-SVN: r96549
2005-03-14config.gcc (extra_options): New variable for listing option files.Richard Sandiford1-3/+11
* config.gcc (extra_options): New variable for listing option files. Add ${cpu_type}/${cpu_type}.opt to it if that file exists. * configure.ac (extra_opt_files): New AC_SUBST variable. (tm_file_list, tm_include_list): Include options.h first. * configure: Regenerate. * Makefile.in (extra_opt_files, ALL_OPT_FILES): New variables. (s-options): Use $(ALL_OPT_FILES) instead of $(lang_opt_files) (s-options-h): New rule. (options.h): Depend on it. (TEXI_GCCINT_FILES): Add options.texi. * hooks.h (hook_bool_size_t_constcharptr_int_true): Declare. * hooks.c (hook_bool_size_t_constcharptr_int_true): New function. * target.h (gcc_target): Add default_target_flags and handle_option. * target-def.h (TARGET_DEFAULT_TARGET_FLAGS) (TARGET_HANDLE_OPTION): New macros. (TARGET_INITIALIZER): Include them. * opt-functions.awk (opt_args, nth_arg): New functions. (switch_flags): Handle the "Target" flag. (var_args): Delete. (var_name): Use opt_args and nth_arg. (var_set, var_ref): Likewise. Handle "Mask" and "InverseMask". * opth-gen.awk: Declare target_flags. Declare MASK_* and TARGET_* macros for the "Mask" and "InverseMask" options. * opts.h (cl_var_cond): New enum. (cl_option): Replace the "has_set_value" and "set_value" fields with "var_cond" and "var_value". (CL_TARGET): New macro. (option_enabled, print_filtered_help): Declare. (decode_options): Move definition. * opts.c (handle_option): Search for the original option before removing any "no-" prefix. Handle CL_TARGET. Adjust for the new var_cond and var_value fields. Use targetm.handle_option to handle target options. (decode_options): Set target_flags to targetm.default_target_flags. (print_filtered_help): Make global. Handle CL_TARGET. (option_enabled): New function. * toplev.c (target_switches): Guard with #ifdef TARGET_SWITCHES. (display_target_options, set_target_switch, print_switch_values) (default_pch_valid_p): Guard uses of target_switches with #ifdef TARGET_SWITCHES. Also... (display_target_options): Display the CL_TARGET entries in cl_options. (set_target_option): Don't complain about the "" option when TARGET_SWITCHES is undefined. (print_switch_values): Use option_enabled. (default_pch_valid_p): Check cl_options[] when looking for something that has changed the value of target_flags. * c.opt: Remove documentation from top of file. * doc/gccint.texi: Add an "Options" chapter. Include options.texi. * doc/sourecebuild.texi: Refer to the new options documentation instead of c.opt. Document machine-specific .opt files. * doc/tm.texi (target_flags): Say that this variable is declared by options.h. (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Document. (TARGET_SWITCHES, TARGET_OPTIONS): Refer to the option files as an alternative. * doc/options.texi: New file. From-SVN: r96448
2005-03-13ggc-zone.c: Rewritten.Daniel Jacobowitz1-1/+9
* ggc-zone.c: Rewritten. * alloc-pool.c (dump_alloc_pool_statistics): Don't print statistics if there are none. * configure.ac: Define GGC_ZONE for --with-gc=zone. * config.in: Regenerated. * configure: Regenerated. * gentype.c (write_types_process_field, write_func_for_structure): Pass new argument to gt_pch_note_object. * ggc-common.c (struct ptr_data): Add TYPE. (gt_pch_note_object): Take TYPE argument and save it. (call_count): Update call to ggc_pch_count_object. (call_alloc): Update call to ggc_pch_alloc_object. (gt_pch_save): Call ggc_pch_prepare_write after paddng the PCH file. * ggc-none.c (rtl_zone, garbage_zone, ggc_alloc_zone_stat): Delete. * ggc-page.c (rtl_zone, tree_zone, garbage_zone) (ggc_alloc_zone_stat): Delete. (ggc_pch_count_object, ggc_pch_alloc_object): Add TYPE argument. * ggc.h (gt_pch_note_object, ggc_pch_count_object) (ggc_pch_alloc_object): Update prototypes. (garbage_zone): Delete. (tree_zone, rtl_zone, ggc_alloc_zone_stat, ggc_alloc_zone): Move to GGC_ZONE conditional. Update. Change tree_zone and rtl_zone into pointers. (tree_id_zone): New variable. (ggc_alloc_cleared_zone): Remove unused. (ggc_alloc_zone): Define. (ggc_alloc_rtvec, ggc_alloc_tree): Update to use ggc_alloc_zone. * rtl.c (rtx_alloc_stat, shallow_copy_rtx_stat): Use ggc_alloc_zone_stat. * stringpool.c (gt_pch_n_S): Update call to gt_pch_note_object. * tree.c (copy_node_stat, make_tree_binfo_stat, make_tree_vec_stat) (tree_cons_stat, build1_stat): Update call to ggc_alloc_zone_stat. (make_node_stat): Likewise. Use tree_id_zone. From-SVN: r96381
2005-03-13configure.ac: Check for MIPS TLS.Daniel Jacobowitz1-0/+17
* configure.ac: Check for MIPS TLS. * configure: Regenerated. * config/mips/mips-protos.h (enum mips_symbol_type): Add SYMBOL_TLS, SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_GOTTPREL, and SYMBOL_TPREL. * config/mips/mips.c (mips_regno_to_class): Handle V1_REG. (TARGET_HAVE_TLS, TARGET_CANNOT_FORCE_CONST_MEM): Define. (mips_classify_symbol, mips_symbolic_constant_p) (mips_symbolic_address_p, mips_symbol_insns): Handle TLS symbols. (mips_tls_operand_p, mips_call_tls_get_addr) (mips_legitimize_tls_address, mips_cannot_force_const_mem) (mips_tls_symbol_ref_1): New functions. (mips_legitimize_address, mips_legitimize_const_move): Call mips_legitimize_tls_address. (override_options): Handle V1_REG and TLS symbols. Disable TLS for MIPS16. * config/mips/mips.h (enum reg_class, REG_CLASS_NAMES) (REG_CLASS_CONTENTS, GR_REG_CLASS_P): Include V1_REG. (mips_char_to_class): Document V1_REG. (HAVE_AS_TLS): Provide default. * config/mips/mips.md (UNSPEC_TLS_LDM, UNSPEC_TLS_GET_TP): New constants. (load_got<mode>): Renamed from *load_got<mode>. Allow when !TARGET_ABICALLS. (tls_get_tp_<mode>): New instruction. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> From-SVN: r96380
2005-03-13configure.ac: Update checks for target tools.Daniel Jacobowitz1-212/+122
* configure.ac: Update checks for target tools. * configure: Regenerated. From-SVN: r96379
2005-02-28re PR bootstrap/17383 (Building in src dir fails)Paolo Bonzini1-109/+212
2005-05-25 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * Makefile.def (target_modules): Remove "stage", now unnecessary. * Makefile.tpl (HOST_SUBDIR): New substitution. (STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET, USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET, USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET, USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it. (Host modules, Bootstrapped modules): Use it. (Build modules, Target modules): Do not create symlink trees, always configure out-of-srcdir. (distclean): Try removing $(host_subdir) with rm before using rm -rf. * configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use $(HOST_SUBDIR). Create a symlink for host_subdir. * Makefile.in: Regenerate. * configure: Regenerate. config: 2005-05-25 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src gcc build is going. gcc: 2005-05-25 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * gcc/Makefile.in (host_subdir): New. (build_objdir): New. Replace ../$(build_subdir) with it throughout. * gcc/configure: Regenerate. libada: 2005-05-25 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition. libjava: 2005-05-25 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * configure.ac: Call GCC_TOPLEV_SUBDIRS. (COMPPATH): Removed. (ZIP, GCJH): Replace it with ../$(host_subdir). (built_gcc_dir): Add $(host_subdir). * configure: Regenerate. * Makefile.in, include/Makefile.in, testsuite/Makefile.in, gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in: Regenerate. libobjc: 2005-05-25 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * configure.ac: Call GCC_TOPLEV_SUBDIRS. (Determine CFLAGS for gthread): Use $host_subdir. * configure: Regenerate. * Makefile.in (host_subdir): New. (INCLUDES): Use it. From-SVN: r95680
2005-02-26(top level)Nathanael Nerode1-5/+4
Merged from libada-gnattools-branch: 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> * gnattools: New directory. * Makefile.def: Add gnattools as a module, depending on target-libada. * Makefile.in: Regenerate. * configure.in: Include gnattools in host_tools; disable it if ada is disabled. * configure: Regenerate. (gcc) * configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada. * configure: Regenerate. * libada-mk.in: Remove CC; rename cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada. (gcc/ada) Partial merge from libada-gnattools-branch: 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Move gnattools{1,1re,2,3,4} and corresponding flags into code in gnattools/Makefile.in. Remove direct dependencies on stamp-tools by tools clauses. 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * config-lang.in: Add gnattools to $lang_dirs. (libada) 2004-12-03 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Add stamp file for building libada, to avoid duplicate builds every time all-gnattools is called. 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Build gcc/ada/Makefile (by running gcc/ada/configure) here. 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> * configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST, _TARGET. * configure: Regenerate. 2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org> * configure.ac, Makefile.in: Remove gnattools-specific code (see gnattools directory). * Makefile.in: Remove dead rts-* targets. * configure: Regenerate. (gnattools) 2005-02-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Remove use of cc_set_by_configure; just use plain old CC from the top level in this case. 2005-01-30 Nathanael Nerode <neroden@gcc.gnu.org> Merge from mainline at tag libada-gnattools-merge-20050129: * configure.ac: Changes propagated from gcc/ada/Makefile.in. * Makefile.in: Changes relocated from gcc/ada/Makefile.in. 2004-12-13 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Reinstate stamp-gnatlib check. 2004-12-02 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in: Inline gnattools{1,1-re,2,3,4} targets from gcc/ada/configure.ac into gnattools-native and gnattools-cross targets, collecting flags as appropriate from here, gcc/ada/Makefile.in, gcc/ada/configure.ac, etc. Attempt to retain identical behavior. * configure.ac: Add necessary configure bits from gcc/ada/configure.ac. * configure: Regenerate. 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> * configure.ac: Replace AC_CANONICAL_SYSTEM with _BUILD, _HOST, _TARGET. Replace _GCC_TOPLEV_NONCANONICAL_TARGET with ACX_NONCANONICAL_TARGET, and replace now-redundant AC_SUBST. * configure: Regenerate. 2004-07-18 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.in, configure.ac: Remove libada-specific targets and variables. * configure: Regenerate. * New directory, cloned from libada. From-SVN: r95594
2005-02-07re PR ada/19489 (gnat tools not buildable cross)Nathanael Nerode1-206/+114
PR ada/19489 * libada-mk.in: Use cc_for_cross_gnattools, not cc_set_by_configure. * configure.ac: Set cc_for_cross_gnattools. * configure: Regenerate. From-SVN: r94720
2005-01-26invoke.texi: Document -mTLS.Aldy Hernandez1-0/+9
* doc/invoke.texi: Document -mTLS. * testsuite/gcc.target/frv/all-tls-global-dynamic.c: New. * testsuite/gcc.target/frv/all-tls-initial-exec.c: New. * testsuite/gcc.target/frv/all-tls-initial-exec-pic.c: New. * testsuite/gcc.target/frv/all-tls-local-dynamic.c: New. * testsuite/gcc.target/frv/all-tls-local-dynamic-plt.c: New. * testsuite/gcc.target/frv/all-tls-local-dynamic-plt-pic.c: New. * testsuite/gcc.target/frv/all-tls-local-exec.c: New. * testsuite/gcc.target/frv/all-tls-local-exec-TLS.c: New. * configure.ac: Check for a TLS capable gas. * configure: Regenerate. From-SVN: r94283
2005-01-08configure.ac (DWARF-2 debug_line): Use objdump.Eric Botcazou1-2/+3
* configure.ac (DWARF-2 debug_line): Use objdump. * configure: Regenerate. From-SVN: r93094
2005-01-08configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo.Eric Botcazou1-1/+1
* configure.ac (HAVE_AS_OFFSETABLE_LO10): Fix typo. * configure: Regenerate. From-SVN: r93075
2004-12-15re PR target/18153 (-static-libgcc links in libunwind.so.7)H.J. Lu1-0/+24
2004-12-15 H.J. Lu <hongjiu.lu@intel.com> PR target/18153 * configure.ac: Define HAVE_LD_STATIC_DYNAMIC if linker supports -Bstatic/-Bdynamic option. * config.in: Regenerated. * configure: Likewise. * gcc.c (init_spec): Pass -Bstatic/-Bdynamic to ld for static -lunwind if possible. From-SVN: r92229
2004-12-15re PR c++/17242 (Testsuite fails due to duplicate symbols)John David Anglin1-0/+38
PR c++/17242 * configure.ac: Add GAS check for HP-UX .nsubspa comdat. * configure, config.in: Rebuilt. * config/pa/pa-hpux10.h (SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY): Delete defines. * config/pa/pa.c (pa_select_section): Allow uninitialized variables in one-only (comdat) subspaces. * config/pa/som.h (SUPPORTS_SOM_COMDAT): New define. (SUPPORTS_ONE_ONLY): True if SUPPORTS_WEAK or SUPPORTS_SOM_COMDAT are true. (MAKE_DECL_ONE_ONLY): Place uninitialized variables in common. From-SVN: r92177
2004-12-03config.if: Delete.Richard Sandiford1-23/+23
* config.if: Delete. * configure.in: Set libstdcxx_incdir directly. * configure: Regenerate. From-SVN: r91679
2004-12-02Introduce and use config/gcc-version.m4.Richard Sandiford1-11/+16
From-SVN: r91625
2004-11-27re PR bootstrap/18142 ("Unknown pseudo-op: .machine" compiling darwin-crt2.c)Per Bothner1-1/+33
PR bootstrap/18142 Re-applied following, with two modifications: add a URL for the fixed cctools; only exit if $build = $target. 2004-10-18 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive. * configure: Regenerate. From-SVN: r91406
2004-11-25configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a system header ↵Roger Sayle1-0/+6
conflict on AIX 5.2. * configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a system header conflict on AIX 5.2. * configure: Regenerate. From-SVN: r91266
2004-11-22re PR target/18444 (Multithreading broken on Unix95-class platforms)Eric Botcazou1-1/+1
PR target/18444 * configure.ac (threading): Accept 'posix95'. * configure: Regenerate. * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6, include sol26.h and default to posix95 threads if have_pthread_h. (sparc-*-solaris2*): Likewise. * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined. * gthr-posix95.h: New file. * config/sol26.h: New file. * doc/install.texi (--enable-threads): Document 'posix95'. From-SVN: r91041
2004-11-05Index: ChangeLogGeoffrey Keating1-9/+1
2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.def: Build fixincludes for the host, too. * Makefile.in: Regenerate. * configure.in (host_tools): Add fixincludes. * configure: Regenerate. Index: fixincludes/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * configure.ac: Add code to determine noncanonical_target, local_prefix, gcc_version; process mkheaders.in to make mkheaders. * configure: Regenerate. * fixinc.in: Move here from gcc/; fix many cross-hosting bugs. * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in. * mkheaders.in: Move here from gcc/; remove some unnecessary macros; update for changes to fixinc.in. * Makefile.in: Add many new macros. (install): New target. (mkheaders): New target. (fixinc.sh): New target. (all): Add mkheaders and fixinc.sh. * README-fixinc: Move here from gcc/. Index: gcc/ChangeLog 2004-11-04 Geoffrey Keating <geoffk@apple.com> * Makefile.in (distclean): Don't delete nonexistent fixinc/ directory. (install-mkheaders): Install the version built for the host, not for the build machine. * configure.ac: Always run fixincludes. (all_outputs): Remove mkheaders. * configure: Regenerate. * fixinc.in: Move to fixincludes/. * mkfixinc.sh: Likewise. * mkheaders.in: Likewise. * README-fixinc: Likewise. From-SVN: r90117
2004-11-02configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just because we don't ↵Geoffrey Keating1-3/+5
want to run them... * configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just because we don't want to run them now; instead, set them to stmp-install-fixproto or stmp-install-fixinc. * Makefile.in (stmp-install-fixproto): New. (stmp-install-fixinc): New. * configure: Regenerate. From-SVN: r89999
2004-10-27configure.ac: Don't test for [build] __cxa_atexit when building a cross ↵Paul Brook1-5/+15
compiler. * configure.ac: Don't test for [build] __cxa_atexit when building a cross compiler. * configure: Regenerate. From-SVN: r89684
2004-10-27configure.ac: Use build_exeext not host_exeext when lookin for target tools.Paul Brook1-30/+30
* configure.ac: Use build_exeext not host_exeext when lookin for target tools. * configure: Regenerate. From-SVN: r89683
2004-10-20Revert previous patch see http://gcc.gnu.org/ml/gcc/2004-10/msg00805.htmlKelley Cook1-32/+1
From-SVN: r89350
2004-10-20re PR java/15575 (HAVE_LANGINFO_CODESET never defined)Bryce McKinlay1-0/+65
2004-10-20 Bryce McKinlay <mckinlay@redhat.com> PR java/15575 * configure.ac: Declare AM_LANGINFO_CODESET. * aclocal.m4: Define AM_LANGINFO_CODESET. * configure, config.in: Rebuilt. From-SVN: r89345
2004-10-19configure.ac (powerpc-*-darwin*): Require assembler to support .machine ↵Kelley Cook1-2/+33
directive. 2004-10-18 Kelley Cook <kcook@gcc.gnu.org> * configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive. * configure: Regenerate. From-SVN: r89264
2004-10-14configure.ac: Add .machine power4 directive when testing for mfcr field.David Edelsohn1-1/+2
* configure.ac: Add .machine power4 directive when testing for mfcr field. * configure: Regenerate. From-SVN: r89076
2004-10-14configure.ac: Use $LN_S for creating symlinks (not $LN).Richard Earnshaw1-110/+207
* configure.ac: Use $LN_S for creating symlinks (not $LN). * configure: Regenerate. From-SVN: r89036
2004-10-13configure: Regenerate.Kelley Cook1-1/+1
2004-10-12 Kelley Cook <kcook@gcc.gnu.org> * configure: Regenerate. From-SVN: r88962
2004-10-12configure.ac (symbolic_link): Replace with $LN_S.Paolo Bonzini1-244/+140
2004-10-06 Paolo Bonzini <bonzini@gnu.org> * configure.ac (symbolic_link): Replace with $LN_S. (Assembler/Linker): Hard link from gas and binutils trees. * aclocal.m4 (gcc_AC_PROG_LN_S): Try "cp -p" before cp. * configure: Regenerate. From-SVN: r88920
2004-10-11configure.ac: Don't look for host assembler when building a canadian cross.Paul Brook1-12/+20
* configure.ac: Don't look for host assembler when building a canadian cross. * configure: Regenerate. From-SVN: r88907
2004-09-27aclocal.m4: Quote m4_includes.R. Kelley Cook1-1/+0
2004-09-27 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Quote m4_includes. Include ../config/gcc-lib-path.m4. * configure.ac: Don't sinclude it here. * configure: Regenerate. From-SVN: r88205
2004-09-23re PR bootstrap/17369 ([ia64] Bootstrap failure with binutils-2.15.90.0.1.1)H.J. Lu1-1/+18
2004-09-23 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/17369 * Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@. (HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export SET_GCC_LIB_PATH_CMD. (BASE_TARGET_EXPORTS): Likewise. * Makefile.in: Regenerated. * configure.in (SET_GCC_LIB_PATH): Set and substitute. * configure: Regenerated. config/ 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/17369 * gcc-lib-path.m4: New file. gcc/ 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/17369 * Makefile.in (@set_gcc_lib_path@): Added. * configure.ac: Include ../config/gcc-lib-path.m4. Use TL_AC_GNU_MAKE_GCC_LIB_PATH. * configure: Regenerated. From-SVN: r87999
2004-09-23aclocal.m4: Add in gettext's m4 includes.Kelley Cook1-65/+583
2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Add in gettext's m4 includes. (AC_ICONV, AC_LCMESSAGES, GCC_PATH_PROG): Remove. * configure.ac: Add in check for iconv.m4 * configure: Regenerate. From-SVN: r87908
2004-09-22aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND.Kelley Cook1-10/+18
gcc/ 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. * configure.ac: Call AM_PROG_CC_C_O instead of AC_PROG_CC_C_O. Create build and doc directories along with the language directories. Don't create doc directory separately. * configure: Regenerate. * Makefile.in: Create all object and executables files built with the build compiler in a build/ directory. (genobjnames): Add missing build objects. (STAGESTUFF): Don't stage the gen* programs. (ggc-none.o): Define dependencies for the target compiler. (build-print-rtl.o): Rename to build/print-rtl.o. (build-errors.o): Rename to build/errors.o. (build-varray.o): Rename to build/varray.o. (maintainerclean): Delete the contents of the build directory. ($(genobjs): %.o): Explicitly use -o. (build/insn-conditions.o): Delete specfic rule to use generic rule. (build/gengtype-lex.o): Likewise. (build/gengtype-yacc.o): Likewise. (build/gcov-iov.o): Likewise. gcc/java 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * Make-lang.in: Revert the gcc-none.o change. From-SVN: r87854
2004-09-18configure.ac: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF.Jones Desougi1-331/+2389
2004-09-17 Jones Desougi <jones@ingate.com> * configure.ac: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. * configure, config.in: Regenerate. From-SVN: r87686