re PR libgcc/68468 (frv/bfin FDPIC toolchain build error)
[platform/upstream/gcc.git] / libgcc / ChangeLog
index 113f615..cfa6111 100644 (file)
@@ -1,3 +1,419 @@
+2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
+
+       PR libgcc/68468
+       * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
+
+2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
+       of checking for cpus.
+       (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
+       (__modsi3, __clzsi2): Likewise.
+
+2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
+       i386/t-cpuinfo-static instead of i386/t-cpuinfo.
+       * config/i386/t-cpuinfo-static: New.
+
+2016-11-03  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-profiler.c (__gcov_time_profiler): Remove.
+       (__gcov_time_profiler_atomic): Likewise.
+
+2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       PR libgcc/78067
+       * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
+       count_leading_zeros.
+
+2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
+       * libgcc2.c (__divmoddi4): New function.
+       * libgcc2.h (__divmoddi4): Declare.
+       * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
+       and __PFX_divmodti4.
+
+2016-10-24  Florian Weimer  <fweimer@redhat.com>
+
+       PR libgcc/78064
+       * unwind-c.c: Include auto-target.h.
+
+2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa64-hpux-lib.h: New file.
+       (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
+       (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
+       * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
+       hppa*64*-*-hpux11*.
+
+2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
+       definition.
+       * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
+       definition.
+       * config/xtensa/t-windowed (LIB2ADDEH): Use
+       LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
+       or xtensa/t-linux.
+
+2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
+
+       * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
+       __ieee754_sqrt): New functions.
+       (__divdf3): Add implementation with new FPU instructions under
+       #if XCHAL_HAVE_DFP_DIV.
+       * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
+       __ieee754_sqrtf): New functions.
+       (__divsf3): Add implementation with new FPU instructions under
+       #if XCHAL_HAVE_FP_DIV.
+       * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
+       _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
+
+2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
+       equivalent.
+       * config/tilepro/atomic.c: Likewise and stop casting model to
+       enum memmodel.
+
+2016-10-10  Joseph Myers  <joseph@codesourcery.com>
+
+       PR target/77586
+       * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
+       soft-fp.
+
+2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
+
+       * config.host: Add support for aarch64-*-freebsd*.
+
+2016-10-05  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
+       (.section .init_array): Don't call __do_jv_register_classes.
+       (.section .init): Likewise.
+
+2016-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
+       (__JCR_LIST__): Remove.
+       (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
+       * config/i386/cygming-crtend.c (__JCR_END__): Remove.
+       * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
+       * config/ia64/crtend.S (__JCR_END__): Remove.
+       * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
+       conditionals.
+       (__JCR_LIST__, __JCR_END__): Remove.
+       (frame_dummy): Don't attempt to _Jv_RegisterClasses.
+       (__do_global_ctors_1): Likewise.
+
+2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
+       (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
+
+2016-09-27  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/7970
+       PR gcov-profile/16855
+       PR gcov-profile/44779
+       * libgcov-driver.c (__gcov_init): Do not register a atexit
+       handler.
+       (__gcov_exit): Rename from gcov_exit.
+       * libgcov.h (__gcov_exit): Declare.
+
+2016-09-27  Martin Liska  <mliska@suse.cz>
+
+       PR bootstrap/77749
+       * Makefile.in: Remove _gcov_merge_delta.
+       * libgcov-merge.c (void __gcov_merge_delta): Remove.
+       * libgcov-util.c (__gcov_delta_counter_op): Remove.
+       * libgcov.h: Remove declaration of __gcov_merge_delta.
+
+2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * configure.ac: Do not create links, only substitute the filenames.
+       * configure: Regenerate.
+       * Makefile.in: Assign the substitution results to variables.
+       (LIBGCC_LINKS): Define.
+       (enable-execute-stack.c): New rule.
+       (unwind.h): Likewise.
+       (md-unwind-support.h): Likewise.
+       (sfp-machine.h): Likewise.
+       (gthr-default.h): Likewise.
+       Add $(LIBGCC_LINKS) to the prerequisites of all object files and
+       unwind.h as prerequisite of install-unwind_h-forbuild.
+
+2016-09-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR libgcc/71744
+       * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
+       is not the primary registry and atomics are available.
+       (any_objects_registered): New variable.
+       (__register_frame_info_bases, __register_frame_info_table_bases):
+       Atomically store 1 to any_objects_registered after registering first
+       unwind info.
+       (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
+
+2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       PR target/63250
+       *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
+       * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
+       (HFtype): Likewise.
+       (HCtype): Likewise.
+       (__divhc3): Likewise.
+       (__mulhc3): Likewise.
+       * libgcc2.c: Support _mulhc3 and _divhc3.
+
+2016-09-07  Joseph Myers  <joseph@codesourcery.com>
+
+       PR libgcc/77519
+       * libgcc2.c (NOTRUNC): Invert settings.
+
+2016-09-06  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/77378
+       PR gcov-profile/77466
+       * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
+       conditionaly enable/disable *_atomic functions.
+
+2016-08-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
+       where not already enabled.
+
+2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * config/mips/linux-unwind.h: Use sys/syscall.h.
+
+2016-08-16  Joseph Myers  <joseph@codesourcery.com>
+
+       PR libgcc/77265
+       * soft-fp/adddf3.c: Update from glibc.
+       * soft-fp/addsf3.c: Likewise.
+       * soft-fp/addtf3.c: Likewise.
+       * soft-fp/divdf3.c: Likewise.
+       * soft-fp/divsf3.c: Likewise.
+       * soft-fp/divtf3.c: Likewise.
+       * soft-fp/double.h: Likewise.
+       * soft-fp/eqdf2.c: Likewise.
+       * soft-fp/eqsf2.c: Likewise.
+       * soft-fp/eqtf2.c: Likewise.
+       * soft-fp/extenddftf2.c: Likewise.
+       * soft-fp/extended.h: Likewise.
+       * soft-fp/extendsfdf2.c: Likewise.
+       * soft-fp/extendsftf2.c: Likewise.
+       * soft-fp/extendxftf2.c: Likewise.
+       * soft-fp/fixdfdi.c: Likewise.
+       * soft-fp/fixdfsi.c: Likewise.
+       * soft-fp/fixdfti.c: Likewise.
+       * soft-fp/fixsfdi.c: Likewise.
+       * soft-fp/fixsfsi.c: Likewise.
+       * soft-fp/fixsfti.c: Likewise.
+       * soft-fp/fixtfdi.c: Likewise.
+       * soft-fp/fixtfsi.c: Likewise.
+       * soft-fp/fixtfti.c: Likewise.
+       * soft-fp/fixunsdfdi.c: Likewise.
+       * soft-fp/fixunsdfsi.c: Likewise.
+       * soft-fp/fixunsdfti.c: Likewise.
+       * soft-fp/fixunssfdi.c: Likewise.
+       * soft-fp/fixunssfsi.c: Likewise.
+       * soft-fp/fixunssfti.c: Likewise.
+       * soft-fp/fixunstfdi.c: Likewise.
+       * soft-fp/fixunstfsi.c: Likewise.
+       * soft-fp/fixunstfti.c: Likewise.
+       * soft-fp/floatdidf.c: Likewise.
+       * soft-fp/floatdisf.c: Likewise.
+       * soft-fp/floatditf.c: Likewise.
+       * soft-fp/floatsidf.c: Likewise.
+       * soft-fp/floatsisf.c: Likewise.
+       * soft-fp/floatsitf.c: Likewise.
+       * soft-fp/floattidf.c: Likewise.
+       * soft-fp/floattisf.c: Likewise.
+       * soft-fp/floattitf.c: Likewise.
+       * soft-fp/floatundidf.c: Likewise.
+       * soft-fp/floatundisf.c: Likewise.
+       * soft-fp/floatunditf.c: Likewise.
+       * soft-fp/floatunsidf.c: Likewise.
+       * soft-fp/floatunsisf.c: Likewise.
+       * soft-fp/floatunsitf.c: Likewise.
+       * soft-fp/floatuntidf.c: Likewise.
+       * soft-fp/floatuntisf.c: Likewise.
+       * soft-fp/floatuntitf.c: Likewise.
+       * soft-fp/gedf2.c: Likewise.
+       * soft-fp/gesf2.c: Likewise.
+       * soft-fp/getf2.c: Likewise.
+       * soft-fp/ledf2.c: Likewise.
+       * soft-fp/lesf2.c: Likewise.
+       * soft-fp/letf2.c: Likewise.
+       * soft-fp/muldf3.c: Likewise.
+       * soft-fp/mulsf3.c: Likewise.
+       * soft-fp/multf3.c: Likewise.
+       * soft-fp/negdf2.c: Likewise.
+       * soft-fp/negsf2.c: Likewise.
+       * soft-fp/negtf2.c: Likewise.
+       * soft-fp/op-1.h: Likewise.
+       * soft-fp/op-2.h: Likewise.
+       * soft-fp/op-4.h: Likewise.
+       * soft-fp/op-8.h: Likewise.
+       * soft-fp/op-common.h: Likewise.
+       * soft-fp/quad.h: Likewise.
+       * soft-fp/single.h: Likewise.
+       * soft-fp/soft-fp.h: Likewise.
+       * soft-fp/subdf3.c: Likewise.
+       * soft-fp/subsf3.c: Likewise.
+       * soft-fp/subtf3.c: Likewise.
+       * soft-fp/truncdfsf2.c: Likewise.
+       * soft-fp/trunctfdf2.c: Likewise.
+       * soft-fp/trunctfsf2.c: Likewise.
+       * soft-fp/trunctfxf2.c: Likewise.
+       * soft-fp/unorddf2.c: Likewise.
+       * soft-fp/unordsf2.c: Likewise.
+       * soft-fp/unordtf2.c: Likewise.
+
+2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
+
+       PR gcov-profile/67097
+       * libgcov-util.c (gcov_profile_merge): Skip missing files.
+
+2016-08-10  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/58306
+       * Makefile.in: New functions (modules) are added.
+       * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
+       function.
+       (__gcov_pow2_profiler_atomic): New function.
+       (__gcov_one_value_profiler_body): New argument is instroduced.
+       (__gcov_one_value_profiler): Call with the new argument.
+       (__gcov_one_value_profiler_atomic): Likewise.
+       (__gcov_indirect_call_profiler_v2): Likewise.
+       (__gcov_time_profiler_atomic): New function.
+       (__gcov_average_profiler_atomic): Likewise.
+       (__gcov_ior_profiler_atomic): Likewise.
+       * libgcov.h: Declare the aforementioned functions.
+
+2016-08-09  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-util.c: Fix typo and GNU coding style.
+
+2016-08-09  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Remove __gcov_indirect_call_profiler.
+       * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
+       function.
+       * libgcov.h: And the declaration of the function.
+
+2016-08-09  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
+       power of two.
+
+2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
+       * config/rs6000/_mulkc3.c: Likewise.
+
+2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
+       zero_reg as previous call to __umulhisi3 already cleared it.
+
+2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
+
+       PR target/59833
+       * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
+
+2016-07-19  Nick Clifton  <nickc@redhat.com>
+
+       * config.host (m32r): Add m32r/t-m32r to tmake_file.
+       Add crtinit.o and crtfini.o to extra_parts.
+
+2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       * config/rs6000/_divkc3.c: New.
+       * config/rs6000/_mulkc3.c: New.
+       * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
+       and _divkc3.
+       * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
+       fp128_ppc_funcs.
+
+2016-07-11  Hale Wang  <hale.wang@arm.com>
+           Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       * config/arm/lib1funcs.S: Add new wrapper.
+
+2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
+
+2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
+       and ARMv5t* rather than for a fixed list of architectures.
+
+2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/arm/bpabi-v6m.S: Clarify what architectures is the
+       implementation suitable for.
+       * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
+       for all Thumb-1 only targets.
+       (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
+       (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
+       __ARM_ARCH_6M__.
+       (EQUIV): Likewise.
+       (ARM_FUNC_ALIAS): Likewise.
+       (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
+       version.
+       (modsi3): Likewise.
+       (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
+       (clzdi2): Likewise.
+       (ctzsi2): Likewise.
+       (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
+       __ARM_ARCH_6M__ in guard for checking whether it is defined.
+       (final includes): Test for NOT_ISA_TARGET_32BIT rather than
+       __ARM_ARCH_6M__ and add comment to indicate the connection between
+       this condition and the one in gcc/config/arm/elf.h.
+       * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
+       __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
+       * config/arm/t-softfp: Likewise.
+
+2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * libgcc2.c (SYMBOL__MAIN): Remove checks for
+       CTOR_LISTS_DEFINED_EXTERNALLY.
+
+2016-06-28  Walter Lee  <walt@tilera.com>
+
+       * config/tilepro/atomic.h: Do not include arch/spr_def.h and
+       asm/unistd.h.
+       (SPR_CMPEXCH_VALUE): Define for tilegx.
+       (__NR_FAST_cmpxchg): Define for tilepro.
+       (__NR_FAST_atomic_update): Define for tilepro.
+       (__NR_FAST_cmpxchg64): Define for tilepro.
+
+2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
+
+       * config.host: Add suport for arm*-*-phoenix* targets.
+
+2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * config.host: Remove support for mep-*.
+       * config/mep/lib1funcs.S: Remove.
+       * config/mep/lib2funcs.c: Remove.
+       * config/mep/t-mep: Remove.
+       * config/mep/tramp.c: Remove.
+
+2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * config.host: Remove support for avr-rtems.
+       * config/avr/t-rtems: Remove.
+
+2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * config.host: Remove m32r-rtems support.
+
 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
        * config.host: Remove h8300-rtems support.