OSDN Git Service

2011-12-06 Andrew Pinski <apinski@cavium.com>
[pf3gnuchains/gcc-fork.git] / libgcc / ChangeLog
index 720d485..d74aeb9 100644 (file)
@@ -1,3 +1,373 @@
+2011-12-06  Andrew Pinski  <apinski@cavium.com>
+
+       * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
+       size of func_ptr.
+       (__frame_dummy_init_array_entry): Likewise.
+
+2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
+
+       Forward-port from gcc-4_6-branch r181936 2011-12-02.
+
+       PR target/51345
+       PR target/51002
+       * config/avr/lib1funcs.S (__prologue_saves__,
+       __epilogue_restores__, __divdi3_moddi3): Enclose parts using
+       __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
+
+2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
+
+2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR other/51272
+       * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
+       (_ITM_deregisterTMCloneTable): Likewise.
+       (__register_frame_info): Fix unused warning.
+       (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
+       pthread_default_stacksize_np): Likewise.
+       * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
+       
+2011-11-29  DJ Delorie  <dj@redhat.com>
+
+       * config.host (rl78-*-elf): New case.
+       * config/rl78: New directory for the Renesas RL78.
+
+2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
+       formatting.
+
+2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR other/51022
+       * config/rs6000/t-savresfgpr: New file.
+       * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
+       $(srcdir)/config/rs6000/eabi.S.
+       * config/rs6000/t-ppccomm-ldbl: Remove.
+       * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
+       tmake_file.
+       (powerpc-*-eabispe*): Likewise.
+       (powerpc-*-eabi*): Likewise.
+       (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
+       (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
+       to tmake_file, remove rs6000/t-ppccomm-ldbl.
+       (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
+       tmake_file.
+       (powerpc-*-eabisim*): Likewise.
+       (powerpc-*-elf*): Likewise.
+       (powerpc-*-eabialtivec*): Likewise.
+       (powerpc-xilinx-eabi*): Likewise.
+       (powerpc-*-rtems*): Likewise.
+       (powerpcle-*-elf*): Likewise.
+       (powerpcle-*-eabisim*): Likewise.
+       (powerpcle-*-eabi*): Likewise.
+
+2011-11-27  Ian Lance Taylor  <iant@google.com>
+
+       * generic-morestack.c (__splitstack_find): Check for NULL old
+       stack value.
+       (__splitstack_resetcontext): New function.
+       (__splitstack_releasecontext): New function.
+       * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
+
+2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin-crt-tm.c: Correct comments, use correct licence.
+
+2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
+
+2011-11-26  Richard Henderson  <rth@redhat.com>
+
+       * config/m68k/linux-atomic.c: New file.
+       * config/m68k/t-linux: New file.
+       * config.host (m68k-uclinux, m68k-linux): Use it.
+
+2011-11-26  Richard Henderson  <rth@redhat.com>
+
+       * crtstuff.c (__TMC_LIST__): Mark used not unused.
+       (__TMC_END__): Only declare if hidden is available; in the definition,
+       if hidden is unavailable add a null record.
+       (deregister_tm_clones, register_tm_clones): New.
+       (__do_global_dtors_aux, frame_dummy): Use them.
+       (__do_global_dtors, __do_global_ctors_1): Likewise.
+
+2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin-crt-tm.c: New file.
+       * config.host (darwin): Build crttms.o crttme.o to provide
+       startup and shutdown for tm clones.
+       * config/t-darwin (crttms.o): New build rule.
+       (crttme.o): Likewise.
+
+2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
+       et al.
+
+2011-11-21  Richard Henderson  <rth@redhat.com>
+
+       * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
+       (__TMC_LIST__, __TMC_END__): New.
+       (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
+       (__do_global_dtors): Likewise.
+       (frame_dummy): Call _ITM_registerTMCloneTable.
+       (__do_global_ctors_1): Likewise.
+
+2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
+       (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
+       (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
+       (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
+       * config/i386/t-darwin64: Remove.
+       * config/sh/t-netbsd (LIB2ADD): Remove.
+
+2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/49313
+       * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
+       (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
+       * config/avr/lib1funcs.S (wmov): New assembler macro.
+       (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
+       (__moddi3, __divdi3, __divdi3_moddi3): New functions.
+       (__udivmod64): New function.
+       (__negdi2): New function.
+
+2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
+       *-*-freebsd*aout*): Remove.
+
+2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * static-object.mk (c_flags-$o): Save c_flags.
+       ($(base)$(objext)): Use it.
+
+2011-11-18  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
+
+2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/49868
+       * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
+       * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
+       New functions.
+
+2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * config/arm/lib1funcs.asm (udivsi3): Add support for divide
+       functions.
+       (aeabi_uidivmod): Likewise.     
+       (umodsi3): Likewise.
+       (divsi3): Likewise.
+       (aeabi_idivmod): Likewise.
+       (modsi3): Likewise.
+
+2011-11-16  Tristan Gingold  <gingold@adacore.com>
+
+       * config/alpha/qrnnd.S: Use specific pseudos for VMS.
+
+2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/49868
+       * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
+       * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
+
+2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
+       tmake_file list.
+       * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
+       * config/pa/t-stublib64: Delete.
+
+2011-11-12  Richard Henderson  <rth@redhat.com>
+
+       * config/rs6000/linux-unwind.h (frob_update_context): Properly
+       cast the pointer argument to _Unwind_SetGRPtr.
+
+2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
+
+2011-11-09  Ian Lance Taylor  <iant@google.com>
+
+       * generic-morestack.c: Include <string.h>.
+       (uintptr_type): Define.
+       (struct initial_sp): Add dont_block_signals field.  Reduce size of
+       extra array by 1.
+       (allocate_segment): Set prev field to NULL.  Don't set
+       __morestack_current_segment or __morestack_segments.
+       (__generic_morestack): Update current->prev and *pp after calling
+       allocate_segment.
+       (__morestack_block_signals): Don't do anything if
+       dont_block_signals is set.
+       (__morestack_unblock_signals): Likewise.
+       (__generic_findstack): Check for initial_sp == NULL.  Add casts to
+       uintptr_type.
+       (__splitstack_block_signals): New function.
+       (enum __splitstack_content_offsets): Define.
+       (__splitstack_getcontext, __splitstack_setcontext): New functions.
+       (__splitstack_makecontext): New function.
+       (__splitstack_block_signals_context): New function.
+       (__splitstack_find_context): New function.
+       * config/i386/morestack.S (__morestack_get_guard): New function.
+       (__morestack_set_guard, __morestack_make_guard): New functions.
+       * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
+
+2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
+       (i[34567]86-*-mingw*): ... here.
+       (x86_64-*-mingw*): ... here.
+
+2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
+
+2011-11-07  Nathan Sidwell  <nathan@acm.org>
+
+       * libgcov.c (struct gcov_fn_buffer): New struct.
+       (buffer_fn_data): New helper.
+       (gcov_exit): Rework for new gcov data structures.
+
+2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/49313
+       * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
+
+2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config.host (tmake_file): Correct comment.
+       (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
+       t-libgcc-pic.
+       (bfin*-uclinux*): Likewise.
+       (bfin*-linux-uclibc*): Likewise.
+       (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
+
+       * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
+       assigning.
+       * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
+       * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
+
+       * config/bfin/t-elf: Remove.
+       * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
+
+2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config.host (*-*-rtems*): Add t-rtems to tmake_file.
+       (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
+       (lm32-*-elf*, lm32-*-rtems*): Split into ...
+       (lm32-*-elf*): ... this.
+       (lm32-*-rtems*): ... and this.
+       Add to tmake_file.
+       (m32r-*-rtems*): Add to tmake_file.
+       (moxie-*-rtems*): Likewise.
+       (sparc-*-rtems*): Likewise.
+       Remove t-rtems from tmake_file.
+       (sparc64-*-rtems*): Likewise.
+       * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
+       instead.
+
+2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR bootstrap/50982
+       * config/gthr-posix.h: Move ...
+       * gthr-posix.h: ... here.
+       * config/gthr-lynx.h: Reflect this.
+       * config/gthr-vxworks.h: Likewise.
+       * config/rs6000/gthr-aix.h: Likewise.
+       * configure.ac (target_thread_file): Likewise.
+       * configure: Regenerate.
+
+2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * config.host (arm*-*-rtemseabi*): New target.
+
+2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR other/50991
+       * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
+       extra-parts.
+
+2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * config.host (epiphany-*-elf*): New configuration.
+       * config/epiphany: New Directory.
+
+2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
+
+       * config.host (avr-*-rtems*): Add config/avr/t-rtems.
+       * config/avr/t-rtems: New.
+       Filter out _exit from LIB1ASMFUNCS.
+
+2011-11-04  David S. Miller  <davem@davemloft.net>
+
+       * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
+       * configure: Rebuild.
+
+2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
+       variable.
+
+2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/50931
+       * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
+       * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
+
+2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       PR target/50989
+       * config.host (sparc-*-rtems*): Add sparc/t-softmul.
+
+2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/c6x/t-elf (LIB2ADDEH): Set.
+       * config/c6x/t-c6x-elf: Remove.
+
+2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/i386/sol2-ci.S: Rename to ...
+       * config/i386/crti.S: ... this.
+       * config/i386/sol2-cn.S: Rename to ...
+       * config/i386/crtn.S: ... this.
+       * config/sparc/sol2-ci.S: Rename to ...
+       * config/sparc/crti.S: ... this.
+       * config/sparc/sol2-cn.S: Rename to ...
+       * config/sparc/crtn.S: ... this.
+       * config/t-sol2 (CUSTOM_CRTIN): Remove.
+       (crti.o, crtn.o): Remove.
+
+2011-11-04  Tristan Gingold  <gingold@adacore.com>
+
+       * config/ia64/fde-vms.c: Do not include md-unwind-support.h
+
+2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
+
+2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config.host (crisv32-*-none, cris-*-none): Remove.
+       (crisv32-*-elf): Append to tmake_file, don't just set it.
+       (cris-*-elf): Add missing t-fdpbit to tmake_file.
+
 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.