1. 22 Jun, 2011 1 commit
  2. 21 Jun, 2011 2 commits
    • shared-object.mk (c_flags-$o): Save c_flags. · e4d48a4d
      	* shared-object.mk (c_flags-$o): Save c_flags.
      	($(base)$(objext)): Use it.
      	($(base)_s$(objext)): Likewise.
      
      From-SVN: r175262
      Rainer Orth committed
    • Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2. · 3801c801
      	libgcc/
      	* Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
      	* libgcc-std.ver.in (GCC_4.7.0): New section.
      
      	gcc/
      	* doc/extend.texi (__builtin_clrsb, __builtin_clrsbl,
      	__builtin_clrsbll): Document.
      	* doc/rtl.texi (clrsb): New entry.
      	* optabs.c (widen_leading): Renamed from widen_clz.  New argument
      	UNOPTAB.  All callers changed.  Use UNOPTAB instead of clz_optab.
      	(expand_unop): Handle clrsb_optab.
      	(init_optabs): Initialize it.
      	* optabs.h (enum optab_index): New entry OTI_clrsb.
      	(clrsb_optab): Define.
      	* genopinit.c (optabs): Add an entry for it.
      	* builtins.c (expand_builtin): Handle clrsb builtin functions.
      	* builtins.def (BUILT_IN_CLRSB, BUILT_IN_CLRSBIMAX, BUILT_IN_CLRSBL,
      	BUILT_IN_CLRSBLL): New.
      	* rtl.def (CLRSB): New code.
      	* dwarf2out.c (mem_loc_descriptor): Handle it.
      	* simplify-rtx.c (simplify_const_unary_operation): Likewise.
      	Use op_mode rather than mode when optimizing ffs, clz, ctz, parity
      	and popcount.
      	* libgcc2.c (__clrsbSI2, __clrsbDI2): New functions.
      	* libgcc2.h (__clrsbSI2, __clrsbDI2): Define and declare.
      	(__ctzDI2): Move declaration.
      	* config/bfin/bfin.md (clrsbsi2): New expander.
      	(signbitssi2): Use the CLRSB rtx.
      	(clrsbhi2): Renamed from signbitshi2.  Use the CLRSB rtx.
      	* config/bfin/bfin.c (bdesc_1arg): Changed accordingly.
      
      	gcc/testsuite/
      	* gcc.c-torture/excute/builtin-bitops-1.c (MAKE_FUNS): Make
      	my_clrsb test functions.
      	(main): Test clrsb.
      	* gcc.dg/builtin-protos-1.c (test_s, test_u, test_sl, test_ul,
      	test_sll, test_ull): Add clrsb tests.
      	* gcc.dg/torture/builtin-attr-1.c: Add tests for clrsb, clrsbl,
      	clrsbll.
      
      From-SVN: r175261
      Bernd Schmidt committed
  3. 16 Jun, 2011 1 commit
    • re PR target/49313 (Inefficient libgcc implementations for avr) · 0ad8bb3b
      gcc/
      	PR target/49313
      	PR target/29524
      	* longlong.h: Add AVR support:
      	(count_leading_zeros): New macro.
      	(count_trailing_zeros): New macro.
      	(COUNT_LEADING_ZEROS_0): New macro.
      	* config/avr/t-avr (LIB1ASMFUNCS): Add
      	_ffssi2, _ffshi2, _loop_ffsqi2,
      	_ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2, 
      	_paritydi2, _paritysi2, _parityhi2,
      	_popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2,
      	_bswapsi2, _bswapdi2,
      	_ashldi3, _ashrdi3, _lshrdi3
      	(LIB2FUNCS_EXCLUDE): Add _clz.
      	* config/avr/libgcc.S (XCALL): Move up in file.
      	(XJMP): New C Macro.
      	(DEFUN): New asm macro.
      	(ENDF): New asm macro.
      	(__ffssi2): New function.
      	(__ffshi2): New function.
      	(__loop_ffsqi2): New function.
      	(__ctzsi2): New function.
      	(__ctzhi2): New function.
      	(__clzdi2): New function.
      	(__clzsi2): New function.
      	(__clzhi2): New function.
      	(__paritydi2): New function.
      	(__paritysi2): New function.
      	(__parityhi2): New function.
      	(__popcounthi2): New function.
      	(__popcountsi2): New function.
      	(__popcountdi2): New function.
      	(__popcountqi2): New function.
      	(__bswapsi2): New function.
      	(__bswapdi2): New function.
      	(__ashldi3): New function.
      	(__ashrdi3): New function.
      	(__lshrdi3): New function.
      	Fix suspicous lines.
      
      libgcc/
      	PR target/49313
      	PR target/29524
      	* config/avr/t-avr: Fix line endings.
      	(intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
      	_parityXX2.
      
      From-SVN: r175097
      Georg-Johann Lay committed
  4. 14 Jun, 2011 1 commit
    • irix6-unwind.h: New file. · ea963999
      2011-06-14  Olivier Hainque  <hainque@adacore.com>
      	    Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
      
      	* config/mips/irix6-unwind.h: New file.
      	* config.host (mips-sgi-irix6.5*): Set md_unwind_header.
      
      Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
      
      From-SVN: r175013
      Olivier Hainque committed
  5. 10 Jun, 2011 1 commit
    • invoke.texi (SPARC options): Add -mflat. · b11b0904
      gcc/
      	* doc/invoke.texi (SPARC options): Add -mflat.
      	* config/sparc/sparc.opt: Likewise.
      	* config/sparc/sparc-protos.h (sparc_expand_epilogue): Add parameter.
      	(sparc_flat_expand_prologue): Declare.
      	(sparc_flat_expand_epilogue): Likewise.
      	* config/sparc/sparc.h (CPP_CPU_SPEC): Do not handle -msoft-float.
      	(CPP_ENDIAN_SPEC): Replace with...
      	(CPP_OTHER_SPEC): ...this.  Also handle -mflat and -msoft-float.
      	(CPP_SPEC): Adjust to above change.
      	(EXTRA_SPECS): Likewise.
      	(SPARC_INCOMING_INT_ARG_FIRST): Add TARGET_FLAT handling.
      	(INCOMING_REGNO): Likewise.
      	(OUTGOING_REGNO): Likewise.
      	(LOCAL_REGNO): Likewise.
      	(SETUP_FRAME_ADDRESSES): Likewise.
      	(FIXED_REGISTERS): Set 0 for %fp.
      	(CALL_USED_REGISTERS): Likewise.
      	(INITIAL_ELIMINATION_OFFSET): Pass current_function_is_leaf.
      	(EXIT_IGNORE_STACK): Define to 1 unconditionally.
      	(RETURN_ADDR_REGNUM): Define.
      	(RETURN_ADDR_RTX): Use it.
      	(INCOMING_RETURN_ADDR_REGNUM): Define.
      	(INCOMING_RETURN_ADDR_RTX): Use it.
      	(DWARF_FRAME_RETURN_COLUMN): Likewise.
      	(EH_RETURN_REGNUM): Define.
      	(EH_RETURN_STACKADJ_RTX): Use it.
      	(EH_RETURN_HANDLER_RTX): Delete.
      	(EPILOGUE_USES): Use them and add TARGET_FLAT handling.
      	* config/sparc/sparc.c (apparent_fsize, actual_fsize, num_gfregs):
      	Delete.
      	(struct machine_function): Add frame_size, apparent_frame_size,
      	frame_base_reg, frame_base_offset, n_global_fp_regs and
      	save_local_in_regs_p fields.
      	(sparc_frame_size, sparc_apparent_frame_size, sparc_frame_base_reg,
      	sparc_frame_base_offset, sparc_n_global_fp_regs,
      	sparc_save_local_in_regs_p): New macros.
      	(sparc_option_override): Error out if -fcall-saved-REG is specified
      	for Out registers.
      	(eligible_for_restore_insn): Fix formatting.
      	(eligible_for_return_delay): Likewise.  Add TARGET_FLAT handling.
      	(eligible_for_sibcall_delay): Likewise.
      	(RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Add MODE parameter.
      	(sparc_legitimate_address_p): Adjust to above change.
      	(save_global_or_fp_reg_p): New predicate.
      	(return_addr_reg_needed_p): Likewise.
      	(save_local_or_in_reg_p): Likewise.
      	(sparc_compute_frame_size): Use them.  Add TARGET_FLAT handling.
      	(SORR_SAVE, SORR_RESTORE): Delete.
      	(sorr_pred_t): New typedef.
      	(sorr_act_t): New enum.
      	(save_or_restore_regs): Rename to...
      	(emit_save_or_restore_regs): ...this.  Change type of LOW and HIGH
      	parameters, remove ACTION parameter, add LEAF_FUNCTION_P, SAVE_P,
      	ACTION_TRUE and ACTION_FALSE parameters.  Implement more general
      	mechanism.  Add CFI information for double-word saves in 32-bit mode.
      	(emit_adjust_base_to_offset): New function extracted from...
      	(emit_save_or_restore_regs): ...this.  Rename the rest to...
      	(emit_save_or_restore_regs_global_fp_regs): ...this.
      	(emit_save_or_restore_regs_local_in_regs): New function.
      	(gen_create_flat_frame_[123]): New functions.
      	(sparc_expand_prologue): Use SIZE local variable.  Adjust.
      	(sparc_flat_expand_prologue): New function.
      	(sparc_asm_function_prologue): Add TARGET_FLAT handling.
      	(sparc_expand_epilogue): Use SIZE local variable.  Adjust.
      	(sparc_flat_expand_epilogue): New function.
      	(sparc_can_use_return_insn_p): Add TARGET_FLAT handling.
      	(output_return): Likewise.
      	(output_sibcall): Likewise.
      	(sparc_output_mi_thunk): Likewise.
      	(sparc_frame_pointer_required): Likewise.
      	(sparc_conditional_register_usage): If TARGET_FLAT, disable the leaf
      	function optimization.
      	* config/sparc/sparc.md (flat): New attribute.
      	(prologue): Add TARGET_FLAT handling.
      	(save_register_window): Disable if TARGET_FLAT.
      	(create_flat_frame_[123]): New patterns.
      	(epilogue): Add TARGET_FLAT handling.
      	(sibcall_epilogue): Likewise.
      	(eh_return): New expander.
      	(eh_return_internal): New insn and splitter.
      	(return_internal): Add TARGET_FLAT handling.
      	(untyped_return): Remove bogus test and use RETURN_ADDR_REGNUM.
      	(save_stack_nonlocal): Use RETURN_ADDR_REGNUM.
      	(nonlocal_goto): Add TARGET_FLAT handling.
      	* config/sparc/t-elf: Add -mflat multilib.
      	* config/sparc/t-leon: Likewise.
      libgcc/
      	* config/sparc/linux-unwind.h (STACK_BIAS): Define.
      	(sparc64_fallback_frame_state): Use it.
      	(sparc64_frob_update_context): Further adjust context.
      	* config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
      	* config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
      	* config/sparc/sol2-cn.S: Likewise.
      
      Co-Authored-By: Laurent Rougé <laurent.rouge@menta.fr>
      
      From-SVN: r174897
      Eric Botcazou committed
  6. 09 Jun, 2011 2 commits
    • netbsd.h (ENABLE_EXECUTE_STACK): Remove. · 10e48e39
      2011-05-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
      	    Joseph Myers  <joseph@codesourcery.com>
      
      	gcc:
      	* config/alpha/netbsd.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/alpha/osf5.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/darwin.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/i386/mingw32.h (MINGW_ENABLE_EXECUTE_STACK): Remove.
      	(ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	[IN_LIBGCC2]: Don't include <windows.h>.
      	* config/i386/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/i386/netbsd64.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Remove.
      	* config/openbsd.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/sol2.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/sparc/freebsd.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/sparc/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove.
      	(HAVE_ENABLE_EXECUTE_STACK): Define.
      	* config/alpha/alpha.c (alpha_trampoline_init): Test
      	HAVE_ENABLE_EXECUTE_STACK.
      	* config/i386/i386.c (ix86_trampoline_init): Likewise.
      	* config/sparc/sparc.c (sparc32_initialize_trampoline): Likewise.
      	(sparc64_initialize_trampoline): Likewise.
      	* libgcc2.c [L_enable_execute_stack]: Remove.
      	* system.h (ENABLE_EXECUTE_STACK): Poison.
      	* doc/tm.texi.in (Trampolines, ENABLE_EXECUTE_STACK): Remove.
      	* doc/tm.texi: Regenerate.
      	* Makefile.in (LIBGCC2_CFLAGS): Add -fbuilding-libgcc.
      
      	gcc/c-family:
      	* c.opt (fbuilding-libgcc): New option.
      	* c-cppbuiltin.c (c_cpp_builtins): Define
      	__LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
      
      	libgcc:
      	* enable-execute-stack-empty.c: New file.
      	* enable-execute-stack-mprotect.c: New file.
      	* config/i386/enable-execute-stack-mingw32.c: New file.
      	* config.host (enable_execute_stack): New variable.
      	Select appropriate variants.
      	* configure.ac: Link enable-execute-stack.c to
      	$enable_execute_stack.
      	* configure: Regenerate.
      	* Makefile.in (LIB2ADD): Add enable-execute-stack.c.
      	(lib2funcs): Remove _enable_execute_stack.
      
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      
      From-SVN: r174843
      Rainer Orth committed
    • config.host (sparc-*-linux*): Correct md_unwind_header filename. · 10c4cabc
      2011-06-09  David S. Miller  <davem@davemloft.net>
      	    Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
      
      	* config.host (sparc-*-linux*): Correct md_unwind_header
      	filename.
      	(s390x-ibm-tpf*): Fix typo.
      
      Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
      
      From-SVN: r174838
      David S. Miller committed
  7. 06 Jun, 2011 1 commit
  8. 04 Jun, 2011 2 commits
  9. 03 Jun, 2011 4 commits
    • linux.h (MD_UNWIND_SUPPORT): Remove. · 58cd1d70
      	gcc:
      	* config/alpha/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/alpha/osf5.h (MD_UNWIND_SUPPORT): Remove.
      	* config/alpha/vms.h (MD_UNWIND_SUPPORT): Remove.
      	* config/bfin/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/bfin/uclinux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/linux64.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/sol2.h (MD_UNWIND_SUPPORT): Remove.
      	* config/i386/mingw32.h (MD_UNWIND_SUPPORT): Remove.
      	* config/ia64/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/ia64/vms.h (MD_UNWIND_SUPPORT): Remove.
      	* config/m68k/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/mips/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/pa/pa32-linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Remove.
      	* config/rs6000/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/rs6000/linux64.h (MD_UNWIND_SUPPORT): Remove.
      	* config/s390/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/s390/tpf.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sh/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sparc/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sparc/linux64.h (MD_UNWIND_SUPPORT): Remove.
      	* config/sparc/sol2.h (MD_UNWIND_SUPPORT): Remove.
      	* config/xtensa/linux.h (MD_UNWIND_SUPPORT): Remove.
      	* config/alpha/linux-unwind.h: Move to ../libgcc/config/alpha.
      	* config/alpha/osf5-unwind.h: Move to ../libgcc/config/alpha.
      	* config/alpha/vms-unwind.h: Move to ../libgcc/config/alpha.
      	* config/bfin/linux-unwind.h: Move to ../libgcc/config/bfin.
      	* config/i386/linux-unwind.h: Move to ../libgcc/config/i386.
      	* config/i386/sol2-unwind.h: Move to ../libgcc/config/i386.
      	* config/i386/w32-unwind.h: Move to ../libgcc/config/i386.
      	* config/ia64/linux-unwind.h: Move to ../libgcc/config/ia64.
      	* config/ia64/vms-unwind.h: Move to ../libgcc/config/ia64.
      	* config/m68k/linux-unwind.h: Move to ../libgcc/config/m68k.
      	* config/mips/linux-unwind.h: Move to ../libgcc/config/mips.
      	* config/pa/hpux-unwind.h: Move to ../libgcc/config/pa.
      	* config/pa/linux-unwind.h: Move to ../libgcc/config/pa.
      	* config/rs6000/darwin-unwind.h: Move to ../libgcc/config/rs6000.
      	* config/rs6000/linux-unwind.h: Move to ../libgcc/config/rs6000.
      	* config/s390/linux-unwind.h: Move to ../libgcc/config/s390.
      	* config/s390/tpf-unwind.h: Move to ../libgcc/config/s390.
      	* config/sh/linux-unwind.h: Move to ../libgcc/config/sh.
      	* config/sparc/linux-unwind.h: Move to ../libgcc/config/sparc.
      	* config/sparc/sol2-unwind.h: Move to ../libgcc/config/sparc.
      	* config/xtensa/linux-unwind.h: Move to ../libgcc/config/xtensa.
      	* config/darwin9.h (DARWIN_LIBSYSTEM_HAS_UNWIND): Remove.
      	* system.h (MD_UNWIND_SUPPORT): Poison.
      	* doc/tm.texi.in (Exception Handling, MD_UNWIND_SUPPORT): Remove.
      	* doc/tm.texi: Regenerate.
      	* unwind-dw2.c: Include md-unwind-support.h instead of
      	MD_UNWIND_SUPPORT.
      	* config/ia64/unwind-ia64.c: Likewise.
      	* config/xtensa/unwind-dw2-xtensa.c: Likewise.
      
      	libgcc:
      	* config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
      	* config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
      	* config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
      	* config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
      	* config/i386/linux-unwind.h: Move from ../gcc/config/i386.
      	* config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
      	* config/i386/w32-unwind.h: Move from ../gcc/config/i386.
      	Wrap in !__MINGW64__.
      	* config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
      	* config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
      	* config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
      	* config/mips/linux-unwind.h: Move from ../gcc/config/mips.
      	* config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
      	* config/pa/linux-unwind.h: Move from ../gcc/config/pa.
      	* config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
      	Wrap in !__LP64__.
      	* config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
      	* config/s390/linux-unwind.h: Move from ../gcc/config/s390.
      	* config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
      	* config/sh/linux-unwind.h: Move from ../gcc/config/sh.
      	* config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
      	* config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
      	* config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
      	* config/no-unwind.h: New file.
      	* config.host (md_unwind_header): Document.
      	Define.
      	(alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
      	alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
      	hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
      	hppa[12]*-*-hpux11*): Set md_unwind_header.
      	(i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
      	Set md_unwind_header.
      	(x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
      	(i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
      	(i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
      	m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
      	powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
      	s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
      	sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
      	md_unwind_header.
      	* configure.ac: Link md-unwind-support.h to $md_unwind_header.
      	* configure: Regenerate.
      
      From-SVN: r174613
      Rainer Orth committed
    • config.gcc (mips-sgi-irix6.5*): Set tmake_file to mips/t-irix6 t-slibgcc-dummy. · 737346fa
      	gcc:
      	* config.gcc (mips-sgi-irix6.5*): Set tmake_file to mips/t-irix6
      	t-slibgcc-dummy.
      	* config/mips/irix-crti.asm: Move to ../libgcc/config/mips/irix-crti.S.
      	* config/mips/irix-crtn.asm: Move to ../libgcc/config/mips/irix-crtn.S.
      	* config/mips/t-iris: Remove.
      	* config/mips/t-irix6: New file.
      	* config/mips/t-slibgcc-irix: Move to ../libgcc/config/mips.
      
      	libgcc:
      	* config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
      	Set tmake_file, extra_parts.
      	* config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
      	Remove O32 support.
      	* config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
      	Remove O32 support.
      	* config/mips/t-irix6: New file.
      	* config/mips/t-slibgcc-irix: New file.
      
      From-SVN: r174608
      Rainer Orth committed
    • Makefile.in (LIB2ADDEHDEP): Remove. · c192cee6
      	gcc:
      	* Makefile.in (LIB2ADDEHDEP): Remove.
      	* config/arm/t-bpabi (LIB2ADDEHDEP): Remove.
      	* config/arm/t-symbian (LIB2ADDEHDEP): Remove.
      	* config/picochip/t-picochip (LIB2ADDEHDEP): Remove.
      	* config/t-darwin (LIB2ADDEHDEP): Remove.
      	* config/t-freebsd (LIB2ADDEHDEP): Remove.
      	* config/t-linux (LIB2ADDEHDEP): Remove.
      
      	libgcc:
      	* config/s390/t-tpf (LIB2ADDEHDEP): Remove.
      	* config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
      
      From-SVN: r174606
      Rainer Orth committed
    • t-osf5: Remove. · ee33b5f0
      	gcc:
      	* config/alpha/t-osf5: Remove.
      	* config/alpha/t-osf-pthread: Remove.
      	* config.gcc (alpha*-dec-osf5.1*): Set tmake_file to t-slibgcc-dummy.
      	* mkmap-flat.awk: Handle osf_export for Tru64 UNIX linker -input file.
      
      	libgcc:
      	* configure.ac (target_thread_file): Determine thread model.
      	* configure: Regenerate.
      	* config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
      	* config/alpha/t-alpha: New file.
      	* config/alpha/t-crtfm: Use $<.
      	* config/alpha/t-ieee: New file.
      	* config/alpha/t-osf-pthread: New file.
      	* config/alpha/t-slibgcc-osf: New file.
      	* config/alpha/libgcc-osf5.ver: New file.
      
      From-SVN: r174603
      Rainer Orth committed
  10. 01 Jun, 2011 3 commits
    • crtfastmath.c: Include <signal.h>, <ucontext.h>. · 0699e415
      	gcc:
      	* config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]:
      	Include <signal.h>, <ucontext.h>.
      	(sigill_caught): Define.
      	(sigill_hdlr): New function.
      	(set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Check if SSE
      	insns can be executed.
      	* config/sol2.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math
      	etc.
      	* config/sparc/sol2.h (ENDFILE_SPEC): Remove.
      
      	libgcc:
      	* config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
      	tmake_file.
      	Add crtfastmath.o to extra_parts.
      
      From-SVN: r174532
      Rainer Orth committed
    • gmon-sol2.c: Reindent. · a3fab9c2
      	* config/gmon-sol2.c: Reindent.
      	Cleanup comments.
      	Remove, correct casts.
      	Use STDERR_FILENO, NULL.
      	(BASEADDRESS): Remove.
      	(minbrk): Remove.
      	(errno, sbrk): Remove declarations.
      	(monstartup) [hp300]: Remove.
      	(mcount): Remove.
      
      From-SVN: r174531
      Rainer Orth committed
    • t-slibgcc-darwin: Move to ... · ca24c5ad
      	gcc:
      	* config/t-slibgcc-darwin: Move to ...
      	* config/t-slibgcc-dummy: .. this.
      	Clarify comments.
      	* config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*,
      	powerpc-*-darwin*, powerpc64-*-darwin*): Reflect this.
      	(i[3456x]86-*-netware*): Add t-slibgcc-dummy to tmake_file.
      	(i[34567]86-*-rtems*): Remove extra_parts.
      	Use i386/t-rtems.
      	Remove i386/t-crtstuff from tmake_file.
      	(i[34567]86-*-solaris2*): Remove t-svr4,
      	t-slibgcc-elf-ver, t-slibgcc-sld from tmake_file, add
      	t-slibgcc-dummy.
      	(sparc-*-elf*, sparc64-*-elf*): Remove tmake_file, extra_parts.
      	(sparc-*-rtems*, sparc64-*-rtems*): Remove sparc/t-crtin,
      	sparc/t-crtfm from tmake_file.
      	(sparc*-*-solaris2*): Remove sparc/t-sol2, sparc/t-crtfm,
      	t-slibgcc-elf-ver, t-slibgcc-sld, add t-slibgcc-dummy.
      	Remove extra_parts.
      	* config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define.
      	* config/i386/t-nwld (SHLIB_LINK): Remove.
      	* config/i386/t-rtems-i386: Rename to ...
      	* config/i386/t-rtems: ... this.
      	($(T)crti.o, $(T)crtn.o): Remove.
      	(FPBIT, DPBIT, LIB2FUNCS_EXTRA): Remove.
      	(dp-bit.c, fp-bit.c, xp-bit.c): Remove.
      	(EXTRA_MULTILIB_PARTS, LIBGCC, INSTALL_LIBGCC): Remove.
      	* config/i386/t-sol2-10 (LIBGCC, INSTALL_LIBGCC,
      	EXTRA_MULTILIB_PARTS): Remove.
      	* config/sparc/t-sol2-64: Likewise.
      	* config/sparc/t-sol2: Remove.
      	* config/sparc/t-crtin: Remove.
      	* config/sparc/gmon-sol2.c: Move to ../libgcc/config.
      	* config/i386/gmon-sol2.c: Remove.
      	* config/i386/sol2-c1.asm: Move to ../libgcc/config/i386/sol2-c1.S.
      	* config/i386/sol2-ci.asm: Move to ../libgcc/config/i386/sol2-ci.S.
      	* config/i386/sol2-cn.asm: Move to ../libgcc/config/i386/sol2-cn.S.
      	* config/i386/sol2-gc1.asm: Remove.
      	* config/sparc/sol2-c1.asm: Move to ../libgcc/config/sparc/sol2-c1.S.
      	* config/sparc/sol2-ci.asm: Move to ../libgcc/config/sparc/sol2-ci.S.
      	* config/sparc/sol2-cn.asm: Move to ../libgcc/config/sparc/sol2-cn.S.
      	* config/t-slibgcc-sld: Remove.
      
      	libgcc:
      	* Makefile.in (cpu_type): Define.
      	* config.host (i[34567]86-*-rtems*): Handle it.
      	(i[34567]86-*-solaris2*): Move body ...
      	(*-*-solaris2*): ... here.
      	New case, generalize.
      	(sparc-*-elf*): Handle it.
      	(sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
      	(sparc-*-rtems*, sparc64-*-rtems*); Handle it.
      	(sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
      	Fold into ...
      	(sparc*-*-solaris2*): ... this.
      	New case.
      	(sparc64-*-elf*): Handle it.
      	* config/gmon-sol2.c: Move from ../gcc/config/sparc.
      	Merge ../gcc/config/i386/gmon-sol2.c.
      	* config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
      	Use C comments.
      	Merge ../gcc/config/i386/sol2-gc1.asm.
      	* config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
      	Use C comments.
      	* config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
      	Use C comments.
      	* config/i386/t-crtfm (crtfastmath.o): Use $<.
      	* config/i386/t-crtstuff: New file.
      	* config/i386/t-softfp: New file.
      	* config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
      	$(T)crti.o, $(T)crtn.o): Remove.
      	(gcrt1.o): New rule.
      	(TARGET_LIBGCC2_CFLAGS): Remove.
      	* config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
      	* config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
      	* config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
      	* config/sparc/t-sol2: New file.
      	* config/sparc/t-crtfm: Move to ...
      	* config/t-crtfm: ... this.
      	Use $(cpu_type), $<.
      	* config/t-crtin: New file.
      	* config/sparc/t-softfp: New file.
      	* config/sparc/t-softmul: New file.
      	* config/t-rtems: New file.
      	* config/t-slibgcc: New file.
      	* config/t-slibgcc-elf-ver: New file.
      	* config/t-slibgcc-gld: New file.
      	* config/t-slibgcc-sld: New file.
      	* config/t-sol2: New file.
      	* configure.ac: Include ../config/lib-ld.m4.
      	Call AC_LIB_PROG_LD_GNU.
      	Substitute cpu_type.
      	* configure: Regenerate.
      
      From-SVN: r174529
      Rainer Orth committed
  11. 27 May, 2011 1 commit
    • re PR bootstrap/49173 (No rule to make target… · ad5f3d7b
      re PR bootstrap/49173 (No rule to make target `../../../../work/libgcc/../gcc/libgcc-std.ver', needed by `libgcc.map'.)
      
      	PR bootstrap/49173
      	* config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
      	libgcc-std.ver in the build directory.
      	* config/s390/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/sh/t-linux (SHLIB_MAPFILES): Likewise.
      
      From-SVN: r174321
      Bernd Schmidt committed
  12. 25 May, 2011 1 commit
    • libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if LIBGCC2_GNU_PREFIX is defined. · cdbf4541
      	gcc/
      	* libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if
      	LIBGCC2_GNU_PREFIX is defined.
      	(__N): New macro.
      	(__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2,
      	__mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3,
      	__divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack,
      	__clz_tab): Define using __N.
      	(__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if
      	COMPAT_SIMODE_TRAPPING_ARITHMETIC.
      	* target.def (libfunc_gnu_prefix): New hook.
      	* doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document.
      	(TARGET_LIBFUNC_GNU_PREFIX): Add hook.
      	* doc/tm.texi: Regenerate.
      	* system.h (LIBGCC2_GNU_PREFIX): Poison.
      	* optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into
      	account.
      	(gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise.
      	(init_optabs): Likewise for the bswap libfuncs.
      	* tree.c (build_common_builtin_nodes): Likewise for complex multiply
      	and divide.
      	* config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir).
      	* config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise.
      	* libgcc-std.ver: Remove.
      	* Makefile.in (srcdirify): Handle $$(libgcc_objdir).
      	* config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for
      	libgcc-std.ver.
      	* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise.
      	* config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise.
      	* config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise.
      	* config/sparc/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/i386/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/fixed-bit.h (FIXED_OP): Define differently depending on
      	LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores.
      	(FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise.
      
      	libgcc/
      	* libgcc-std.ver.in: New file.
      	* Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
      	variables.
      	(libgcc-std.ver): New rule.
      	* config/t-gnu-prefix: New file.
      
      From-SVN: r174187
      Bernd Schmidt committed
  13. 23 May, 2011 1 commit
    • gthr-gnat.c: Remove. · c8028650
      	gcc:
      	* gthr-gnat.c: Remove.
      	* gthr-gnat.h: Remove.
      	* Makefile.in (LIB2ADDEH): Remove $(srcdir)/gthr-gnat.c.
      	* config/t-freebsd (LIB2ADDEH): Likewise.
      	* config/t-linux (LIB2ADDEH): Likewise.
      	* config/t-sol2 (LIB2ADDEH): Likewise.
      	* config/ia64/t-vms (LIB2ADDEH): Likewise.
      	* configure.ac (target_thread_file): Remove gnat handling.
      	* configure: Regenerate.
      	* doc/install.texi (Configuration, --enable-threads): Remove gnat.
      
      	gcc/po:
      	* EXCLUDES: Remove gthr-gnat.c, gthr-gnat.h.
      
      	libgcc:
      	* config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
      
      From-SVN: r174064
      Rainer Orth committed
  14. 10 May, 2011 2 commits
    • config.gcc (i[34567]86-*-darwin*, [...]): Add i386/darwin-lib.h to $libgcc_tm_file. · 4a68b4ca
      gcc:
      	* config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add
      	i386/darwin-lib.h to $libgcc_tm_file.
      	* config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Remove.
      
      libgcc:
      	* config/i386/darwin-lib.h: New file.
      
      From-SVN: r173622
      Joseph Myers committed
    • config.gcc (libgcc_tm_file): Define instead of including files from… · 80cf2e08
      config.gcc (libgcc_tm_file): Define instead of including files from ../../libgcc/config/ in tm_file.
      
      gcc:
      	* config.gcc (libgcc_tm_file): Define instead of including files
      	from ../../libgcc/config/ in tm_file.
      	* configure.ac (libgcc_tm_file_list, libgcc_tm_include_list):
      	Define.
      	* configure: Regenerate.
      	* Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list,
      	libgcc_tm.h, cs-libgcc_tm.h): New.
      	(TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list).
      	(clean): Remove libgcc_tm.h.
      	* config/arm/symbian.h (RENAME_LIBRARY): Remove.
      	* mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET.
      	* system.h (DECLARE_LIBRARY_RENAMES): Poison.
      
      libgcc:
      	* config/arm/symbian-lib.h: New.
      
      From-SVN: r173619
      Joseph Myers committed
  15. 04 May, 2011 1 commit
  16. 03 May, 2011 1 commit
  17. 22 Mar, 2011 1 commit
    • MAINTAINERS (crx port, [...]): Remove. · ebb9f8b0
      	* MAINTAINERS (crx port, m68hc11 port): Remove.  Move maintainers
      	to Write After Approval.
      	* config-ml.in: Don't handle arc-*-elf*.
      	* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
      	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
      	handle GCC libraries.
      	* configure: Regenerate.
      
      contrib:
      	* compare-all-tests (all_targets): Remove crx and m68hc11.
      
      fixincludes:
      	* mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
      
      gcc:
      	* config/alpha/gnu.h: Remove.
      	* config/arc: Remove directory.
      	* config/arm/netbsd.h: Remove.
      	* config/arm/t-pe: Remove.
      	* config/crx: Remove directory.
      	* config/i386/netbsd.h: Remove.
      	* config/m68hc11: Remove directory.
      	* config/m68k/uclinux-oldabi.h: Remove.
      	* config/mcore/mcore-pe.h: Remove.
      	* config/mcore/t-mcore-pe: Remove.
      	* config/netbsd-aout.h: Remove.
      	* config/rs6000/gnu.h: Remove.
      	* config/sh/sh-symbian.h: Remove.
      	* config/sh/symbian-base.c: Remove.
      	* config/sh/symbian-c.c: Remove.
      	* config/sh/symbian-cxx.c: Remove.
      	* config/sh/symbian-post.h: Remove.
      	* config/sh/symbian-pre.h: Remove.
      	* config/sh/t-symbian: Remove.
      	* config/svr3.h: Remove.
      	* config/vax/netbsd.h: Remove.
      	* config.build: Don't handle i[34567]86-*-pe.
      	* config.gcc: Remove handling of deprecations for most deprecated
      	targets.
      	(m68k-*-uclinuxoldabi*): Add to second deprecated list.
      	(alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf,
      	i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*,
      	m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*,
      	powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
      	sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
      	Remove cases.
      	* config.host: Don't handle i[34567]86-*-pe.
      	* config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove.
      	(ASM_SPEC32): Don't handle -mcall-gnu.
      	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle
      	-mcall-gnu.
      	(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC,
      	STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu.
      	(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
      	LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove.
      	(SUBTARGET_EXTRA_SPECS): Remove *_gnu specs.
      	* config/sh/sh-protos.h, config/sh/sh.c: Remove all code
      	conditional on SYMBIAN.
      	* configure.ac: Don't handle powerpc*-*-gnu*.
      	* configure: Regenerate.
      	* doc/extend.texi (interrupt attribute): Don't mention CRX.
      	* doc/install-old.texi (m6811, m6812): Don't mention.
      	* doc/install.texi (arc-*-elf*): Don't document multilib option.
      	(arc-*-elf, CRX, m6811-elf, m6812-elf): Remove.
      	(m68k-uclinuxoldabi): Don't mention.
      	* doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options):
      	Remove.
      	(-mcall-gnu): Remove.
      	* doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12
      	families): Remove constraint documentation.
      
      gcc/testsuite:
      	* gcc.c-torture/execute/920501-8.x: Remove.
      	* gcc.c-torture/execute/930513-1.x: Remove.
      	* gcc.c-torture/execute/960312-1.x: Remove.
      	* gcc.c-torture/compile/20000804-1.c,
      	gcc.c-torture/compile/20001205-1.c,
      	gcc.c-torture/compile/20001226-1.c,
      	gcc.c-torture/compile/20010518-2.c,
      	gcc.c-torture/compile/20020312-1.c,
      	gcc.c-torture/compile/20020604-1.c,
      	gcc.c-torture/compile/920501-12.c,
      	gcc.c-torture/compile/920501-4.c,
      	gcc.c-torture/compile/920520-1.c,
      	gcc.c-torture/compile/980506-1.c,
      	gcc.c-torture/execute/980709-1.x,
      	gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special
      	options for m68hc11.
      	* gcc.dg/cpp/assert4.c: Don't handle ARC.
      	* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or
      	m68hc11.
      
      libgcc:
      	* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
      	arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
      	m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
      	powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
      	sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
      	Remove cases.
      
      libstdc++-v3:
      	* configure.ac: Don't handle powerpc*-*-gnu*.
      	* configure: Regenerate.
      
      From-SVN: r171302
      Joseph Myers committed
  18. 14 Mar, 2011 1 commit
  19. 07 Mar, 2011 1 commit
  20. 26 Jan, 2011 1 commit
    • re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain) · 58c741a6
      gcc/ChangeLog:
      
      	PR target/40125
      	* config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
      	t-dlldir{,-x} fragment for build and add it to tmake_file.
      	(i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
      	* Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
      	* config/i386/t-dlldir: New file.
      	(SHLIB_DLLDIR): Define.
      	* config/i386/t-dlldir-x: New file.
      	(SHLIB_DLLDIR): Define.
      	* config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
      	(SHLIB_INSTALL): Use it.
      
      libgcc/ChangeLog:
      
      	PR target/40125
      	* configure.ac: Call ACX_NONCANONICAL_TARGET.
      	(toolexecdir): Calculate and AC_SUBST.
      	(toolexeclibdir): Likewise.
      	* Makefile.in (target_noncanonical): Import.
      	(toolexecdir): Likewise.
      	(toolexeclibdir): Likewise.
      	* configure: Regenerate.
      
      From-SVN: r169274
      Dave Korn committed
  21. 03 Jan, 2011 1 commit
  22. 13 Dec, 2010 1 commit
  23. 10 Dec, 2010 1 commit
  24. 24 Nov, 2010 1 commit
    • cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __FLOAT_WORD_ORDER__… · a3abe41c
      cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN.
      
      gcc/
      	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
      	__FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN.
      	* config/dfp-bit.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
      	* doc/cpp.texi (__FLOAT_WORD_ORDER__): Document.
      	* system.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Poison.
      
      libgcc/
      	* config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
      	__FLOAT_WORD_ORDER__.
      	* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
      	Delete.
      
      libdecnumber/
      	* dconfig.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
      	(WORDS_BIG_ENDIAN): Define based on value of __FLOAT_WORD_ORDER__.
      
      From-SVN: r167129
      Nathan Froyd committed
  25. 20 Nov, 2010 1 commit
    • PR other/46202: implement install-strip. · 455c8f48
      /:
      	PR other/46202
      	* configure.ac: Fix just-built in-tree STRIP name to be
      	binutils/strip-new.
      	* configure: Regenerate.
      	* Makefile.def (install-strip-gcc, install-strip-binutils)
      	(install-strip-opcodes, install-strip-ld, install-strip-itcl)
      	(install-strip-sid): Mirror dependencies on non-strip variants
      	of these targets on the respective -strip prerequisites.
      	* Makefile.tpl (install-strip, install-strip-host)
      	(install-strip-target): New targets.
      	(install-strip-[+module+], install-strip-target-[+module+]):
      	New targets.
      	* Makefile.in: Regenerate.
      
      gcc/:
      	PR other/46202
      	* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM): New
      	variables.
      	(AR_FOR_TARGET, RANLIB_FOR_TARGET, STRIP_FOR_TARGET): Fix
      	shell quoting.
      	(STRIP_FOR_TARGET): Look for in-tree strip under name strip-new.
      	(install-strip): New target.
      	(STRIPPROG): New variable, exported if STRIP is set.
      	* doc/install.texi (Final install): Minor markup and code style
      	fixes.  Document install-strip target.
      
      fixincludes/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(all, check, install): Also mark as phony.
      
      libgcc/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      
      libiberty/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(install): Also mark as phony.
      
      gnattools/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(check, installcheck, info, dvi, pdf, html, install)
      	(install-info, install-pdf, install-html, mostlyclean)
      	(clean, distclean, maintainer-clean): Mark phony.
      
      libada/:
      	PR other/46202
      	* Makefile.in (install-strip): New phony target.
      	(check, installcheck, info, dvi, pdf, html, install)
      	(install-info, install-pdf, install-html, mostlyclean)
      	(clean, distclean, maintainer-clean): Mark phony.
      
      From-SVN: r166980
      Ralf Wildenhues committed
  26. 08 Nov, 2010 1 commit
  27. 23 Oct, 2010 1 commit
    • cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __BYTE_ORDER__... · 18ed6ee4
      gcc/
      	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Define
      	__BYTE_ORDER__, __ORDER_LITTLE_ENDIAN__, __ORDER_BIG_ENDIAN__, and
      	__ORDER_PDP_ENDIAN__.
      	* libgcc2.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(struct DWstruct): Define based on __BYTE_ORDER__.
      	* config/fixed-bit.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(struct INTstruct): Define based on __BYTE_ORDER__.
      	* config/dfp-bit.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
      	* system.h (LIBGCC2_WORDS_BIG_ENDIAN): Poison identifier.
      	* config/arc/arc.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/arm/arm.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/ia64/ia64.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/iq2000/iq2000.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/lm32/lm32.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/m32r/m32r.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/mcore/mcore.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/mep/mep.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/mips/mips.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/rx/rx.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/score/score.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/sh/sh.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/sparc/sparc.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* doc/tm.texi.in (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	* doc/tm.texi: Regenerate.
      	* doc/cpp.texi (__BYTE_ORDER__, __ORDER_LITTLE_ENDIAN__): Document.
      	(__ORDER_BIG_ENDIAN__, __ORDER_PDP_ENDIAN__): Likewise.
      
      libdecnumber/
      	* dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
      	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
      
      libgcc/
      	* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
      	Delete.
      	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
      
      From-SVN: r165881
      Nathan Froyd committed
  28. 14 Oct, 2010 1 commit
    • config.gcc (arm*-*-linux-*eabi): Add bpabi.h from libgcc. · 8ac7fdcb
      gcc/
      	* config.gcc (arm*-*-linux-*eabi) <tm_file>: Add bpabi.h from
      	libgcc.
      	(arm*-*-uclinux*eabi) <tm_file>: Likewise.
      	(arm*-*-eabi*) <tm_file>: Likewise.
      	(frv-*-elf) <tm_file>: Add frv-abi.h from libgcc.
      	(frv-*-*linux*) <tm_file>: Likewise.
      	* config/arm/bpabi.h: Delete DECLARE_LIBRARY_RENAMES stanzas
      	and associated helper macros.
      	* config/frv/frv-abi.h: Delete.
      
      libgcc/
      	* config/arm/bpabi.h: New file.
      	* config/frv/frv-abi.h: New file.
      
      From-SVN: r165463
      Nathan Froyd committed
  29. 01 Oct, 2010 3 commits