summaryrefslogtreecommitdiff
path: root/gcc/configure
Commit message (Collapse)AuthorAgeFilesLines
* 2010-09-14 Tristan Gingold <gingold@adacore.com>gingold2010-09-141-2/+2
| | | | | | | | | * configure.ac (plugins): Fix typos. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164273 138bc75d-0d04-0410-961f-82ee72b054a4
* ChangeLog configktietz2010-09-101-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-09-10 Jonathan Yong <jon_y@users.sourceforge.net> * dfp.m4: Enable decimal float for i?86 cygwin and mingw, and for x86_64 mingw. ChangeLog libgcc 2010-09-10 Kai Tietz <kai.tietz@onevision.com> * configure: Regenerated. ChangeLog libdecnumber 2010-09-10 Kai Tietz <kai.tietz@onevision.com> * configure: Regenerated. ChangeLog gcc 2010-09-10 Kai Tietz <kai.tietz@onevision.com> * configure: Regenerated. * config.gcc: Add for x86_64 and i?86 mingw t-dfprule. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164167 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-09-09 Matthias Klose <doko@ubuntu.com>doko2010-09-091-21/+44
| | | | | | | | | PR bootstrap/43847 * configure.ac (--enable-plugin): Enhance for cross builds. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164113 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gnu_indirect_function): New test.nathan2010-09-091-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Rebuilt. * config.in (HAVE_GAS_INDIRECT_FUNCTION): New. * defaults.h (IFUNC_ASM_TYPE): Provide default. * doc/extend.texi (Function Attributes): Document ifunc. * varasm.c (do_assemble_alias): Deal with ifuncs too. c-family/ * c-common.c (handle_alias_ifunc_attribute): New, broken out of ... (handle_alias_attribute): ... here. (handle_ifunc_attribute): New. testsuite/ * lib/target-supports-dg.exp (dg-require-ifunc): New. * lib/target-supports.exp (check_ifunc_available): New. * gcc.dg/attr-ifunc-1.c: New. * gcc.dg/attr-ifunc-2.c: New. * gcc.dg/attr-ifunc-3.c: New. * gcc.dg/attr-ifunc-4.c: New. * gcc.dg/attr-ifunc-5.c: New. * testsuite/g++.dg/ext/attr-ifunc-1.C * testsuite/g++.dg/ext/attr-ifunc-2.C * testsuite/g++.dg/ext/attr-ifunc-3.C * testsuite/g++.dg/ext/attr-ifunc-4.C git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164110 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't set enable_decimal_float to dpd if DFP is disabled.hjl2010-09-061-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * dfp.m4: Don't set enable_decimal_float to dpd if DFP is disabled. Set default_decimal_float. gcc/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure.ac (enable_decimal_float): Set to $default_decimal_float. * configure: Regenerated. libdecnumber/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure.ac (enable_decimal_float): Set to $default_decimal_float. * configure: Regenerated. libgcc/ 2010-09-06 H.J. Lu <hongjiu.lu@intel.com> PR target/45524 * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163921 138bc75d-0d04-0410-961f-82ee72b054a4
* config/:schwab2010-09-061-6/+6
| | | | | | | | | | | | | | | | | * dfp.m4: Quote argument of AC_MSG_WARN. gcc/: * configure.ac: Quote argument of AC_MSG_WARN. * configure: Regenerate. libdecnumber/: * configure: Regenerate. libgcc/: * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163909 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/krebbel2010-09-031-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure: Regenerate. * aclocal.m4: Regenerate. libdecnumber/ 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure: Regenerate. * aclocal.m4: Regenerate. libgcc/ 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163816 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_as_cfi_advance_working): Use objdumprth2010-09-031-4/+19
| | | | | | | | | instead of readelf in the test. (gcc_cv_as_cfi_sections_directive): Check for correct relocation in the .debug_frame section for coff targets. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163793 138bc75d-0d04-0410-961f-82ee72b054a4
* Enable -fomit-frame-pointer on darwin which support dwarf2.hjl2010-08-131-4/+5
| | | | | | | | | | | 2010-08-13 Jack Howarth <howarth@bromo.med.uc.edu> * gcc/configure.ac: Enable -fomit-frame-pointer on darwin which support dwarf2. * config/i386/i386.c (override_options): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163227 138bc75d-0d04-0410-961f-82ee72b054a4
* Turn on -fomit-frame-pointer by default for 32bit Linux/x86.hjl2010-08-121-2/+22
| | | | | | | | | | | | | | | | | | | 2010-08-12 H.J. Lu <hongjiu.lu@intel.com> Uros Bizjak <ubizjak@gmail.com> * config.gcc: Handle --enable-frame-pointer. * configure.ac: Add --enable-frame-pointer. * configure: Regenerated. * config/i386/i386.c (USE_IX86_FRAME_POINTER): Default to 0. (override_options): If not configured with --enable-frame-pointer, enable -fomit-frame-pointer (but not for TARGET_MACHO or when optimizing for size), -fasynchronous-unwind-tables and -maccumulate-outgoing-args by default. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163196 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-07-23 Kai Tietz <kai.tietz@onevision.com>ktietz2010-07-231-2/+6
| | | | | | | | | | | | | | | | | | PR target/41943 * Makefile.in (USER_H_INC_NEXT_PRE, USER_H_INC_NEXT_POST): New. (stmp-int-hdrs): Prefix/postfix headers by include_next. * config.gcc (user_headers_inc_next_pre): New. (user_headers_inc_next_post): Likewise. (*-w64-mingw*): Use for float.h post-fixing, and for stddef.h/stdarg.h pre-fixing by include_next. * configure.ac (user_headers_inc_next_post): New. (user_headers_inc_next_pre): New. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162479 138bc75d-0d04-0410-961f-82ee72b054a4
* libjava:ro2010-07-231-45/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (*-*-solaris2.8): Use alternate thread library. Add libthread. (*-*-solaris2.9): Use libthread. * configure: Regenerate. libgomp: * configure.tgt (*-*-solaris2.[56]*): Removed. gcc: * configure.ac: Don't disable TLS on Solaris 8/9 by default Set tga_func for Solaris 2/x86 resp. SPARC. Remove duplicate parts of sparc*-sun-solaris2.* TLS check. (LIB_THREAD_LDFLAGS_SPEC): Define. (LIB_TLS_SPEC): Define. Check for required Sun ld version. * configure: Regenerate. * config.in: Regenerate. * config/sol2.h (LIB_SPEC): Use LIB_THREAD_LDFLAGS_SPEC with -pthread, -threads, LIB_TLS_SPEC with -pthread. * doc/install.texi (Specific, *-*-solaris2*): Document use of alternate thread libraries on Solaris 8. Document TLS patch requirements. * doc/sourcebuild.texi (Add Options): Sort alphabetically. Document tls. PR target/18788 * config/sol2.h (LIB_SPEC): Link with thread libraries even with -shared. gcc/testsuite: * lib/target-supports.exp (add_options_for_tls): New proc. * g++.dg/tls/static-1.C: Use dg-add-options tls. * g++.dg/tls/static-1a.cc: Likewise. * gcc.dg/tls/emutls-1.c: Likewise. * gcc.dg/tls/opt-11.c: Likewise. * gcc.dg/tls/opt-12.c: Likewise. * gcc.dg/tls/pr24428-2.c: Likewise. * gcc.dg/tls/pr24428.c: Likewise. * obj-c++.dg/tls/static-1.mm: Likewise. * obj-c++.dg/torture/tls/thr-init-1.mm: Likewise. * obj-c++.dg/torture/tls/thr-init-2.mm: Likewise. * obj-c++.dg/torture/tls/thr-init-3.mm: Likewise. * objc.dg/torture/tls/thr-init-2.m: Likewise. * objc.dg/torture/tls/thr-init-3.m: Likewise. * objc.dg/torture/tls/thr-init.m: Likewise. * gcc.dg/lto/20090210_0.c: Add -pthread for *-*-solaris2.[89]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162478 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Fix test.uros2010-07-091-4/+3
| | | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162015 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also checkuros2010-07-091-0/+1
| | | | | | | | | | | for "lock addl". * configure: Regenerate. * config/i386/i386.c (ix86_print_operand) <case ';'>: Remove TARGET_MACHO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162001 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Add mcmodel to powerpc options.amodra2010-06-151-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Add HAVE_LD_LARGE_TOC test. * configure: Regenerate. * config.in: Regenerate. * config/rs6000/linux64.opt (mcmodel): New. * config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define. (TARGET_CMODEL): Define. (SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice, select CMODEL_MEDIUM default. * config/rs6000/rs6000.h (enum rs6000_cmodel): New. (TARGET_CMODEL): Define default. * config/rs6000/rs6000.c (cmodel): New variable. (rs6000_explicit_options): Add cmodel field. (rs6000_handle_option): Handle -mcmodel. (create_TOC_reference): Add largetoc_reg param. Generate high, lo_sum rtl for CMODEL_MEDIUM and CMODEL_LARGE. Update all callers. (rs6000_delegitimize_address): Recognise new toc reference rtl and minimal-toc rtl. (rs6000_legitimize_reload_address): Handle new toc references. (print_operand_address): Handle legitimate_constant_pool_address_p match before lo_sum. (rs6000_eliminate_indexed_memrefs): Tidy. (rs6000_emit_move): Tweak threshold for inlining constants. Keep rs6000_emit_allocate_stack large stack frame offsets loaded into r0 inline. (rs6000_generate_compare <cmptf_internal2>): One more clobber. (tocrel_base, tocrel_offset): New variables. (toc_relative_expr_p): Set them here. (print_operand_address): Skip over any offset on constant pool address. (rs6000_output_addr_const_extra): Print tocrel_offset before @toc. (rs6000_mode_dependent_address <LO_SUM>): False for new toc refs. (offsettable_ok_by_alignment): New function. (rs6000_emit_move): Address suitably aligned local symbol_refs relative to the toc pointer for -mcmodel=medium. (legitimate_constant_pool_address_p): Make param const_rtx. Add strict param. Allow lo_sum version of addressing. Verify reg used for -mminimal-toc and -mcmodel != small. Update all callers. * config/rs6000/constraints.md: Update for above change. * config/rs6000/predicates.md: Likewise. * config/rs6000/rs6000.md (tls_gd_aix): Generate -mcmodel=medium/large code. (tls_gd): Split for -mcmodel=medium/large. (tls_gd_high, tls_gd_low): New. (tls_ld_aix, tls_ld, tls_ld_high, tls_ld_low): Similarly. (tls_got_dtprel, tls_got_dtprel_high, tls_got_dtprel_low): Similarly. (tls_got_tprel, tls_got_tprel_high, tls_got_tprel_low): Similarly. (largetoc_high, largetoc_low): New. (cmptf_internal2): Add clobber. * config/rs6000/rs6000-protos.h: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160773 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2010-06-101-1/+1
| | | | | | | | | | | * configure.ac (tm_include_list): Add insn-constants.h. * configure: Regenerate. * Makefile.in (GTM_H): Move insn-constants.h here from... (TM_H): ...here. * mkconfig.sh: Remove special handling for insn-constants.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160579 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/jbeulich2010-06-101-2/+2
| | | | | | | | | | | | 2010-06-10 Jan Beulich <jbeulich@novell.com> * configure.ac: Replace $() with ${} when intending to expand variables rather than invoking commands. * configure: Re-generate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160538 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ChangeLog:steven2010-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.c: Move to c-family/. * c-common.def: Likewise. * c-common.h: Likewise. * c-cppbuiltin.c: Likewise. * c-dump.c: Likewise. * c-format.c: Likewise. * c-format.h : Likewise. * c-gimplify.c: Likewise. * c-lex.c: Likewise. * c-omp.c: Likewise. * c.opt: Likewise. * c-opts.c: Likewise. * c-pch.c: Likewise. * c-ppoutput.c: Likewise. * c-pragma.c: Likewise. * c-pragma.h: Likewise. * c-pretty-print.c: Likewise. * c-pretty-print.h: Likewise. * c-semantics.c: Likewise. * stub-objc.c: Likewise. * gengtype.c (get_file_langdir): Special-case files in c-family/. (get_output_file_with_visibility): Fix name for c-common.h. * c-config-lang.in: Update paths in gtfiles for files in c-family/. * c-tree.h: Update include path for moved files. * c-lang.c: Likewise. * c-lang.h: Likewise. * c-parser.c: Likewise. * c-convert.c: Likewise. * c-decl.c: Likewise. * c-objc-common.c: Likewise. * configure.ac: Make sure c-family/ exists in the build directory. * configure: Regenerate. * Makefile.in: Update paths for moved files. Regroup files per location and update dependencies. Move generated_files down after ALL_GTFILES_H. * config/spu/spu-c.c: Update paths for moved files. * config/mep/mep-pragma.c: Likewise. * config/darwin-c.c: Likewise. * config/i386/msformat-c.c: Likewise. * config/i386/i386-c.c: Likewise. * config/avr/avr-c.c: Likewise. * config/sol2-c.c: Likewise. * config/ia64/ia64-c.c: Likewise. * config/rs6000/rs6000-c.c: Likewise. * config/arm/arm.c: Likewise. * config/arm/arm-c.c: Likewise. * config/h8300/h8300.c: Likewise. * config/v850/v850-c.c: Likewise. * config/t-darwin: Fix dependencies for moved files. * config/t-sol2: Fix dependencies for moved files. * config/mep/t-mep: Fix dependencies for moved files. * config/ia64/t-ia64: Fix dependencies for moved files. * config/rs6000/t-rs6000: Fix dependencies for moved files. * config/v850/t-v850: Fix dependencies for moved files. * config/v850/t-v850e: Fix dependencies for moved files. * config/m32c/m32c-pragma.c * po/exgettext: Look in c-family/ also. c-family/ChangeLog: * c-common.c: Include gt-c-family-c-common.h. * c-pragma.c: Include gt-c-family-c-pragma.h. objc/ChangeLog: * objc-act.c: Update include path for moved files. * objc-lang.c: Likewise. * config-lang.in: Update paths in gtfiles for files in c-family/. objcp/ChangeLog: * objcp-lang.c: Update include path for moved files. * config-lang.in: Update paths in gtfiles for files in c-family/. cp/ChangeLog: * typeck.c: Update include path for moved files. * decl.c: Likewise. * rtti.c: Likewise. * cp-gimplify.c: Likewise. * cp-lang.c: Likewise. * pt.c: Likewise. * semantics.c: Likewise. * cxx-pretty-print.h: Likewise. * decl2.c: Likewise. * parser.c: Likewise. * cp-objcp-common.c: Likewise. * cp-tree.h: Likewise. * name-lookup.c: Likewise. * lex.c: Likewise. * name-lookup.h: Likewise. * config-lang.in: Update paths in gtfiles for files in c-family/. * Make-lang.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160330 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2ro2010-06-021-0/+30
| | | | | | | | | | | | | | | | | linker emulations. * configure: Regenerate. * config.in: Regenerate. * config/i386/sol2-10.h [TARGET_GNU_LD] (I386_EMULATION): Define. (X86_64_EMULATION): Define. (TARGET_LD_EMULATION): Use them. * config/sparc/sol2-gld-bi.h (SPARC32_EMULATION): Define. (SPARC64_EMULATION): Define. (LINK_ARCH_SPEC): Use them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160178 138bc75d-0d04-0410-961f-82ee72b054a4
* libjava:ro2010-05-251-2/+2
| | | | | | | | | | | | | | | | | | | * configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q. Use -- instead of grep -e. * configure: Regenerate. gcc: * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout, stderr to /dev/null instead of grep -q. * configure: Regenerate. contrib: * dg-extract-results.sh: Redirect grep output to /dev/null instead of grep -q. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159840 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (all_lang_makefiles): Remove everything related to it.steven2010-05-241-9/+2
| | | | | | | | | | * configure: Regenerate. * Makefile.in: Fix reference to ada Make-lang.in. Remove support for LANG_MAKEFILES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159795 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/43733uros2010-05-201-1/+2
| | | | | | | | | | | | * configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode. * configure: Regenerate. * config.in: Regenerate. * config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e instead of sahf only for 64bit targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159636 138bc75d-0d04-0410-961f-82ee72b054a4
* libgcc:ro2010-05-191-1/+60
| | | | | | | | | | | | | | | | | | * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun assembler syntax. gcc: * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32 to pentiumpro on Solaris 8/x86 with Sun as. * configure.ac (gcc_cv_as_hidden): Check for Solaris 9/x86 as hidden alias bug. (gcc_cv_as_ix86_quad): Check for .quad directive. * configure: Regenerate. * config.in: Regenerate. * config/i386/sol2.h (ASM_QUAD): Change guard to !HAVE_AS_IX86_QUAD. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159569 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/44074ro2010-05-171-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): New test. * configure: Regenerate. * config.in: Regenerate. * config/i386/i386.c (print_operand) <case ;>: Also print ; if !HAVE_AS_IX86_REP_LOCK_PREFIX. Don't emit whitespace. * config/i386/i386.md (*rep_movdi_rex64): Use {%;} after rep. (*rep_movsi): Likewise. (*rep_movsi_rex64): Likewise. (*rep_movqi): Likewise. (*rep_movqi_rex64): Likewise. (*rep_stosdi_rex64): Likewise. (*rep_stossi): Likewise. (*rep_stossi_rex64): Likewise. (*rep_stosqi): Likewise. (*rep_stosqi_rex64): Likewise. (*cmpstrnqi_nz_1): Use {%;} after repz. (*cmpstrnqi_nz_rex_1): Likewise. (*cmpstrnqi_1): Likewise. (*cmpstrnqi_rex_1): Likewise. (*strlenqi_1): Use {%;} after repnz. (*strlenqi_rex_1): Likewise. * config/i386/sync.md (memory_barrier_nosse): Replace {%;| } by {%;} . (*sync_compare_and_swap<mode>): Likewise. (sync_double_compare_and_swap<mode>): Likewise. (*sync_double_compare_and_swapdi_pic): Likewise. (sync_old_add<mode>): Likewise. (sync_add<mode>): Likewise. (sync_sub<mode>): Likewise. (sync_<code><mode>): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159512 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errorsro2010-05-101-2/+4
| | | | | | | | to /dev/null. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159220 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sol2.c (solaris_assemble_visibility): Declare decl, visro2010-05-101-0/+2
| | | | | | | | | | | unused. Define visibility_types, name, type inside HAVE_GAS_HIDDEN. * configure.ac (gcc_cv_ld_hidden): Explain stages of visibility support in Sun ld. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159218 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-27 Kai Tietz <kai.tietz@onevision.com>ktietz2010-04-271-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | * collect2.c (TARGET_64BIT): Redefine to target's default. * tlink.c: Likewise. * config/i386/cygming.h (USER_LABEL_PREFIX): Define dependent to TARGET_64BIT and USE_MINGW64_LEADING_UNDERSCORES. * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): Use for underscoring __USER_LABEL_PREFIX__. * config/i386/mingw-w64.h (SUB_LINK_ENTRY): New macro. (SUB_LINK_ENTRY32): New. (SUB_LINK_ENTRY64): New. (LINK_SPEC): Replace entry point spec by SUB_LINK_ENTRY. * config/i386/mingw32 (SUB_LINK_ENTRY32): New. (SUB_LINK_ENTRY64): New. (SUB_LINK_ENTRY): New. (LINK_SPEC): Use SUB_LINK_ENTRY instead of hard-coded entry-point. (DWARF2_UNWIND_INFO): Error out for use of dw2 unwind when x64 target is choosen. * config.in (USE_MINGW64_LEADING_UNDERSCORES): New. * configure: Regenerated. * configure.ac (leading-mingw64-underscores): Option added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158791 138bc75d-0d04-0410-961f-82ee72b054a4
* ChangeLog:davek2010-04-271-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR lto/42776 * configure.ac (--enable-lto): Refactor handling so libelf tests are only performed inside then-clause of ACX_ELF_TARGET_IFELSE, and allow LTO to be explicitly enabled on non-ELF platforms that are known to support it inside else-clause. * configure: Regenerate. gcc/ChangeLog: PR lto/42776 * configure.ac (gcc_cv_as_section_has_align): Set if installed binutils supports extended .section directive needed by LTO, or warn if older binutils found. (LTO_BINARY_READER): New AC_SUBST'd variable. (LTO_USE_LIBELF): Likewise. * gcc/config.gcc (lto_binary_reader): New target-specific configure variable. * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. (LTO_USE_LIBELF): Likewise. * configure: Regenerate. * collect2.c (is_elf): Rename from this ... (is_elf_or_coff): ... to this, and recognize and allow i386 COFF object files in addition to ELF-formatted ones. (scan_prog_file): Caller updated. Also allow for LTO info marker symbol to be prefixed or not by an extra underscore. * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. * config/i386/winnt.c: Also #include lto-streamer.h (i386_pe_asm_named_section): Specify 1-byte section alignment for LTO named sections. (i386_pe_asm_output_aligned_decl_common): Add comment. (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. gcc/lto/ChangeLog: PR lto/42776 * Make-lang.in (LTO_OBJS): Use LTO_BINARY_READER instead of hardcoding 'lto-elf.o'. ($(LTO_EXE)): Use LTO_USE_LIBELF instead of hardcoding '-lelf'. * lto-coff.h: New file. * lto-coff.c: Likewise. gcc/testsuite/ChangeLog: PR lto/42776 * lib/lto.exp (lto_prune_vis_warns): New function. (lto-link-and-maybe-run): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158762 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-26 Jack Howarth <howarth@bromo.med.uc.edu>mrs2010-04-261-3/+18
| | | | | | | | | | PR 43715 * gcc/configure.ac: Use "$gcc_cv_nm -g" on darwin instead of "$gcc_cv_objdump -T". Use "-undefined dynamic_lookup" on darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158748 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-19 Richard Guenther <rguenther@suse.de>rguenth2010-04-191-3/+3
| | | | | | | | * configure.ac: Fix quoting around elf_getshstrndx ABI check. * configure: Re-generated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158519 138bc75d-0d04-0410-961f-82ee72b054a4
* toplevel:ro2010-04-161-2/+55
| | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx separately. * configure: Regenerate. gcc: * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx flavor. * configure: Regenerate. * config.in: Regenerate. * doc/install.texi (Prerequisites): Document that Solaris 2 libelf works. gcc/lto: * lto-elf.c [!HAVE_ELF_GETSHDRSTRNDX] (elf_getshdrstrndx): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158423 138bc75d-0d04-0410-961f-82ee72b054a4
* Regenerate gcc/configure.hjl2010-04-151-2/+2
| | | | | | | | | 2010-04-15 H.J. Lu <hongjiu.lu@intel.com> * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158386 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (plugin -rdynamic test): Log result.ro2010-04-091-0/+4
| | | | | | | | | | * configure: Regenerate. * config/sol2.h (LINK_SPEC): Handle -rdynamic. (RDYNAMIC_SPEC): Define. * config/sol2-gld.h (RDYNAMIC_SPEC): Redefine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158173 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Determine Sun ld version numbers.ro2010-04-091-5/+51
| | | | | | | | | | | (comdat_group): Restrict GNU ld version checks to gld. (comdat_group, *-*-solaris2.1[1-9]*): Enable for Sun ld > 1.1688. (enable_comdat): Support --enable-comdat. * configure: Regenerate. * doc/install.texi (Configuration): Document --enable-comdat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158172 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-04-07 Doug Kwan <dougkwan@google.com>dougkwan2010-04-081-2/+19
| | | | | | | | | * configure.ac: Recognize gold and do not use its version number to test ld features. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158106 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Fix sparc GOTDATA_OP bug check.davem2010-03-261-6/+13
| | | | | | | * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157741 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (i[34567]86-*-*): Handle Solaris 2/x86 TLS supportro2010-03-241-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and Sun as TLS syntax. (TLS_SECTION_ASM_FLAG) [on_solaris && !gas_flag]: Define. * configure: Regenerate. * config.in: Regenerate. * varasm.c (TLS_SECTION_ASM_FLAG): Define default. (default_elf_asm_named_section): Use it. * config/i386/i386.c (output_pic_addr_const): Lowercase @DTPOFF. (i386_output_dwarf_dtprel): Likewise. (output_addr_const_extra): Likewise. (output_pic_addr_const): Lowercase @GOTTPOFF. (output_addr_const_extra): Likewise. (output_pic_addr_const): Lowercase @GOTNTPOFF. (output_addr_const_extra): Likewise. (output_pic_addr_const): Lowercase @INDNTPOFF. (output_addr_const_extra): Likewise. (output_pic_addr_const): Lowercase @NTPOFF. (output_addr_const_extra): Likewise. (output_pic_addr_const): Lowercase @TPOFF. (output_addr_const_extra): Likewise. * config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase @TLSGD. (*tls_global_dynamic_64): Likewise. (*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM. (*tls_local_dynamic_base_64): Lowercase @TLSLD. * defaults.h (TLS_COMMON_ASM_OP): Provide default. (ASM_OUTPUT_TLS_COMMON): Use it. * config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef. PR target/38118 * config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to tm_file. * config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ... * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here. * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine. * config/i386/sol2.h (TARGET_SUN_TLS): Redefine. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157705 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.davem2010-03-121-2/+2
| | | | | | | | * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157397 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_as_cfi_directive) [i?86-*-solaris*]:ro2010-03-011-1/+17
| | | | | | | | | Disable cfi directives unless GCC and gas agree on using read-only .eh_frame sections for 64-bit. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157151 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/davem2010-02-211-0/+45
| | | | | | | | | | | | | | | | | | | | | | 2010-02-20 David S. Miller <davem@davemloft.net> * configure.ac: Test if linker and assembler properly support GOTDATA_OP relocations. * configure: Rebuild. * config.in: Likewise. * config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New. (movsi_lo_sum_pic): Use %gdop_*() relocs if available. (movsi_high_pic): Likewise. (movdi_lo_sum_pic): Likewise. (movdi_high_pic): Likewise. (movsi_pic_gotdata_op): New pattern. (movdi_pic_gotdata_op): Likewise. * config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2, emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156933 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/40332jason2010-02-201-2/+2
| | | | | | | * configure.ac (gcc_cv_as_cfi_advance_working): Check 32-bit advance. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156918 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gnu-unique-object): Wrap regexps using [] inuros2010-02-181-2/+2
| | | | | | | | | | changequote block. (__stack_chk_fail): Ditto. Remove quadrigraphs. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156876 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-01-31 Matthias Klose <doko@ubuntu.com>doko2010-01-311-1/+3
| | | | | | | | | * configure.ac: Fix __stack_chk_fail check for cross builds configured --with-headers * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156402 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-01-27 Matthias Klose <doko@ubuntu.com>doko2010-01-271-3/+3
| | | | | | | | * configure.ac (gnu-unique-object): Fix ldd version check. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156281 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2010-01-161-0/+44
| | | | | | | | | | | | | * configure.ac (HAVE_AS_REF): New C macro. * configure: Regenerate. * config.in: Likewise. * collect2.c (main): Only postpone SCAN_DWEH to the second pass if HAVE_AS_REF. * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define if HAVE_AS_REF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155961 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-01-10 Steve Ellcey <sje@cup.hp.com>sje2010-01-101-0/+4
| | | | | | | | | PR target/37454 * configure.ac: Save and restore LDFLAGS and LIBS * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155792 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-01-08 Steve Ellcey <sje@cup.hp.com>sje2010-01-081-35/+15
| | | | | | | | | PR target/37454 * configure.ac: Modify -rdynamic check. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155745 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Add install-html to target_list for Make-hooks.andrewjenner2010-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | * configure: Regenerate. * fortran/Make-lang.in (F95_HTMLFILES): New. (fortran.html): Use it. (fortran.install-html): New. * Makefile.in (install-html): Add lang.install-html. * java/Make-lang.in (JAVA_HTMLFILES): New. (java.html): Use it. (java.install-html): New. * objc/Make-lang.in (objc.install-html): New. * objcp/Make-lang.in (obj-c++.install-html): New. * cp/Make-lang.in (c++.install-html): New. * ada/gcc-interface/Make-lang.in (ada.install-html): New. * lto/Make-lang.in (lto.install-html): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155602 138bc75d-0d04-0410-961f-82ee72b054a4
* Always pass --32 to ia32 Linux assembler.hjl2009-12-211-64/+81
| | | | | | | | | | | | 2009-12-21 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/42345 * acinclude.m4 (gcc_GAS_FLAGS): New. (gcc_GAS_CHECK_FEATURE): Use gcc_GAS_FLAGS. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155372 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (--with-specs): New option.nathan2009-12-141-2/+16
| | | | | | | | | * configure: Regenerated. * gcc.c (driver_self_specs): Include CONFIGURE_SPECS. * Makefile.in (DRIVER_DEFINES): Add -DCONFIGURE_SPECS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155208 138bc75d-0d04-0410-961f-82ee72b054a4