aboutsummaryrefslogtreecommitdiff
path: root/libgcc
AgeCommit message (Collapse)AuthorFilesLines
2011-01-26re PR target/40125 (libgcc_s DLL installed in wrong directory in cross ↵Dave Korn4-0/+83
toolchain) 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
2011-01-03Update Copyright years for files modified in 2010.Jakub Jelinek2-2/+2
From-SVN: r168438
2010-12-13re PR target/46040 (crtstuff.c:308:26: error: '__DTOR_LIST__' undeclared)Nathan Froyd2-0/+6
gcc/ PR target/46040 * config.gcc (arm*-*-linux-*eabi): Use bpabi-lib.h. (arm*-*-uclinux*eabi, arm*-*-eabi*): Likewise. libgcc/ PR target/46040 * config/arm/bpabi.h: Rename to... * config/arm/bpabi-lib.h: ...this. From-SVN: r167751
2010-12-10configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if appropriate.Rainer Orth3-2/+8
* configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if appropriate. * configure: Regenerate. From-SVN: r167696
2010-11-24cppbuiltin.c (define_builtin_macros_for_type_sizes): Define ↵Nathan Froyd3-6/+8
__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
2010-11-20PR other/46202: implement install-strip.Ralf Wildenhues2-2/+9
/: 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
2010-11-08re PR target/46089 (ICE: in gen_reg_rtx, at emit-rtl.c:861 with ↵Ian Lance Taylor2-0/+40
-mcmodel=large -fsplit-stack) gcc/: PR target/46089 * config/i386/i386.c (split_stack_fn_large): New static variable. (ix86_expand_split_stack_prologue): Handle large model. libgcc/: * config/i386/morestack.S (__morestack_large_model): New function. From-SVN: r166427
2010-10-23cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __BYTE_ORDER__...Nathan Froyd2-5/+8
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
2010-10-14config.gcc (arm*-*-linux-*eabi): Add bpabi.h from libgcc.Nathan Froyd3-0/+268
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
2010-10-01t-stack (LIB2ADD_ST): Set instead of LIB2ADD.Ian Lance Taylor3-3/+7
* config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD. * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise. From-SVN: r164893
2010-10-01Remove the extra `$'.H.J. Lu1-1/+1
From-SVN: r164878
2010-10-01Add the missing `$'.H.J. Lu2-1/+6
2010-10-01 H.J. Lu <hongjiu.lu@intel.com> PR target/45858 * config.host: Add the missing `$'. From-SVN: r164876
2010-09-30Check in support for Xilinx MicroBlaze processor.Michael Eager12-0/+875
From-SVN: r164756
2010-09-29configure.ac: Adjust CFI test to test assembler directly rather than ↵Ian Lance Taylor3-4/+19
checking gcc... * configure.ac: Adjust CFI test to test assembler directly rather than checking gcc preprocessor macro. * configure: Rebuild. From-SVN: r164713
2010-09-28i386.c (ix86_supports_split_stack): -fsplit-stack requires assembler support ↵Ian Lance Taylor4-1/+37
for CFI directives. gcc/: * config/i386/i386.c (ix86_supports_split_stack): -fsplit-stack requires assembler support for CFI directives. libgcc/: * configure.ac: Test whether assembler supports CFI directives. * config.host: Only add t-stack and i386/t-stack-i386 to tmake_file if libgcc_cv_cfi is "yes". * configure: Rebuild. From-SVN: r164671
2010-09-27common.opt (fsplit-stack): New option.Ian Lance Taylor8-1/+1668
gcc/: * common.opt (fsplit-stack): New option. * opts.c (decode_options): Set flag_split_stack to final value. * target.def (supports_split_stack): New hook. * gcc.c (STACK_SPLIT_SPEC): Define. (LINK_COMMAND_SPEC): Use STACK_SPLIT_SPEC. * doc/invoke.texi (Option Summary): Mention -fsplit-stack. (Code Gen Options): Document -fsplit-stack. * doc/extend.texi (Function Attributes): Mention no_split_stack. (Function Attributes): Document no_split_stack. * doc/tm.texi.in (Stack Smashing Protection): Add @hook TARGET_SUPPORTS_SPLIT_STACK. * doc/tm.texi: Rebuild. * function.c (thread_prologue_and_epilogue_insns): If flag_split_stack, add split stack prologue. * explow.c (allocate_dynamic_stack_space): Support -fsplit-stack. * varasm.c (saw_no_split_stack): New static variable. (assemble_start_function): Set saw_no_split_stack if the function has the no_split_stack attribute. (file_end_indicate_split_stack): New function. * output.h (file_end_indicate_split_stack): Declare. * libgcc-std.ver (GCC_4.6.0): Add -fsplit-stack support variables and function. * doc/libgcc.texi (Miscellaneous routines): Document -fsplit-stack routines. * config/i386/i386.c (ix86_option_override_internal): Don't set expand_builtin_va_start to NULL if -fsplit-stack. (ix86_function_regparm): Reduce local regparm by 1 for 32-bit -fsplit-stack. (ix86_va_start): If -fsplit-stack, get overflow pointer from scratch register set by prologue. (ix86_code_end): If -fsplit-stack, call file_end_indicate_split_stack. (ix86_supports_split_stack): New static function. (SPLIT_STACK_AVAILABLE): Define. (split_stack_prologue_scratch_regno): New static function. (split_stack_fn): New static variable. (ix86_expand_split_stack_prologue): New function. (ix86_live_on_entry): New static function. (ix86_legitimate_address_p): Handle UNSPEC_STACK_CHECK. (output_pic_addr_const): Likewise. (i386_asm_output_addr_const_extra): Likewise. (ix86_expand_call): Change return type to rtx. Return the new call instruction. (TARGET_SUPPORTS_SPLIT_STACK): Define. (TARGET_EXTRA_LIVE_ON_ENTRY): Define. * config/i386/i386.md (UNSPEC_STACK_CHECK): Define. (split_stack_prologue, split_stack_return): New insns. (split_stack_space_check): New insn. * config/i386/i386.h (struct machine_function): Add split_stack_varargs_pointer field. * config/i386/linux.h (TARGET_CAN_SPLIT_STACK): Define. (TARGET_THREAD_SPLIT_STACK_OFFSET): Define. * config/i386/linux64.h (TARGET_CAN_SPLIT_STACK): Define. (TARGET_THREAD_SPLIT_STACK_OFFSET): Define. * config/i386/i386-protos.h (ix86_expand_split_stack_prologue): Declare. (ix86_expand_call): Update declaration. gcc/c-family/: * c-common.c (c_common_attribute_table): Add no_split_stack. (handle_no_split_stack_attribute): New static function. gcc/testsuite/: * lib/target-supports.exp (check_effective_target_split_stack): New procedure. * gcc.dg/split-1.c: New test. * gcc.dg/split-2.c: New test. * gcc.dg/split-3.c: New test. * gcc.dg/split-4.c: New test. libgcc/: * generic-morestack.h: New file. * generic-morestack.c: New file. * generic-morestack-thread.c: New file. * config/i386/morestack.S: New file. * config/t-stack: New file. * config/i386/t-stack-i386: New file. * config.host (i[34567]86-*-linux* and friends): Add t-stack and i386/t-stack-i386 to tmake_file. From-SVN: r164661
2010-09-21Makefile.in (libgcc-extra-parts): Check for static archives and invoke ↵Iain Sandoe2-0/+19
ranlib after installing them. * Makefile.in (libgcc-extra-parts): Check for static archives and invoke ranlib after installing them. (gcc-extra-parts): Likewise. (install-leaf): Likewise. From-SVN: r164482
2010-09-14Regenerate libgcc/configure.H.J. Lu2-3/+7
2010-09-14 H.J. Lu <hongjiu.lu@intel.com> * configure: Regenerated. From-SVN: r164284
2010-09-10ChangeLog configKai Tietz2-1/+7
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. From-SVN: r164167
2010-09-09re PR target/40959 (FreeBSD/ia64 build fails: No rule to make target ↵Gerald Pfeifer2-0/+8
`/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'.) 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com> Andrew Pinski <pinskia@gmail.com> PR target/40959 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file. Co-Authored-By: Andrew Pinski <pinskia@gmail.com> From-SVN: r164132
2010-09-06Don't set enable_decimal_float to dpd if DFP is disabled.H.J. Lu2-2/+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. From-SVN: r163921
2010-09-06dfp.m4: Quote argument of AC_MSG_WARN.Andreas Schwab2-2/+6
config/: * 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. From-SVN: r163909
2010-09-03t-sol2 (__copysigntf3, __fabstf3): Disable for 64bit targets.Uros Bizjak2-0/+19
* config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for 64bit targets. (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only for 64bit targets. From-SVN: r163820
2010-09-03re PR target/45476 (libgcc should contain TCmode functions)Uros Bizjak2-3/+10
libgcc/ChangeLog: PR target/45476 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out LIB2FUNCS_EXCLUDE functions. gcc/ChangeLog: PR target/45476 * config/i386/t-darwin (LIB2FUNCS_EXCLUDE): New. * config/i386/darwin.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE): New defines. gcc/testsuite/ChangeLog: PR target/45476 * gcc.target/i386/float128-1.c: Enable for all x86 targets. * gcc.target/i386/float128-2.c: Ditto. From-SVN: r163819
2010-09-03configure: Regenerate.Andreas Krebbel1-11/+23
gcc/ 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. From-SVN: r163816
2010-09-03configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.Andreas Krebbel3-35/+9
gcc/ 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro. * Makefile.in: Add aclocal.m4 dependency to dfp.m4. * configure: Regenerate. * aclocal.m4: Regenerate. config/ 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * dfp.m4: New file. libdecnumber/ 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro. * Makefile.in: Add aclocal.m4 dependency to dfp.m4. * configure: Regenerate. * aclocal.m4: Regenerate. libgcc/ 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro. Include dfp.m4. * configure: Regenerate. From-SVN: r163815
2010-09-01config.gcc (i[34567]86-*-freebsd*, [...]): Add i386/t-fprules-softfp and ↵Uros Bizjak4-18/+138
soft-fp/t-softfp to tmake_file. gcc/ChangeLog: * config.gcc (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file. * libgcc-std.ver (GCC_4.6.0): Define version. libgcc/ChangeLog: * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add i386/t-freebsd to tmake_file. * config/i386/t-freebsd: New file. * config/i386/libgcc-bsd.ver: New file. From-SVN: r163718
2010-07-23config.host (powerpc*-eabispe*): Set tmake_file.Nathan Froyd3-1/+12
* config.host (powerpc*-eabispe*): Set tmake_file. (powerpc*-eabi*): Likewise. * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend, crtbeginS, crtendS, crtbeginT. From-SVN: r162474
2010-06-12config.gcc (mips64*-*-linux*, [...]): Add crtfastmath.o to extra_parts.Kazu Hirata3-0/+13
gcc/ * config.gcc (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*): Add crtfastmath.o to extra_parts. * config/mips/crtfastmath.c: New. * config/mips/linux.h (ENDFILE_SPEC): New. libgcc/ * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm to tmake_file. Add crtfastmath.o to extra_parts. * config/mips/t-crtfm: New. From-SVN: r160655
2010-05-21config.host (sparc64-*-rtems*): New target.Joel Sherrill1-0/+4
2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> * config.host (sparc64-*-rtems*): New target. From-SVN: r159670
2010-05-21config.host (sparc64-*-rtems*): New target.Joel Sherrill1-1/+1
2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> * config.host (sparc64-*-rtems*): New target. From-SVN: r159669
2010-05-19sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun assembler syntax.Rainer Orth2-2/+7
libgcc: * 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. From-SVN: r159569
2010-04-15config.gcc: Handle softfp as for Linux.Thomas Schwinge2-0/+5
2010-04-15 Thomas Schwinge <tschwinge@gnu.org> gcc/ * config.gcc <i[34567]86-*-gnu*>: Handle softfp as for Linux. libgcc/ * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux. From-SVN: r158375
2010-04-12config.build (alpha*-dec-osf4*): Remove.Rainer Orth2-1/+6
gcc: * config.build (alpha*-dec-osf4*): Remove. * config.gcc: Remove alpha*-dec-osf4*, alpha-dec-osf5.0* from list of obsolete configurations. (alpha*-dec-osf[45]*): Remove alpha*-dec-osf4*, alpha-dec-osf5.0* support. * config/alpha/t-osf4: Renamed to ... * config/alpha/t-osf5: ... this. * config/alpha/osf.h: Renamed to ... * config/alpha/osf5.h: ... this. Merged old osf5.h contents. Update comments. (ASM_SPEC): Use ASM_OLDAS_SPEC directly. (EXTRA_SPECS): Removed. * doc/install.texi (Specific, alpha*-dec-osf5.1): Renamed to reflect removal of Tru64 UNIX V4.0/V5.0 support. Document that. fixincludes: * inclhack.def (alpha_wchar): Remove. * fixincl.x: Regenerate. * tests/base/wchar.h: Remove. libgcc: * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*, alpha-dec-osf5.0* support. From-SVN: r158235
2010-04-02Fix indentation.Ralf Corsepius1-1/+1
From-SVN: r157940
2010-04-02config.host: Add lm32-*-rtems*.Ralf Corsepius2-1/+5
2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org> * config.host: Add lm32-*-rtems*. From-SVN: r157939
2010-03-31re PR target/39048 (gcc 4.4.0 20090131 - Extra underscore hides libgcc's ↵Rainer Orth5-1/+112
soft-fp functions from Testsuite causing FAILs + naming error in libgcc) gcc: PR target/39048 * config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp and soft-fp/t-softfp to tmake_file. * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine. (LIBGCC2_TF_CEXT): Define. (TF_SIZE): Define. libgcc: PR target/39048 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86 like other remaining 32-bit x86 OSes. * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun assembler syntax. * config/i386/libgcc-sol2.ver: New file. * config/i386/t-sol2 (SHLIB_MAPFILES): Add it. Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r157854
2010-03-30re PR c/43553 (libgcc built with -DHAVE_CC_TLS against xgcc when emutls in use)Jack Howarth4-1/+54
2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu> PR c/43553 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@. * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS is used and substitute set_use_emutls. * configure: Regenerated. From-SVN: r157821
2010-03-30t-lm32: New file.Tarik Graba2-2/+4
2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr> gcc/ * config/lm32/t-lm32: New file. * config.gcc: Use the above file when targetting lm32. libgcc/ * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS. From-SVN: r157817
2010-03-22re PR target/38085 (gcc -m64 -pg generates invalid assembler code on Solaris ↵Rainer Orth2-5/+15
10/x86) gcc: PR target/38085 * config/i386/i386.c (x86_function_profiler) [!NO_PROFILE_COUNTERS]: Fix typo. * config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call instead of callq. libgcc: PR target/38085 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of MULTILIB_CFLAGS. ($(T)gcrt1.o): Likewise. ($(T)crt1.o): Likewise. ($(T)crti.o): Likewise. ($(T)crtn.o): Likewise. From-SVN: r157648
2010-03-02Small multilib rule fixups.Ralf Wildenhues2-1/+7
libgcc/: PR other/42980 * Makefile.in (install): Use $(MAKE) string in rule, for parallel make. libiberty/: * Makefile.in (all): Do not use exec. From-SVN: r157159
2010-02-22Migrate from broken pre-libgcc legacy support to libgcc-centric rules.Hans-Peter Nilsson3-0/+22
* config/mmix/t-mmix: New file. * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set. From-SVN: r156946
2010-02-02re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)Jack Howarth2-1/+7
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> PR java/41991 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to SHLIB_MAPFILES. From-SVN: r156445
2010-01-04Fix libgcc build for moxie.Anthony Green7-2/+158
From-SVN: r155609
2009-11-18re PR other/39888 (TLS emutls not linked to automatically on Darwin)Iain Sandoe2-27/+44
2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> PR other/39888 * config/t-slibgcc-darwin: Fix embedded rpaths for --enable-version-specific-runtime-libs, build extension stub libs exposing features available from current libgcc_s. From-SVN: r154282
2009-11-11config.gcc: Add lm32 elf and uclinux targets.Jon Beniston17-0/+880
gcc/ 2009-11-11 Jon Beniston <jon@beniston.com> * config.gcc: Add lm32 elf and uclinux targets. * config/lm32: New directory. * config/lm32/lm32.c: New file. * config/lm32/lm32.h: New file. * config/lm32/lm32.md: New file. * config/lm32/lm32.opt: New file. * config/lm32/lm32-protos.h: New file. * config/lm32/constraints.md: New file. * config/lm32/predicates.md: New file. * config/lm32/sfp-machine.h: New file. * config/lm32/t-fprules-softfp: New file. * config/lm32/uclinux-elf.h: New file. * doc/invoke.texi: Document lm32 options. * doc/contrib.texi: Document lm32 porter. * doc/install.texi: Document lm32 targets. gcc/testsuite/ 2009-11-11 Jon Beniston <jon@beniston.com> * lib/target-supports.exp (check_profiling_available): lm32 target doesn't support profiling. * gcc.dg/20020312-2.c: Add lm32 support. * g++.dg/other/packed1.C: Expect to fail on lm32. * g++.old-deja/g++.jason/thunk3.C: Likewise. libgcc/ 2009-11-11 Jon Beniston <jon@beniston.com> * config.host: Add lm32 targets. * config/lm32: New directory. * config/lm32/libgcc_lm32.h: New file. * config/lm32/_mulsi3.c: New file. * config/lm32/_udivmodsi4.c: New file. * config/lm32/_divsi3.c: New file. * config/lm32/_modsi3.c: New file. * config/lm32/_udivsi3.c: New file. * config/lm32/_umodsi3.c: New file. * config/lm32/_lshrsi3.S: New file. * config/lm32/_ashrsi3.S: New file. * config/lm32/_ashlsi3.S: New file. * config/lm32/crti.S: New file. * config/lm32/crtn.S: New file. * config/lm32/t-lm32: New file. * config/lm32/t-elf: New file. * config/lm32/t-uclinux: New file. From-SVN: r154096
2009-10-26MAINTAINERS: Add myself as a maintainer for the RX port.Nick Clifton5-0/+384
* MAINTAINERS: Add myself as a maintainer for the RX port. gcc * config.gcc: Add support for RX target. * config/rx: New directory. * config/rx/constraints.md: New file. * config/rx/predicates.md: New file. * config/rx/rx.c: New file. * config/rx/rx.h: New file. * config/rx/rx.md: New file. * config/rx/rx.opt: New file. * config/rx/rx-protos.h: New file. * config/rx/t-rx: New file. * doc/extend.texi: Document RX function attributes. * doc/invoke.texi: Document RX specific command line options. * doc/contrib.texi: Document RX contribution. * doc/md.texi: Document RX constraints. * doc/install.texi: Document RX support. libgcc * config.host: Add support for RX target. * config/rx: New directory. * config/rx/rx-abi-functions.c: New file. Supplementary functions for libgcc to support the RX ABI. * config/rx/rx-abi.h: New file. Supplementary header file for libgcc RX ABI functions. * config/rx/t-rx: New file: Makefile fragment for building libgcc for the RX. gcc/testsuite * lib/target-supports.exp (check_profiling_available): Profiling is not, currently, available for the RX port. (check_effective_target_hard_float): Add support for RX target. * gcc.target/rx: New directory. * gcc.target/rx/builtins.c: New test file. * gcc.target/rx/interrupts.c: New test file. * gcc.target/rx/rx-abi-function-tests.c: New test file. * gcc.target/rx/zero-width-bitfield.c: New test file. * gcc.target/rx/i272091.c: New test file. * gcc.target/rx/packed-struct.c: New test file. * gcc.target/rx/rx.exp: New file: Drives RX tests. From-SVN: r153557
2009-10-09sfp-machine.h (__FP_FRAC_SUB_4): Change operand constraint of y0 to "g".Uros Bizjak2-11/+13
* config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand constraint of y0 to "g". From-SVN: r152594
2009-10-07config.gcc: Don't include the makefile fragments intended for libgcc.Andreas Krebbel13-0/+733
2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config.gcc: Don't include the makefile fragments intended for libgcc. * config/s390/fixdfdi.h: File removed. * config/s390/libgcc-glibc.ver: File removed. * config/s390/s390.h: Remove the fixdfdi.h hack. * config/s390/t-crtstuff: File moved to libgcc dir. * config/s390/t-linux: Likewise. * config/s390/t-tpf: libgcc specific parts removed. * config/s390/t-linux64: Likewise. 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config.host: Include the s390 makefile fragments. * config/s390/32/_fixdfdi.c: New file. * config/s390/32/_fixsfdi.c: New file. * config/s390/32/_fixtfdi.c: New file. * config/s390/32/_fixunsdfdi.c: New file. * config/s390/32/_fixunssfdi.c: New file. * config/s390/32/_fixunstfdi.c: New file. * config/s390/32/t-floattodi: New file. * config/s390/libgcc-glibc.ver: New file. * config/s390/t-crtstuff: New file. * config/s390/t-linux: New file. * config/s390/t-tpf: New file. From-SVN: r152515
2009-08-24Update AC_PREREQ entries to 2.64Ralf Wildenhues2-1/+5
/: * configure.ac (AC_PREREQ): Bump to 2.64. intl/: * configure.ac (AC_PREREQ): Bump to 2.64. libdecnumber/: * configure.ac (AC_PREREQ): Bump to 2.64. libiberty/: * configure.ac (AC_PREREQ): Bump to 2.64. libjava/classpath/: * configure.ac (AC_PREREQ): Bump to 2.64. libjava/: * configure.ac (AC_PREREQ): Bump to 2.64. libjava/libltdl/: * configure.ac (AC_PREREQ): Bump to 2.64. Remove FIXME. libssp/: * configure.ac (AC_PREREQ): Bump to 2.64. libobjc/: * configure.ac (AC_PREREQ): Bump to 2.64. libstdc++-v3/: * configure.ac (AC_PREREQ): Bump to 2.64. libada/: * configure.ac (AC_PREREQ): Bump to 2.64. libgcc/: * configure.ac (AC_PREREQ): Bump to 2.64. libgfortran/: * configure.ac (AC_PREREQ): Bump to 2.64. boehm-gc/: * configure.ac (AC_PREREQ): Bump to 2.64. gnattools/: * configure.ac (AC_PREREQ): Bump to 2.64. gcc/: * configure.ac (AC_PREREQ): Bump to 2.64. fixincludes/: * configure.ac (AC_PREREQ): Bump to 2.64. libmudflap/: * configure.ac (AC_PREREQ): Bump to 2.64. zlib/: * configure.ac (AC_PREREQ): Bump to 2.64. libffi/: * configure.ac (AC_PREREQ): Bump to 2.64. libcpp/: * configure.ac (AC_PREREQ): Bump to 2.64. libgomp/: * configure.ac (AC_PREREQ): Bump to 2.64. From-SVN: r151059