aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2007-07-03configure.ac: Test for .dtprelword support on MIPS.Joseph Myers1-0/+10
* configure.ac: Test for .dtprelword support on MIPS. * configure, config.in: Regenerate. * config/mips/mips.c (mips_output_dwarf_dtprel): New. (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define. From-SVN: r126273
2007-07-02configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix).Richard Sandiford1-39/+2
gcc/ * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). (gcc_tooldir): Likewise. * configure: Regenerate. * Makefile.in (libsubdir_to_prefix): New variable, based on the old configure.ac gcc_tooldir setting. (prefix_to_exec_prefix): New variable. (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. From-SVN: r126225
2007-07-02configure.ac: Check for .gnu_attribute on Power.Joseph Myers1-0/+6
* configure.ac: Check for .gnu_attribute on Power. * configure: Regenerate. * config/rs6000/rs6000.c (rs6000_file_start): If supported, output attribute for floating-point ABI. From-SVN: r126197
2007-06-30configure.ac: Check for .gnu_attribute on MIPS.Joseph Myers1-0/+6
* configure.ac: Check for .gnu_attribute on MIPS. * configure, config.in: Regenerate. * config/mips/mips.c (mips_file_start): If supported, output attribute for floating-point ABI. From-SVN: r126157
2007-06-14configure.ac: Fix earlier checkin.Paolo Bonzini1-1/+1
2007-06-14 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Fix earlier checkin. * configure: Regenerated. From-SVN: r125711
2007-06-14configure.ac: Fix a typo in --enable-checking=.H.J. Lu1-1/+1
2007-06-14 H.J. Lu <hongjiu.lu@intel.com> * configure.ac: Fix a typo in --enable-checking=. * configure: Regenerated. From-SVN: r125705
2007-06-14acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove.Paolo Bonzini1-103/+15
gcc: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove. * aclocal.m4: Regenerate. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS, ACX_PROG_CC_WARNINGS_ARE_ERRORS, ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_CHECK_PROG_VER. * configure: Regenerate. * Makefile.in (LOOSE_WARN): Subst loose_warn. * Makefile.in (quickstrap): Build libgcc too. libiberty: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * aclocal.m4: Include config/warnings.m4. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. * configure: Regenerate. config: 2007-06-14 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_CHECK_PROG_VER): Remove duplicate lines. From-SVN: r125700
2007-06-14configure.ac: Add --enable-checking=df.Paolo Bonzini1-16/+11
2007-06-14 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Add --enable-checking=df. Explicitly mention that the variables are initialized as for "release". * df-core.c: Use it. * configure: Regenerate. * config.in: Regenerate. From-SVN: r125698
2007-05-16configure.ac: Allow sysroots to be relocated under $prefix as well as ↵Richard Sandiford1-6/+9
$exec_prefix. gcc/ * configure.ac: Allow sysroots to be relocated under $prefix as well as $exec_prefix. * configure: Regenerate. From-SVN: r124762
2007-05-16revert: configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix).Richard Sandiford1-2/+39
gcc/ Revert: 2007-05-12 Richard Sandiford <richard@codesourcery.com> * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). (gcc_tooldir): Likewise. * configure: Regenerate. * Makefile.in (libsubdir_to_prefix): New variable, based on the old configure.ac gcc_tooldir setting. (prefix_to_exec_prefix): New variable. (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. From-SVN: r124760
2007-05-12configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix).Richard Sandiford1-39/+2
gcc/ * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). (gcc_tooldir): Likewise. * configure: Regenerate. * Makefile.in (libsubdir_to_prefix): New variable, based on the old configure.ac gcc_tooldir setting. (prefix_to_exec_prefix): New variable. (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. From-SVN: r124634
2007-05-08libiberty.h (writeargv): Declare.Nathan Froyd1-0/+3
include/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * libiberty.h (writeargv): Declare. libiberty/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * argv.c (writeargv): New function. gcc/ 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> * gcc.c (at_file_supplied): New variable. (main): Set it if we expanded argv. (do_spec_1): Pass an @-file to the linker if we were called with an @-file argument and HAVE_GNU_LD. * collect2.c (at_file_supplied): New variable. (response_file): New variable. (collect_exit): Unlink response_file if necessary. (handler): Likewise. (do_wait): Likewise. (main): Set at_file_supplied if we expanded argv. (collect_execute): Pass an @-file to subprocesses if we were called with an @-file argument. * configure.ac: Add define for HAVE_GNU_LD. * configure: Regenerate. * config.in: Regenerate. From-SVN: r124532
2007-04-19configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* for long ↵Joseph Myers1-1/+2
double compatibility. gcc: * configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* for long double compatibility. * configure: Regenerate. libstdc++-v3: * configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* for long double compatibility. * configure: Regenerate. * src/complex_io.cc, src/istream-inst.cc, src/ostream-inst.cc: Condition some _GLIBCXX_LDBL_COMPAT calls on _GLIBCXX_USE_WCHAR_T. From-SVN: r123972
2007-04-13Makefile.in (stamp-as, [...]): Remove.Paolo Bonzini1-0/+13
2007-04-12 Paolo Bonzini <bonzini@gnu.org> Charles Wilson <libtool@cwilson.fastmail.fm> * Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): Remove. (libgcc.mvars): Don't depend on them. * configure.ac (as, collect-ld, nm): Create from exec-tool.in. * exec-tool.in: New. Co-Authored-By: Charles Wilson <libtool@cwilson.fastmail.fm> From-SVN: r123775
2007-03-27configure.ac: Fix assembler test for powerpc*-linux decimal float.Janis Johnson1-2/+2
* configure.ac: Fix assembler test for powerpc*-linux decimal float. * configure: Regenerate. From-SVN: r123272
2007-03-26gengtype.c: Don't include gtyp-gen.h.Zack Weinberg1-19/+3
* gengtype.c: Don't include gtyp-gen.h. (srcdir): Declare here. (base_files, lang_dir_names): Allocate dynamically. (gt_files, num_gt_files, num_lang_dirs): New globals. (measure_input_list, read_input_line, read_input_list) (set_lang_bitmap): New functions. (get_base_file_bitmap): Rename get_lang_bitmap and drastically simplify, relying on read_input_list to set up the bitmaps. (main): Arguments are no longer unused. Check for correct number of command line arguments, set srcdir and srcdir_len, then call read_input_list, before doing anything else. No need to worry about duplicates in main loop. * configure.ac: Simplify the calculation of all_gtfiles. Put language tags in there. Don't set or substitute all_gtfiles_files_langs or all_gtfiles_files_frags. * Makefile.in: Revamp the way gengtype is invoked, now that it takes a file on its command line with a much simpler format. Remove or replace with gtyp-input.list all references to gtyp-gen.h. (GTFILES): Remove duplicates and C source files. * c-config-lang.in, cp/config-lang.in, objc/config-lang.in * objcp/config-lang.in: Add c-pragma.h to gtfiles. * configure: Regenerate. From-SVN: r123234
2007-03-24Add BID decimal supportMichael Meissner1-10/+41
Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com> Co-Authored-By: Marius Cornea <marius.cornea@intel.com> From-SVN: r123185
2007-03-16configure.ac: Remove excess quoting from asm line 0 test.Alexandre Oliva1-1/+1
* configure.ac: Remove excess quoting from asm line 0 test. * configure: Rebuilt. From-SVN: r123006
2007-03-16configure.ac: Don't require ELF binutils to tolerate # 0 "".Alexandre Oliva1-1/+1
* configure.ac: Don't require ELF binutils to tolerate # 0 "". * configure: Rebuilt. From-SVN: r122978
2007-03-14configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether the ↵Uros Bizjak1-0/+6
configured assembler supports the sahf mnemonic. * configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether the configured assembler supports the sahf mnemonic. * configure: Regenerate. * config.in: Regenerate. * config/i386/i386.md (x86_sahf_1): Depending on HAVE_AS_IX86_SAHF, emit "sahf" or ".byte\t0x9e" as asm template. From-SVN: r122931
2007-03-13configure.ac: Test for assembler tolerance to # 0 "".Alexandre Oliva1-0/+24
* configure.ac: Test for assembler tolerance to # 0 "". * configure, config.in: Rebuilt. * final.c (final_scan_insn): Emit it if HAVE_AS_LINE_ZERO. From-SVN: r122879
2007-03-10configure.ac (glibc_header_dir): Set using with_build_sysroot if defined.Joseph Myers1-0/+4
* configure.ac (glibc_header_dir): Set using with_build_sysroot if defined. * configure: Regenerate. From-SVN: r122795
2007-03-06re PR bootstrap/31020 (cannot write in ↵Joseph Myers1-2/+2
</test/gnu/gcc/objdir/prev-gcc/../gcc/./include>) fixincludes: * mkheaders.in: Fix headers for each multilib required. gcc: PR bootstrap/31020 * configure.ac (CROSS_SYSTEM_HEADER_DIR, build_system_header_dir): Define using $${sysroot_headers_suffix}. * configure: Regenerate. * cppdefault.c (cpp_include_defaults): Make FIXED_INCLUDE_DIR a multilib-suffixed directory if SYSROOT_HEADERS_SUFFIX_SPEC defined. * doc/invoke.texi (-print-sysroot-headers-suffix): Document. * gcc.c (print_sysroot_headers_suffix): New. (option_map): Include --print-sysroot-headers-suffix. (display_help): Mention -print-sysroot-headers-suffix. (process_command): Handle -print-sysroot-headers-suffix. (do_spec_1): Append multilib directory to include-fixed path if sysroot suffixes in use. (main): Handle -print-sysroot-headers-suffix. * Makefile.in (start.encap): Don't depend on xlimits.h (xlimits.h): Remove. (stmp-int-hdrs): Don't depend on xlimits.h. Inline generation of limits.h for each multilib in fixinc_list. (fixinc_list, s-fixinc_list): New. (stmp-fixinc): Depend on fixinc_list. If not copying headers, generate them for each multilib in fixinc_list. (stmp-fixproto): Use include-fixed. Run fixproto for each multilib in fixinc_list. (mostlyclean): Don't remove xlimits.h. (clean): Remove include-fixed. (real-install-headers-tar, real-install-headers-cpio, real-install-headers-cp): Don't copy include, only include-fixed. (install-mkheaders): Depend on fixinc_list. Don't depend on xlimits.h. Save limits.h files for each multilib in fixinc_list. Always save mkinstalldirs. Preserve ${sysroot_headers_suffix} in SYSTEM_HEADER_DIR setting in mkheaders.conf. From-SVN: r122620
2007-03-06configure.ac: Allow tm_file to contain build-directory files.Richard Sandiford1-0/+5
gcc/ * configure.ac: Allow tm_file to contain build-directory files. * configure: Regenerate. * config.gcc (m68k-*-uclinux*): Add ./sysroot-suffix.h to tm_file. * config/m68k/t-uclinux (sysroot-suffix.h): New target. * config/m68k/print-sysroot-suffix.sh: New file. From-SVN: r122613
2007-03-03configure.ac (HAVE_AS_REL16): Move test back to correct place.Andreas Schwab1-7/+7
* configure.ac (HAVE_AS_REL16): Move test back to correct place. * configure: Regenerate. From-SVN: r122511
2007-03-01Makefile.in: Add install-pdf target as copied from automake v1.10 rules.Brooks Moses1-2/+2
* Makefile.in: Add install-pdf target as copied from automake v1.10 rules. * configure.ac: Add install-pdf to target list. * configure: Regenerate. From-SVN: r122466
2007-02-21configure.ac (powerpc*-*-darwin*): #include <sys/cdefs.h>.Mike Stump1-0/+1
* configure.ac (powerpc*-*-darwin*): #include <sys/cdefs.h>. * configure: Regenerate. From-SVN: r122211
2007-02-20invoke.texi (RS/6000 and PowerPC Options): Add -mcmpb and -mdfp.Janis Johnson1-0/+30
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcmpb and -mdfp. * configure.ac (HAVE_GAS_CMPB): Check for assembler support of the cmpb instruction. (HAVE_GAS_DFP): Check for assembler support of decimal floating point instructions. * configure: Regenerate. * config.in: Regenerate. * config/rs6000/rs6000.opt (mcmpb, mdfp): New. * config/rs6000/rs6000.c (rs6000_override_options): Add CMPB and DFP masks to power6 and power6x and to POWERPC_MASKS. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define _ARCH_PWR6. * config/rs6000/rs6000.h: Check assembler support for CMPB and DFP. * config/rs6000/sysv4.opt (mprototype): Use variable, not mask. * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Access PROTOTYPE as variable, not mask. From-SVN: r122179
2007-01-12configure.ac: Set insn to "nop" for spu-*-* also.Andrew Pinski1-1/+1
2007-01-12 Andrew Pinski <andrew_pinski@playstation.sony.com> * configure.ac: Set insn to "nop" for spu-*-* also. * configure: Regenerate. From-SVN: r120736
2007-01-11configure.ac (strict1_warn): Rename to strict_warn.Paolo Bonzini1-91/+8
2007-01-11 Paolo Bonzini <bonzini@gnu.org> * configure.ac (strict1_warn): Rename to strict_warn. (WERROR, --enable-werror, symlink hacks, stage1_cflags, cc_set_by_configure, quoted_cc_set_by_configure, stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure, all_boot_languages, all_stagestuff): Remove. (target_list): Remove bootstrap targets. * Makefile.in (quickstrap): Unconditionally make a synonym of all. (BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING, REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS, SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF, VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS, STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build, stage1_copy, stage2_build, stage2_copy, stageprofile_build, stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build, stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap, bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3, bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2, unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2, restage3, restage4, restageprofile, restagefeedback, bubbleestrap, cleanstrap, unstrap, restrap, *compare, *compare3, *compare4, *compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1, stage2-start, stage2, stage3-start, stage3, stage4-start, stage4, stageprofile-start, stageprofile, stagefeedback-start, stagefeedback, risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove. (ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS. (STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES. (mostlyclean): Adjust. (clean, distclean): Don't mention bootstrap stuff. * configure: Regenerate. * ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in, java/config-lang.in, objc/config-lang.in, objcp/config-lang.in, treelang/config-lang.in (stagestuff): Remove. * doc/sourcebuild.texi (stage1, stage2, stage3, stage4, stageprofile, stagefeedback, stagestuff): Remove mention. From-SVN: r120670
2007-01-07configure.ac: Check for __stack_chk_fail for darwin.Eric Christopher1-5/+11
2007-01-07 Eric Christopher <echristo@apple.com> * configure.ac: Check for __stack_chk_fail for darwin. * configure: Regenerate. From-SVN: r120559
2007-01-04Makefile.def (target_modules): Add libgcc.Daniel Jacobowitz1-1/+1
./ * Makefile.def (target_modules): Add libgcc. (lang_env_dependencies): Remove default items. Use no_c and no_gcc. * Makefile.tpl (clean-target-libgcc): Delete. (configure-target-[+module+]): Emit --disable-bootstrap dependencies on gcc even for bootstrapped modules. Rewrite handling of lang_env_dependencies to loop over target_modules. * configure.in (target_libraries): Add target-libgcc. * Makefile.in, configure: Regenerated. gcc/ * config.gcc: Mention libgcc/config.host. * Makefile.in: Update comments mentioning libgcc. (LIBGCC, INSTALL_LIBGCC, GCC_PARTS, mklibgcc): Delete. (all.cross, start.encap, rest.encap, rest.cross): Update dependencies for libgcc move. (libgcc.mk, LIBGCC_DEPS, libgcov.a, libgcc.a, stmp-multilib) (clean-target, clean-target-libgcc): Delete. (srcdirify, GCC_EXTRA_PARTS): New macros. (libgcc-support, libgcc.mvars): New rules. (distclean): Remove mention of mklibgcc. (install): Don't reference INSTALL_LIBGCC. (install-common): Don't reference EXTRA_PARTS. (install-libgcc, install-multilib): Delete rules. * mklibgcc.in: Delete file. * doc/configfiles.texi: Don't mention mklibgcc. * config/i386/t-darwin (SHLIB_VERPFX): Delete (moved to libgcc). * config/i386/t-darwin64 (SHLIB_VERPFX): Likewise. * config/rs6000/t-darwin (SHLIB_VERPFX): Likewise. * config/rs6000/t-ppccomm (TARGET_LIBGCC2_CFLAGS, SHLIB_MAPFILES) (mklibgcc, ldblspecs): Likewise. * config/i386/t-nwld (libgcc.def, libc.def, libpcre.def) (posixpre.def): Use $(T). (SHLIB_EXT, SHLIB_NAME, SHLIB_SLIBDIR_QUAL, SHLIB_DEF, SHLIB_MAP) (SHLIB_SRC, SHLIB_INSTALL): Delete. (SHLIB_LINK): Make dummy. * config/t-slibgcc-darwin: Delete contents except for dummy SHLIB_LINK. * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Clear. * config/alpha/t-crtfm: Use $(T) in rules for EXTRA_PARTS. * config/alpha/t-vms, config/alpha/t-vms64, config/fr30/t-fr30, config/i386/t-rtems-i386, config/ia64/t-ia64, config/rs6000/t-beos, config/rs6000/t-newas, config/sparc/t-elf: Likewise. * configure.ac (all_outputs): Remove mklibgcc. * configure: Regenerated. libgcc/ * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64, config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128, config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64, config/sparc/t-crtfm, config/t-slibgcc-darwin, config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk, shared-object.mk, siditi-object.mk, static-object.mk: New files. * configure: Generated. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r120429
2007-01-02configure.ac: Remove support for building with Apple's gcc-3.1.Mike Stump1-7/+0
gcc: * configure.ac: Remove support for building with Apple's gcc-3.1. config: * mh-ppc-darwin: Remove support for building with Apple's gcc-3.1. From-SVN: r120331
2007-01-01configure.ac (HAVE_GAS_LITERAL16): Add autoconf check for .literal16.Mike Stump1-0/+6
* configure.ac (HAVE_GAS_LITERAL16): Add autoconf check for .literal16. * config/darwin.c (machopic_select_rtx_section): Use HAVE_GAS_LITERAL16. (darwin_mergeable_constant_section): Likewise. * configure: Regenerate. * config.in: Regenerate. From-SVN: r120315
2006-12-21re PR other/29639 (ext/bitmap_allocator/check_allocate_max_size.cc execution ↵Eric Botcazou1-0/+36
test) PR other/29639 * configure.ac (HAVE_LD_EH_GC_SECTIONS): Check that exception tables are kept for .gnu.linkonce.t sections if COMDAT groups are disabled. * configure: Regenerate. From-SVN: r120121
2006-12-13mips-tdump.c: Replace CROSS_COMPILE with CROSS_DIRECTORY_STRUCTURE.Geoffrey Keating1-2/+3
* mips-tdump.c: Replace CROSS_COMPILE with CROSS_DIRECTORY_STRUCTURE. * mips-tfile.c: Likewise. * gcc.c: Likewise. * configure.ac: Likewise. * cppdefault.c: Likewise. * Makefile.in: Likewise. * config/alpha/osf.h: Likewise. * config/i386/cygwin.h: Likewise. * config/i386/beos-elf.h: Likewise. * config/i386/nto.h: Likewise. * config/fr30/fr30.h: Likewise. * config/svr4.h: Likewise. * config/rs6000/aix.h: Likewise. * config/rs6000/sysv4.h: Likewise. * config/pa/pa64-hpux.h: Likewise. * config/pa/pa-hpux10.h: Likewise. * config/pa/pa-hpux11.h: Likewise. * collect2.c: Likewise. * configure: Regenerate. From-SVN: r119820
2006-11-13configure.ac: Add changequote around __LONG_DOUBLE_MATH_OPTIONAL test.Jakub Jelinek1-1/+4
* configure.ac: Add changequote around __LONG_DOUBLE_MATH_OPTIONAL test. * configure: Rebuilt. From-SVN: r118780
2006-11-13configure.ac (ld_vers): Parse GNU ld version 2.17.50.0.3-6 20060715 style ↵Jakub Jelinek1-1/+1
versions. * configure.ac (ld_vers): Parse GNU ld version 2.17.50.0.3-6 20060715 style versions. * configure: Rebuilt. From-SVN: r118775
2006-11-09re PR bootstrap/26892 (Can't compile a 64-bit gcc)Eric Christopher1-2/+2
2006-11-09 Eric Christopher <echristo@apple.com> PR bootstrap/26892 PR bootstrap/27814 PR other/28994 * configure.ac: Match powerpc*-*-darwin* for powerpc darwin checks. * config.gcc (powerpc64-*-darwin*): New target. * config.host: Ditto. * config/rs6000/darwin64.h: New file. * config/rs6000/x-darwin64: Ditto. * config/rs6000/host-ppc64-darwin.c: Ditto. From-SVN: r118633
2006-11-08configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE.Carlos O'Donell1-1/+2
gcc/ 2006-11-08 Carlos O'Donell <carlos@codesourcery.com> * configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE. * configure: Regenerate. From-SVN: r118588
2006-11-06configure.ac: Fix typo in case statement: :: changed to ;;Jan van Dijk1-1/+1
2006-11-06 Jan van Dijk <jan@etpmod.phys.tue.nl> * configure.ac: Fix typo in case statement: :: changed to ;; * configure: Regenerate. From-SVN: r118525
2006-11-02configure.ac (HAVE_AS_IX86_DIFF_SECT_DELTA): New test to determine whether ↵Roger Sayle1-0/+12
the assembler supports taking the difference of... * configure.ac (HAVE_AS_IX86_DIFF_SECT_DELTA): New test to determine whether the assembler supports taking the difference of symbols in different sections. On x86/Solaris, GAS does but Solaris as doesn't. * configure: Regenerate. * config.in: Regenerate. * config/i386/sol2-10.h (JUMP_TABLES_IN_TEXT_SECTION): Define if the assembler doesn't support taking the difference of symbols in different sections, i.e. we're using the native solaris assembler. From-SVN: r118405
2006-11-01invoke.texi: Add cpu_type power6x (RS/6000 and PowerPC Options): Add -mmfpgpr.Pete Steinmetz1-0/+15
* doc/invoke.texi: Add cpu_type power6x (RS/6000 and PowerPC Options): Add -mmfpgpr. * config.gcc: Add cpu_type power6x. * configure.ac: Add test for mf{t,f}gpr instructions. (HAVE_AS_MFPGPR): New. * config.in: Regenerate. * configure: Regenerate. * config/rs6000/aix52.h (ASM_CPU_SPEC): Add power6x. * config/rs6000/rs6000.md (define_attr "type"): Add insert_dword, shift,trap,var_shift_rotate,cntlz,exts, var_delayed_compare, mffgpr and mftgpr attributes. (define_attr "cpu"): Add power6. Change instruction sequences to use new attributes. (floatsidf2,fix_truncdfsi2): use TARGET_MFPGPR. (fix_truncdfsi2_mfpgpr): New. (floatsidf_ppc64_mfpgpr): New. (floatsidf_ppc64): Added !TARGET_MFPGPR condition. (movdf_hardfloat64_mfpgpr,movdi_mfpgpr): New. (movdf_hardfloat64): Added !TARGET_MFPGPR condition. (movdi_internal64): Added !TARGET_MFPGPR and related conditions. (fix_truncdfsi2): Use gpc_reg_operand constraint. * config/rs6000/{6xx.md,power4.md,8540.md,603.md,mpc.md, 7xx.md,rios2.md,7450.md,440.md,rios1.md,rs64.md,power5.md,40x.md}: Add descriptions for insert_dword, shift,trap,var_shift_rotate, cntlz,exts and var_delayed_compare. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define _ARCH_PWR6X, if features enabled. * config/rs6000/rs6000.opt (mmfpgpr): New. * config/rs6000/rs6000.c (rs6000_align_branch_targets): New variable. (cached_can_issue_more): New variable. (processor_costs): Add power6_cost. (rs6000_sched_init): New function. (is_dispatch_slot_restricted): Deleted. (set_to_load_agen): New function. (is_load_insn,is_store_insn): New functions. (adjacent_mem_locations): New function. (insn_must_be_first_in_group): New function. (insn_must_be_last_in_group): New function. (rs6000_sched_reorder): New function. (rs6000_sched_reorder2): New function. (TARGET_SCHED_INIT,TARGET_SCHED_REORDER, TARGET_SCHED_REORDER2): Define. (processor_target_table): Use PROCESSOR_POWER6 for power6. Add power6x. Add MASK_MFPGPR for power6x. (POWERPC_MASKS): Add MASK_MFPGPR. (rs6000_override_options): Set rs6000_always_hint to false for power6. Set rs6000_align_branch_targets. Replace rs6000_sched_groups check with rs6000_align_branch_targets. Use PROCESSOR_POWER6. (last_scheduled_insn): New variable. (load_store_pendulum): New variable. (rs6000_variable_issue): Set last_scheduled_insn and cached_can_issue_more. (rs6000_adjust_cost): Add power6 cost adjustments. (rs6000_adjust_priority): Replace is_dispatch_slot_restricted with insn_must_be_first_in_group. Add power6 priority adjustments. (rs6000_issue_rate): Add CPU_POWER6. (insn_terminates_group_p): Use insn_must_be_{first,last}_in_group. * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_POWER6. (TARGET_MFPGPR): New. (SECONDARY_MEMORY_NEEDED): Use TARGET_MFPGPR. (ASM_CPU_SPEC): Add power6x. (SECONDARY_MEMORY_NEEDED): Added mode!=DFmode and mode!=DImode conditions. * config/rs6000/power6.md: New file. Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com> From-SVN: r118396
2006-11-01target.h (targetm.cxx.use_atexit_for_cxa_atexit): New target hook.Danny Smith1-2/+11
* target.h (targetm.cxx.use_atexit_for_cxa_atexit): New target hook. * target-def.h: (TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT): Define default. * config/i386/mingw32.h (TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT): Override default. * doc/tm.texi (TARGET_CXX_USE_ATEXIT_FOR_CXA_ATEXIT): Document. * configure.ac (use_cxa_atexit): As a special case, don't test for libc definition of __cxa_atexit on mingw32 * configure: Regenerate. * config.gcc (i[34567]86-pc-mingw32): Default to enable__cxa_atexit=yes. cp * decl.c (get_atexit_node): Reference atexit, not __cxa_exit. if targetm.cxx.use_atexit_for cxa_atexit. (start_cleanup_fn): Likewise. (register_dtor_fn): Likewise. From-SVN: r118371
2006-10-29configure.ac (HAVE_AS_NO_SHARED): New AC_DEFINE.Richard Sandiford1-0/+4
gcc/ * configure.ac (HAVE_AS_NO_SHARED): New AC_DEFINE. Test for the -mno-shared assembler option on mips targets. * configure, config.in: Regenerate. * config/mips/linux.h (NO_SHARED_SPECS): New macro. (DRIVER_SELF_SPECS): Define to NO_SHARED_SPECS if non-empty. * config/mips/linux64.h (DRIVER_SELF_SPECS): Include NO_SHARED_SPECS. From-SVN: r118138
2006-10-28except.h (output_function_exception_table): Add 'const char*' param.Eric Botcazou1-0/+43
* except.h (output_function_exception_table): Add 'const char*' param. * except.c (switch_to_exception_section): Add 'const char*' param. If named sections are supported and HAVE_LD_EH_GC_SECTIONS is defined and flag_function_sections is set, use a function-specific section. (output_function_exception_table): Add 'const char*' param. Adjust call to switch_to_exception_section. * final.c (rest_of_handle_final): Adjust calls to output_function_exception_table. * configure.ac (HAVE_LD_EH_GC_SECTIONS): New check. * config.in: Regenerate. * configure: Likewise. From-SVN: r118107
2006-10-16configure.ac: Enable checking assembler dwarf2 support for score target.Chen Liqin1-1/+1
* gcc/configure.ac: Enable checking assembler dwarf2 support for score target. * gcc/configure: Regenerate. From-SVN: r117773
2006-10-10--(top level)--------------------------------------------Brooks Moses1-1/+1
2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.def: Added pdf target handling. * Makefile.tpl: Added pdf target handling. * Makefile.in: Regenerated. ---fixincludes-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---gcc---------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * configure.ac: Added pdf to "Make-hooks" * Makefile.in: Added TEXI2PDF definition, and various pdf-file targets and *.pdf file patterns in cleanup targets. * configure: Regenerated. ---gcc/cp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "c++.pdf" target support. ---gcc/fortran-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target support. ---gcc/java----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "java.pdf", "gcj.pdf" target support. ---gcc/objc----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "objc.pdf" target. ---gcc/objcp---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "obj-c++.pdf" target. ---gcc/treelang------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "treelang.pdf" target support. ---gnattools---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libcpp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libdecnumber------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libiberty---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added "pdf", "libiberty.pdf" target support. * testsuite/Makefile.in: Added empty "pdf" target. ---libobjc------------------------------------------------ 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. From-SVN: r117618
2006-10-09re PR target/27880 (undefined reference to `_Unwind_GetIPInfo')Steve Ellcey1-0/+20
PR target/27880 * unwind-c.c (PERSONALITY_FUNCTION): Ifdef use of _Unwind_GetIPInfo. * configure.ac (HAVE_GETIPINFO): Check for _Unwind_GetIPInfo. * configure: Regenerate. * config.in: Regenerate. From-SVN: r117576
2006-07-07re PR target/27968 (gcc emits (undefined) ffreep opcode which is not ↵Roger Sayle1-1/+7
understood by Solaris' /usr/ccs/bin/as when tuning for Athlon or Opteron CPUs) PR target/27968 * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether the configured assembler supports the x87's ffreep mnemonic. * configure: Regenerate. * config.in: Regenerate. * config/i386/i386.c (output_387_ffreep): New function. (output_fp_compare): Use output_387_ffreep to emit ffreep insns. (output_387_reg_move): Likewise. From-SVN: r115237