fptr.c (_dl_read_access_allowed): Change argument to unsigned int.
[gcc.git] / libgcc / ChangeLog
index 4b9a47071d45ace3a829a0fa47575e6b9c105431..ed0e900637719012dba26dcb10945f92578c447f 100644 (file)
@@ -1,3 +1,247 @@
+2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
+       unsigned int.  Adjust callers.
+       (__canonicalize_funcptr_for_compare): Change plabel type to volatile
+       unsigned int *.  Load relocation offset before function pointer.
+       Add barrier to ensure ordering.
+
+2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
+       Load PIC register after branch target.  Fix white space.
+       * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
+       implementations.  Load PIC register after branch target.  Don't
+       clobber function pointer when it points to function descriptor.
+       Use nullification instead of branch in LINUX implementation.
+
+2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/fptr.c: Disable -Warray-bounds warning.
+
+2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
+
+       * config.in, configure: Re-rebuild with stock autoconf 2.69,
+       not the ubuntu modified 2.69.
+
+       PR target/91833
+       * config/aarch64/lse-init.c: Include auto-target.h.  Disable
+       initialization if !HAVE_SYS_AUXV_H.
+       * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
+       * config.in, configure: Rebuild.
+
+       PR target/91834
+       * config/aarch64/lse.S (LDNM): Ensure STXR output does not
+       overlap the inputs.
+
+2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
+
+       * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
+       CTR_EL0.IDC and CTR_EL0.DIC.
+
+2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
+
+       Revert:
+       2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
+               Mickaël Guêné <mickael.guene@st.com>
+
+       * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
+       architecture.
+
+2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
+
+       * config/aarch64/lse-init.c: New file.
+       * config/aarch64/lse.S: New file.
+       * config/aarch64/t-lse: New file.
+       * config.host: Add t-lse to all aarch64 tuples.
+
+2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
+       Mickaël Guêné <mickael.guene@st.com>
+
+       * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
+       architecture.
+
+2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
+       Mickaël Guêné <mickael.guene@st.com>
+
+       * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
+       (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
+       (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
+       (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
+       (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
+       (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
+       (__gnu_personality_sigframe_fdpic): New.
+       (get_eit_entry): Add FDPIC signal frame support.
+
+2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
+       Mickaël Guêné <mickael.guene@st.com>
+
+       * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
+       (__kernel_dmb): Likewise.
+       (__fdpic_cmpxchg): New function.
+       (__fdpic_dmb): New function.
+       * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
+       (gnu_Unwind_Find_got): New function.
+       (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
+       * unwind-arm-common.inc (UCB_PR_GOT): New.
+       (funcdesc_t): New struct.
+       (get_eit_entry): Add FDPIC support.
+       (unwind_phase2): Likewise.
+       (unwind_phase2_forced): Likewise.
+       (__gnu_Unwind_RaiseException): Likewise.
+       (__gnu_Unwind_Resume): Likewise.
+       (__gnu_Unwind_Backtrace): Likewise.
+       * unwind-pe.h (read_encoded_value_with_base): Likewise.
+
+2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
+       Mickaël Guêné <mickael.guene@st.com>
+
+       * libgcc/crtstuff.c: Add support for FDPIC.
+
+2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
+
+       * config.host: Handle *-*-uclinuxfdpiceabi.
+
+2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config.host: Set cpu_type for bpf-*-* targets.
+       * config/bpf/t-bpf: Likewise.
+       * config/bpf/crtn.S: Likewise.
+       * config/bpf/crti.S: New file.
+
+2019-09-06  Jim Wilson  <jimw@sifive.com>
+
+       * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
+       (riscv*-*-freebsd*): Likewise.
+
+2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config.host: Remove references to spu.
+       * config/spu/: Remove directory.
+
+2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       PR target/91306
+       * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
+       element type, instead of "sizeof" the element type.
+       (__DTOR_LIST__): Likewise.
+       (__TMC_LIST__): Likewise.
+       (__do_global_dtors_aux_fini_array_entry): Likewise.
+       (__frame_dummy_init_array_entry): Likewise.
+       (__CTOR_END__): Likewise.
+       (__DTOR_END__): Likweise.
+       (__FRAME_END__): Likewise.
+       (__TMC_END__): Likewise.
+
+2019-08-20  Lili Cui  <lilicui@intel.com>
+
+       * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
+       INTEL_COREI7_COOPERLAKE.
+
+2019-07-31  Matt Thomas  <matt@3am-software.com>
+           Nick Hudson <nick@nthcliff.demon.co.uk>
+           Matthew Green <mrg@eterna.com.au>
+           Maya Rashish <coypu@sdf.org>
+
+       * config.host (hppa*-*-netbsd*): New case.
+       * config/pa/t-netbsd: New file.
+
+2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
+
+       * config/arm/cmse.c (cmse_check_address_range): Add
+       warn_unused_result attribute.
+
+2019-07-22  Martin Liska  <mliska@suse.cz>
+
+       * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
+       * config/pa/t-stublib: Likewise.
+
+2019-07-22  Stafford Horne  <shorne@gmail.com>
+
+       PR target/90362
+       * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
+       to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
+       instructions are not available on every processor.  Change a
+       l.bnf to l.bf to fix logic issue.
+
+2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config.host: Remove reference to t-darwin8.
+
+2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
+       list.
+       * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
+       mmacosx-version-min for crts to run across all system versions.
+       * config/rs6000/t-darwin64 (LIB2ADD): Remove.
+       * config/t-darwin: Revise mmacosx-version-min for crts to run across
+       system versions >= 10.4.
+
+2019-07-03  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Use topn_values instead of one_value names.
+       * libgcov-merge.c (__gcov_merge_single): Move to ...
+       (__gcov_merge_topn): ... this.
+       (merge_single_value_set): Move to ...
+       (merge_topn_values_set): ... this.
+       * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
+       ...
+       (__gcov_topn_values_profiler_body): ... this.
+       (__gcov_one_value_profiler_v2): Move to ...
+       (__gcov_topn_values_profiler): ... this.
+       (__gcov_one_value_profiler_v2_atomic): Move to ...
+       (__gcov_topn_values_profiler_atomic): ... this.
+       (__gcov_indirect_call_profiler_v4): Remove.
+       * libgcov-util.c (__gcov_single_counter_op): Move to ...
+       (__gcov_topn_counter_op): ... this.
+       * libgcov.h (L_gcov_merge_single): Remove.
+       (L_gcov_merge_topn): New.
+       (__gcov_merge_single): Remove.
+       (__gcov_merge_topn): New.
+       (__gcov_one_value_profiler_v2): Move to ..
+       (__gcov_topn_values_profiler): ... this.
+       (__gcov_one_value_profiler_v2_atomic): Move to ...
+       (__gcov_topn_values_profiler_atomic): ... this.
+
+2019-07-03  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-merge.c (merge_single_value_set): Support N values.
+       * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
+
+2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
+
+       * Makefile.in (USE_TM_CLONE_REGISTRY): New.
+       (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
+       * configure.ac: Add --disable-tm-clone-registry option.
+       * configure: Regenerate.
+
+2019-06-27  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
+       dead assignments.
+       * libgcov-util.c: Likewise.
+
+2019-06-27  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-util.c (gcov_profile_merge): Release allocated
+       memory.
+       (calculate_overlap): Likewise.
+
+2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
+       * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
+       Build objects for the out of line save/restore register functions
+       so that they can be used for any supported Darwin version.
+       * config/t-darwin: Default the build Darwin version to Darwin8
+       (MacOS 10.4).
+
+2019-06-25  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-driver-system.c (replace_filename_variables): Do not
+       call strlen with NULL argument.
+
 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
 
        * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.