Reverted last patch.
[gcc.git] / libgcc / ChangeLog
index cc030f2640ac6a70b5d7537a1360919be966ab17..3f8337ec79733578378c8554a9d5eccf3c4e8951 100644 (file)
@@ -1,8 +1,340 @@
+2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/lib1funcs.S: Remove trailing blanks.
+       * config/avr/lib1funcs-fixed.S: Ditto.
+
+2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/avr-lib.h: Add GPL copyright notice.
+
+2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
+
+       * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
+       declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
+       (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
+       min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
+
+2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
+
+       * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
+       Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
+
+2013-01-04  Nick Clifton  <nickc@redhat.com>
+
+       * config/v850/lib1funcs.S: Only provide CALLT support functions if
+       the CALLT instruction is supported.
+
+2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
+       * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
+
+2012-12-13  John Tytgat  <John@bass-software.com>
+
+       * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
+       is 25.
+
+2012-12-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libgcc/55451
+       * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
+       undefined signed overflows.
+
+2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/55344
+       * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
+
+2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sfp-machine.h (FP_EX_ALL): Define.
+       (FP_TRAPPING_EXCEPTIONS): Define.
+       * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
+       * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
+
+2012-12-04  Richard Henderson  <rth@redhat.com>
+
+       PR bootstrap/55571
+       * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
+
+2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+       * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
+       (FP_EX_SHIFT): Define.
+       (FP_TRAPPING_EXCEPTIONS): Define.
+
+2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+       * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
+       (FP_ROUNDMODE): Use FP_RND_MASK.
+       * config/aarch64/sfp-exceptions.c: New.
+       * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
+       Use __sfp_handle_exceptions.
+
+2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
+
+       * config.host: (arm*-*-freebsd*): Remove.
+       (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
+       (arm*-*-elf*): Remove.
+       (arm*-*-wince-pe*): Remove.
+       * arm/unwind-arm.c (struct fpa_reg): Delete.
+       (struct fpa_regs): Delete.
+       (phase1_vrs): Remove fpa element.
+       (_Unwind_VRS_Get): Remove _UVRSC_FPA.
+       (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
+       * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
+       * ieee754-sf.S (floatundisf): Remove FPA support.
+       (floatdisf): Likewise.
+       * ieee75f-df.S (floatundidf): Likewise.
+       (floatdidf): Likewise.
+
+2012-11-29  Kai Tietz  <ktietz@redhat.com>
+
+       PR target/55445
+       * unwind-c.c (__SEH__): Make sure SjLj isn't active.
+       * unwind-generic.h: Likewise.
+       * unwind-seh.c: Likewise.
+
+2012-11-28  Richard Henderson  <rth@redhat.com>
+
+       PR libgcc/48076
+       * emutls.c (__emutls_get_address): Avoid race condition between
+       obj->loc.offset read and emutls_key initialization.
+
+2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
+
+       Adjust decimal point of signed accum mode to GCC default.
+
+       PR target/54222
+       * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
+       _divqq_helper.
+       * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
+       (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
+       (__mulha3, __mulsa3)
+       (__divqq3, __divha3, __divsa3): Adjust to new position of
+       decimal point of signed accum types.
+
+       (__mulusa3_round): New function.
+       (__mulusa3): Use it.
+       (__divqq_helper): New function.
+       (__udivuqq3): Use it.
+
+2012-11-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/55370
+       * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
+
+2012-11-18  Teresa Johnson  <tejohnson@google.com>
+
+       PR bootstrap/55051
+       * libgcov.c (gcov_exit): Remove merged program summary
+       comparison unless !GCOV_LOCKED.
+
+2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
+
+       * soft-fp: Updated from glibc upstream.
+
+2012-11-06  Ian Lance Taylor  <iant@google.com>
+
+       * generic-morestack.c (__generic_morestack): Align the returned
+       stack pointer to a 32 byte boundary.
+       * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
+       increment the return address until we have decided that we don't
+       have a varargs function.
+       (__morestack) [32-bit]: Align stack correctly when calling C
+       functions.
+       (__morestack) [64-bit]: Likewise.
+
+2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * configure: Regenerate.
+
+2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/55175
+       * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
+       * config/i386/sfp-machine.h: Guard exception handling
+       code with _SOFT_FLOAT.
+       * config/i386/32/sfp-machine.h: Guard rounding handling
+       code with _SOFT_FLOAT.
+       * config/i386/64/sfp-machine.h: Ditto.
+
+2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
+       as extra_parts.
+
+2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
+       Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
+       when appropriate.  Correct structure element types.
+       * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
+       -minline-all-stringops from compile flags.
+
+2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
+
+2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
+
+2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
+       tmake_file.
+
+2012-10-23  Ian Bolton  <ian.bolton@arm.com>
+           Jim MacArthur  <jim.macarthur@arm.com>
+           Marcus Shawcroft  <marcus.shawcroft@arm.com>
+           Nigel Stephens  <nigel.stephens@arm.com>
+           Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+           Richard Earnshaw  <rearnsha@arm.com>
+           Sofiane Naci  <sofiane.naci@arm.com>
+           Stephen Thomas  <stephen.thomas@arm.com>
+           Tejas Belagod  <tejas.belagod@arm.com>
+           Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
+       * config/aarch64/crti.S: New file.
+       * config/aarch64/crtn.S: New file.
+       * config/aarch64/linux-unwind.h: New file.
+       * config/aarch64/sfp-machine.h: New file.
+       * config/aarch64/sync-cache.c: New file.
+       * config/aarch64/t-aarch64: New file.
+       * config/aarch64/t-softfp: New file.
+
+2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/mmix/crti.S: Mark program and data addresses using PRELD.
+       Remove typo'd and unnecessary alignment-LOC for .data.  Remove
+       no-longer-needed LDBU insns.
+
+2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+       * config.host
+       (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
+       "arm*-*-rtemseabi*" to "arm*-*-rtems*".
+
+2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
+
+2012-10-15  Matthias Klose  <doko@ubuntu.com>
+
+       * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
+
+2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
+
+       * configure: Regenerate.
+       * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
+
+2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
+       instructions for 64bit targets only.
+
+2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
+       FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
+       * config/i386/32/sfp-machine.h: ... here.
+       * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
+       FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
+       New defines.
+
+2012-10-07  Matthias Klose  <doko@ubuntu.com>
+
+       * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
+       as unused.
+       (_Unwind_decode_typeinfo_ptr): Mark base as unused.
+
+2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
+
+       * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
+       * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
+       (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
+       (ElfW): Likewise.
+
+2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR other/53889
+       * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
+       Fix parameter names.
+
+2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/33135
+       * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
+       * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
+       * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
+
+2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/50457
+       * config/sh/linux-atomic.S: Delete.
+       * config/sh/linux-atomic.c: New.
+       * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
+       linux-atomic.c.  Add cflags to disable warnings.
+
+2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR other/53889
+       * gthr.h (__gthread_recursive_mutex_destroy): Document new required
+       function.
+       * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
+       * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
+       * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
+       * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
+       * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
+       Likewise.
+       * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
+       Likewise.
+       * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
+       Likewise.
+       * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
+       * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
+
+2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
+
+       * config.host (hppa-*-openbsd*): New target.
+       * config/pa/t-openbsd: New file.
+
+2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/54222
+       * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
+       __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
+       __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
+       (__divsa3): Use __negsi2 to negate r_quoL.
+       * config/avr/lib1funcs.S (FALIAS): New macro.
+       (__divmodsi4): Break out and use __divmodsi4_neg1 as...
+       (__negsi2): ...this new function.
+       * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
+       _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
+       _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
+       (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
+       Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
+       Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
+
+2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/54089
+       * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
+       (lshrsi3): Reimplement as lshrsi3_r0.
+
+2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
+
+       PR target/46191
+       * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
+       of libgcc.a.
+
 2012-09-07  Teresa Johnson  <tejohnson@google.com>
 
-        PR gcov-profile/54487
+       PR gcov-profile/54487
        * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
-        differences.
+       differences.
 
 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
 
 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
 
        * config.host (x86_64-*-openbsd*): New target.
-       
+
 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
 
        * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'