testsuite: Skip 90020.c on AIX.
[official-gcc.git] / libgcc / ChangeLog
blobda419ff4b0a182167120fe32984bf3996e9f7d5c
1 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3         PR target/94514
4         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
5         Update context->flags accroding to the frame state.
7 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
9         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
10         Remove unneeded assignments to volatile memory.
12 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
14         PR target/93053
15         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
16         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
17         is not defined, use just .arch armv8-a.
18         (B, M, N, OPN): Define.
19         (COMMENT): New .macro.
20         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
21         defined.  Otherwise, move the operands right after the glue? and
22         comment out operands where the macros are used.
23         * configure: Regenerated.
24         * config.in: Regenerated.
26 2020-04-07  Ian Lance Taylor  <iant@golang.org>
28         PR libgcc/94513
29         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
30         syscall instead.
32 2020-04-04  Ian Lance Taylor  <iant@golang.org>
34         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
36 2020-04-03  Ian Lance Taylor  <iant@golang.org>
38         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
39         than mmap/munmap, to avoid hooks.
41 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
43         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
44         (TPFRA_OFFSET): Macros removed.
45         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
46         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
47         (PG3_SKIPPING_OFFSET): New macros.
48         (__isPATrange): Use cinfc_fast for the check.
49         (__isSkipResetAddr): New function.
50         (s390_fallback_frame_state): Check for skip trace addresses. Use
51         either ICST_CRET or ICST_SRET to calculate return address
52         location.
53         (__tpf_eh_return): Handle skip trace addresses.
55 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
57         PR target/94220
58         * config/arm/lib1funcs.asm (COND): Use a single definition for
59         unified syntax.
60         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
61         (aeabi_idivmod): Likewise.
62         (divsi3_skip_div0_test): Likewise.
64 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
66         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
68 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
70         * config.host: Include the new makefile fragment.
71         * config/s390/t-tpf: New file.
73 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
75         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
76         syntax.
77         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
78         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
79         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
80         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
81         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
82         syntax.
83         (divsi3, modsi3): Likewise.
84         (clzdi2, ctzsi2): Likewise.
85         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
86         unified syntax.
87         (UNWIND_WRAPPER): Likewise.
89 2020-03-02  Martin Liska  <mliska@suse.cz>
91         * libgcov-interface.c: Remove duplicate
92         declaration of __gcov_flush_mx.
94 2020-02-18  Martin Liska  <mliska@suse.cz>
96         PR ipa/92924
97         * libgcov-merge.c (merge_topn_values_set): Record
98         when a TOP N counter becomes invalid.  When merging
99         remove a smallest value if the space is needed.
101 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
103         PR libstdc++/79193
104         PR libstdc++/88999
106         * configure: Regenerated.
108 2020-02-10  Jeff Law  <law@redhat.com>
110         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
111         sections.
112         * config/frv/frvend.c: Similarly.
114 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
116         PR libgcc/85334
117         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
118         New.
120 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
122         PR target/93615
123         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
124         _Unwind_gnu_Find_got.
125         * unwind-pe.h: Likewise.
127 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
129         PR target/93615
130         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
131         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
132         trailing :s in asm.  Formatting fixes.
133         (_Unwind_decode_typeinfo_ptr): Adjust caller.
135 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
137         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
139         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
140         * config/nios2-elf-lib.h: New.
141         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
142         code for finding GOT base for nios2.
144 2020-01-27  Martin Liska  <mliska@suse.cz>
146         PR gcov-profile/93403
147         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
148         Call __gcov_indirect_call_profiler_body.
149         (__gcov_indirect_call_profiler_body): New.
150         (__gcov_indirect_call_profiler_v4_atomic): New.
151         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
152         New declaration.
154 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
156         * config/arc/crti.S: Add RF16 object attribute.
157         * config/arc/crtn.S: Likewise.
158         * config/arc/crttls.S: Likewise.
159         * config/arc/lib1funcs.S: Likewise.
160         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
161         * config/arc/lib2funcs.c: New file.
162         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
164 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
166         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
167         * configure.ac: Handle `--with-toolexeclibdir='.
168         * configure: Regenerate.
170 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
172         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
174 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
176         * config/mips/gnustack.h: New file.
177         * config/mips/crti.S: Include gnustack.h.
178         * config/mips/crtn.S: Likewise.
179         * config/mips/mips16.S: Likewise.
180         * config/mips/vr4120-div.S: Likewise.
182 2020-01-23  Martin Liska  <mliska@suse.cz>
184         * libgcov-driver.c (prune_topn_counter): Remove
185         check for -1 as we only prune run-time counters
186         that do not generate an invalid state.
188 2020-01-22  Martin Liska  <mliska@suse.cz>
190         PR tree-optimization/92924
191         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
192         try to find an existing value, then find an empty slot
193         if not found.
195 2020-01-22  Martin Liska  <mliska@suse.cz>
197         PR tree-optimization/92924
198         * libgcov-driver.c (prune_topn_counter): New.
199         (prune_counters): Likewise.
200         (dump_one_gcov): Prune a run-time counter.
201         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
202         For a known value, add GCOV_TOPN_VALUES to value.
203         Otherwise, decrement all counters by one.
205 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
207         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
209 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
211         PR libgcc/92988
212         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
213         DEFAULT_USE_CXA_ATEXIT is true.
215 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
216             Thomas Preud'homme  <thomas.preudhomme@arm.com>
218         * config/arm/t-arm: Check return value of gcc rather than lack of
219         output.
221 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
223         * config/avr/lib1funcs.S (skip): Simplify.
225 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
227         * config/gcn/atomic.c: Remove include of stdint.h.
228         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
229         __UINTPTR_TYPE__.
231 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
233         * config/gcn/atomic.c: New.
234         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
236 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
238         Implement 64-bit double functions.
240         PR target/92055
241         * config.host (tmake_file) [target=avr]: Add t-libf7,
242         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
243         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
244         depending on sizeof (double) or sizeof (long double).
245         * config/avr/libf7: New folder.
247 2020-01-05  Olivier Hainque  <hainque@adacore.com>
249         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
250         by IN_LIBGCC2.
252 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
254         Update copyright years.
256 2019-12-30  Olivier Hainque  <hainque@adacore.com>
258         * config/gthr-vxworks.h: Use _vxworks-versions.h.
259         * config/gthr-vxworks-tls.c: Likewise.
261 2019-12-30  Olivier Hainque  <hainque@adacore.com>
263         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
264         standard zero-initializer syntax.
266 2019-12-30  Olivier Hainque  <hainque@adacore.com>
268         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
269         reference to the internal VX_GET_TLS_DATA interface.
271 2019-12-30  Olivier Hainque  <hainque@adacore.com>
273         * config/vxcrtstuff.c: Fix incorrect spelling of
274         USE_INITFINI_ARRAY in guard.
276 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
278         * config.host: s/msp430*-*-elf/msp430-*-elf*.
279         Override default "extra_parts" variable.
280         * configure: Regenerate.
281         * configure.ac: Disable TM clone registry by default for
282         msp430-elfbare.
284 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
286         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
287         "extra_parts".
288         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
290 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
292         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
293         true.
295 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
297         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
298         defined instead of its value.
300 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
302         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
303         if it will have contents.
305 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
307         PR target/92055
308         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
310 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
312         PR libgcc/91737
313         * config.host: Add t-gthr-noweak on *-*-musl*.
314         * config/t-gthr-noweak: New file.
316 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
318         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
319         volatile void *.  Remove trap check.
320         (__kernel_cmpxchg2): Likewise.
321         (FETCH_AND_OP_2): Adjust operand types.
322         (OP_AND_FETCH_2): Likewise.
323         (FETCH_AND_OP_WORD): Likewise.
324         (OP_AND_FETCH_WORD): Likewise.
325         (COMPARE_AND_SWAP_2): Likewise.
326         (__sync_val_compare_and_swap_4): Likewise.
327         (__sync_bool_compare_and_swap_4): Likewise.
328         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
329         (__sync_lock_test_and_set_4): Likewise.
330         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
331         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
332         for release.
333         (__sync_lock_release_8): Remove.
335 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
337         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
338         of __sigset_t.
340 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
341             Doug Rupp <rupp@adacore.com>
342             Olivier Hainque  <hainque@adacore.com>
344         * config.host: Collapse the arm-vxworks entries into
345         a single arm-wrs-vxworks7* one.
346         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
347         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
348         kernel modules, to be overriden by libstdc++ when we link with
349         it.  Rely on externally provided __exidx_start/end.
351 2019-11-14  Doug Rupp  <rupp@adacore.com>
352             Olivier Hainque  <hainque@adacore.com>
354         * config.host: Handle aarch64*-wrs-vxworks7*.
356 2019-11-12  Olivier Hainque  <hainque@adacore.com>
358         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
359         sources except the cxx0x support to LIB2ADDEH.  We don't support
360         cxx0x on AE/653.
361         * config/t-vxworksae: New file.
362         * config.host: Handle *-*-vxworksae: Add the two aforementioned
363         Makefile fragment files at their expected position in the tmake_file
364         list, in accordance with what is done for other VxWorks variants.
366 2019-11-12  Corentin Gay  <gay@adacore.com>
367             Jerome Lambourg  <lambourg@adacore.com>
368             Olivier Hainque  <hainque@adacore.com>
370         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
371         sources to LIB2ADDEH.
372         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
373         * config/t-vxworks7: Likewise.
375         * config.host: Append a block at the end of the file to add the
376         t-gthr files to the tmake_file list for VxWorks after everything
377         else.
379         * config/vxlib.c: Rename as gthr-vxworks.c.
380         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
382         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
383         API and a basic error checking API, both internal.  Simplify the
384         __gthread_once_t type definition and initializers.  Add sections
385         for condition variables support and for the C++0x thread support,
386         conditioned against Vx653 for the latter.
388         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
389         implementation, leveraging the TAS internal API.
390         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
391         API, leveraging the general availability of TLS services in VxWorks7
392         post SR6xxx.
393         (__gthread_setspecific, __gthread_setspecific): Use it.
394         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
395         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
396         support based on VxWorks primitives.
397         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
398         based on VxWorks primitives.
400 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
401             Olivier Hainque  <hainque@adacore.com>
403         * config/vxcrtstuff.c: New file.
404         * config/t-vxcrtstuff: New Makefile fragment.
405         * config.host: Append t-vxcrtstuff to the tmake_file list
406         on all VxWorks ports using dwarf for table based EH.
408 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
410         Support 64-bit double and 64-bit long double configurations.
412         PR target/92055
413         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
414         long double is a 32-bit type.
415         * config/avr/t-avrlibc: Copy double64 and long-double64
416         multilib(s) from the vanilla one.
417         * config/avr/t-copy-libgcc: New Makefile snip.
419 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
421         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
422         the target output object format is not ELF.
423         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
425 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
427         PR libgcc/78804
428         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
429         * fp-bit.c (pack_d, unpack_d): Remove special cases for
430         FLOAT_BIT_ORDER_MISMATCH.
431         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
433 2019-11-01  Jim Wilson  <jimw@sifive.com>
435         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
437 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
439         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
440         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
441         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
442         Define symbols for 32-bit and f5series hardware multiply
443         register addresses.
444         Replace hard-coded register addresses with symbols.
445         Fix "_mspabi*" typo.
446         Fix whitespace.
447         * config/msp430/lib2mul.c: Add comment.
449 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
451         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
452         unsigned int.  Adjust callers.
453         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
454         unsigned int *.  Load relocation offset before function pointer.
455         Add barrier to ensure ordering.
457 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
459         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
460         Load PIC register after branch target.  Fix white space.
461         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
462         implementations.  Load PIC register after branch target.  Don't
463         clobber function pointer when it points to function descriptor.
464         Use nullification instead of branch in LINUX implementation.
466 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
468         * config/pa/fptr.c: Disable -Warray-bounds warning.
470 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
472         * config.in, configure: Re-rebuild with stock autoconf 2.69,
473         not the ubuntu modified 2.69.
475         PR target/91833
476         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
477         initialization if !HAVE_SYS_AUXV_H.
478         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
479         * config.in, configure: Rebuild.
481         PR target/91834
482         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
483         overlap the inputs.
485 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
487         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
488         CTR_EL0.IDC and CTR_EL0.DIC.
490 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
492         Revert:
493         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
494                 Mickaël Guêné <mickael.guene@st.com>
496         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
497         architecture.
499 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
501         * config/aarch64/lse-init.c: New file.
502         * config/aarch64/lse.S: New file.
503         * config/aarch64/t-lse: New file.
504         * config.host: Add t-lse to all aarch64 tuples.
506 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
507         Mickaël Guêné <mickael.guene@st.com>
509         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
510         architecture.
512 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
513         Mickaël Guêné <mickael.guene@st.com>
515         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
516         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
517         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
518         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
519         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
520         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
521         (__gnu_personality_sigframe_fdpic): New.
522         (get_eit_entry): Add FDPIC signal frame support.
524 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
525         Mickaël Guêné <mickael.guene@st.com>
527         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
528         (__kernel_dmb): Likewise.
529         (__fdpic_cmpxchg): New function.
530         (__fdpic_dmb): New function.
531         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
532         (gnu_Unwind_Find_got): New function.
533         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
534         * unwind-arm-common.inc (UCB_PR_GOT): New.
535         (funcdesc_t): New struct.
536         (get_eit_entry): Add FDPIC support.
537         (unwind_phase2): Likewise.
538         (unwind_phase2_forced): Likewise.
539         (__gnu_Unwind_RaiseException): Likewise.
540         (__gnu_Unwind_Resume): Likewise.
541         (__gnu_Unwind_Backtrace): Likewise.
542         * unwind-pe.h (read_encoded_value_with_base): Likewise.
544 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
545         Mickaël Guêné <mickael.guene@st.com>
547         * libgcc/crtstuff.c: Add support for FDPIC.
549 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
551         * config.host: Handle *-*-uclinuxfdpiceabi.
553 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
555         * config.host: Set cpu_type for bpf-*-* targets.
556         * config/bpf/t-bpf: Likewise.
557         * config/bpf/crtn.S: Likewise.
558         * config/bpf/crti.S: New file.
560 2019-09-06  Jim Wilson  <jimw@sifive.com>
562         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
563         (riscv*-*-freebsd*): Likewise.
565 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
567         * config.host: Remove references to spu.
568         * config/spu/: Remove directory.
570 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
572         PR target/91306
573         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
574         element type, instead of "sizeof" the element type.
575         (__DTOR_LIST__): Likewise.
576         (__TMC_LIST__): Likewise.
577         (__do_global_dtors_aux_fini_array_entry): Likewise.
578         (__frame_dummy_init_array_entry): Likewise.
579         (__CTOR_END__): Likewise.
580         (__DTOR_END__): Likweise.
581         (__FRAME_END__): Likewise.
582         (__TMC_END__): Likewise.
584 2019-08-20  Lili Cui  <lilicui@intel.com>
586         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
587         INTEL_COREI7_COOPERLAKE.
589 2019-07-31  Matt Thomas  <matt@3am-software.com>
590             Nick Hudson <nick@nthcliff.demon.co.uk>
591             Matthew Green <mrg@eterna.com.au>
592             Maya Rashish <coypu@sdf.org>
594         * config.host (hppa*-*-netbsd*): New case.
595         * config/pa/t-netbsd: New file.
597 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
599         * config/arm/cmse.c (cmse_check_address_range): Add
600         warn_unused_result attribute.
602 2019-07-22  Martin Liska  <mliska@suse.cz>
604         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
605         * config/pa/t-stublib: Likewise.
607 2019-07-22  Stafford Horne  <shorne@gmail.com>
609         PR target/90362
610         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
611         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
612         instructions are not available on every processor.  Change a
613         l.bnf to l.bf to fix logic issue.
615 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
617         * config.host: Remove reference to t-darwin8.
619 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
621         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
622         list.
623         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
624         mmacosx-version-min for crts to run across all system versions.
625         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
626         * config/t-darwin: Revise mmacosx-version-min for crts to run across
627         system versions >= 10.4.
629 2019-07-03  Martin Liska  <mliska@suse.cz>
631         * Makefile.in: Use topn_values instead of one_value names.
632         * libgcov-merge.c (__gcov_merge_single): Move to ...
633         (__gcov_merge_topn): ... this.
634         (merge_single_value_set): Move to ...
635         (merge_topn_values_set): ... this.
636         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
637         ...
638         (__gcov_topn_values_profiler_body): ... this.
639         (__gcov_one_value_profiler_v2): Move to ...
640         (__gcov_topn_values_profiler): ... this.
641         (__gcov_one_value_profiler_v2_atomic): Move to ...
642         (__gcov_topn_values_profiler_atomic): ... this.
643         (__gcov_indirect_call_profiler_v4): Remove.
644         * libgcov-util.c (__gcov_single_counter_op): Move to ...
645         (__gcov_topn_counter_op): ... this.
646         * libgcov.h (L_gcov_merge_single): Remove.
647         (L_gcov_merge_topn): New.
648         (__gcov_merge_single): Remove.
649         (__gcov_merge_topn): New.
650         (__gcov_one_value_profiler_v2): Move to ..
651         (__gcov_topn_values_profiler): ... this.
652         (__gcov_one_value_profiler_v2_atomic): Move to ...
653         (__gcov_topn_values_profiler_atomic): ... this.
655 2019-07-03  Martin Liska  <mliska@suse.cz>
657         * libgcov-merge.c (merge_single_value_set): Support N values.
658         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
660 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
662         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
663         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
664         * configure.ac: Add --disable-tm-clone-registry option.
665         * configure: Regenerate.
667 2019-06-27  Martin Liska  <mliska@suse.cz>
669         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
670         dead assignments.
671         * libgcov-util.c: Likewise.
673 2019-06-27  Martin Liska  <mliska@suse.cz>
675         * libgcov-util.c (gcov_profile_merge): Release allocated
676         memory.
677         (calculate_overlap): Likewise.
679 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
681         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
682         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
683         Build objects for the out of line save/restore register functions
684         so that they can be used for any supported Darwin version.
685         * config/t-darwin: Default the build Darwin version to Darwin8
686         (MacOS 10.4).
688 2019-06-25  Martin Liska  <mliska@suse.cz>
690         * libgcov-driver-system.c (replace_filename_variables): Do not
691         call strlen with NULL argument.
693 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
695         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
696         * config/gcn/unwind-gcn.c: New file.
698 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
699             Andrew Stubbs  <ams@codesourcery.com>
701         * configure: Regenerate.
702         * config/gcn/gthr-gcn.h: New.
704 2019-06-18  Tom de Vries  <tdevries@suse.de>
706         * config/nvptx/crt0.c (__main): Declare.
708 2019-06-17  Matthew Green  <mrg@eterna.com.au>
709             Maya Rashish  <coypu@sdf.org>
711         * config.host (aarch64*-*-netbsd*): New case.
713 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
715         * config/msp430/slli.S (__mspabi_sllll): New library function for
716         performing a logical left shift of a 64-bit value.
717         * config/msp430/srai.S (__mspabi_srall): New library function for
718         performing a arithmetic right shift of a 64-bit value.
719         * config/msp430/srll.S (__mspabi_srlll): New library function for
720         performing a logical right shift of a 64-bit value.
722 2019-06-14  Matt Thomas  <matt@3am-software.com>
723             Matthew Green  <mrg@eterna.com.au>
724             Nick Hudson  <skrll@netbsd.org>
725             Maya Rashish  <coypu@sdf.org>
727         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
728         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
729         functions to build.
730         * config/arm/t-netbsd-eabi: New file.
732 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
734         * config.host: Add PRU target.
735         * config/pru/asri.c: New file.
736         * config/pru/eqd.c: New file.
737         * config/pru/eqf.c: New file.
738         * config/pru/ged.c: New file.
739         * config/pru/gef.c: New file.
740         * config/pru/gtd.c: New file.
741         * config/pru/gtf.c: New file.
742         * config/pru/led.c: New file.
743         * config/pru/lef.c: New file.
744         * config/pru/lib2bitcountHI.c: New file.
745         * config/pru/lib2divHI.c: New file.
746         * config/pru/lib2divQI.c: New file.
747         * config/pru/lib2divSI.c: New file.
748         * config/pru/libgcc-eabi.ver: New file.
749         * config/pru/ltd.c: New file.
750         * config/pru/ltf.c: New file.
751         * config/pru/mpyll.S: New file.
752         * config/pru/pru-abi.h: New file.
753         * config/pru/pru-asm.h: New file.
754         * config/pru/pru-divmod.h: New file.
755         * config/pru/sfp-machine.h: New file.
756         * config/pru/t-pru: New file.
758 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
760         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
762 2019-06-10  Martin Liska  <mliska@suse.cz>
764         PR bootstrap/90808
765         * libgcov.h: Add ATTRIBUTE_UNUSED.
767 2019-06-10  Martin Liska  <mliska@suse.cz>
769         * Makefile.in: Add __gcov_one_value_profiler_v2,
770         __gcov_one_value_profiler_v2_atomic and
771         __gcov_indirect_call_profiler_v4.
772         * libgcov-merge.c (__gcov_merge_single): Change
773         function signature.
774         (merge_single_value_set): New.
775         * libgcov-profiler.c (__gcov_one_value_profiler_body):
776         Update functionality.
777         (__gcov_one_value_profiler): Remove.
778         (__gcov_one_value_profiler_v2): ... this.
779         (__gcov_one_value_profiler_atomic): Rename to ...
780         (__gcov_one_value_profiler_v2_atomic): this.
781         (__gcov_indirect_call_profiler_v3): Rename to ...
782         (__gcov_indirect_call_profiler_v4): ... this.
783         * libgcov.h (__gcov_one_value_profiler): Remove.
784         (__gcov_one_value_profiler_atomic): Remove.
785         (__gcov_one_value_profiler_v2_atomic): New.
786         (__gcov_indirect_call_profiler_v3): Remove.
787         (__gcov_one_value_profiler_v2): New.
788         (__gcov_indirect_call_profiler_v4): New.
789         (gcov_get_counter_ignore_scaling): New function.
791 2019-06-07  Martin Liska  <mliska@suse.cz>
793         * Makefile.in: Remove usage of
794         _gcov_merge_icall_topn.
795         * libgcov-driver.c (gcov_sort_n_vals): Remove.
796         (gcov_sort_icall_topn_counter): Likewise.
797         (gcov_sort_topn_counter_arrays): Likewise.
798         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
799         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
800         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
801         Likewise.
802         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
803         (struct indirect_call_tuple): Remove.
804         (__gcov_indirect_call_topn_profiler): Remove.
805         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
806         * libgcov.h (gcov_sort_n_vals): Remove.
807         (L_gcov_merge_icall_topn): Likewise.
808         (__gcov_merge_icall_topn): Likewise.
809         (__gcov_indirect_call_topn_profiler): Likewise.
811 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
813         * config/rs6000/t-darwin: Ensure that the unwinder is built with
814         altivec enabled.
816 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
818         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
819         section.
820         (__mspabi_slli): Likewise.
821         (__mspabi_slll_n): Likewise.
822         (__mspabi_slll): Likewise.
823         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
824         (__mspabi_srai): Likewise.
825         (__mspabi_sral_n): Likewise.
826         (__mspabi_sral): Likewise.
827         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
828         (__mspabi_srli): Likewise.
829         (__mspabi_srll_n): Likewise.
830         (__mspabi_srll): Likewise.
832 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
834         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
835         Add appropriate tm_file clause as well.
836         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
838 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
840         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
841         rather than .data/.bss so it can be accessed via gp-relative
842         addressing.
844 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
846         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
847         (CR2_REGNO): Rename to R_CR2.
848         (XER_REGNO): Rename to R_XER.
849         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
850         (VRSAVE_REGNO): Rename to R_VRSAVE.
851         (VSCR_REGNO): R_VSCR.
853 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
855         * config.host (rx-*-linux*): Add new case.
856         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
858 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
860         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
861         function.
862         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
863         aarch64_post_frob_eh_handler_addr): Add check for b-key.
864         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
865         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
866         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
867         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
868         string.
869         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
870         string.
871         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
873 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
875         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
876         Remove Solaris 9 and 10 support.
877         (sparc_is_sighandler): Likewise.
879 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
881         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
883 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
885         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
886         4_FP_W_TYPEs are used for IEEE quad precision.
887         * soft-fp/extendhftf2.c: Likewise.
888         * soft-fp/extendsftf2.c: Likewise.
889         * soft-fp/extendxftf2.c: Likewise.
890         * soft-fp/trunctfdf2.c: Likewise.
891         * soft-fp/trunctfhf2.c: Likewise.
892         * soft-fp/trunctfsf2.c: Likewise.
893         * soft-fp/trunctfxf2.c: Likewise.
894         * config/rs6000/ibm-ldouble.c: Likewise.
896 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
898         * config.host: Simplify various *-*-solaris2.1[0-9]* to
899         *-*-solaris2*.
900         * configure.ac: Likewise.
901         * configure: Regenerate.
903         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
904         Solaris 10 and Solaris 11 < snv_125 handling.
906 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
908         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
910 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
912         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
913         * config/i386/cpuinfo.h (enum processor_features): Add
914         FEATURE_AVX512BF16.
916 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
917             Bernd Edlinger  <bernd.edlinger@hotmail.de>
918             Jakub Jelinek  <jakub@redhat.com>
920         PR target/89093
921         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
922         * config/arm/unwind-arm.c: Likewise.
923         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
924         attribute for ARM.
926 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
928         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
929         (RT_SIGRETURN): Update.
930         (nds32_fallback_frame_state): Update.
932 2019-02-21  Martin Sebor  <msebor@redhat.com>
934         * libgcc2.h (__clear_cache): Correct signature.
935         * libgcc2.c (__clear_cache): Same.
937 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
939         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
940         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
942 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
944         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
945         regno instead of index to DWARF_ZERO_REG.
947 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
949         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
950         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
952 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
954         * config/alpha/t-linux: Add -mfp-rounding-mode=d
955         to HOST_LIBGCC2_CFLAGS.
957 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
959         PR libgcc/88931
960         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
962 2019-01-18  Martin Liska  <mliska@suse.cz>
964         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
965         to ...
966         (__gcov_indirect_call_profiler_v3): ... this.
967         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
968         (__gcov_indirect_call_profiler_v3): Likewise.
969         * Makefile.in: Bump function name.
971 2019-01-18  Martin Liska  <mliska@suse.cz>
973         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
974         (gcov_version): Use in gcov_error.
975         (merge_one_data): Likewise.
976         (dump_one_gcov): Likewise.
978 2019-01-18  Martin Liska  <mliska@suse.cz>
980         * libgcov-driver.c (gcov_version_string): New function.
981         (gcov_version): Convert version integer into string.
983 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
984             Kwok Cheung Yeung  <kcy@codesourcery.com>
985             Julian Brown  <julian@codesourcery.com>
986             Tom de Vries  <tom@codesourcery.com>
988         * config.host: Recognize amdgcn*-*-amdhsa.
989         * config/gcn/crt0.c: New file.
990         * config/gcn/lib2-divmod-hi.c: New file.
991         * config/gcn/lib2-divmod.c: New file.
992         * config/gcn/lib2-gcn.h: New file.
993         * config/gcn/sfp-machine.h: New file.
994         * config/gcn/t-amdgcn: New file.
996 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
998         PR other/16615
1000         * config/c6x/libunwind.S: Mechanically replace "can not" with
1001         "cannot".
1002         * config/tilepro/atomic.h: Likewise.
1003         * config/vxlib-tls.c: Likewise.
1004         * generic-morestack-thread.c: Likewise.
1005         * generic-morestack.c: Likewise.
1006         * mkmap-symver.awk: Likewise.
1008 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1010         Update copyright years.
1012 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
1014         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1015         to ignore -Waddress-of-packed-member.
1017 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
1019         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1020         parameter and corresponding code.
1021         (ARM_FUNC_START): Likewise in both definitions.
1022         Also update footer comment about condition that need to match with
1023         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1024         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1025         defined.  Weakly define it in this case.
1026         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1027         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1028         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1029         comment to keep condition in sync with the one in
1030         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1032 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
1034         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1035         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1037 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1039         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1040         and .cfi_endproc directives for VxWorks targets.
1042 2018-12-05  Paul Koning  <ni1d@arrl.net>
1044         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1046 2018-11-27  Alan Modra  <amodra@gmail.com>
1048         * config/rs6000/morestack.S (__stack_split_initialize),
1049         (__morestack_get_guard, __morestack_set_guard),
1050         (__morestack_make_guard): Provide CFI covering these functions.
1051         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1053 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1055         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1056         (sc_pt_regs_lr): Update for kernel.
1057         (sc_pt_regs_tls): Update for kernel.
1059 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1061         * config/csky/linux-unwind.h: Fix coding style.
1063 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1065         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1066         (csky_fallback_frame_state): Modify the check of the
1067         instructions to adapt to changes in the kernel
1069 2018-11-09  Stafford Horne  <shorne@gmail.com>
1070             Richard Henderson  <rth@twiddle.net>
1072         * config.host: Add OpenRISC support.
1073         * config/or1k/*: New.
1075 2018-11-08  Kito Cheng  <kito@andestech.com>
1077         * soft-fp/adddf3.c: Update from glibc.
1078         * soft-fp/addsf3.c: Likewise.
1079         * soft-fp/addtf3.c: Likewise.
1080         * soft-fp/divdf3.c: Likewise.
1081         * soft-fp/divsf3.c: Likewise.
1082         * soft-fp/divtf3.c: Likewise.
1083         * soft-fp/double.h: Likewise.
1084         * soft-fp/eqdf2.c: Likewise.
1085         * soft-fp/eqsf2.c: Likewise.
1086         * soft-fp/eqtf2.c: Likewise.
1087         * soft-fp/extenddftf2.c: Likewise.
1088         * soft-fp/extended.h: Likewise.
1089         * soft-fp/extendhftf2.c: Likewise.
1090         * soft-fp/extendsfdf2.c: Likewise.
1091         * soft-fp/extendsftf2.c: Likewise.
1092         * soft-fp/extendxftf2.c: Likewise.
1093         * soft-fp/fixdfdi.c: Likewise.
1094         * soft-fp/fixdfsi.c: Likewise.
1095         * soft-fp/fixdfti.c: Likewise.
1096         * soft-fp/fixhfti.c: Likewise.
1097         * soft-fp/fixsfdi.c: Likewise.
1098         * soft-fp/fixsfsi.c: Likewise.
1099         * soft-fp/fixsfti.c: Likewise.
1100         * soft-fp/fixtfdi.c: Likewise.
1101         * soft-fp/fixtfsi.c: Likewise.
1102         * soft-fp/fixtfti.c: Likewise.
1103         * soft-fp/fixunsdfdi.c: Likewise.
1104         * soft-fp/fixunsdfsi.c: Likewise.
1105         * soft-fp/fixunsdfti.c: Likewise.
1106         * soft-fp/fixunshfti.c: Likewise.
1107         * soft-fp/fixunssfdi.c: Likewise.
1108         * soft-fp/fixunssfsi.c: Likewise.
1109         * soft-fp/fixunssfti.c: Likewise.
1110         * soft-fp/fixunstfdi.c: Likewise.
1111         * soft-fp/fixunstfsi.c: Likewise.
1112         * soft-fp/fixunstfti.c: Likewise.
1113         * soft-fp/floatdidf.c: Likewise.
1114         * soft-fp/floatdisf.c: Likewise.
1115         * soft-fp/floatditf.c: Likewise.
1116         * soft-fp/floatsidf.c: Likewise.
1117         * soft-fp/floatsisf.c: Likewise.
1118         * soft-fp/floatsitf.c: Likewise.
1119         * soft-fp/floattidf.c: Likewise.
1120         * soft-fp/floattihf.c: Likewise.
1121         * soft-fp/floattisf.c: Likewise.
1122         * soft-fp/floattitf.c: Likewise.
1123         * soft-fp/floatundidf.c: Likewise.
1124         * soft-fp/floatundisf.c: Likewise.
1125         * soft-fp/floatunditf.c: Likewise.
1126         * soft-fp/floatunsidf.c: Likewise.
1127         * soft-fp/floatunsisf.c: Likewise.
1128         * soft-fp/floatunsitf.c: Likewise.
1129         * soft-fp/floatuntidf.c: Likewise.
1130         * soft-fp/floatuntihf.c: Likewise.
1131         * soft-fp/floatuntisf.c: Likewise.
1132         * soft-fp/floatuntitf.c: Likewise.
1133         * soft-fp/gedf2.c: Likewise.
1134         * soft-fp/gesf2.c: Likewise.
1135         * soft-fp/getf2.c: Likewise.
1136         * soft-fp/half.h: Likewise.
1137         * soft-fp/ledf2.c: Likewise.
1138         * soft-fp/lesf2.c: Likewise.
1139         * soft-fp/letf2.c: Likewise.
1140         * soft-fp/muldf3.c: Likewise.
1141         * soft-fp/mulsf3.c: Likewise.
1142         * soft-fp/multf3.c: Likewise.
1143         * soft-fp/negdf2.c: Likewise.
1144         * soft-fp/negsf2.c: Likewise.
1145         * soft-fp/negtf2.c: Likewise.
1146         * soft-fp/op-1.h: Likewise.
1147         * soft-fp/op-2.h: Likewise.
1148         * soft-fp/op-4.h: Likewise.
1149         * soft-fp/op-8.h: Likewise.
1150         * soft-fp/op-common.h: Likewise.
1151         * soft-fp/quad.h: Likewise.
1152         * soft-fp/single.h: Likewise.
1153         * soft-fp/soft-fp.h: Likewise.
1154         * soft-fp/subdf3.c: Likewise.
1155         * soft-fp/subsf3.c: Likewise.
1156         * soft-fp/subtf3.c: Likewise.
1157         * soft-fp/truncdfsf2.c: Likewise.
1158         * soft-fp/trunctfdf2.c: Likewise.
1159         * soft-fp/trunctfhf2.c: Likewise.
1160         * soft-fp/trunctfsf2.c: Likewise.
1161         * soft-fp/trunctfxf2.c: Likewise.
1162         * soft-fp/unorddf2.c: Likewise.
1163         * soft-fp/unordsf2.c: Likewise.
1164         * soft-fp/unordtf2.c: Likewise.
1166 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
1168         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1169         * config/i386/cpuinfo.h (processor_types): Add znver2.
1171 2018-11-01  Paul Koning  <ni1d@arrl.net>
1173         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1174         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1176 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1178         PR bootstrap/82856
1179         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
1180         * configure: Regenerate.
1182 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
1184         * config/arc/lib1funcs.S (_muldi3): New function.
1185         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1187 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1189         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1191 2018-10-25  Martin Liska  <mliska@suse.cz>
1193         PR other/87735
1194         * libgcov-profiler.c: Revert.
1196 2018-10-24  Martin Liska  <mliska@suse.cz>
1198         * libgcov-profiler.c: Start from 1 in order to distinguish
1199         functions which were seen and these that were not.
1201 2018-10-18  Paul Koning  <ni1d@arrl.net>
1203         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1204         standard.
1205         * divmod.c: Update references to __udivmodsi4.
1206         * udivmod.c: Ditto.
1207         * udivhi3.c: New file.
1208         * udivmodhi4.c: New file.
1209         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1211 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1213         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1215 2018-10-12  Olivier Hainque  <hainque@adacore.com>
1217         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1218         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1220 2018-10-08  Paul Koning  <ni1d@arrl.net>
1222         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1224 2018-10-04  Martin Liska  <mliska@suse.cz>
1226         PR gcov-profile/84107
1227         * libgcov-profiler.c (__gcov_indirect_call):
1228         Change type to indirect_call_tuple.
1229         (struct indirect_call_tuple): New struct.
1230         (__gcov_indirect_call_topn_profiler): Change type.
1231         (__gcov_indirect_call_profiler_v2): Use the new
1232         variables.
1233         * libgcov.h (struct indirect_call_tuple): New struct
1234         definition.
1236 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
1238         * libgcc2.c (isnan): Use __builtin_isnan.
1239         (isfinite): Use __builtin_isfinite.
1240         (isinf): Use __builtin_isinf.
1242 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
1244         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1246 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
1248         * config/vxcache.c: New file.  Provide __clear_cache, based on
1249         the cacheTextUpdate VxWorks service.
1250         * config/t-vxworks (LIB2ADD): Add vxcache.c.
1251         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1252         * config/t-vxwoks7: Likewise.
1254 2018-09-21  Martin Liska  <mliska@suse.cz>
1256         * libgcov-driver.c (crc32_unsigned): Remove.
1257         (gcov_histogram_insert): Likewise.
1258         (gcov_compute_histogram): Likewise.
1259         (compute_summary): Simplify rapidly.
1260         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1261         (merge_summary): Rapidly simplify.
1262         (dump_one_gcov): Ignore gcov_summary.
1263         (gcov_do_dump): Do not handle program summary, it's not
1264         used.
1265         * libgcov-util.c (tag_summary): Remove.
1266         (read_gcda_finalize): Fix coding style.
1267         (read_gcda_file): Initialize curr_object_summary.
1268         (compute_summary): Remove.
1269         (calculate_overlap): Remove settings of run_max.
1271 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
1273         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1274         ucontext_t type instead.
1275         (nds32_fallback_frame_state): Remove struct _sigframe statement.
1277 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
1279         * config/nds32/t-nds32-glibc: New file.
1281 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1283         * configure.ac (solaris_ld_v2_maps): New test.
1284         * configure: Regenerate.
1285         * Makefile.in (solaris_ld_v2_maps): New variable.
1286         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1287         if supported.
1289 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
1291         PR target/86951
1292         * config/arm/lib1funcs.asm (speculation_barrier): New function.
1293         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1294         to build.
1296 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
1298         * config/unwind-dw2-fde-darwin.c
1299         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1300         * config/darwin10-unwind-find-enc-func.c: … to here.
1301         * config/t-darwin: Build Darwin10 unwinder shim crt.
1302         * libgcc/config.host: Add the Darwin10 unwinder shim.
1304 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1306         * config.host: Add crtbegin.o and crtend.o for
1307         powerpc-wrs-vxworks target.
1309 2018-08-17  Jojo  <jijie_rong@c-sky.com>
1310             Huibin Wang  <huibin_wang@c-sky.com>
1311             Sandra Loosemore  <sandra@codesourcery.com>
1312             Chung-Lin Tang  <cltang@codesourcery.com>
1314         C-SKY port: libgcc
1316         * config.host: Add C-SKY support.
1317         * config/csky/*: New.
1319 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
1321         * config/nds32/t-nds32-isr: Rearrange object dependency.
1322         * config/nds32/initfini.c: Add dwarf2 unwinding support.
1323         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1324         and registers usage.
1325         * config/nds32/isr-library/excp_isr.S: Ditto.
1326         * config/nds32/isr-library/intr_isr.S: Ditto.
1327         * config/nds32/isr-library/reset.S: Ditto.
1328         * config/nds32/isr-library/restore_all.inc: Ditto.
1329         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1330         * config/nds32/isr-library/restore_partial.inc: Ditto.
1331         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1332         * config/nds32/isr-library/save_all.inc: Ditto.
1333         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1334         * config/nds32/isr-library/save_partial.inc: Ditto.
1335         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1336         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1338 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
1340         * config/pa/linux-atomic.c: Update comment.
1341         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1342         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1343         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1344         __ATOMIC_RELAXED for atomic loads.
1345         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
1346         unordered store to release lock.
1347         (__sync_lock_release_8): Likewise.
1348         (SYNC_LOCK_RELEASE_2): Remove define.
1350 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
1352         PR libgcc/86512
1353         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1354         exponent goes negative. Update my email address.
1355         * config/arm/ieee754-sf.S: Likewise.
1357 2018-08-01  Martin Liska  <mliska@suse.cz>
1359         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1360         check that  __gcov_indirect_call_callee is non-null.
1362 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
1364         * config/arm/ieee754-df.S: Fix comment for code working on
1365         architectures >= 4.
1366         * config/arm/ieee754-sf.S: Likewise.
1368 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1370         PR libgcc/85334
1371         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1372         Removed.
1374 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
1376         * configure: Regenerated.
1378 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1380         * Makefile.in (install_leaf): Use enable_gcov instead of
1381         enable_libgcov.
1383 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1385         * configure.ac: Add --disable-gcov option.
1386         * configure: Regenerate.
1387         * Makefile.in: Honour @enable_gcov@.
1389 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1391         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1392         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1393         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1394         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1395         __ARM_ARCH__.
1396         * config/arm/ieee754-sf.S: Likewise.
1397         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1399 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1401         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1402         longer supported.
1403         * config/arm/ieee754-sf.S: Likewise.
1405 2018-06-20  Than McIntosh  <thanm@google.com>
1407         PR libgcc/86213
1408         * generic-morestack.c (allocate_segment): Move calls to getenv and
1409         getpagesize to __morestack_load_mmap.
1410         (__morestack_load_mmap) Initialize static_pagesize and
1411         use_guard_page here so as to avoid clobbering SSE regs during a
1412         __morestack call.
1414 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
1416         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1417         support modules with -mno-gnu-attribute.
1418         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1420 2018-06-07  Olivier Hainque  <hainque@adacore.com>
1422         * config/t-vxworks (LIBGCC_INCLUDES): Add
1423         -I$(MULTIBUILDTOP)../../gcc/include.
1424         * config/t-vxworks7: Likewise. Reformat a bit to match
1425         the t-vxworks layout.
1427 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
1429         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1431 2018-06-07  Martin Liska  <mliska@suse.cz>
1433         * libgcov-driver.c: Rename cs_all to all and assign it from
1434         all_prg.
1436 2018-06-07  Martin Liska  <mliska@suse.cz>
1438         PR bootstrap/86057
1439         * libgcov-driver-system.c (replace_filename_variables): Use
1440         memcpy instead of mempcpy.
1441         (allocate_filename_struct): Do not allocate filename, allocate
1442         prefix and set it.
1443         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1444         here and properly copy content into it.
1445         * libgcov-driver.c (struct gcov_filename): Remove max_length
1446         field, change prefix from size_t into char *.
1447         (compute_summary): Do not calculate longest filename.
1448         (gcov_do_dump): Release memory of gf.filename after each file.
1449         * libgcov-util.c (compute_summary): Use new signature of
1450         compute_summary.
1451         (calculate_overlap): Likewise.
1453 2018-06-05  Martin Liska  <mliska@suse.cz>
1455         PR gcov-profile/47618
1456         * libgcov-driver-system.c (replace_filename_variables): New
1457         function.
1458         (gcov_exit_open_gcda_file): Use it.
1460 2018-06-05  Martin Liska  <mliska@suse.cz>
1462         * libgcov-driver.c (gcov_compute_histogram): Remove usage
1463         of gcov_ctr_summary.
1464         (compute_summary): Do it just for a single summary.
1465         (merge_one_data): Likewise.
1466         (merge_summary): Simplify as we read just single summary.
1467         (dump_one_gcov): Pass proper argument.
1468         * libgcov-util.c (compute_one_gcov): Simplify as we have just
1469         single summary.
1470         (gcov_info_count_all_cold): Likewise.
1471         (calculate_overlap): Likewise.
1473 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
1474             Monk Chiang  <sh.chiang04@gmail.com>
1476         * config.host (nds32*-linux*): New.
1477         * config/nds32/linux-atomic.c: New file.
1478         * config/nds32/linux-unwind.h: New file.
1480 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
1482         PR target/85591
1483         * config/i386/cpuinfo.c (get_amd_cpu): Return
1484         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1486 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1488         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1490 2018-05-29  Martin Liska  <mliska@suse.cz>
1492         PR gcov-profile/85759
1493         * libgcov-driver-system.c (gcov_error): Introduce usage of
1494         GCOV_EXIT_AT_ERROR env. variable.
1495         * libgcov-driver.c (merge_one_data): Print error that we
1496         overwrite a gcov file with a different timestamp.
1498 2018-05-23  Kalamatee  <kalamatee@gmail.com>
1500         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1501         path to Lf$finfty.
1503 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
1504             Monk Chiang  <sh.chiang04@gmail.com>
1505             Jim Wilson <jimw@sifive.com>
1507         * config/riscv/save-restore.S: Add support for rv32e.
1509 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1511         * config/arm/libunwind.S: Update comment relating to armv5.
1513 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
1515         * config/arm/cmse.c (cmse_check_address_range): Replace
1516         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1518 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
1520         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1521         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1523 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
1525         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1526         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1528 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
1530         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1532 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
1533             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1535         PR libgcc/84292
1536         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1537         op_and_fetch to return the right result.
1539 2018-04-27  Alan Modra  <amodra@gmail.com>
1541         PR libgcc/85532
1542         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1543         -fno-asynchronous-unwind-tables.
1545 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1547         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1548         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1550 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1552         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1553         when including "config/i386/shadow-stack-unwind.h".
1555 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1557         * configure: Regenerated.
1559 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
1561         PR target/85456
1562         * config/rs6000/_powikf2.c: New file.  Add support for the
1563         __builtin_powil function when long double is IEEE 128-bit floating
1564         point.
1565         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1566         __powikf2 support.
1567         (__powikf2): Likewise.
1568         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1569         (__powikf2_hw): Likewise.
1570         (__powikf2): Likewise.
1571         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1572         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1573         (_powikf2-hw.c): Likewise.
1575 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1577         PR libgcc/85334
1578         * unwind-generic.h (_Unwind_Frames_Increment): New.
1579         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1580         Likewise.
1581         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1582         count with _Unwind_Frames_Increment.
1583         (_Unwind_ForcedUnwind_Phase2): Likewise.
1585 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1587         PR libgcc/85379
1588         * config/i386/morestack.S (__stack_split_initialize): Add
1589         _CET_ENDBR.
1591 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1593         * configure: Regenerated.
1595 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1597         PR jit/85384
1598         * configure: Regenerate.
1600 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
1602         PR target/84945
1603         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1604         -Wdangling-else warnings.  Mask shift counts to avoid
1605         -Wshift-count-negative and -Wshift-count-overflow false positives.
1607 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
1609         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1611 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1613         PR target/85100
1614         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1615         (XSTATE_FP): Likewise.
1616         (XSTATE_SSE): Likewise.
1617         (XSTATE_YMM): Likewise.
1618         (XSTATE_OPMASK): Likewise.
1619         (XSTATE_ZMM): Likewise.
1620         (XSTATE_HI_ZMM): Likewise.
1621         (XCR_AVX_ENABLED_MASK): Likewise.
1622         (XCR_AVX512F_ENABLED_MASK): Likewise.
1623         (get_available_features): Enable AVX and AVX512 features only
1624         if their states are supported by OSXSAVE.
1626 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1628         PR target/85025
1629         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1630         Fix a typo, tmp => 255.
1632 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
1634         PR target/84945
1635         * config/i386/cpuinfo.h (__cpu_features2): Declare.
1636         * config/i386/cpuinfo.c (__cpu_features2): New variable for
1637         ifndef SHARED only.
1638         (set_feature): Define.
1639         (get_available_features): Use set_feature macro.  Set __cpu_features2
1640         to the second word of features ifndef SHARED.
1642 2018-03-15  Julia Koval  <julia.koval@intel.com>
1644         * config/i386/cpuinfo.c (get_available_features): Add
1645         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1646         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1647         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1648         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1649         FEATURE_AVX512BITALG.
1651 2018-03-14  Julia Koval  <julia.koval@intel.com>
1653         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1654         icelake client and icelake server.
1656 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
1658         * config/pa/fptr.c (_dl_read_access_allowed): New.
1659         (__canonicalize_funcptr_for_compare): Use it.
1661 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
1663         PR debug/83917
1664         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1665         $asm_hidden_op if visibility ("hidden") attribute works.
1666         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1667         * config/i386/i386-asm.h: Don't include auto-host.h.
1668         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1669         PACKAGE_URL): Don't undefine.
1670         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1671         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1672         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1673         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1674         definition instead of hardcoded .hidden.
1675         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1676         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1677         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1678         (USE_GAS_CFI_DIRECTIVES): Don't define.
1679         * configure: Regenerated.
1680         * config.in: Likewise.
1682 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
1684         PR debug/83917
1685         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1686         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1687         inclusion of auto-target.h and auto-host.h.
1688         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1689         __GCC_HAVE_DWARF2_CFI_ASM.
1690         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1691         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1692         cfi_pop): Define.
1693         * config/i386/cygwin.S: Don't include auto-host.h here, just
1694         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1695         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1696         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1697         * config/i386/resms64fx.h: Add cfi_* directives.
1698         * config/i386/resms64x.h: Likewise.
1700 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
1702         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1703         .literal_position directive.
1704         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1706 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1708         PR target/84148
1709         * configure: Regenerate.
1711 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1713         PR target/84239
1714         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1715         Include cetintrin.h not x86intrin.h.
1717 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1719         PR target/84239
1720         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1721         Use new _get_ssp and _inc_ssp intrinsics.
1723 2018-02-02  Julia Koval  <julia.koval@intel.com>
1725         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1727 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
1729         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1730         option.
1731         (__divsi3): Use RF16 safe registers.
1732         (__modsi3): Likewise.
1734 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
1736         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1737         (__divsf3): Make NaN return value quiet.
1738         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1739         (__divdf3): Make NaN return value quiet.
1741 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1743         * config/rl78/anddi3.S: New assembly file.
1744         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1746 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1748         * config/rl78/umindi3.S: New assembly file.
1749         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1751 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1753         * config/rl78/smindi3.S: New assembly file.
1754         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1756 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1758         * config/rl78/smaxdi3.S: New assembly file.
1759         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1761 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1763         * config/rl78/umaxdi3.S: New assembly file.
1764         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1766 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
1768         PR lto/83452
1769         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1770         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1772 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
1774         * config/aarch64/value-unwind.h (aarch64_vg): New function.
1775         (DWARF_LAZY_REGISTER_VALUE): Define.
1776         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1777         to provide a fallback register value.
1779 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
1781         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1782         __ibm128, instead of trying to use long double.
1783         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1784         accomidate -mabi=ieeelongdouble multilibs.
1785         (CVT_IBM128_TO_FLOAT128): Likewise.
1786         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1787         the appropriate IBM extended double type.
1788         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1789         (__gcc_qsub): Likewise.
1790         (__gcc_qmul): Likewise.
1791         (__gcc_qdiv): Likewise.
1792         (pack_ldouble): Likewise.
1793         (__gcc_qneg): Likewise.
1794         (__gcc_qeq): Likewise.
1795         (__gcc_qne): Likewise.
1796         (__gcc_qge): Likewise.
1797         (__gcc_qle): Likewise.
1798         (__gcc_stoq): Likewise.
1799         (__gcc_dtoq): Likewise.
1800         (__gcc_itoq): Likewise.
1801         (__gcc_utoq): Likewise.
1802         (__gcc_qunord): Likewise.
1803         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1804         quad-float128.h for the definitions.
1805         (COPYSIGN): Use the f128 version instead of the q version.
1806         (INFINITY): Likewise.
1807         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1808         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1809         quad-float128.h for the definitions.
1810         (COPYSIGN): Use the f128 version instead of the q version.
1811         (INFINITY): Likewise.
1812         (FABS): Likewise.
1813         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1814         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1815         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1817 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1819         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1820         configuration.
1822 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
1824         Update copyright years.
1826 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
1828         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1829         * config/riscv/multi3.c: New file.
1830         * config/riscv/multi3.S: Remove.
1832 2017-12-08  Jim Wilson  <jimw@sifive.com>
1834         * config/riscv/div.S: Use FUNC_* macros.
1835         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1836         * config/riscv/save-restore.S: Likewise.
1837         * config/riscv/riscv-asm.h: New.
1839 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
1841         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1842         * config/rs6000/_divkc3.c (__divkc3): Likewise.
1844         PR libgcc/83112
1845         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1846         correct type for all ifunc resolvers to silence -Wattribute-alias
1847         warnings.  Eliminate the forward declaration of the resolver
1848         functions which is no longer needed.
1849         (__subkf3_resolve): Likewise.
1850         (__mulkf3_resolve): Likewise.
1851         (__divkf3_resolve): Likewise.
1852         (__negkf2_resolve): Likewise.
1853         (__eqkf2_resolve): Likewise.
1854         (__nekf2_resolve): Likewise.
1855         (__gekf2_resolve): Likewise.
1856         (__gtkf2_resolve): Likewise.
1857         (__lekf2_resolve): Likewise.
1858         (__ltkf2_resolve): Likewise.
1859         (__unordkf2_resolve): Likewise.
1860         (__extendsfkf2_resolve): Likewise.
1861         (__extenddfkf2_resolve): Likewise.
1862         (__trunckfsf2_resolve): Likewise.
1863         (__trunckfdf2_resolve): Likewise.
1864         (__fixkfsi_resolve): Likewise.
1865         (__fixkfdi_resolve): Likewise.
1866         (__fixunskfsi_resolve): Likewise.
1867         (__fixunskfdi_resolve): Likewise.
1868         (__floatsikf_resolve): Likewise.
1869         (__floatdikf_resolve): Likewise.
1870         (__floatunsikf_resolve): Likewise.
1871         (__floatundikf_resolve): Likewise.
1872         (__extendkftf2_resolve): Likewise.
1873         (__trunctfkf2_resolve): Likewise.
1875         PR libgcc/83103
1876         * config/rs6000/quad-float128.h (TF): Don't define if long double
1877         is IEEE 128-bit floating point.
1878         (TCtype): Define as either TCmode or KCmode, depending on whether
1879         long double is IEEE 128-bit floating point.
1880         (__mulkc3_sw): Add declarations for software/hardware versions of
1881         complex multiply/divide.
1882         (__divkc3_sw): Likewise.
1883         (__mulkc3_hw): Likewise.
1884         (__divkc3_hw): Likewise.
1885         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1886         handlers to switch between using software emulation and hardware
1887         float128 instructions, build the complex multiply/divide functions
1888         for both software and hardware support.
1889         * config/rs6000/_divkc3.c (_divkc3): Likewise.
1890         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1891         (__divkc3_resolve): Likewise.
1892         (__mulkc3): Likewise.
1893         (__divkc3): Likewise.
1894         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1895         (fp128_hw_src): Likewise.
1896         (fp128_hw_static_obj): Likewise.
1897         (fp128_hw_shared_obj): Likewise.
1898         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1899         _mulkc3.c and _divkc3.c, changing the function name.
1900         (_divkc3-hw.c): Likewise.
1901         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1902         and _divkc3-hw.c.
1904 2017-11-26  Julia Koval  <julia.koval@intel.com>
1906         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1907         * config/i386/cpuinfo.h (processor_subtypes): Add
1908         INTEL_COREI7_CANNONLAKE.
1910 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1912         PR bootstrap/83015
1913         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1914         parameter.
1915         * config/xtensa/unwind-dw2-xtensa.c: Likewise
1916         * config/ia64/unwind-ia64.c: Add frames parameter.
1917         * unwind-sjlj.c: Likewise.
1919 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1921         * config/i386/linux-unwind.h: Include
1922         config/i386/shadow-stack-unwind.h.
1923         * config/i386/shadow-stack-unwind.h: New file.
1924         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1925         pass it to _Unwind_Frames_Extra.
1926         * unwind-generic.h (_Unwind_Frames_Extra): New.
1927         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1928         parameter. Add local variable frames to count number of frames.
1929         (_Unwind_ForcedUnwind_Phase2): Likewise.
1930         (_Unwind_RaiseException): Add local variable frames to count
1931         number of frames, pass it to _Unwind_RaiseException_Phase2 and
1932         uw_install_context.
1933         (_Unwind_ForcedUnwind): Likewise.
1934         (_Unwind_Resume): Likewise.
1935         (_Unwind_Resume_or_Rethrow): Likewise.
1937 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1939         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1940         (CET_FLAGS): New.
1941         * config/i386/morestack.S: Include <cet.h>.
1942         (__morestack_large_model): Add _CET_ENDBR at function entrance.
1943         * config/i386/resms64.h: Include <cet.h>.
1944         * config/i386/resms64f.h: Likewise.
1945         * config/i386/resms64fx.h: Likewise.
1946         * config/i386/resms64x.h: Likewise.
1947         * config/i386/savms64.h: Likewise.
1948         * config/i386/savms64f.h: Likewise.
1949         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1950         (CRTSTUFF_T_CFLAGS): Likewise.
1951         * configure.ac: Include ../config/cet.m4.
1952         Set and substitute CET_FLAGS.
1953         * configure: Regenerated.
1955 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1957         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1958         renaming.
1959         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1960         * configure.ac (libgcc_cv_solaris_crts): Likewise.
1961         * configure: Regenerate.
1963 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1965         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1966         after "do {} while (0)".
1968 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1970         PR other/82784
1971         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1972         semicolon after "do {} while (0)".
1973         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1974         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1975         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1976         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1978 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
1980         PR libgcc/82635
1981         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1982         sysctl to determine whether we're in a trampoline.
1983         Keep the pattern matching method for systems without
1984         KERN_PROC_SIGTRAMP sysctl.
1986 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
1987             Vineet Gupta <vgupta@synopsys.com>
1989         * config.host (arc*-*-linux*): Set md_unwind_header variable.
1990         * config/arc/linux-unwind-reg.def: New file.
1991         * config/arc/linux-unwind-reg.h: Likewise.
1993 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
1995         * config/rl78/subdi3.S: New assembly file.
1996         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1998 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
2000         * config/rl78/adddi3.S: New assembly file.
2001         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2003 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
2005         PR target/82274
2006         * libgcc2.c (__mulvDI3): If both operands have
2007         the same highpart of -1 and the topmost bit of lowpart is 0,
2008         multiplication overflows even if both lowparts are 0.
2010 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
2012         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2014 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
2016         * config/microblaze/crti.S, config/microblaze/crtn.S,
2017         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2018         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2019         config/microblaze/mulsi3.S,
2020         config/microblaze/stack_overflow_exit.S,
2021         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2022         config/pa/milli64.S: Add .note.GNU-stack section.
2024 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
2026         * configure.ac: Add Check for HAVE_AS_AVX.
2027         * config.in: Regenerate.
2028         * configure: Likewise.
2029         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2030         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2031         Correct out-of-date comments.
2033 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
2035         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2036         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2038 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
2040         * config/i386/i386-asm.h (PASTE2): New macro.
2041         (ASMNAME): Modify to use PASTE2.
2042         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2043         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2044         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2045         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2046         * config/i386/resms64f.S: Likewise.
2047         * config/i386/resms64fx.S: Likewise.
2048         * config/i386/resms64x.S: Likewise.
2049         * config/i386/savms64.S: Likewise.
2050         * config/i386/savms64f.S: Likewise.
2051         * config/i386/avx_resms64.S: New file that only defines a macro and
2052         includes it's corresponding header file.
2053         * config/i386/avx_resms64f.S: Likewise.
2054         * config/i386/avx_resms64fx.S: Likewise.
2055         * config/i386/avx_resms64x.S: Likewise.
2056         * config/i386/avx_savms64.S: Likewise.
2057         * config/i386/avx_savms64f.S: Likewise.
2058         * config/i386/sse_resms64.S: Likewise.
2059         * config/i386/sse_resms64f.S: Likewise.
2060         * config/i386/sse_resms64fx.S: Likewise.
2061         * config/i386/sse_resms64x.S: Likewise.
2062         * config/i386/sse_savms64.S: Likewise.
2063         * config/i386/sse_savms64f.S: Likewise.
2064         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2066 2017-09-01  Olivier Hainque  <hainque@adacore.com>
2067         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2069 2017-08-31  Olivier Hainque  <hainque@adacore.com>
2071         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2072         match as powerpc-wrs-vxworks*.
2074 2017-08-07  Jonathan Yong  <10walls@gmail.com>
2076         * config.host (*-cygwin): Include file from mingw
2077         config/i386/enable-execute-stack-mingw32.c
2079 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
2080             Doug Rupp  <rupp@adacore.com>
2081             Olivier Hainque  <hainque@adacore.com>
2083         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2084         as well as arm-wrs-vxworks.
2085         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
2086         LIB2ADDEH.
2087         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2088         __exidx_start and __exidx_end for downloadable modules.
2090 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2092         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2093         * config/t-vxworks7: Likewise.
2095 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2097         * config/t-vxworks: Instead of redefining LIB2ADD,
2098         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2100 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2102         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2104 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
2106         PR testsuite/80759
2107         * config.host: include i386/t-msabi for darwin and solaris.
2108         * config/i386/i386-asm.h
2109         (ELFFN): Rename to FN_TYPE.
2110         (FN_SIZE): New macro.
2111         (FN_HIDDEN): Likewise.
2112         (ASMNAME): Likewise.
2113         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2114         .globl.
2115         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2116         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2117         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2118         .macro.
2119         * config/i386/resms64f.S: Likewise.
2120         * config/i386/resms64fx.S: Likewise.
2121         * config/i386/resms64x.S: Likewise.
2122         * config/i386/savms64.S: Likewise.
2123         * config/i386/savms64f.S: Likewise.
2125 2017-07-19  John Marino  <gnugcc@marino.st>
2127         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2129 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
2131         PR target/81193
2132         * configure.ac (PowerPC float128 hardware support): Test whether
2133         we can use __builtin_cpu_supports before enabling the ifunc
2134         handler.
2135         * configure: Regenerate.
2137 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
2139         * config.host: Remove uclibc from arc target spec.
2141 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
2143         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2145 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
2147         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2148         (have_ieee_hw_p): Delete function.
2149         (SW_OR_HW) Use __builtin_cpu_supports().
2151 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2153         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2155 2017-07-03  Olivier Hainque  <hainque@adacore.com>
2157         * config/t-vxworks7: New file, really.
2159 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
2161         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2162         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2163         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2164         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2165         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2166         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2167         config/pa/linux-unwind.h (pa32_fallback_frame_state),
2168         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2169         config/sh/linux-unwind.h (sh_fallback_frame_state),
2170         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2171         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2172         ucontext_t instead of struct ucontext.
2174 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
2176         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2177         (x86_64-wrs-vxworks7): Likewise.
2179 2017-06-27  Olivier Hainque  <hainque@adacore.com>
2181         * config/t-vxworks7: New file.
2182         * config.host (*-*-vxworks7): Use it.
2184 2017-06-22  Matt Turner  <mattst88@gmail.com>
2186         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2187         skylake case.
2189 2017-06-21  Richard Biener  <rguenther@suse.de>
2191         PR gcov-profile/81080
2192         * configure.ac: Add AC_SYS_LARGEFILE.
2193         * libgcov.h: Include auto-target.h before tsystem.h to pick
2194         up _FILE_OFFSET_BITS which might differ for multilibs.
2195         * config.in: Regenerate.
2196         * configure: Likewise.
2198 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
2200         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2202 2017-06-09  Martin Liska  <mliska@suse.cz>
2204         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2205         Reset __gcov_indirect_call_callee to NULL.
2207 2017-06-08  Olivier Hainque  <hainque@adacore.com>
2209         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2210         the set of -I options, support for direct inclusions of net/uio.h
2211         by VxWorks header files via ioLib.h.
2213 2017-06-07  Tony Reix  <tony.reix@atos.net>
2214             Matthieu Sarter  <matthieu.sarter.external@atos.net>
2215             David Edelsohn  <dje.gcc@gmail.com>
2217         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2218         unconditionally.
2219         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
2220         AIX 7.2 support.
2222 2017-06-02  Olivier Hainque  <hainque@adacore.com>
2224         * config/vxlib.c (__gthread_once): Add missing value to
2225         return statement.
2227 2017-05-30  Olivier Hainque  <hainque@adacore.com>
2229         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2230         dollar sign before $(MULTIDIR).
2232 2017-05-26  Richard Henderson  <rth@redhat.com>
2234         PR libgcc/80037
2235         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2237 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
2239         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2240         _Unwind_SetIP available as functions for arm*-*-freebsd*.
2241         * config/arm/unwind-arm.c: Implement the above.
2243 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2245         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2246         section for a non-executable stack.
2248 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
2250         PR target/80600
2251         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2253 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
2255         * config.host: Add i386/t-msabi to i386/t-linux file list.
2256         * config/i386/i386-asm.h: New file.
2257         * config/i386/resms64.S: New file.
2258         * config/i386/resms64f.S: New file.
2259         * config/i386/resms64fx.S: New file.
2260         * config/i386/resms64x.S: New file.
2261         * config/i386/savms64.S: New file.
2262         * config/i386/savms64f.S: New file.
2263         * config/i386/t-msabi: New file.
2265 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
2267         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2268         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2270 2017-05-05  Joshua Conner  <joshconner@google.com>
2272         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2273         pc-relative indirect handling for fuchsia.
2274         * config/t-slibgcc-fuchsia: New file.
2275         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2276         x86_64-*-fuchsia*): Add definitions.
2278 2017-04-19  Martin Liska  <mliska@suse.cz>
2280         PR gcov-profile/80435
2281         * Makefile.in: Install gcov.h.
2282         * gcov.h: New file.
2283         * libgcov.h: Use the header and make __gcov_flush publicly
2284         visible.
2286 2017-04-18  Martin Liska  <mliska@suse.cz>
2288         PR gcov-profile/78783
2289         * libgcov-driver.c (gcov_get_filename): New function.
2291 2017-04-07  Jeff Law  <law@redhat.com>
2293         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2294         target makefile fragment.
2295         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2297 2017-04-07  Alan Modra  <amodra@gmail.com>
2299         PR target/45053
2300         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2302 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
2304         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2306 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
2308         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2310 2017-03-10  John Marino  <gnugcc@marino.st>
2312         * config/aarch64/freebsd-unwind.h: New file.
2313         * config.host: Add aarch64-*-freebsd unwinder.
2315 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2317         * config/rs6000/crtrestvr.s: Use .machine altivec.
2318         * config/rs6000/crtsavevr.s: Ditto.
2320 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2322         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2323         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
2324         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2325         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
2326         * configure: Regenerate.
2327         * config.in: Regenerate.
2329 2017-03-02  Jonathan Yong <10walls@gmail.com>
2331         * config/i386/gthr-win32.h: Define NOGDI before
2332         windows.h include to prevent w32api CC_NONE macro
2333         clash with libgfortran.
2335 2017-03-02  Jonathan Yong <10walls@gmail.com>
2337         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2339 2017-02-16  Andrew Pinski  <apinski@cavium.com>
2341         * config/aarch64/value-unwind.h: New file.
2342         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2343         to tm_file.
2345 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
2347         * config.host: Add RISC-V tuples.
2348         * config/riscv/atomic.c: New file.
2349         * config/riscv/crti.S: Likewise.
2350         * config/riscv/crtn.S: Likewise.
2351         * config/riscv/div.S: Likewise.
2352         * config/riscv/linux-unwind.h: Likewise.
2353         * config/riscv/muldi3.S: Likewise.
2354         * config/riscv/multi3.S: Likewise.
2355         * config/riscv/save-restore.S: Likewise.
2356         * config/riscv/sfp-machine.h: Likewise.
2357         * config/riscv/t-elf: Likewise.
2358         * config/riscv/t-elf32: Likewise.
2359         * config/riscv/t-elf64: Likewise.
2360         * config/riscv/t-softfp32: Likewise.
2361         * config/riscv/t-softfp64: Likewise.
2363 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2365         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2366         /* FALLTHRU */ comments.
2368 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
2370         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2372 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2374         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2375         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
2376         DW_CFA_GNU_window_save for AArch64 and LP64.
2378 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2380         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2382 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
2384         * config/aarch64/aarch64-unwind.h: New file.
2385         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2386         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2387         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2388         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2389         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2390         (aarch64_post_extract_frame_addr): New function.
2391         (aarch64_post_frob_eh_handler_addr): New function.
2392         (aarch64_frob_update_context): New function.
2393         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2394         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2395         aarch64*-*-freebsd*):
2396         Initialize md_unwind_header to include aarch64-unwind.h.
2397         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2398         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2399         __aarch64__.
2400         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2401         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2402         (uw_frob_return_addr): New function.
2403         (uw_install_context): Use uw_frob_return_addr.
2405 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
2407         PR other/79046
2408         * configure.ac: Add GCC_BASE_VER.
2409         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2410         version from BASE-VER file.
2411         * configure: Regenerated.
2413 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
2415         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2416         libmul_f5.a): Filter archived prerequisites.
2418 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
2420         * config/i386/cpuinfo.h (processor_features): Add
2421         FEATURE_AVX512VPOPCNTDQ.
2422         * config/i386/cpuinfo.c (get_available_features): Habdle new
2423         feature.
2425 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2427         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2428         payload if [__mips_nan2008].
2430 2017-01-04  Alan Modra  <amodra@gmail.com>
2432         * Makefile.in (configure_deps): Update.
2433         * configure: Regenerate.
2435 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
2437         Update copyright years.
2439 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
2441         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2442         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2443         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2445 2016-12-17  Matthias Klose  <doko@ubuntu.com>
2447         * config/arc/gmon: Remove empty directory.
2449 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
2451         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2452         crtgend.
2453         (arc*-*-elf*): Likewise.
2454         * config/arc/t-arc: Remove old gmon lib targets.
2455         * config/arc/crtg.S: Remove.
2456         * config/arc/crtgend.S: Likewise.
2457         * config/arc/gmon/atomic.h: Likewise.
2458         * config/arc/gmon/auxreg.h: Likewise.
2459         * config/arc/gmon/dcache_linesz.S: Likewise.
2460         * config/arc/gmon/gmon.c: Likewise.
2461         * config/arc/gmon/machine-gmon.h: Likewise.
2462         * config/arc/gmon/mcount.c: Likewise.
2463         * config/arc/gmon/prof-freq-stub.S: Likewise.
2464         * config/arc/gmon/prof-freq.c: Likewise.
2465         * config/arc/gmon/profil.S: Likewise.
2466         * config/arc/gmon/sys/gmon.h: Likewise.
2467         * config/arc/gmon/sys/gmon_out.h: Likewise.
2468         * config/arc/t-arc-newlib: Likewise.
2469         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2471 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2473         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2475 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2477         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2478         R16 instead of push + pop.
2479         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2481 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
2483         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2484         tmake_file.
2486 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
2488         * config.host (arc*-*-linux-uclibc*): Use default extra
2489         objects. Include linux-android header.
2490         * config/arc/crti.S (_init): Declare symbol as function.
2491         (_fini): Likewise.
2493 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
2495         PR fortran/78379
2496         * config/i386/cpuinfo.c:  Move denums for processor vendors,
2497         processor type, processor subtypes and declaration of
2498         struct __processor_model into
2499         * config/i386/cpuinfo.h:  New header file.
2501 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2502             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2504         * config/arm/cmse_nonsecure_call.S: New.
2505         * config/arm/t-arm: Compile cmse_nonsecure_call.S
2507 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2508             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2510         * config/arm/t-arm (HAVE_CMSE): New.
2511         * config/arm/cmse.c: New.
2513 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2515         PR gcc/74748
2516         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2517         use generic linker version information on Blackfin.
2519         PR gcc/74748
2520         * libgcc/mkmap-symver.awk: add support for skip_underscore
2522 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
2523             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2525         PR target/67710
2526         *  config/t-darwin: Default builds to 10.5 codegen.
2528 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
2530         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2531         (_FP_NANSIGN_H): Likewise.
2532         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2533         (softfp_truncations): Add tfhf.
2534         (softfp_extras): Add required conversion functions.
2536 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2537             Matthew Wahab  <matthew.wahab@arm.com>
2539         * config/arm/fp16.c (binary64): New.
2540         (__gnu_d2h_internal): New.
2541         (__gnu_d2h_ieee): New.
2542         (__gnu_d2h_alternative): New.
2544 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2545             Matthew Wahab  <matthew.wahab@arm.com>
2547         * config/arm/fp16.c (struct format): New.
2548         (binary32): New.
2549         (__gnu_float2h_internal): New.  Body moved from
2550         __gnu_f2h_internal and generalize.
2551         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2552         Call it with binary32.
2554 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2556         * soft-fp/extendhftf2.c: Update from glibc.
2557         * soft-fp/fixhfti.c: Likewise.
2558         * soft-fp/fixunshfti.c: Likewise.
2559         * soft-fp/floattihf.c: Likewise.
2560         * soft-fp/floatuntihf.c: Likewise.
2561         * soft-fp/half.h: Likewise.
2562         * soft-fp/trunctfhf2.c: Likewise.
2564 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
2566         PR libgcc/77813
2567         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2568         __TMC_END__ behind a passthrough asm.
2570 2016-11-18  Walter Lee  <walt@tilera.com>
2572         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2574 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
2576         * config/i386/cpuinfo.c (processor_features): Add
2577         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2579 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
2581         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2582         (__ARC_NORM__): Use instead ARC_OPTFPE.
2583         * config/arc/fp-hack.h: Likewise.
2584         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2585         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2587 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
2589         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2590         * config/nvptx/mgomp.c: New file.
2591         * config/nvptx/t-nvptx: Add mgomp.c
2593 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
2595         PR libgcc/68468
2596         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2598 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
2600         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2601         of checking for cpus.
2602         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2603         (__modsi3, __clzsi2): Likewise.
2605 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2607         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2608         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2609         * config/i386/t-cpuinfo-static: New.
2611 2016-11-03  Martin Liska  <mliska@suse.cz>
2613         * libgcov-profiler.c (__gcov_time_profiler): Remove.
2614         (__gcov_time_profiler_atomic): Likewise.
2616 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2618         PR libgcc/78067
2619         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2620         count_leading_zeros.
2622 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
2624         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2625         * libgcc2.c (__divmoddi4): New function.
2626         * libgcc2.h (__divmoddi4): Declare.
2627         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2628         and __PFX_divmodti4.
2630 2016-10-24  Florian Weimer  <fweimer@redhat.com>
2632         PR libgcc/78064
2633         * unwind-c.c: Include auto-target.h.
2635 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
2637         * config/pa/pa64-hpux-lib.h: New file.
2638         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2639         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2640         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2641         hppa*64*-*-hpux11*.
2643 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
2645         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2646         definition.
2647         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2648         definition.
2649         * config/xtensa/t-windowed (LIB2ADDEH): Use
2650         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2651         or xtensa/t-linux.
2653 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
2655         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2656         __ieee754_sqrt): New functions.
2657         (__divdf3): Add implementation with new FPU instructions under
2658         #if XCHAL_HAVE_DFP_DIV.
2659         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2660         __ieee754_sqrtf): New functions.
2661         (__divsf3): Add implementation with new FPU instructions under
2662         #if XCHAL_HAVE_FP_DIV.
2663         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2664         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2666 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2668         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2669         equivalent.
2670         * config/tilepro/atomic.c: Likewise and stop casting model to
2671         enum memmodel.
2673 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
2675         PR target/77586
2676         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2677         soft-fp.
2679 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
2681         * config.host: Add support for aarch64-*-freebsd*.
2683 2016-10-05  Andreas Schwab  <schwab@suse.de>
2685         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2686         (.section .init_array): Don't call __do_jv_register_classes.
2687         (.section .init): Likewise.
2689 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
2691         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2692         (__JCR_LIST__): Remove.
2693         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2694         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2695         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2696         * config/ia64/crtend.S (__JCR_END__): Remove.
2697         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2698         conditionals.
2699         (__JCR_LIST__, __JCR_END__): Remove.
2700         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2701         (__do_global_ctors_1): Likewise.
2703 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
2705         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2706         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2708 2016-09-27  Martin Liska  <mliska@suse.cz>
2710         PR gcov-profile/7970
2711         PR gcov-profile/16855
2712         PR gcov-profile/44779
2713         * libgcov-driver.c (__gcov_init): Do not register a atexit
2714         handler.
2715         (__gcov_exit): Rename from gcov_exit.
2716         * libgcov.h (__gcov_exit): Declare.
2718 2016-09-27  Martin Liska  <mliska@suse.cz>
2720         PR bootstrap/77749
2721         * Makefile.in: Remove _gcov_merge_delta.
2722         * libgcov-merge.c (void __gcov_merge_delta): Remove.
2723         * libgcov-util.c (__gcov_delta_counter_op): Remove.
2724         * libgcov.h: Remove declaration of __gcov_merge_delta.
2726 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
2728         * configure.ac: Do not create links, only substitute the filenames.
2729         * configure: Regenerate.
2730         * Makefile.in: Assign the substitution results to variables.
2731         (LIBGCC_LINKS): Define.
2732         (enable-execute-stack.c): New rule.
2733         (unwind.h): Likewise.
2734         (md-unwind-support.h): Likewise.
2735         (sfp-machine.h): Likewise.
2736         (gthr-default.h): Likewise.
2737         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2738         unwind.h as prerequisite of install-unwind_h-forbuild.
2740 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
2742         PR libgcc/71744
2743         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2744         is not the primary registry and atomics are available.
2745         (any_objects_registered): New variable.
2746         (__register_frame_info_bases, __register_frame_info_table_bases):
2747         Atomically store 1 to any_objects_registered after registering first
2748         unwind info.
2749         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2751 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
2753         PR target/63250
2754         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2755         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2756         (HFtype): Likewise.
2757         (HCtype): Likewise.
2758         (__divhc3): Likewise.
2759         (__mulhc3): Likewise.
2760         * libgcc2.c: Support _mulhc3 and _divhc3.
2762 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2764         PR libgcc/77519
2765         * libgcc2.c (NOTRUNC): Invert settings.
2767 2016-09-06  Martin Liska  <mliska@suse.cz>
2769         PR gcov-profile/77378
2770         PR gcov-profile/77466
2771         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2772         conditionaly enable/disable *_atomic functions.
2774 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
2776         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2777         where not already enabled.
2779 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2781         * config/mips/linux-unwind.h: Use sys/syscall.h.
2783 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2785         PR libgcc/77265
2786         * soft-fp/adddf3.c: Update from glibc.
2787         * soft-fp/addsf3.c: Likewise.
2788         * soft-fp/addtf3.c: Likewise.
2789         * soft-fp/divdf3.c: Likewise.
2790         * soft-fp/divsf3.c: Likewise.
2791         * soft-fp/divtf3.c: Likewise.
2792         * soft-fp/double.h: Likewise.
2793         * soft-fp/eqdf2.c: Likewise.
2794         * soft-fp/eqsf2.c: Likewise.
2795         * soft-fp/eqtf2.c: Likewise.
2796         * soft-fp/extenddftf2.c: Likewise.
2797         * soft-fp/extended.h: Likewise.
2798         * soft-fp/extendsfdf2.c: Likewise.
2799         * soft-fp/extendsftf2.c: Likewise.
2800         * soft-fp/extendxftf2.c: Likewise.
2801         * soft-fp/fixdfdi.c: Likewise.
2802         * soft-fp/fixdfsi.c: Likewise.
2803         * soft-fp/fixdfti.c: Likewise.
2804         * soft-fp/fixsfdi.c: Likewise.
2805         * soft-fp/fixsfsi.c: Likewise.
2806         * soft-fp/fixsfti.c: Likewise.
2807         * soft-fp/fixtfdi.c: Likewise.
2808         * soft-fp/fixtfsi.c: Likewise.
2809         * soft-fp/fixtfti.c: Likewise.
2810         * soft-fp/fixunsdfdi.c: Likewise.
2811         * soft-fp/fixunsdfsi.c: Likewise.
2812         * soft-fp/fixunsdfti.c: Likewise.
2813         * soft-fp/fixunssfdi.c: Likewise.
2814         * soft-fp/fixunssfsi.c: Likewise.
2815         * soft-fp/fixunssfti.c: Likewise.
2816         * soft-fp/fixunstfdi.c: Likewise.
2817         * soft-fp/fixunstfsi.c: Likewise.
2818         * soft-fp/fixunstfti.c: Likewise.
2819         * soft-fp/floatdidf.c: Likewise.
2820         * soft-fp/floatdisf.c: Likewise.
2821         * soft-fp/floatditf.c: Likewise.
2822         * soft-fp/floatsidf.c: Likewise.
2823         * soft-fp/floatsisf.c: Likewise.
2824         * soft-fp/floatsitf.c: Likewise.
2825         * soft-fp/floattidf.c: Likewise.
2826         * soft-fp/floattisf.c: Likewise.
2827         * soft-fp/floattitf.c: Likewise.
2828         * soft-fp/floatundidf.c: Likewise.
2829         * soft-fp/floatundisf.c: Likewise.
2830         * soft-fp/floatunditf.c: Likewise.
2831         * soft-fp/floatunsidf.c: Likewise.
2832         * soft-fp/floatunsisf.c: Likewise.
2833         * soft-fp/floatunsitf.c: Likewise.
2834         * soft-fp/floatuntidf.c: Likewise.
2835         * soft-fp/floatuntisf.c: Likewise.
2836         * soft-fp/floatuntitf.c: Likewise.
2837         * soft-fp/gedf2.c: Likewise.
2838         * soft-fp/gesf2.c: Likewise.
2839         * soft-fp/getf2.c: Likewise.
2840         * soft-fp/ledf2.c: Likewise.
2841         * soft-fp/lesf2.c: Likewise.
2842         * soft-fp/letf2.c: Likewise.
2843         * soft-fp/muldf3.c: Likewise.
2844         * soft-fp/mulsf3.c: Likewise.
2845         * soft-fp/multf3.c: Likewise.
2846         * soft-fp/negdf2.c: Likewise.
2847         * soft-fp/negsf2.c: Likewise.
2848         * soft-fp/negtf2.c: Likewise.
2849         * soft-fp/op-1.h: Likewise.
2850         * soft-fp/op-2.h: Likewise.
2851         * soft-fp/op-4.h: Likewise.
2852         * soft-fp/op-8.h: Likewise.
2853         * soft-fp/op-common.h: Likewise.
2854         * soft-fp/quad.h: Likewise.
2855         * soft-fp/single.h: Likewise.
2856         * soft-fp/soft-fp.h: Likewise.
2857         * soft-fp/subdf3.c: Likewise.
2858         * soft-fp/subsf3.c: Likewise.
2859         * soft-fp/subtf3.c: Likewise.
2860         * soft-fp/truncdfsf2.c: Likewise.
2861         * soft-fp/trunctfdf2.c: Likewise.
2862         * soft-fp/trunctfsf2.c: Likewise.
2863         * soft-fp/trunctfxf2.c: Likewise.
2864         * soft-fp/unorddf2.c: Likewise.
2865         * soft-fp/unordsf2.c: Likewise.
2866         * soft-fp/unordtf2.c: Likewise.
2868 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
2870         PR gcov-profile/67097
2871         * libgcov-util.c (gcov_profile_merge): Skip missing files.
2873 2016-08-10  Martin Liska  <mliska@suse.cz>
2875         PR gcov-profile/58306
2876         * Makefile.in: New functions (modules) are added.
2877         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2878         function.
2879         (__gcov_pow2_profiler_atomic): New function.
2880         (__gcov_one_value_profiler_body): New argument is instroduced.
2881         (__gcov_one_value_profiler): Call with the new argument.
2882         (__gcov_one_value_profiler_atomic): Likewise.
2883         (__gcov_indirect_call_profiler_v2): Likewise.
2884         (__gcov_time_profiler_atomic): New function.
2885         (__gcov_average_profiler_atomic): Likewise.
2886         (__gcov_ior_profiler_atomic): Likewise.
2887         * libgcov.h: Declare the aforementioned functions.
2889 2016-08-09  Martin Liska  <mliska@suse.cz>
2891         * libgcov-util.c: Fix typo and GNU coding style.
2893 2016-08-09  Martin Liska  <mliska@suse.cz>
2895         * Makefile.in: Remove __gcov_indirect_call_profiler.
2896         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2897         function.
2898         * libgcov.h: And the declaration of the function.
2900 2016-08-09  Martin Liska  <mliska@suse.cz>
2902         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2903         power of two.
2905 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2907         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2908         * config/rs6000/_mulkc3.c: Likewise.
2910 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
2912         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2913         zero_reg as previous call to __umulhisi3 already cleared it.
2915 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
2917         PR target/59833
2918         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2920 2016-07-19  Nick Clifton  <nickc@redhat.com>
2922         * config.host (m32r): Add m32r/t-m32r to tmake_file.
2923         Add crtinit.o and crtfini.o to extra_parts.
2925 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2927         * config/rs6000/_divkc3.c: New.
2928         * config/rs6000/_mulkc3.c: New.
2929         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2930         and _divkc3.
2931         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2932         fp128_ppc_funcs.
2934 2016-07-11  Hale Wang  <hale.wang@arm.com>
2935             Andre Vieira  <andre.simoesdiasvieira@arm.com>
2937         * config/arm/lib1funcs.S: Add new wrapper.
2939 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2941         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2943 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2945         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2946         and ARMv5t* rather than for a fixed list of architectures.
2948 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2950         * config/arm/bpabi-v6m.S: Clarify what architectures is the
2951         implementation suitable for.
2952         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2953         for all Thumb-1 only targets.
2954         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2955         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2956         __ARM_ARCH_6M__.
2957         (EQUIV): Likewise.
2958         (ARM_FUNC_ALIAS): Likewise.
2959         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2960         version.
2961         (modsi3): Likewise.
2962         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2963         (clzdi2): Likewise.
2964         (ctzsi2): Likewise.
2965         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2966         __ARM_ARCH_6M__ in guard for checking whether it is defined.
2967         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2968         __ARM_ARCH_6M__ and add comment to indicate the connection between
2969         this condition and the one in gcc/config/arm/elf.h.
2970         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2971         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2972         * config/arm/t-softfp: Likewise.
2974 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2976         * libgcc2.c (SYMBOL__MAIN): Remove checks for
2977         CTOR_LISTS_DEFINED_EXTERNALLY.
2979 2016-06-28  Walter Lee  <walt@tilera.com>
2981         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2982         asm/unistd.h.
2983         (SPR_CMPEXCH_VALUE): Define for tilegx.
2984         (__NR_FAST_cmpxchg): Define for tilepro.
2985         (__NR_FAST_atomic_update): Define for tilepro.
2986         (__NR_FAST_cmpxchg64): Define for tilepro.
2988 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
2990         * config.host: Add suport for arm*-*-phoenix* targets.
2992 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2994         * config.host: Remove support for mep-*.
2995         * config/mep/lib1funcs.S: Remove.
2996         * config/mep/lib2funcs.c: Remove.
2997         * config/mep/t-mep: Remove.
2998         * config/mep/tramp.c: Remove.
3000 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3002         * config.host: Remove support for avr-rtems.
3003         * config/avr/t-rtems: Remove.
3005 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3007         * config.host: Remove m32r-rtems support.
3009 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3011         * config.host: Remove h8300-rtems support.
3013 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3015         * config.host: Remove support for knetbsd.
3017 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3019         * config.host: Remove support for openbsd 2 and 3.
3021 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3023         * config.host: Remove interix support.
3024         * config/i386/t-interix: Remove.
3026 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
3028         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3029         least-significant bit in function pointer for fixup.
3031 2016-06-05  Aaron Conole  <aconole@redhat.com>
3032             Nathan Sidwell  <nathan@acm.org>
3034         PR libgcc/71400
3035         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3036         (get_gcov_error_file): Check __gcov_error_file before trying to
3037         initialize it.
3038         (gcov_error): Always use get_gcov_error_file.
3040 2016-06-02  Aaron Conole  <aconole@redhat.com>
3042         * libgcov-driver-system.c (__gcov_error_file): New.
3043         (get_gcov_error_file): New.
3044         (gcov_error): Use and set __gcov_error_file.
3045         (gcov_error_exit): New.
3046         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3048 2016-05-26  Nathan Sidwell  <nathan@acm.org>
3050         * config/nvptx/free.asm: Delete.
3051         * config/nvptx/malloc.asm: Delete.
3052         * config/nvptx/realloc.c: Delete.
3053         * t-nvptx: Update.
3055 2016-05-25  Nathan Sidwell  <nathan@acm.org>
3057         * config/nvptx/crt0.s: Delete.
3058         * config/nvptx/crt0.c: New.
3059         * t-nvptx: Update.
3061 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
3063         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3064         dw2/seh configuration.
3065         [x86_64-*-mingw*]: Likewise.
3067 2016-05-10  Joel Sherrill <joel@rtems.org>
3069         PR libgcc/70720
3070         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3071         targets so the same extra_parts are built.  Also have tmake_file add
3072         on to its value rather than override.
3074 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
3076         * config.host: Remove SH5 support.
3077         * configure: Likewise.
3079 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
3081         * config/sh/crt1.S: Remove SH5 support.
3082         * config/sh/crti.S: Likewise.
3083         * config/sh/crtn.S: Likewise.
3084         * config/sh/lib1funcs-4-300.S: Likewise.
3085         * config/sh/lib1funcs-Os-4-200.S: Likewise.
3086         * config/sh/lib1funcs.S: Likewise.
3087         * config/sh/linux-unwind.h: Likewise.
3088         * config/sh/t-sh64: Delete.
3090 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
3092         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3094 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
3095             Joern Rennecke  <joern.rennecke@embecosm.com>
3097         * config/arc/crttls.S: New file.
3098         * config/arc/t-arc: New rule.
3099         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3101 2016-04-25  Nick Clifton  <nickc@redhat.com>
3103         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3104         (__mspabi_cmpd): Likewise.
3105         * config/msp430/floathidf.c (__floathidf): Likewise.
3106         * config/msp430/floathisf.c (__floathisf): Likewise
3107         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3108         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3109         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3110         second parameter.
3111         (__ashrsi3): Likewise.
3113 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
3115         * config/m68k/linux-atomic.c: Do not include unistd.h
3117 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
3119         * config/arm/ieee754-df.S: Fix typos in comments.
3121 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
3123         PR target/70381
3124         * configure.ac (powerpc*-*-linux*): Rework tests to build
3125         __float128 emulation routines to not depend on using #pragma GCC
3126         target to enable -mfloat128.
3127         * configure: Regnerate.
3129 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
3131         PR target/67172
3132         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3133         __MINGW32__ is defined.
3135 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
3137         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3139 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
3141         PR libgcc/70363
3142         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3143         built with an assembler that does not support ISA 3.0
3144         instructions, rename __extendkftf2_sw to __extendkftf2.
3146 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3148         PR target/38239
3149         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3150         call-clobbered registers.
3151         (internal_mcount): Remove __i386__ handling.
3153 2016-02-26  Joel Sherrill <joel@rtems.org>
3155         * config.host: Add x86_64-*-rtems*.
3157 2016-02-26  Joel Sherrill <joel@rtems.org>
3159         * libgcc/config.host: Add aarch64-*-rtems*.
3161 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3162             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3164         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3165         union of u64 and double.
3166         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3167         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3168         value.
3169         (FP_ROUNDMODE): Update the usage of _fpscr.
3171 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
3173         PR driver/68463
3174         * Makefile.in (crtoffloadtable$(objext)): New rule.
3175         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3176         enable_offload_targets is not empty.
3177         * configure: Regenerate.
3178         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3179         crtoffloadtable.
3181 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
3183         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3184         .literal_position before the function.
3185         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3186         Likewise.
3188 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
3190         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3191         * config/s390/morestack.S: New file.
3192         * config/s390/t-stack-s390: New file.
3193         * generic-morestack.c (__splitstack_find): Add s390-specific code.
3195 2016-02-12  Walter Lee  <walt@tilera.com>
3197         * config.host (tilegx*-*-linux*): remove ti from
3198         softfp_int_modes for 32-bit configs.
3200 2016-02-10  Ian Lance Taylor  <iant@google.com>
3202         PR go/68562
3203         * config/i386/morestack.S (__stack_split_initialize): Align
3204         stack.
3206 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
3208         PR bootstrap/69611
3209         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3210         __FLOAT128__ to compile only for __float128 capable targets.
3212 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
3214         PR target/69444
3215         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3216         instead of ___NO_FPRS__.
3218 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
3219             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3220             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3222         * config/rs6000/float128-sed: New files to convert TF names to KF
3223         names for PowerPC IEEE 128-bit floating point support.
3224         * config/rs6000/float128-sed-hw: Likewise.
3226         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3227         floating point hardware support.
3229         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3230         128-bit floating point software emulation or use ISA 3.0 hardware
3231         support if it is available.
3233         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3234         floating point.
3236         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3237         floating point to IBM extended double.
3239         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3240         double to IEEE 128-bit floating point.
3242         * config/rs6000/t-float128: New Makefile fragments to enable
3243         building __float128 emulation support.
3244         * config/rs6000/t-float128-hw: Likewise.
3246         * config/rs6000/sfp-exceptions.c: New file to provide exception
3247         support for IEEE 128-bit floating point.
3249         * config/rs6000/floattikf.c: New files for converting between IEEE
3250         128-bit floating point and signed/unsigned 128-bit integers.
3251         * config/rs6000/fixunskfti.c: Likewise.
3252         * config/rs6000/fixkfti.c: Likewise.
3253         * config/rs6000/floatuntikf.c: Likewise.
3255         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3256         when building on 64-bit systems, or when VSX is enabled.
3257         (_FP_W_TYPE): Likewise.
3258         (_FP_WS_TYPE): Likewise.
3259         (_FP_I_TYPE): Likewise.
3260         (TItype): Define on 64-bit systems.
3261         (UTItype): Likewise.
3262         (TI_BITS): Likewise.
3263         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3264         (_FP_MUL_MEAT_Q): Likewise.
3265         (_FP_DIV_MEAT_D): Likewise.
3266         (_FP_DIV_MEAT_Q): Likewise.
3267         (_FP_NANFRAC_D): Likewise.
3268         (_FP_NANFRAC_Q): Likewise.
3269         (ISA_BIT): Add exception support if we are being compiled on a
3270         machine with hardware floating point support to build the IEEE
3271         128-bit emulation functions.
3272         (FP_EX_INVALID): Likewise.
3273         (FP_EX_OVERFLOW): Likewise.
3274         (FP_EX_UNDERFLOW): Likewise.
3275         (FP_EX_DIVZERO): Likewise.
3276         (FP_EX_INEXACT): Likewise.
3277         (FP_EX_ALL): Likewise.
3278         (__sfp_handle_exceptions): Likewise.
3279         (FP_HANDLE_EXCEPTIONS): Likewise.
3280         (FP_RND_NEAREST): Likewise.
3281         (FP_RND_ZERO): Likewise.
3282         (FP_RND_PINF): Likewise.
3283         (FP_RND_MINF): Likewise.
3284         (FP_RND_MASK): Likewise.
3285         (_FP_DECL_EX): Likewise.
3286         (FP_INIT_ROUNDMODE): Likewise.
3287         (FP_ROUNDMODE): Likewise.
3289         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3290         VSX code, enable IEEE 128-bit floating point.  If the compiler can
3291         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3292         floating point hardware instructions and it supports declaring
3293         functions with the ifunc attribute, enable ifunc functions to
3294         switch between software and hardware support.
3295         * configure.ac (powerpc*-*-linux*): Likewise.
3296         * configure: Regenerate.
3298 2016-01-15  Nick Clifton  <nickc@redhat.com>
3300         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3301         dependency as the source file to be compiled.
3302         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3303         (lib2hw_mul_f5.o): Likewise.
3305 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3307         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3308         * libgcc/config/rs6000/fixkfti.c: Likewise.
3309         * libgcc/config/rs6000/fixunskfti.c: Likewise.
3310         * libgcc/config/rs6000/float128-hw.c: Likewise.
3311         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3312         * libgcc/config/rs6000/float128-sed: Likewise.
3313         * libgcc/config/rs6000/floattikf.c: Likewise.
3314         * libgcc/config/rs6000/floatuntikf.c: Likewise.
3315         * libgcc/config/rs6000/quad-float128.h: Likewise.
3316         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3317         * libgcc/config/rs6000/sfp-machine.h: Likewise.
3318         * libgcc/config/rs6000/t-float128: Likewise.
3319         * libgcc/config/rs6000/t-float128-hw: Likewise.
3320         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3321         * libgcc/config.host: Likewise.
3322         * libgcc/configure: Likewise.
3323         * libgcc/configure.ac: Likewise.
3325 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3326             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3327             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3329         * config/rs6000/sfp-exceptions.c: New file to provide exception
3330         support for IEEE 128-bit floating point.
3332         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3333         floating point hardware support.
3335         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3336         point conversions.
3337         * config/rs6000/fixunskfti.c: Likewise.
3338         * config/rs6000/fixkfti.c: Likewise.
3339         * config/rs6000/floatuntikf.c: Likewise.
3340         * config/rs6000/extendkftf2-sw.c: Likewise.
3341         * config/rs6000/trunctfkf2-sw.c: Likewise.
3343         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3344         128-bit floating point software emulation or use ISA 3.0 hardware
3345         support if it is available.
3347         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3348         floating point.
3350         * config/rs6000/t-float128: New Makefile fragments to enable
3351         building __float128 emulation support.
3352         * config/rs6000/t-float128-hw: Likewise.
3354         * config/rs6000/float128-sed: New file to convert TF names to KF
3355         names for PowerPC IEEE 128-bit floating point support.
3357         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3358         when building on 64-bit systems, or when VSX is enabled.
3359         (_FP_W_TYPE): Likewise.
3360         (_FP_WS_TYPE): Likewise.
3361         (_FP_I_TYPE): Likewise.
3362         (TItype): Define on 64-bit systems.
3363         (UTItype): Likewise.
3364         (TI_BITS): Likewise.
3365         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3366         (_FP_MUL_MEAT_Q): Likewise.
3367         (_FP_DIV_MEAT_D): Likewise.
3368         (_FP_DIV_MEAT_Q): Likewise.
3369         (_FP_NANFRAC_D): Likewise.
3370         (_FP_NANFRAC_Q): Likewise.
3371         (ISA_BIT): Add exception support if we are being compiled on a
3372         machine with hardware floating point support to build the IEEE
3373         128-bit emulation functions.
3374         (FP_EX_INVALID): Likewise.
3375         (FP_EX_OVERFLOW): Likewise.
3376         (FP_EX_UNDERFLOW): Likewise.
3377         (FP_EX_DIVZERO): Likewise.
3378         (FP_EX_INEXACT): Likewise.
3379         (FP_EX_ALL): Likewise.
3380         (__sfp_handle_exceptions): Likewise.
3381         (FP_HANDLE_EXCEPTIONS): Likewise.
3382         (FP_RND_NEAREST): Likewise.
3383         (FP_RND_ZERO): Likewise.
3384         (FP_RND_PINF): Likewise.
3385         (FP_RND_MINF): Likewise.
3386         (FP_RND_MASK): Likewise.
3387         (_FP_DECL_EX): Likewise.
3388         (FP_INIT_ROUNDMODE): Likewise.
3389         (FP_ROUNDMODE): Likewise.
3391         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3392         compiler can do __float128.
3393         * configure: Regenerate.
3395         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3396         VSX code, enable IEEE 128-bit floating point.
3398 2016-01-05  Olivier Hainque  <hainque@adacore.com>
3400         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3401         specificities.
3403 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
3405         Update copyright years.
3407 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
3409         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3410         soft-fp targets.
3412 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3414         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3415         instead of abort to avoid dependency on stdlib.h.
3417 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
3419         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3420         to initialize call to __dl_fixup once.
3422 2015-12-04  Nick Clifton  <nickc@redhat.com>
3424         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3425         Allow for the second argument being negative.
3426         * config.host (extra_parts): Define for MSP430.  Create separate
3427         libraries for each of the hardware multiply formats.
3428         * config/msp430/lib2hw_mul.S: Build only the multiply routines
3429         that are needed.
3430         * config/msp430/lib2mul.c: Likewise.
3431         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3432         Add rules to build hardware multiply libraries.
3433         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3434         __mspabi_divul function.
3435         (__mspabi_divllu): New stub function.
3437 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
3439         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3440         fixup values if saved GOT address doesn't match runtime address.
3441         (fixup_branch_offset): Reorder list.
3443 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3445         * Makefile.in (VTV_CFLAGS): New variable.
3446         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3447         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3448         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3449         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3450         to extra_parts if $enable_vtable_verify = yes.
3452 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3454         PR target/68059
3455         * config/arm/linux-atomic-64bit.c (__write): Rename to...
3456         (write): ...this and fix the return type.
3458 2015-11-19  DJ Delorie  <dj@redhat.com>
3460         * config/msp430/lib2hw_mul.S: Fix alignment.
3462 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
3464         * config/nvptx/reduction.c: New.
3465         * config/nvptx/t-nvptx (LIB2ADD): Add it.
3467 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
3469         * config/rs6000/on_exit.c: New file.
3470         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3471         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3473 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
3475         * config/arc/dp-hack.h: Add support for ARCHS.
3476         * config/arc/ieee-754/divdf3.S: Likewise.
3477         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3478         * config/arc/ieee-754/muldf3.S: Likewise.
3479         * config/arc/ieee-754/mulsf3.S: Likewise
3480         * config/arc/lib1funcs.S: Likewise
3481         * config/arc/gmon/dcache_linesz.S: Don't read the build register
3482         for ARCv2 cores.
3483         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3484         for ARCv2 cores.
3485         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3486         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3487         cores.
3489 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3491         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3492         value.
3493         * config/ia64/crtend.S: Likewise.
3495 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3497         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3498         __CHAR_BIT__ instead of BITS_PER_UNIT.
3499         * fixed-bit.h: Likewise.
3500         * fp-bit.h: Likewise.
3501         * libgcc2.c (__popcountSI2): Likewise.
3502         (__popcountDI2): Likewise.
3503         * libgcc2.h: Likewise.
3504         * libgcov.h: Likewise.
3506 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
3508         * config/rs6000/atexit.c: New file.
3509         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3510         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3511         * config/rs6000/cxa_finalize.c
3512         (catomic_compare_and_exchange_bool_acq): Negate return value.
3514 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3516         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3517         (processor_subtypes): Add znver1.
3518         (get_amd_cpu): Detect znver1.
3520 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
3522         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3523         Include crtfastmath.o.
3525 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
3527         PR libgcc/66883
3528         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3530 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
3532         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3533         * config/rl78/divmodsi.S: Update return register to r8.
3534         * config/rl78/divmodhi.S: Update return register to r8,r9.
3535         Branch to main_loop_done_himode to pop registers before return.
3537 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3539         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3540         (__cpu_indicator_init): Fix model selection for AMD CPUs.
3542 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
3544         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3546 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
3548         * config.host (xtensa*-*-uclinux*): New configuration.
3550 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
3552         * config/i386/cpuinfo.c (processor_features): Add
3553         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3555 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3557         * soft-fp/adddf3.c: Update from glibc.
3558         * soft-fp/addsf3.c: Likewise.
3559         * soft-fp/addtf3.c: Likewise.
3560         * soft-fp/divdf3.c: Likewise.
3561         * soft-fp/divsf3.c: Likewise.
3562         * soft-fp/divtf3.c: Likewise.
3563         * soft-fp/double.h: Likewise.
3564         * soft-fp/eqdf2.c: Likewise.
3565         * soft-fp/eqsf2.c: Likewise.
3566         * soft-fp/eqtf2.c: Likewise.
3567         * soft-fp/extenddftf2.c: Likewise.
3568         * soft-fp/extended.h: Likewise.
3569         * soft-fp/extendsfdf2.c: Likewise.
3570         * soft-fp/extendsftf2.c: Likewise.
3571         * soft-fp/extendxftf2.c: Likewise.
3572         * soft-fp/fixdfdi.c: Likewise.
3573         * soft-fp/fixdfsi.c: Likewise.
3574         * soft-fp/fixdfti.c: Likewise.
3575         * soft-fp/fixsfdi.c: Likewise.
3576         * soft-fp/fixsfsi.c: Likewise.
3577         * soft-fp/fixsfti.c: Likewise.
3578         * soft-fp/fixtfdi.c: Likewise.
3579         * soft-fp/fixtfsi.c: Likewise.
3580         * soft-fp/fixtfti.c: Likewise.
3581         * soft-fp/fixunsdfdi.c: Likewise.
3582         * soft-fp/fixunsdfsi.c: Likewise.
3583         * soft-fp/fixunsdfti.c: Likewise.
3584         * soft-fp/fixunssfdi.c: Likewise.
3585         * soft-fp/fixunssfsi.c: Likewise.
3586         * soft-fp/fixunssfti.c: Likewise.
3587         * soft-fp/fixunstfdi.c: Likewise.
3588         * soft-fp/fixunstfsi.c: Likewise.
3589         * soft-fp/fixunstfti.c: Likewise.
3590         * soft-fp/floatdidf.c: Likewise.
3591         * soft-fp/floatdisf.c: Likewise.
3592         * soft-fp/floatditf.c: Likewise.
3593         * soft-fp/floatsidf.c: Likewise.
3594         * soft-fp/floatsisf.c: Likewise.
3595         * soft-fp/floatsitf.c: Likewise.
3596         * soft-fp/floattidf.c: Likewise.
3597         * soft-fp/floattisf.c: Likewise.
3598         * soft-fp/floattitf.c: Likewise.
3599         * soft-fp/floatundidf.c: Likewise.
3600         * soft-fp/floatundisf.c: Likewise.
3601         * soft-fp/floatunditf.c: Likewise.
3602         * soft-fp/floatunsidf.c: Likewise.
3603         * soft-fp/floatunsisf.c: Likewise.
3604         * soft-fp/floatunsitf.c: Likewise.
3605         * soft-fp/floatuntidf.c: Likewise.
3606         * soft-fp/floatuntisf.c: Likewise.
3607         * soft-fp/floatuntitf.c: Likewise.
3608         * soft-fp/gedf2.c: Likewise.
3609         * soft-fp/gesf2.c: Likewise.
3610         * soft-fp/getf2.c: Likewise.
3611         * soft-fp/ledf2.c: Likewise.
3612         * soft-fp/lesf2.c: Likewise.
3613         * soft-fp/letf2.c: Likewise.
3614         * soft-fp/muldf3.c: Likewise.
3615         * soft-fp/mulsf3.c: Likewise.
3616         * soft-fp/multf3.c: Likewise.
3617         * soft-fp/negdf2.c: Likewise.
3618         * soft-fp/negsf2.c: Likewise.
3619         * soft-fp/negtf2.c: Likewise.
3620         * soft-fp/op-1.h: Likewise.
3621         * soft-fp/op-2.h: Likewise.
3622         * soft-fp/op-4.h: Likewise.
3623         * soft-fp/op-8.h: Likewise.
3624         * soft-fp/op-common.h: Likewise.
3625         * soft-fp/quad.h: Likewise.
3626         * soft-fp/single.h: Likewise.
3627         * soft-fp/soft-fp.h: Likewise.
3628         * soft-fp/subdf3.c: Likewise.
3629         * soft-fp/subsf3.c: Likewise.
3630         * soft-fp/subtf3.c: Likewise.
3631         * soft-fp/truncdfsf2.c: Likewise.
3632         * soft-fp/trunctfdf2.c: Likewise.
3633         * soft-fp/trunctfsf2.c: Likewise.
3634         * soft-fp/trunctfxf2.c: Likewise.
3635         * soft-fp/unorddf2.c: Likewise.
3636         * soft-fp/unordsf2.c: Likewise.
3637         * soft-fp/unordtf2.c: Likewise.
3639 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
3641         PR libgcc/67624
3642         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3644 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3646         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3647         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3648         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3649         messages.
3650         (internal_mcount): Likewise.
3651         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3652         crt_compile, add CRTSTUFF_T_CFLAGS_S.
3654 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3656         * configure.ac (libgcc_cv_solaris_crts): New test.
3657         * configure: Regenerate.
3658         * config.in: Regenerate.
3659         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3660         * config/gmon-sol2.c: Rename to ...
3661         * config/sol2/gmon.c: ... this.
3662         Include auto-target.h.
3663         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3664         * config/t-sol2: Rename to ...
3665         * config/sol2/t-sol2: ... this.
3666         (gmon.o): Reflect renaming.
3667         (crtp.o, crtpg.o): New rules.
3668         * config.host (*-*-solaris2*): Reflect renaming.
3669         Use system CRTs if present.
3670         Remove default CRT case.
3672 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
3674         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3675         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3676         __kernel_cmpxchg2.
3677         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3678         (__sync_val_compare_and_swap_##WIDTH): Likewise.
3679         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3680         (__sync_lock_test_and_set_##WIDTH): Likewise.
3681         (__sync_lock_release_##WIDTH): Likewise.
3682         (__sync_fetch_and_##OP##_4): Change result to match type of
3683         __kernel_cmpxchg.
3684         (__sync_##OP##_and_fetch_4): Likewise.
3685         (__sync_val_compare_and_swap_4): Likewise.
3686         (__sync_bool_compare_and_swap_4): likewise.
3687         (__sync_lock_test_and_set_4): Likewise.
3688         (__sync_lock_release_4): Likewise.
3689         (FETCH_AND_OP_2): Add long long variants.
3690         (OP_AND_FETCH_2): Likewise.
3691         (COMPARE_AND_SWAP_2 ): Likewise.
3692         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3693         (SYNC_LOCK_RELEASE_2): Likewise.
3694         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3696 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
3698         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3699         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3700         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3701         (get_available_features): Habdle new features.
3703 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
3705         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3706         memory layout. Deal correctly with BSS region larger than 32K.
3707         Handle a watchdog reset like a power-on reset. Clean up unused
3708         code.
3710 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
3711             David Edelsohn  <dje.gcc@gmail.com>
3713         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3714         * config/rs6000/crtdbase.S: New file.
3715         * config/rs6000/t-aix-cxa: Build crtdbase.o.
3717 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
3719         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3720         Add support for call0 ABI.
3722 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
3724         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3726 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3728         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3729         (__GTHREAD_HAS_COND): Likewise.
3730         (__gthread_t): Likewise.
3731         (__gthread_cond_t): Likewise.
3732         (__gthread_time_t): Likewise.
3733         (__GTHREAD_MUTEX_INIT): Likewise.
3734         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3735         (__GTHREAD_COND_INIT): Likewise.
3736         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3737         (__GTHREAD_TIME_INIT): Likewise.
3738         (__gthread_create): Likewise.
3739         (__gthread_join): Likewise.
3740         (__gthread_detach): Likewise.
3741         (__gthread_equal): Likewise.
3742         (__gthread_self): Likewise.
3743         (__gthread_yield): Likewise.
3744         (__gthread_cond_broadcast): Likewise.
3745         (__gthread_cond_signal): Likewise.
3746         (__gthread_cond_wait): Likewise.
3747         (__gthread_cond_timedwait): Likewise.
3748         (__gthread_cond_wait_recursive): Likewise.
3749         (__gthread_cond_destroy): Likewise.
3750         (rtems_gxx_once): Delete.
3751         (rtems_gxx_key_create): Likewise.
3752         (rtems_gxx_key_delete): Likewise.
3753         (rtems_gxx_getspecific): Likewise.
3754         (rtems_gxx_setspecific): Likewise.
3755         (rtems_gxx_mutex_init): Likewise.
3756         (rtems_gxx_mutex_destroy): Likewise.
3757         (rtems_gxx_mutex_lock): Likewise.
3758         (rtems_gxx_mutex_trylock): Likewise.
3759         (rtems_gxx_mutex_unlock): Likewise.
3760         (rtems_gxx_recursive_mutex_init): Likewise.
3761         (rtems_gxx_recursive_mutex_lock): Likewise.
3762         (rtems_gxx_recursive_mutex_trylock): Likewise.
3763         (rtems_gxx_recursive_mutex_unlock): Likewise.
3764         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3765         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3766         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3767         (__gthread_once): Likewise.
3768         (__gthread_key_create): Likewise.
3769         (__gthread_key_delete): Likewise.
3770         (__gthread_getspecific): Likewise.
3771         (__gthread_setspecific): Likewise.
3772         (__gthread_key_t): Use <pthread.h> type.
3773         (__gthread_once_t): Likewise
3774         (__gthread_mutex_t): Use <sys/lock.h> type.
3775         (__gthread_recursive_mutex_t): Likewise
3776         (__gthread_mutex_lock): Use <sys/lock.h> function.
3777         (__gthread_mutex_trylock): Likewise.
3778         (__gthread_mutex_timedlock): Likewise.
3779         (__gthread_mutex_unlock): Likewise.
3780         (__gthread_mutex_destroy): Likewise.
3781         (__gthread_recursive_mutex_lock): Likewise.
3782         (__gthread_recursive_mutex_trylock): Likewise.
3783         (__gthread_recursive_mutex_timedlock): Likewise.
3784         (__gthread_recursive_mutex_unlock): Likewise.
3785         (__gthread_recursive_mutex_destroy): Likewise.
3787 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3789         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3790         context->sp instead of context->cfa.
3792 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3794         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3795         with unwind-dw2-fde-dip.
3797 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3799         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3800         CALL12 followed by series of ENTRY to spill windowed registers.
3801         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3802         instead of making linux spill syscall.
3804 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
3806         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3807         (get_intel_cpu): Likewise.
3809 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3811         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3812         (get_intel_cpu): Add Knights Landing support.
3814 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
3816         PR target/66954
3817         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3818         (get_available_features): Handle FEATURE_PCLMUL.
3820 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
3822         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3823         Broadwell.
3825 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
3827         PR target/66954
3828         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3829         (get_available_features): Handle FEATURE_AES.
3831 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
3833         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3834         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3836 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
3838         * offloadstuff.c: Constify host data.
3840 2015-07-17  Jan Beulich  <jbeulich@suse.com>
3842         * config/t-softfp: Split up "else ifneq".
3844 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
3845             Cesar Philippidis  <cesar@codesourcery.com>
3846             Chung-Lin Tang  <cltang@codesourcery.com>
3848         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3849         for __nios2_arch__ level.
3851 2015-07-13  John Marino  <gnugcc@marino.st>
3853         * config/i386/t-dragonfly: New.
3855 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
3857         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3858         better match light-weight syscall argument order.
3859         (__kernel_cmpxchg2): Likewise.
3860         Adjust callers.
3862 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3864         * config.host: Support i[34567]86-*-elfiamcu target.
3865         * config/t-softfp-sfdftf: New file.
3866         * config/i386/32/t-iamcu: Likewise.
3867         * configure: Regenerated.
3869 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
3871         libgcc/config/arm/
3872         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3874 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3876         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3878 2015-05-27  John Marino  <gnugcc@marino.st>
3880         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3881         md_unwind_header
3882         * config/i386/freebsd-unwind.h: New.
3884 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
3886         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3887         i386/t-crtfm to tmake_file.
3888         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3889         (set_fast_math): Use set_fast_math_sse for SSE targets.
3890         * config/i386/t-crtfm: Remove.
3892 2015-05-21  Alan Modra  <amodra@gmail.com>
3894         PR libgcc/66225
3895         * config/rs6000/morestack.S: Remove ".abiversion 1".
3897 2015-05-20  Alan Modra  <amodra@gmail.com>
3899         * config/rs6000/morestack.S: New.
3900         * config/rs6000/t-stack-rs6000: New.
3901         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3902         to tmake_file.
3903         * generic-morestack.c: Don't build for powerpc 32-bit.
3905 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
3907         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3908         Remove useless endif/ifneq ($(enable_shared),yes) pair.
3910 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
3912         * config.host: FT32 target added.
3913         * config/ft32/*: New files for FT32 target.
3915 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
3917         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3918         New macros.
3919         * config/arm/ieee754-df.S: Add CFI directives.
3920         * config/arm/ieee754-sf.S: Add CFI directives.
3922 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
3924         * configure.ac: Include config/sjlj.m4.
3925         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3926         * config.in: Regenerate.
3927         * configure: Likewise.
3928         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3930 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
3932         * libgcov-util.c: Add space between string literal and macro name.
3934 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
3935             Chris Jones  <chrisj@nvidia.com>
3936             Joshua Conner  <jconner@nvidia.com>
3938         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3939         (arm*-*-uclinux*): Likewise.
3940         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3941         * config/arm/crtfastmath.c: New file.
3943 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
3945         * Makefile.in (real_host_noncanonical): New variable.
3946         (libsubdir): Use it.
3947         * configure.ac (real_host_noncanonical): Compute.  Remove special
3948         case for intelmicemul.
3949         * configure: Regenerate.
3951 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3953         * config/frv/elf-lib.h: New file.
3954         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3955         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3956         to tm_file.
3958 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3960         * config/frv/frvbengin.c: Do not include defaults.h
3961         * config/frv/frvend.c: Ditto.
3963 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
3965         * config.host: Add h8300-*-linux
3966         * config/h8300/t-linux: New file.
3967         * config/h8300/lib1funs.s: Change symbol prefix.
3968         * config/h8300/sfp-machine.h: 64bit double support.
3970 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
3971             Szabolcs Nagy  <szabolcs.nagy@arm.com>
3973         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3974         Linux if target provides dl_iterate_phdr.
3976 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
3978         PR target/65612
3979         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3980         * config/i386/cpuinfo.c (__cpu_model): Initialize.
3981         (__cpu_indicator_init@GCC_4.8.0): New.
3982         (__cpu_model@GCC_4.8.0): Likewise.
3983         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3984         -DUSE_ELF_SYMVER.
3986 2015-04-16  Nick Clifton  <nickc@redhat.com>
3988         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3989         and __modhi3 functions.
3990         * config/rl78/divmodso.S: Add G14 and G13 versions of the
3991         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3993 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
3995         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3996         do-while loop as macro body to avoid warnings.
3998 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
3999             Iain Sandoe  <iain@codesourcery.com>
4001         PR target/65351
4002         * configure: Regenerate.
4004 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
4005             Iain Sandoe  <iain@codesourcery.com>
4007         PR target/65351
4008         * configure: Regenerate.
4010 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
4012         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4014 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
4016         Implement call0 ABI for xtensa
4017         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4018         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4019         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4020         use ret in call0 ABI.
4021         * config/xtensa/t-windowed: New file.
4022         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4023         * libgcc/configure: Regenerated.
4024         * libgcc/configure.ac: Check if xtensa target is configured for
4025         windowed ABI and thus needs to use custom unwind code.
4027 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
4029         PR libgcc/64885
4030         * gthr-single.h: Use __unused__ attribute instead of unused.
4031         * config/gthr-vxworks.h: Likewise.
4032         * config/i386/gthr-win32.h: Likewise.
4034 2015-02-27  Kai Tietz  <ktietz@redhat.com>
4036         PR target/65038
4037         * config.in: Regenerated.
4038         * configure: Likewise.
4039         * configure.ac (AC_HEADER_STDC): Added explicit.
4040         (AC_CHECK_HEADERS): Check for default headers  plus
4041         for ftw.h header.
4042         * libgcov-util.c (gcov_read_profile_dir): Disable use
4043         of ftw-function, if header is not found.
4044         (ftw_read_file): Likewise.
4046 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
4048         PR target/65181
4049         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4050         -Dinhibit_libc.
4052 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
4054         * config/arm/bpabi.S (test_div_by_zero): Make label names
4055         consistent between thumb2 and arm mode cases.  Separate the
4056         signed comparison on the high word of the numerator from the
4057         unsigned comparison on the low word.
4058         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4059         signed comparison.
4061 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4063         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4064         and <string.h>.
4065         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4067 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
4069         PR gcov-profile/61889
4070         * libgcov-driver-system.c: undefine clashing macro for mkdir.
4072 2015-02-02  Nick Clifton  <nickc@redhat.com>
4074         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4075         rounding up the fraction.
4077 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
4079         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4080         oldval and newval to const void *.  Fix typo.
4081         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4082         (FETCH_AND_OP_WORD): Likewise.
4083         (OP_AND_FETCH_WORD): Likewise.
4084         (COMPARE_AND_SWAP_2): Likewise.
4085         (__sync_val_compare_and_swap_4): Likewise.
4086         (__sync_lock_test_and_set_4): Likewise.
4087         (SYNC_LOCK_RELEASE_2): Likewise.
4088         Remove support for long long atomic operations.
4090 2015-01-27  Caroline Tice  <cmtice@google.com>
4092         Committing VTV Cywin/Ming patch for Patrick Wollgast
4093         * Makefile.in: Move rules to build vtv_*.o out of the check
4094         for CUSTOM_CRTSTUFF.
4095         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4096         i[34567]86-*-mingw*)
4097          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4098         enable_vtable_verify.
4100 2015-01-27  Nick Clifton  <nickc@redhat.com>
4102         * config/rl78/cmpsi2.S: Use function start and end macros.
4103         (__gcc_bcmp): New function.
4104         * config/rl78/lshrsi3.S: Use function start and end macros.
4105         * config/rl78/mulsi3.S: Add support for G10.
4106         (__mulqi3): New function for G10.
4107         * config/rl78/signbit.S: Use function start and end macros.
4108         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4109         fpmath-sf.S.
4110         (LIB2FUNCS_EXCLUDE): Define.
4111         (LIB2FUNCS_ST): Define.
4112         * config/rl78/trampoline.S: Use function start and end macros.
4113         * config/rl78/vregs.h (START_FUNC): New macro.
4114         (START_ANOTHER_FUNC): New macro.
4115         (END_FUNC): New macro.
4116         (END_ANOTHER_FUNC): New macro.
4117         * config/rl78/bit-count.S: New file.  Contains assembler
4118         implementations of the bit counting functions: ___clzhi2,
4119         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4120         __paritysi2, __popcounthi2 and __popcountsi2.
4121         * config/rl78/fpbit-sf.S: New file.  Contains assembler
4122         implementationas of the math functions: __negsf2, __cmpsf2,
4123         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4124         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
4125         * config/rl78/fpmath-sf.S: New file.  Contains assembler
4126         implementations of the math functions: __subsf3, __addsf3,
4127         __mulsf3 and __divsf3
4129 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4131         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4132         Add i386/elf-lib.h to tm_file.
4133         * config/i386/elf-lib.h: Fix comment.
4134         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4135         && __sun__ && __svr4__]: Remove workaround.
4137 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4139         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4140         FEATURE_BMI2.
4141         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4143 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
4145         * config/i386/cpuinfo.c (processor_subtypes): Add
4146         INTEL_COREI7_BROADWELL.
4147         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4148         model numbers.
4150 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
4152         * config/i386/elf-lib.h: New file.
4153         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4154         Wrap definition in #ifdef __i386__.
4155         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4156         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4157         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4158         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4159         to tm_file.
4161 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
4163         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4164         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4166 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
4168         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4169         Update rt_sigframe format and address for current Nios II
4170         Linux conventions.
4172 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4174         * config.host (arm*-*-freebsd*): Add new configuration for
4175         arm*-*-freebsd*.
4176         * config/arm/freebsd-atomic.c: New file.
4177         * config/arm/t-freebsd: Likewise.
4178         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4179         'PC-relative indirect' OS's.
4181 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
4183         * config.host: Add Visium support.
4184         * config/visium: New directory.
4186 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
4188         Update copyright years.
4190 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
4192         * config.host: Support mipsisa32r6 and mipsisa64r6.
4193         * config/mips/mips16.S: Do not build for R6.
4195 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
4197         * config/sh/crt.h: New.
4198         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4199         symbols.
4200         * config/sh/crt1.S: Likewise.
4202 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
4204         PR libgcc/63832
4205         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4206         func_ptr *dtor_list temporary variable to avoid "array subscript
4207         is above array bounds" warnings.
4209 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
4211         * Makefile.in (with_aix_soname): Define.
4212         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4213         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4214         * configure: Recreate.
4216 2014-12-05  Olivier Hainque  <hainque@adacore.com>
4218         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4219         now provided by defaults.h.
4221 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
4223         PR target/55351
4224         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4225         whether it's defined.
4227 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
4229         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4230         * config/i386/cpuinfo.c (get_available_features): Detect it.
4232 2014-11-27  Tony Wang  <tony.wang@arm.com>
4234         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4235         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4236         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4238 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
4240         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4242 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
4244         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4245         instead.
4247 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4248             John David Anglin  <danglin@gcc.gnu.org>
4250         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4251         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
4252         (OP_AND_FETCH_2): Likewise.
4253         (COMPARE_AND_SWAP_2): Likewise.
4254         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4255         (SYNC_LOCK_RELEASE_2): Likewise.
4256         (SUBWORD_SYNC_OP): Remove.
4257         (SUBWORD_VAL_CAS): Likewise.
4258         (SUBWORD_BOOL_CAS): Likewise.
4259         (FETCH_AND_OP_WORD): Update.
4260         Consistently use signed types.
4262 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
4263             Thomas Schwinge  <thomas@codesourcery.com>
4264             Ilya Verbin  <ilya.verbin@intel.com>
4265             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4267         * Makefile.in (crtoffloadbegin$(objext)): New rule.
4268         (crtoffloadend$(objext)): Likewise.
4269         * configure: Regenerate.
4270         * configure.ac (accel_dir_suffix): Compute new variable.
4271         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4272         if enable_offload_targets is not empty.
4273         * offloadstuff.c: New file.
4275 2014-11-13  Nick Clifton  <nickc@redhat.com>
4277         * config/rl78/divmodhi.S: Add support for the G10 architecture.
4278         Use START_FUNC and END_FUNC macros to enable linker garbage
4279         collection.
4280         * config/rl78/divmodqi.S: Likewise.
4281         * config/rl78/divmodsi.S: Likewise.
4282         * config/rl78/mulsi3.S: Likewise.
4283         * config/rl78/lib2div.c: Remove G10 functions.
4284         * config/rl78/lib2muls.c: Likewise.
4285         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4286         * config/rl78/vregs.h (START_FUNC): New macro.
4287         (END_FUNC): New macro.
4289 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
4291         * config/mips/mips16.S: Set .module when supported.  Update O32
4292         FP64 calling convention and use for FPXX when possible.  Add FPXX
4293         calling convention fallback case.
4295 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
4297         * config.host: Handle nvptx-*-*.
4298         * shared-object.mk (as-flags-$o): Define.
4299         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4300         -xassembler-with-cpp.
4301         * static-object.mk: Identical changes.
4302         * config/nvptx/t-nvptx: New file.
4303         * config/nvptx/crt0.s: New file.
4304         * config/nvptx/free.asm: New file.
4305         * config/nvptx/malloc.asm: New file.
4306         * config/nvptx/realloc.c: New file.
4308 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4310         * Makefile.in (libgcc.map.in): New target.
4311         (libgcc.map): Use libgcc.map.in.
4312         * config/t-softfp (softfp_compat): New variable to be set by
4313         users.
4314         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4315         variables.
4316         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4317         directory.
4318         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4319         that use compat symbols and disable all code unless [SHARED].
4320         * config/t-softfp-compat: New file.
4321         * find-symver.awk: New file.
4322         * configure.ac (--with-glibc-version): New configure option.
4323         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4324         * configure: Regenerate.
4325         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4326         soft-float and e500.
4328 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
4330         * config/t-hardfp (hardfp_exclusions): Document new variable for
4331         user to define.
4332         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4333         * config/t-softfp (softfp_extras): Document new variable for user
4334         to define.
4335         (softfp_func_list): Add functions from $(softfp_extras).
4336         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4337         * config.host (powerpc*-*-linux*): For e500v1, use
4338         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4339         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4340         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4342 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
4344         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4345         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4346         memory read accesses are ok.
4348 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
4350         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4351         * configure: Regenerate.
4352         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4353         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
4354         of soft-fp for 32-bit classic hard float.  Do not use
4355         t-softfp-excl for soft float.
4357 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
4359         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4360         configurations.
4361         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4362         Remove variables.
4364 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
4366         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4367         introduced with 2014-10-21 trunk r216525.
4369 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
4370             Vidya Praveen  <vidya.praveen@atmel.com>
4371             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
4372             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
4373             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
4375         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4376         order.
4378         Updated library functions for AVRTINY arch.
4379         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4380         Replaced occurrences of r0/r1 with tmp/zero reg macros.
4381         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4382         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4383         wsubi/wadi macors.
4384         (__mulsi3_helper): Update stack, preserve callee saved regs and
4385         argument from stack. Restore callee save registers.
4386         (__mulpsi3): Likewise.
4387         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4388         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4389         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4390         AVRTINY.
4391         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4392         (__do_copy_data): Added new definition for AVRTINY.
4393         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4394         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4395         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4396         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4397         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4398         macors.
4399         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4400         AVRTINY.
4402         Fix broken long multiplication on tiny arch.
4404 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4406         * soft-fp/double.h: Update from glibc.
4407         * soft-fp/eqdf2.c: Likewise.
4408         * soft-fp/eqsf2.c: Likewise.
4409         * soft-fp/eqtf2.c: Likewise.
4410         * soft-fp/extenddftf2.c: Likewise.
4411         * soft-fp/extended.h: Likewise.
4412         * soft-fp/extendsfdf2.c: Likewise.
4413         * soft-fp/extendsftf2.c: Likewise.
4414         * soft-fp/extendxftf2.c: Likewise.
4415         * soft-fp/gedf2.c: Likewise.
4416         * soft-fp/gesf2.c: Likewise.
4417         * soft-fp/getf2.c: Likewise.
4418         * soft-fp/ledf2.c: Likewise.
4419         * soft-fp/lesf2.c: Likewise.
4420         * soft-fp/letf2.c: Likewise.
4421         * soft-fp/op-1.h: Likewise.
4422         * soft-fp/op-2.h: Likewise.
4423         * soft-fp/op-4.h: Likewise.
4424         * soft-fp/op-8.h: Likewise.
4425         * soft-fp/op-common.h: Likewise.
4426         * soft-fp/quad.h: Likewise.
4427         * soft-fp/single.h: Likewise.
4428         * soft-fp/soft-fp.h: Likewise.
4429         * soft-fp/unorddf2.c: Likewise.
4430         * soft-fp/unordsf2.c: Likewise.
4431         * soft-fp/unordtf2.c: Likewise.
4432         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4433         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4434         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4435         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4436         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4437         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4438         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4439         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4440         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4441         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4443 2014-10-08  Rong Xu  <xur@google.com>
4445         * libgcov-util.c (read_gcda_file): Fix format.
4446         (find_match_gcov_info): Ditto.
4447         (calculate_2_entries): New.
4448         (compute_one_gcov): Ditto.
4449         (gcov_info_count_all_cold): Ditto.
4450         (gcov_info_count_all_zero): Ditto.
4451         (extract_file_basename): Ditto.
4452         (get_file_basename): Ditto.
4453         (set_flag): Ditto.
4454         (matched_gcov_info): Ditto.
4455         (calculate_overlap): Ditto.
4456         (gcov_profile_overlap): Ditto.
4457         * libgcov-driver.c (compute_summary): Make
4458         it avavilable for external calls.
4460 2014-10-06  Rong Xu  <xur@google.com>
4462         * Makefile.in: Ditto.
4463         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4464         (gcov_sort_icall_topn_counter): Ditto.
4465         (gcov_sort_topn_counter_arrays): Ditto.
4466         (dump_one_gcov): Sort indirect_call topn counters.
4467         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4468         function.
4469         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4470         utility function.
4471         (__gcov_indirect_call_topn_profiler): New profiler function.
4472         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4473         * libgcov.h: New decls.
4475 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
4477         * config.host: Remove support for score-*.
4479 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4481         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4482         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4483         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4484         __LIBGCC_XF_MANT_DIG__.
4485         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4486         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4487         __LIBGCC_TF_MANT_DIG__.
4488         * libgcc2.c (NOTRUNC): Define in terms of
4489         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4490         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4492 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4494         PR target/63312
4495         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4496         New macros.
4498 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
4500         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4501         override USE_PT_GNU_EH_FRAME.
4502         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4503         check USE_EH_FRAME_REGISTRY_ALWAYS against
4504         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4505         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4506         variable for substituted force_explicit_eh_registry.
4507         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4508         * configure.ac (explicit-exception-frame-registration):
4509         New AC_ARG_ENABLE.
4510         * configure: Regenerate.
4512 2014-09-19  Olivier Hainque  <hainque@adacore.com>
4514         * config.host (powerpc-wrs-vxworksmils): New configuration,
4515         same as vxworksae.
4517 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4519         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4521 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4523         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4524         bits not set bits as indicating trapping exceptions.
4526 2014-09-17  Nathan sidwell  <nathan@acm.org>
4528         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4529         (LIBGCOV_DRIVER): ... here.
4530         * libgcov-driver.c (gcov_master): New.
4531         (gcov_exit): Remove from master chain.
4532         (__gcov_init): Add to master chain if version compatible.  Don't
4533         clear the version.
4534         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4535         (gcov_reset_int): Clear master chain, if compatible.
4536         (gcov_dump_int): New internal interface.  Dump master chain, if
4537         compatible.
4538         (gcov_dump): Alias for gcov_dump_int.
4539         * libgcov.h (struct gcov_root): Add next and prev fields.
4540         (struct gcov_master): New struct.
4541         (__gcov_master): New.
4542         (gcov_dump_int): Declare.
4544 2014-09-17  Olivier Hainque  <hainque@adacore.com>
4546         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4547         and crtbegin.o + crtend.o to extra_parts.
4549 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4551         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4552         __LIBGCC_HAS_SF_MODE__.
4553         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4554         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4555         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4556         * config/libbid/bid_gcc_intrinsics.h
4557         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4558         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4559         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4560         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4561         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4562         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4564 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
4566         PR target/63223
4567         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4568         and R24 as needed.  Make work for all devices and .text locations.
4569         (__do_global_ctors, __do_global_dtors): Use word addresses.
4570         (__tablejump__, __tablejump_elpm__): Remove functions.
4571         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4572         Add _tablejump2.
4573         (XICALL, XIJMP): New macros.
4575 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4576         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4578         * config.host (aarch64*): Include crtfastmath.o and
4579         t-crtfm.
4580         * config/aarch64/crtfastmath.c: New file.
4582 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
4584         * config.host: Remove picochip support.
4585         * config/picochip/adddi3.S: Remove.
4586         * config/picochip/ashlsi3.S: Remove.
4587         * config/picochip/ashlsi3.c: Remove.
4588         * config/picochip/ashrsi3.S: Remove.
4589         * config/picochip/ashrsi3.c: Remove.
4590         * config/picochip/clzsi2.S: Remove.
4591         * config/picochip/cmpsi2.S: Remove.
4592         * config/picochip/divmod15.S: Remove.
4593         * config/picochip/divmodhi4.S: Remove.
4594         * config/picochip/divmodsi4.S: Remove.
4595         * config/picochip/lib1funcs.S: Remove.
4596         * config/picochip/longjmp.S: Remove.
4597         * config/picochip/lshrsi3.S: Remove.
4598         * config/picochip/lshrsi3.c: Remove.
4599         * config/picochip/parityhi2.S: Remove.
4600         * config/picochip/popcounthi2.S: Remove.
4601         * config/picochip/setjmp.S: Remove.
4602         * config/picochip/subdi3.S: Remove.
4603         * config/picochip/t-picochip: Remove.
4604         * config/picochip/ucmpsi2.S: Remove.
4605         * config/picochip/udivmodhi4.S: Remove.
4606         * config/picochip/udivmodsi4.S: Remove.
4608 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4610         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4611         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4612         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4613         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4614         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
4615         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4616         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
4617         defined and LIBGCC2_HAS_DF_MODE is defined.
4618         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
4619         defined and LIBGCC2_HAS_XF_MODE is defined.
4620         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
4621         defined and LIBGCC2_HAS_TF_MODE is defined.
4623 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4625         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4626         and ROUND_TOWARDS_ZERO conditionals.
4628 2014-09-07  Nathan sidwell  <nathan@acm.org>
4630         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4631         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
4633 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
4635         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4636         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4637         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4638         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4639         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4640         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4641         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4642         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4643         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4644         (DWARF_FRAME_REGISTERS): Change all uses to
4645         __LIBGCC_DWARF_FRAME_REGISTERS__.
4646         (EH_RETURN_STACKADJ_RTX): Change all uses to
4647         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4648         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4649         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
4650         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4651         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4652         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4653         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4654         to __LIBGCC_EH_FRAME_SECTION_NAME__.
4655         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4656         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4657         __LIBGCC_STACK_POINTER_REGNUM__.
4658         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4659         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4660         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4661         to __LIBGCC_STACK_POINTER_REGNUM__.
4662         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4663         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4664         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4665         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4666         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4667         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4668         (STACK_POINTER_REGNUM): Change all uses to
4669         __LIBGCC_STACK_POINTER_REGNUM__.
4670         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4671         use to __LIBGCC_STACK_POINTER_REGNUM__.
4672         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4673         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4674         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4675         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4676         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4677         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4678         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4679         to __LIBGCC_STACK_POINTER_REGNUM__.
4680         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4681         Remove conditional definition.
4682         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4683         __LIBGCC_TEXT_SECTION_ASM_OP__.
4684         (EH_FRAME_SECTION_NAME): Change all uses to
4685         __LIBGCC_EH_FRAME_SECTION_NAME__.
4686         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4687         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4688         (CTORS_SECTION_ASM_OP): Change all uses to
4689         __LIBGCC_CTORS_SECTION_ASM_OP__.
4690         (DTORS_SECTION_ASM_OP): Change all uses to
4691         __LIBGCC_DTORS_SECTION_ASM_OP__.
4692         (JCR_SECTION_NAME): Change all uses to
4693         __LIBGCC_JCR_SECTION_NAME__.
4694         (INIT_SECTION_ASM_OP): Change all uses to
4695         __LIBGCC_INIT_SECTION_ASM_OP__.
4696         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4697         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4698         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4699         __LIBGCC_STACK_GROWS_DOWNWARD__.
4700         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4701         __LIBGCC_INIT_SECTION_ASM_OP__.
4702         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4703         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4704         (EH_FRAME_SECTION_NAME): Change all uses to
4705         __LIBGCC_EH_FRAME_SECTION_NAME__.
4706         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4707         definitions.  Change all uses to
4708         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4709         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4710         __LIBGCC_STACK_GROWS_DOWNWARD__.
4711         (DWARF_FRAME_REGISTERS): Change all uses to
4712         __LIBGCC_DWARF_FRAME_REGISTERS__.
4713         (EH_RETURN_STACKADJ_RTX): Change all uses to
4714         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4715         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4716         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4717         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4718         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4719         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4721 2014-09-02  Nathan sidwell  <nathan@acm.org>
4723         * libgcov-interface.c (STRONG_ALIAS): New.
4724         (__gcov_flush): Call __gcov_reset_int.
4725         (__gcov_reset): Strong alias for ...
4726         (__gcov_reset_ing): ... this renamed hidden version.
4727         * libgcov.h (__gcov_reset_int): New declaration.
4729 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
4731         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4732         call from here...
4733         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4734         (__dso_handle): Define on Cygwin.
4735         * config/i386/t-cygming (crtbeginS.o): New rule.
4736         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4738         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4739         declaration syntax.
4741 2014-08-13  Steve Ellcey  <sellcey@mips.com>
4743         * crtstuff.c: Undef caddr_t.
4745 2014-08-12  Steve Ellcey  <sellcey@mips.com>
4747         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
4749 2014-08-07  Nathan Sidwell  <nathan@acm.org>
4751         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4752         (LIBGCOV_DRIVER): ... to here.
4753         * libgcov.h (gcov_do_dump): New #define.
4754         (struct gcov_root): New.
4755         (__gcov_root): New declaration.
4756         (__gcov_dump_one): Declare.
4757         * libgcov-driver.c (gcov_list, gcov_dump_complete,
4758         run_accounted): Delete.
4759         (gcov_compute_histogram): Add LIST argument, adjust.
4760         (compute_summary): Adjust gcov_compute_histogram call.
4761         (gcov_do_dump): Not hidden, static in libgcov.
4762         (gcov_clear): Move  to interface.c.
4763         (__gcov_dump_one): New, broken out of ...
4764         (gcov_exit): ... here.  Make static.
4765         (__gcov_root): New.
4766         (__gcov_init): Adjust.
4767         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4768         declarations.
4769         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4770         (gcov_clear): Moved from driver.c.   Add LIST argument.
4771         (__gcov_reset): Adjust for changed interfaces.
4772         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4774 2014-08-04  Rohit  <rohitarulraj@freescale.com>
4776         PR target/60102
4777         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4778         based on change in SPE high register numbers and 3 HTM registers.
4780 2014-08-01  Nathan Sidwell  <nathan@acm.org>
4782         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4783         LIBGCOV_INTERFACE): Reformat.
4784         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4785         IN_GCOV_TOOL.
4786         * libgcov-interface.c: Reformat some comments.
4787         (__gcov_flush_mx): Add declaration.  Tidy up definition.
4789 2014-07-31  Alan Modra  <amodra@gmail.com>
4790             Peter Bergner  <bergner@vnet.ibm.com>
4792         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4793         (pack_ldouble): New function.
4794         (__gcc_qadd): Use it.
4795         (__gcc_qmul): Likewise.
4796         (__gcc_qdiv): Likewise.
4797         (__gcc_qneg): Likewise.
4798         (__gcc_stoq): Likewise.
4799         (__gcc_dtoq): Likewise.
4801 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
4803         * config/s390/tpf-unwind.h: Include <stdbool.h>.
4804         (__tpf_eh_return): Add original return address as second parameter.
4805         Handle cases where unwinder routines were called directly, instead
4806         of from within the C++ library.
4808 2014-07-29  Nathan Sidwell  <nathan@acm.org>
4810         * libgcov.h: Move renaming of entry points to lib gcov specific
4811         portion.
4812         (gcov_do_dump): New rename.
4813         (gcov_rewrite): Remove inline, make HIDDEN.
4814         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4815         (gcov_exit_compute_summary): Rename to ...
4816         (compute_summary): ... here.  Add LIST argument.
4817         (gcov_exit_merge_gcda): Rename to ...
4818         (merge_one_data): ... here.
4819         (gcov_exit_write_gcda): Rename to ...
4820         (write_one_data): ... here.
4821         (gcov_exit_merge_summary): Rename to ...
4822         (merge_summary): Add RUN_COUNTED argument.
4823         (gcov_exit_dump_gcov): Rename to ...
4824         (dump_one_gcov): Add RUN_COUNTED argument.
4825         (gcov_do_dump): New function, broken out of ...
4826         (gcov_exit): ... here.  Call it.
4828 2014-07-27  Anthony Green  <green@moxielogic.com>
4830         * config.host: Add moxiebox configuration suppport.
4832 2014-07-27  Nathan Sidwell  <nathan@acm.org>
4834         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4835         (struct gcov_filename): ... here.  Include buffer and max length
4836         fields.
4837         (gcov_max_filename): Remove.
4838         (gi_filename): Remove.
4839         (gcov_exit_compute_summary): Compute max filename here.
4840         (gcov_exit_merge_gcda): Add filename parm, adjust.
4841         (gcov_exit_merge_summary): Likewise.
4842         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4843         (gcov_exit): Likewise.
4844         (__gcov_init): Don't calculate max length here.
4845         * libgcov_util.c (max_filename_len): Remove.
4846         (read_gcda_file): Don't calculate max length here.
4847         (gcov_read_profile_dir): Don't propagate here.
4848         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4849         struct gcov_filename changes.
4850         (gcov_exit_open_gcda_file): Likewise.
4852 2014-07-25  Nathan Sidwell  <nathan@acm.org>
4854         * libgcov-driver.c (set_gcov_dump_complete,
4855         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4856         functions polluting user's namespace.
4857         (gcov_exit): Set variable directly.
4858         (gcov_clear): Reset variable directly.
4859         * libgcov-interface.c (get_gcov_dymp_complete,
4860         reset_gov_dump_complete): Remove declarations.
4861         (__gcov_reset, __gcov_dump): Don't call them.
4863 2014-07-24  DJ Delorie  <dj@redhat.com>
4865         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4866         (__gcc_deregister_frame): Move logic to detect deregister function
4867         to ...
4868         (__gcc_register_frame): here, so it's consistent with the register
4869         logic.
4871 2014-07-23  Nathan Sidwell  <nathan@acm.org>
4873         * libgcov-driver.c (set_gcov_list): Remove.
4874         (gcov_list): Make non-static in GCOV_TOOL.
4875         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4877 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
4879         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4880         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4881         Don't use SYNC_LOCK_RELEASE for int type.
4883 2014-07-14  Richard Biener  <rguenther@suse.de>
4885         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4887 2014-07-11  Rong Xu  <xur@google.com>
4889         * libgcov-util.c (gcov_max_filename): Fix declartion.
4891 2014-07-10  Rong Xu  <xur@google.com>
4893         Add gcov-tool: an offline gcda profile processing tool
4894         Support.
4895         * libgcov-driver.c (gcov_max_filename): Make available
4896         to gcov-tool.
4897         * libgcov-merge.c (__gcov_merge_add): Replace
4898         gcov_read_counter() with a Macro.
4899         (__gcov_merge_ior): Ditto.
4900         (__gcov_merge_time_profile): Ditto.
4901         (__gcov_merge_single): Ditto.
4902         (__gcov_merge_delta): Ditto.
4903         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4904         in the utility functions.
4905         (set_fn_ctrs): Utility function for reading gcda files to in-memory
4906         gcov_list object link lists.
4907         (tag_function): Ditto.
4908         (tag_blocks): Ditto.
4909         (tag_arcs): Ditto.
4910         (tag_lines): Ditto.
4911         (tag_counters): Ditto.
4912         (tag_summary): Ditto.
4913         (read_gcda_finalize): Ditto.
4914         (read_gcda_file): Ditto.
4915         (ftw_read_file): Ditto.
4916         (read_profile_dir_init): Ditto.
4917         (gcov_read_profile_dir): Ditto.
4918         (gcov_read_counter_mem): Ditto.
4919         (gcov_get_merge_weight): Ditto.
4920         (merge_wrapper): A wrapper function that calls merging handler.
4921         (gcov_merge): Merge two gcov_info objects with weights.
4922         (find_match_gcov_info): Find the matched gcov_info in the list.
4923         (gcov_profile_merge): Merge two gcov_info object lists.
4924         (__gcov_add_counter_op): Process edge profile counter values.
4925         (__gcov_ior_counter_op): Process IOR profile counter values.
4926         (__gcov_delta_counter_op): Process delta profile counter values.
4927         (__gcov_single_counter_op): Process single  profile counter values.
4928         (fp_scale): Callback function for float-point scaling.
4929         (int_scale): Callback function for integer fraction scaling.
4930         (gcov_profile_scale): Scaling profile counters.
4931         (gcov_profile_normalize): Normalize profile counters.
4932         * libgcov.h: Add headers and functions for gcov-tool use.
4933         (gcov_get_counter): New.
4934         (gcov_get_counter_target): Ditto.
4935         (struct gcov_info): Make the functions field mutable in gcov-tool
4936         compilation.
4938 2014-06-23  Kai Tietz  <ktietz@redhat.com>
4940         PR libgcc/61585
4941         * unwind-seh.c (_Unwind_GetGR): Check for proper
4942         index range.
4943         (_Unwind_SetGR): Likewise.
4945 2014-05-22  Nick Clifton  <nickc@redhat.com>
4947         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4948         -mhwmult=none.
4950 2014-05-22  Teresa Johnson  <tejohnson@google.com>
4952         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4953         include.
4955 2014-05-20  John Marino  <gnugcc@marino.st>
4957         * config.host (*-*-dragonfly*): New target.
4958         * crtstuff.c: Make dl_iterate_support generic on *bsd.
4959         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4960         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4961         * config/i386/dragonfly-unwind.h: New.
4963 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
4965         PR libgcc/60166
4966         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4967         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4969 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4971         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4972         implementation.
4974 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
4976         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4978 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4980         PR libgcc/61097
4981         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4982         if --enable-shared.
4984 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4986         Work around for current cygwin32 build problems.
4987         * config/i386/cygming-crtbegin.c (__register_frame_info,
4988         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4989         functions only for 64-bit systems.
4991 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4993         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4994         (sigill_caught, sigill_hdlr): Remove.
4996 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4998         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4999         check.
5000         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5001         Solaris 9 single-threaded support.
5002         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5003         Solaris 9 single-threaded support.  Add call_user_handler code
5004         sequences.
5005         (sparc_is_sighandler): Likewise.
5007 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5009         * config.host: Append t-floattodi to tmake_file depending on
5010         host_address.
5012 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
5014         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5016 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
5018         PR libgcc/60472
5019         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5020         variable to avoid "array subscript is above array bounds" warnings.
5021         Use __builtin_expect when checking *jcr_list for NULL.
5023 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5025         PR libgcc/59339
5026         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5027         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5028         vtv_*.o to extra_parts if enable_vtable_verify.
5030 2014-03-06  Nick Clifton  <nickc@redhat.com>
5032         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5033         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5035 2014-02-28  Joey Ye  <joey.ye@arm.com>
5037         PR libgcc/60166
5038         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5039         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5040         Set to zero.
5042 2014-02-24  Walter Lee  <walt@tilera.com>
5044         * config.host: Support "tilegx*" and "tilepro*" triplets.
5045         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5046         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5048 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
5049             Chung-Lin Tang  <cltang@codesourcery.com>
5051         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5052         * config/nios2/crti.S: Remove .file directive.
5053         * config/nios2/crtn.S: Likewise.
5055 2014-02-18  Kai Tietz  <ktietz@redhat.com>
5056         Jonathan Schleifer  <js@webkeks.org>
5058         PR objc/56870
5059         * unwind-seh.c (_GCC_specific_handler): Pass proper
5060         value to unwind-handler.
5062 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5064         * soft-fp/adddf3.c: Update from glibc.
5065         * soft-fp/addsf3.c: Likewise.
5066         * soft-fp/addtf3.c: Likewise.
5067         * soft-fp/divdf3.c: Likewise.
5068         * soft-fp/divsf3.c: Likewise.
5069         * soft-fp/divtf3.c: Likewise.
5070         * soft-fp/double.h: Likewise.
5071         * soft-fp/eqdf2.c: Likewise.
5072         * soft-fp/eqsf2.c: Likewise.
5073         * soft-fp/eqtf2.c: Likewise.
5074         * soft-fp/extenddftf2.c: Likewise.
5075         * soft-fp/extended.h: Likewise.
5076         * soft-fp/extendsfdf2.c: Likewise.
5077         * soft-fp/extendsftf2.c: Likewise.
5078         * soft-fp/extendxftf2.c: Likewise.
5079         * soft-fp/fixdfdi.c: Likewise.
5080         * soft-fp/fixdfsi.c: Likewise.
5081         * soft-fp/fixdfti.c: Likewise.
5082         * soft-fp/fixsfdi.c: Likewise.
5083         * soft-fp/fixsfsi.c: Likewise.
5084         * soft-fp/fixsfti.c: Likewise.
5085         * soft-fp/fixtfdi.c: Likewise.
5086         * soft-fp/fixtfsi.c: Likewise.
5087         * soft-fp/fixtfti.c: Likewise.
5088         * soft-fp/fixunsdfdi.c: Likewise.
5089         * soft-fp/fixunsdfsi.c: Likewise.
5090         * soft-fp/fixunsdfti.c: Likewise.
5091         * soft-fp/fixunssfdi.c: Likewise.
5092         * soft-fp/fixunssfsi.c: Likewise.
5093         * soft-fp/fixunssfti.c: Likewise.
5094         * soft-fp/fixunstfdi.c: Likewise.
5095         * soft-fp/fixunstfsi.c: Likewise.
5096         * soft-fp/fixunstfti.c: Likewise.
5097         * soft-fp/floatdidf.c: Likewise.
5098         * soft-fp/floatdisf.c: Likewise.
5099         * soft-fp/floatditf.c: Likewise.
5100         * soft-fp/floatsidf.c: Likewise.
5101         * soft-fp/floatsisf.c: Likewise.
5102         * soft-fp/floatsitf.c: Likewise.
5103         * soft-fp/floattidf.c: Likewise.
5104         * soft-fp/floattisf.c: Likewise.
5105         * soft-fp/floattitf.c: Likewise.
5106         * soft-fp/floatundidf.c: Likewise.
5107         * soft-fp/floatundisf.c: Likewise.
5108         * soft-fp/floatunditf.c: Likewise.
5109         * soft-fp/floatunsidf.c: Likewise.
5110         * soft-fp/floatunsisf.c: Likewise.
5111         * soft-fp/floatunsitf.c: Likewise.
5112         * soft-fp/floatuntidf.c: Likewise.
5113         * soft-fp/floatuntisf.c: Likewise.
5114         * soft-fp/floatuntitf.c: Likewise.
5115         * soft-fp/gedf2.c: Likewise.
5116         * soft-fp/gesf2.c: Likewise.
5117         * soft-fp/getf2.c: Likewise.
5118         * soft-fp/ledf2.c: Likewise.
5119         * soft-fp/lesf2.c: Likewise.
5120         * soft-fp/letf2.c: Likewise.
5121         * soft-fp/muldf3.c: Likewise.
5122         * soft-fp/mulsf3.c: Likewise.
5123         * soft-fp/multf3.c: Likewise.
5124         * soft-fp/negdf2.c: Likewise.
5125         * soft-fp/negsf2.c: Likewise.
5126         * soft-fp/negtf2.c: Likewise.
5127         * soft-fp/op-1.h: Likewise.
5128         * soft-fp/op-2.h: Likewise.
5129         * soft-fp/op-4.h: Likewise.
5130         * soft-fp/op-8.h: Likewise.
5131         * soft-fp/op-common.h: Likewise.
5132         * soft-fp/quad.h: Likewise.
5133         * soft-fp/single.h: Likewise.
5134         * soft-fp/soft-fp.h: Likewise.
5135         * soft-fp/subdf3.c: Likewise.
5136         * soft-fp/subsf3.c: Likewise.
5137         * soft-fp/subtf3.c: Likewise.
5138         * soft-fp/truncdfsf2.c: Likewise.
5139         * soft-fp/trunctfdf2.c: Likewise.
5140         * soft-fp/trunctfsf2.c: Likewise.
5141         * soft-fp/trunctfxf2.c: Likewise.
5142         * soft-fp/unorddf2.c: Likewise.
5143         * soft-fp/unordsf2.c: Likewise.
5144         * soft-fp/unordtf2.c: Likewise.
5145         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5146         macro.
5147         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5148         Likewise.
5149         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5150         Likewise.
5151         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5152         Likewise.
5153         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5154         Likewise.
5155         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5156         Likewise.
5157         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5158         Likewise.
5159         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5160         Likewise.
5161         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5162         Likewise.
5163         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5164         Likewise.
5165         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5166         Likewise.
5167         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5168         Likewise.
5169         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5170         Likewise.
5171         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5172         Likewise.
5173         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5174         Likewise.
5175         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5176         Likewise.
5178 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5180         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5181         cannot be represented.
5182         * config/s390/32/_fixsfdi.c: Likewise.
5183         * config/s390/32/_fixtfdi.c: Likewise.
5184         * config/s390/32/_fixunsdfdi.c: Likewise.
5185         * config/s390/32/_fixunssfdi.c: Likewise.
5186         * config/s390/32/_fixunstfdi.c: Likewise.
5188 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
5190         * configure.ac (libgcc_cv_mips_hard_float): New.
5191         * configure: Regenerate.
5192         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5193         t-softfp-sfdf for hard-float targets.
5194         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5195         (softfp_float_modes, softfp_int_modes, softfp_extensions)
5196         (softfp_truncations, softfp_exclude_libgcc2): New.
5197         * config/t-hardfp: New file.
5198         * config/t-hardfp-sfdf: Likewise.
5199         * config/hardfp.c: Likewise.
5201 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5203         * config.host: Include t-floattodi also for s390x.
5204         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5205         * config/s390/32/_fixsfdi.c: Likewise.
5206         * config/s390/32/_fixtfdi.c: Likewise.
5207         * config/s390/32/_fixunsdfdi.c: Likewise.
5208         * config/s390/32/_fixunssfdi.c: Likewise.
5209         * config/s390/32/_fixunstfdi.c: Likewise.
5211 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5213         PR target/59788
5214         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5215         (install-libgcc-unwind-map-forbuild): New target.
5216         (all): Depend on install-libgcc-unwind-map-forbuild.
5217         (install-libgcc-unwind-map): New target.
5218         (install): Depend on install-libgcc-unwind-map.
5220 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
5222         * config/nios2/crti.S (_init): Initialize GOT pointer from
5223         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5225 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
5227         * configure.ac: Check __mips64 when setting host_address.
5228         * configure: Regenerate.
5229         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5230         mips/t-mips64 and t-softfp.
5231         (mips*-*-linux*): Don't add mips/t-tpbit.
5232         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5233         (DPBIT, DPBIT_CFLAGS): Delete.
5234         * config/mips/sfp-machine.h: New file.
5235         * config/mips/t-mips64: Likewise.
5236         * config/mips/t-softfp-tf: Likewise.
5237         * config/mips/t-tpbit: Delete.
5239 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5241         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5242         as long long.
5244 2014-01-25  Walter Lee  <walt@tilera.com>
5246         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
5247         config.h or system.h.
5248         (bool) Define.
5250 2014-01-25  Walter Lee  <walt@tilera.com>
5252         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5253         (post_atomic_barrier): Ditto.
5254         (__fetch_and_do): New macro.
5255         (__atomic_fetch_and_do): Use __fetch_and_do.
5256         (__sync_fetch_and_do): New macro.
5257         (__sync_fetch_and_add_4): New function.
5258         (__sync_fetch_and_sub_4): New function.
5259         (__sync_fetch_and_or_4): New function.
5260         (__sync_fetch_and_and_4): New function.
5261         (__sync_fetch_and_xor_4): New function.
5262         (__sync_fetch_and_nand_4): New function.
5263         (__sync_fetch_and_add_8): New function.
5264         (__sync_fetch_and_sub_8): New function.
5265         (__sync_fetch_and_or_8): New function.
5266         (__sync_fetch_and_and_8): New function.
5267         (__sync_fetch_and_xor_8): New function.
5268         (__sync_fetch_and_nand_8): New function.
5269         (__do_and_fetch): New macro.
5270         (__atomic_do_and_fetch): Use __do_and_fetch.
5271         (__sync_do_and_fetch): New macro.
5272         (__sync_add_and_fetch_4): New function.
5273         (__sync_sub_and_fetch_4): New function.
5274         (__sync_or_and_fetch_4): New function.
5275         (__sync_and_and_fetch_4): New function.
5276         (__sync_xor_and_fetch_4): New function.
5277         (__sync_nand_and_fetch_4): New function.
5278         (__sync_add_and_fetch_8): New function.
5279         (__sync_sub_and_fetch_8): New function.
5280         (__sync_or_and_fetch_8): New function.
5281         (__sync_and_and_fetch_8): New function.
5282         (__sync_xor_and_fetch_8): New function.
5283         (__sync_nand_and_fetch_8): New function.
5284         (__sync_exchange_methods): New macro.
5285         (__sync_val_compare_and_swap_4): New function.
5286         (__sync_bool_compare_and_swap_4): New function.
5287         (__sync_lock_test_and_test_4): New function.
5288         (__sync_val_compare_and_swap_8): New function.
5289         (__sync_bool_compare_and_swap_8): New function.
5290         (__sync_lock_test_and_test_8): New function.
5291         (__subword_cmpxchg_body): New macro.
5292         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5293         (__atomic_compare_exchange_2): Ditto.
5294         (__sync_subword_cmpxchg): New macro.
5295         (__sync_val_compare_and_swap_1): New function.
5296         (__sync_bool_compare_and_swap_1): New function.
5297         (__sync_val_compare_and_swap_2): New function.
5298         (__sync_bool_compare_and_swap_2): New function.
5299         (__atomic_subword): Rename to ...
5300         (__subword): ... New name.
5301         (__atomic_subword_fetch): Use __subword.
5302         (__sync_subword_fetch): New macro.
5303         (__sync_fetch_and_add_1): New function.
5304         (__sync_fetch_and_sub_1): New function.
5305         (__sync_fetch_and_or_1): New function.
5306         (__sync_fetch_and_and_1): New function.
5307         (__sync_fetch_and_xor_1): New function.
5308         (__sync_fetch_and_nand_1): New function.
5309         (__sync_fetch_and_add_2): New function.
5310         (__sync_fetch_and_sub_2): New function.
5311         (__sync_fetch_and_or_2): New function.
5312         (__sync_fetch_and_and_2): New function.
5313         (__sync_fetch_and_xor_2): New function.
5314         (__sync_fetch_and_nand_2): New function.
5315         (__sync_add_and_fetch_1): New function.
5316         (__sync_sub_and_fetch_1): New function.
5317         (__sync_or_and_fetch_1): New function.
5318         (__sync_and_and_fetch_1): New function.
5319         (__sync_xor_and_fetch_1): New function.
5320         (__sync_nand_and_fetch_1): New function.
5321         (__sync_add_and_fetch_2): New function.
5322         (__sync_sub_and_fetch_2): New function.
5323         (__sync_or_and_fetch_2): New function.
5324         (__sync_and_and_fetch_2): New function.
5325         (__sync_xor_and_fetch_2): New function.
5326         (__sync_nand_and_fetch_2): New function.
5327         (__atomic_subword_lock): Use __subword.
5328         (__sync_subword_lock): New macro.
5329         (__sync_lock_test_and_set_1): New function.
5330         (__sync_lock_test_and_set_2): New function.
5332 2014-01-25  Walter Lee  <walt@tilera.com>
5334         * config/tilepro/atomic.c (BIT_OFFSET): Define.
5335         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5336         (__atomic_subword): Ditto.
5338 2014-01-25  Walter Lee  <walt@tilera.com>
5340         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5341         a prefix op argument.
5342         (__atomic_nand_fetch_4): Add prefix op.
5343         (__atomic_nand_fetch_8): Ditto.
5345 2014-01-21  Baruch Siach  <barch@tkos.co.il>
5347         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5349 2014-01-09  Rong Xu  <xur@google.com>
5351         * libgcov-driver.c (this_prg): make it local to save
5352         bss space.
5353         (gcov_exit_compute_summary): Ditto.
5354         (gcov_exit_merge_gcda): Ditto.
5355         (gcov_exit_merge_summary): Ditto.
5356         (gcov_exit_dump_gcov): Ditto.
5358 2014-01-08  Rong Xu  <xur@google.com>
5360         * libgcov-driver.c: Use libgcov.h.
5361         (buffer_fn_data): Use xmalloc instead of malloc.
5362         (gcov_exit_merge_gcda): Ditto.
5363         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5364         * libgcov.h: New common header files for libgcov-*.h.
5365         * libgcov-interface.c: Use libgcov.h
5366         * libgcov-merge.c: Ditto.
5367         * libgcov-profiler.c: Ditto.
5368         * Makefile.in: Add dependence to libgcov.h
5370 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5372         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5373         case of small numerator and finite nonzero result.
5375 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5377         Update copyright years
5379 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5381         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5382         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5383         config/arc/dp-hack.h, config/arc/fp-hack.h,
5384         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5385         config/arc/ieee-754/arc600-dsp/divdf3.S,
5386         config/arc/ieee-754/arc600-dsp/divsf3.S,
5387         config/arc/ieee-754/arc600-dsp/muldf3.S,
5388         config/arc/ieee-754/arc600-dsp/mulsf3.S,
5389         config/arc/ieee-754/arc600-mul64/divdf3.S,
5390         config/arc/ieee-754/arc600-mul64/divsf3.S,
5391         config/arc/ieee-754/arc600-mul64/muldf3.S,
5392         config/arc/ieee-754/arc600-mul64/mulsf3.S,
5393         config/arc/ieee-754/arc600/divsf3.S,
5394         config/arc/ieee-754/arc600/mulsf3.S,
5395         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5396         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5397         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5398         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5399         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5400         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5401         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5402         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5403         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5404         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5405         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5406         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5407         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5408         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5409         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5410         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5411         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5412         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5413         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5414         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5415         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5416         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5417         vtv_start_preinit.c: Use the standard form for the copyright notice.
5419 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
5420             Chung-Lin Tang  <cltang@codesourcery.com>
5421             Based on patches from Altera Corporation
5423         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5424         * config/nios2/lib2-nios2.h: New file.
5425         * config/nios2/lib2-divmod-hi.c: New file.
5426         * config/nios2/linux-unwind.h: New file.
5427         * config/nios2/lib2-divmod.c: New file.
5428         * config/nios2/linux-atomic.c: New file.
5429         * config/nios2/t-nios2: New file.
5430         * config/nios2/crti.asm: New file.
5431         * config/nios2/t-linux: New file.
5432         * config/nios2/lib2-divtable.c: New file.
5433         * config/nios2/lib2-mul.c: New file.
5434         * config/nios2/tramp.c: New file.
5435         * config/nios2/crtn.asm: New file.
5437 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
5439         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5440         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5441         from cpuid.h to check vendor signatures.
5443 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
5445         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5446         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5447         (get_amd_cpu): Likewise.
5449 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
5451         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5452         Haswell.
5454 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5455             H.J. Lu  <hongjiu.lu@intel.com>
5457         PR target/59422
5458         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
5459         and AMD_JAGUAR.
5460         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5461         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5462         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
5463         FEATURE_XOP and FEATURE_FMA.
5464         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5465         AMDFAM15H_BDVER3.
5466         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5467         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5468         FEATURE_FMA4 and FEATURE_XOP.
5470 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
5472         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5473         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5474         (get_intel_cpu): Updated.
5476 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
5478         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5480 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
5482         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5483         instructions when __SSE_MATH__ is defined.
5485 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
5487         * config.host (microblaze-*-rtems*): New.
5489 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
5491         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5492         architectures that do not have hardware divide instruction.
5493         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5495 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
5497         * longlong.h: Delete (moved to include/).
5499 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5501         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5502         of normal number and qNaN to not raise an inexact exception.
5504 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
5506         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5508 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
5510         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5511         for correct opcodes on BE.
5513 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
5515         * soft-fp/op-4.h: Update from glibc.
5517 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
5519         * libgcc2.c (__udivmoddi4): Define new implementation when
5520         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5521         divide instructions.
5523 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
5525         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5527 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5529         * config/t-softfp (soft-fp-objects-base): New variable.
5530         (soft-fp-objects): Use it.
5532 2013-11-23  David Edelson  <dje.gcc@gmail.com>
5533             Andrew Dixie  <andrewd@gentrack.com>
5535         PR target/33704
5536         * config/rs6000/aixinitfini.c: New file.
5537         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5538         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5539         symbols.
5541 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
5543         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5545 2013-11-18  Jan Hubicka  <jh@suse.cz>
5547         * libgcov-driver.c (run_accounted): Make global level static.
5548         (gcov_exit_merge_summary): Silence warning; do not clear
5549         run_accounted here.
5550         (gcov_exit): Clear it here.
5552         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5553         run_accounted.
5555         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5556         (all_prg, crc32): Remove static vars.
5557         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5558         all_prg.
5559         (gcov_exit_merge_gcda): Add crc32 parameter.
5560         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5561         do not account run if it was already accounted.
5562         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5563         (gcov_exit): Initialize all_prg; update.
5565 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
5567         * configure: Regenerate.
5569 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5570             Alan Modra  <amodra@gmail.com>
5572         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5573         (frob_update_context): Use it.
5575 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5576             Alan Modra  <amodra@gmail.com>
5578         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5579         (trampoline_initial): Provide ELFv2 variant.
5580         (__trampoline_setup): Likewise.
5582         * config/rs6000/linux-unwind.h (frob_update_context): Do not
5583         check for AIX indirect function call sequence if _CALL_ELF == 2.
5585 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5586             Alan Modra  <amodra@gmail.com>
5588         * config/rs6000/linux-unwind.h (get_regs): Do not support
5589         old kernel versions if _CALL_ELF == 2.
5590         (frob_update_context): Do not support PLT stub variants only
5591         generated by old linkers if _CALL_ELF == 2.
5593 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5594             Alan Modra  <amodra@gmail.com>
5596         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5597         location of CR save area for 64-bit little-endian systems.
5599 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5601         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5602         in tmake_file.
5603         * config/arm/t-vxworks: Delete.
5605 2013-11-10  Kai Tietz  <ktietz@redhat.com>
5607         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5608         Increment load-count on use of LIBGCC_SONAME DLL.
5609         (hmod_libgcc): New static variable to hold handle of
5610         LIBGCC_SONAME DLL.
5611         (__gcc_deregister_frame): Decrement load-count of
5612         LIBGCC_SONAME DLL.
5614 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
5616         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5617         availability.
5618         * configure: Regenerate
5620 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
5622         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5623         FP_EX_DENORM.  Store result to volatile location after SSE division
5624         to close interrupt window.  Remove unneeded fwait after x87
5625         division since interrupt window will be closed by emitted fstp.
5626         Rewrite FP_EX_INEXACT handling.
5628 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
5630         * soft-fp/README: Update.
5631         * soft-fp/adddf3.c: Update from glibc.
5632         * soft-fp/addsf3.c: Likewise.
5633         * soft-fp/addtf3.c: Likewise.
5634         * soft-fp/divdf3.c: Likewise.
5635         * soft-fp/divsf3.c: Likewise.
5636         * soft-fp/divtf3.c: Likewise.
5637         * soft-fp/double.h: Likewise.
5638         * soft-fp/eqdf2.c: Likewise.
5639         * soft-fp/eqsf2.c: Likewise.
5640         * soft-fp/eqtf2.c: Likewise.
5641         * soft-fp/extenddftf2.c: Likewise.
5642         * soft-fp/extended.h: Likewise.
5643         * soft-fp/extendsfdf2.c: Likewise.
5644         * soft-fp/extendsftf2.c: Likewise.
5645         * soft-fp/extendxftf2.c: Likewise.
5646         * soft-fp/fixdfdi.c: Likewise.
5647         * soft-fp/fixdfsi.c: Likewise.
5648         * soft-fp/fixdfti.c: Likewise.
5649         * soft-fp/fixsfdi.c: Likewise.
5650         * soft-fp/fixsfsi.c: Likewise.
5651         * soft-fp/fixsfti.c: Likewise.
5652         * soft-fp/fixtfdi.c: Likewise.
5653         * soft-fp/fixtfsi.c: Likewise.
5654         * soft-fp/fixtfti.c: Likewise.
5655         * soft-fp/fixunsdfdi.c: Likewise.
5656         * soft-fp/fixunsdfsi.c: Likewise.
5657         * soft-fp/fixunsdfti.c: Likewise.
5658         * soft-fp/fixunssfdi.c: Likewise.
5659         * soft-fp/fixunssfsi.c: Likewise.
5660         * soft-fp/fixunssfti.c: Likewise.
5661         * soft-fp/fixunstfdi.c: Likewise.
5662         * soft-fp/fixunstfsi.c: Likewise.
5663         * soft-fp/fixunstfti.c: Likewise.
5664         * soft-fp/floatdidf.c: Likewise.
5665         * soft-fp/floatdisf.c: Likewise.
5666         * soft-fp/floatditf.c: Likewise.
5667         * soft-fp/floatsidf.c: Likewise.
5668         * soft-fp/floatsisf.c: Likewise.
5669         * soft-fp/floatsitf.c: Likewise.
5670         * soft-fp/floattidf.c: Likewise.
5671         * soft-fp/floattisf.c: Likewise.
5672         * soft-fp/floattitf.c: Likewise.
5673         * soft-fp/floatundidf.c: Likewise.
5674         * soft-fp/floatundisf.c: Likewise.
5675         * soft-fp/floatunditf.c: Likewise.
5676         * soft-fp/floatunsidf.c: Likewise.
5677         * soft-fp/floatunsisf.c: Likewise.
5678         * soft-fp/floatunsitf.c: Likewise.
5679         * soft-fp/floatuntidf.c: Likewise.
5680         * soft-fp/floatuntisf.c: Likewise.
5681         * soft-fp/floatuntitf.c: Likewise.
5682         * soft-fp/gedf2.c: Likewise.
5683         * soft-fp/gesf2.c: Likewise.
5684         * soft-fp/getf2.c: Likewise.
5685         * soft-fp/ledf2.c: Likewise.
5686         * soft-fp/lesf2.c: Likewise.
5687         * soft-fp/letf2.c: Likewise.
5688         * soft-fp/muldf3.c: Likewise.
5689         * soft-fp/mulsf3.c: Likewise.
5690         * soft-fp/multf3.c: Likewise.
5691         * soft-fp/negdf2.c: Likewise.
5692         * soft-fp/negsf2.c: Likewise.
5693         * soft-fp/negtf2.c: Likewise.
5694         * soft-fp/op-1.h: Likewise.
5695         * soft-fp/op-2.h: Likewise.
5696         * soft-fp/op-4.h: Likewise.
5697         * soft-fp/op-8.h: Likewise.
5698         * soft-fp/op-common.h: Likewise.
5699         * soft-fp/quad.h: Likewise.
5700         * soft-fp/single.h: Likewise.
5701         * soft-fp/soft-fp.h: Likewise.
5702         * soft-fp/subdf3.c: Likewise.
5703         * soft-fp/subsf3.c: Likewise.
5704         * soft-fp/subtf3.c: Likewise.
5705         * soft-fp/truncdfsf2.c: Likewise.
5706         * soft-fp/trunctfdf2.c: Likewise.
5707         * soft-fp/trunctfsf2.c: Likewise.
5708         * soft-fp/trunctfxf2.c: Likewise.
5709         * soft-fp/unorddf2.c: Likewise.
5710         * soft-fp/unordsf2.c: Likewise.
5711         * soft-fp/unordtf2.c: Likewise.
5713 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
5715         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5716         (_FP_MUL_MEAT_D): Ditto.
5717         (_FP_DIV_MEAT_S): Ditto.
5718         (_FP_DIV_MEAT_D): Ditto.
5719         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5720         t-softfp-sfdf and t-softfp to tmake_file.
5722 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
5724         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5725         * config/i386/crtprec.c: Ditto.
5727 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
5728             Shiva Chen  <shiva0217@gmail.com>
5730         * config.host (nds32*-elf*): Add nds32 target.
5731         * config/nds32 : New directory and files.
5733 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
5735         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
5736         * config.host (cpu_type) <Setting default>: Add entry for
5737         crisv32-*-*.
5738         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5739         <crisv32-*-linux*>: Adjust.
5740         * longlong.h: Wrap the whole CRIS section in a single
5741         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
5742         and sub_ddmmss.
5743         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5744         defined.
5745         [__CRIS__] (__umulsidi3): Define.
5746         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5747         * config/cris/sfp-machine.h: New file.
5748         * config/cris/umulsidi3.S: New file.
5749         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5750         * config/cris/arit.c (SIGNMULT): New macro.
5751         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5752         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5753         saving 3 out of originally 33 cycles from the fastest
5754         path, 3 out of 54 from the medium path and one from the longest
5755         path.  Improve comments.
5757 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
5759         * sync.c: Remove static aliases and define each function directly
5760         under its real name.
5762 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
5764         * config.host (hppa*64*-*-linux*): Define extra_parts.
5765         (hppa*-*-linux*): Likewise.
5767 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
5769         * config/arc/crtgend.S: Add 2013 to Copyright years.
5770         * config/arc/gmon/atomic.h: Likewise.
5771         * config/arc/gmon/auxreg.h: Likewise.
5772         * config/arc/gmon/sys/gmon_out.h: Likewise.
5773         * config/arc/gmon/sys/gmon.h: Likewise.
5774         * config/arc/gmon/prof-freq.c: Likewise.
5775         * config/arc/gmon/mcount.c: Likewise.
5776         * config/arc/gmon/prof-freq-stub.S: Likewise.
5777         * config/arc/gmon/gmon.c: Likewise.
5778         * config/arc/gmon/machine-gmon.h: Likewise.
5779         * config/arc/gmon/profil.S: Likewise.
5780         * config/arc/gmon/dcache_linesz.S: Likewise.
5781         * config/arc/crtg.S: Likewise.
5782         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5783         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5784         * config/arc/ieee-754/adddf3.S: Likewise.
5785         * config/arc/ieee-754/truncdfsf2.S: Likewise.
5786         * config/arc/ieee-754/fixsfsi.S: Likewise.
5787         * config/arc/ieee-754/gtsf2.S: Likewise.
5788         * config/arc/ieee-754/floatsisf.S: Likewise.
5789         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5790         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5791         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5792         * config/arc/ieee-754/fixdfsi.S: Likewise.
5793         * config/arc/ieee-754/addsf3.S: Likewise.
5794         * config/arc/ieee-754/gesf2.S: Likewise.
5795         * config/arc/ieee-754/floatsidf.S: Likewise.
5796         * config/arc/ieee-754/extendsfdf2.S: Likewise.
5797         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5798         * config/arc/ieee-754/gtdf2.S: Likewise.
5799         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5800         * config/arc/ieee-754/uneqdf2.S: Likewise.
5801         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5802         * config/arc/ieee-754/uneqsf2.S: Likewise.
5803         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5804         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5805         * config/arc/ieee-754/eqdf2.S: Likewise.
5806         * config/arc/ieee-754/ordsf2.S: Likewise.
5807         * config/arc/ieee-754/divsf3.S: Likewise.
5808         * config/arc/ieee-754/divdf3.S: Likewise.
5809         * config/arc/ieee-754/floatunsidf.S: Likewise.
5810         * config/arc/ieee-754/orddf2.S: Likewise.
5811         * config/arc/ieee-754/eqsf2.S: Likewise.
5812         * config/arc/ieee-754/gedf2.S: Likewise.
5813         * config/arc/crtn.S: Likewise.
5814         * config/arc/crti.S: Likewise.
5815         * config/arc/t-arc700-uClibc: Likewise.
5816         * config/arc/asm.h: Likewise.
5817         * config/arc/libgcc-excl.ver: Likewise.
5818         * config/arc/t-arc-newlib: Likewise.
5819         * config/arc/divtab-arc700.c: Likewise.
5820         * config/arc/initfini.c: Likewise.
5821         * config/arc/fp-hack.h: Likewise.
5823 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5824             Diego Novillo  <dnovillo@google.com>
5826         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5827         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5828         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5829         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5831 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5832             Brendan Kehoe  <brendan@zen.org>
5833             Simon Cook  <simon.cook@embecosm.com>
5835         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5836         * config/arc: New directory.
5837         * longlong.h [__arc__] (umul_ppmm): Remove.
5838         [__arc__] (__umulsidi3): Define.
5839         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5840         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5842 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
5844         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5845         CreateSemaphoreA.
5846         * config/i386/gthr-win32.h: Likewise.
5848 2013-09-16  DJ Delorie  <dj@redhat.com>
5850         * config/rl78/vregs.h: Add G10 register definitions.
5851         * config/rl78/lib2mul.c: Enable for RL78/G10.
5852         * config/rl78/lib2div.c: Likewise.
5853         * config/rl78/lshrsi3.S: Use vregs.h.
5854         * config/rl78/cmpsi2.S: Likewise.
5855         * config/rl78/trampoline.S: Likewise.
5856         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
5858 2013-09-14  DJ Delorie  <dj@redhat.com>
5859             Nick Clifton  <nickc@redhat.com>
5861         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5862         * config/rl78/vregs.h: New.
5863         * config/rl78/signbit.S: New file.  Implements signbit function.
5864         * config/rl78/divmodsi.S: New.
5865         * config/rl78/divmodhi.S: New.
5866         * config/rl78/divmodqi.S: New.
5867         * config/rl78/t-rl78: Build them here...
5868         * config/rl78/lib2div.c: ...but not here.
5870 2013-09-12  DJ Delorie  <dj@redhat.com>
5872         * config.host (msp*-*-elf): New.
5873         * config/msp430/: New port.
5875 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
5877         PR gcov-profile/58127
5878         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5879         __thread var for emulated TLS.
5880         (__gcov_indirect_call_counters): Likewise.
5882 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
5883             Catherine Moore  <clm@codesourcery.com>
5884             Richard Sandiford  <rdsandiford@googlemail.com>
5886         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5887         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5888         (CALL_STUB_NO_RET): Likewise.
5889         (CALL_STUB_RET): Likewise.
5890         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5891         __mips16_ret call/return stub symbols.
5892         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5893         to tmake_file.
5895 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
5897         * config.host <mips*-*-linux*>: Remove a stray comment.
5899 2013-08-10  Jan Hubicka  <jh@suse.cz>
5901         Work around binutils PR14342
5902         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5903         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5904         (L_gcov_indirect_call_profiler_v2): New.
5906 2013-08-06  Jan Hubicka  <jh@suse.cz>
5908         * libgcov.c (__gcov_indirect_call_callee,
5909         __gcov_indirect_call_counters): New global vars.
5910         (__gcov_indirect_call_profiler): replace by ...
5911         (__gcov_indirect_call_profiler_v2) ... this one.
5913 2013-08-06  Caroline Tice  <cmtice@google.com>
5915         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5916         vtv_start_preinit.o and vtv_end_preinit.o.
5917         * configure.ac: Add code to check/set enable_vtable_verify.
5918         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5919         true.
5920         * vtv_start_preinit.c: New file.
5921         * vtv_end_preinit.c: New file.
5922         * vtv_start.c: New file.
5923         * vtv_end.c: New file.
5924         * configure: Regenerated.
5926 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
5928         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5929         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5930         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5931         GPL-3.0-with-GCC-exception.
5933 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
5935         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5936         ISA and up.
5938 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5940         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5941         mapping for FPRs when creating the fallback framestate.
5943 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
5945         PR target/57516
5946         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5947         (__round_s2_const, __round_u2_const)
5948         (__round_s4_const, __round_u4_const, __round_x8):
5949         Saturate result if addition result cannot be represented.
5951 2013-07-15  Matthias Klose  <doko@ubuntu.com>
5953         * libgcc2.c: Don't include <limits.h>.
5955 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
5957         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5959 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
5961         PR target/29776
5962         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5964 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
5966         PR middle-end/36041
5967         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5968         Define.
5969         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5970         instead of table lookups.
5971         (__popcountDI2): Likewise.
5973 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
5975         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5976         correctly.
5978 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5980         PR other/53317
5981         * soft-fp/adddf3.c: Update from glibc.
5982         * soft-fp/addsf3.c: Likewise.
5983         * soft-fp/addtf3.c: Likewise.
5984         * soft-fp/divdf3.c: Likewise.
5985         * soft-fp/divsf3.c: Likewise.
5986         * soft-fp/divtf3.c: Likewise.
5987         * soft-fp/double.h: Likewise.
5988         * soft-fp/eqdf2.c: Likewise.
5989         * soft-fp/eqsf2.c: Likewise.
5990         * soft-fp/eqtf2.c: Likewise.
5991         * soft-fp/extenddftf2.c: Likewise.
5992         * soft-fp/extended.h: Likewise.
5993         * soft-fp/extendsfdf2.c: Likewise.
5994         * soft-fp/extendsftf2.c: Likewise.
5995         * soft-fp/fixdfdi.c: Likewise.
5996         * soft-fp/fixdfsi.c: Likewise.
5997         * soft-fp/fixsfdi.c: Likewise.
5998         * soft-fp/fixsfsi.c: Likewise.
5999         * soft-fp/fixtfdi.c: Likewise.
6000         * soft-fp/fixtfsi.c: Likewise.
6001         * soft-fp/fixunsdfdi.c: Likewise.
6002         * soft-fp/fixunsdfsi.c: Likewise.
6003         * soft-fp/fixunssfdi.c: Likewise.
6004         * soft-fp/fixunssfsi.c: Likewise.
6005         * soft-fp/fixunstfdi.c: Likewise.
6006         * soft-fp/fixunstfsi.c: Likewise.
6007         * soft-fp/floatdidf.c: Likewise.
6008         * soft-fp/floatdisf.c: Likewise.
6009         * soft-fp/floatditf.c: Likewise.
6010         * soft-fp/floatsidf.c: Likewise.
6011         * soft-fp/floatsisf.c: Likewise.
6012         * soft-fp/floatsitf.c: Likewise.
6013         * soft-fp/floatundidf.c: Likewise.
6014         * soft-fp/floatundisf.c: Likewise.
6015         * soft-fp/floatunditf.c: Likewise.
6016         * soft-fp/floatunsidf.c: Likewise.
6017         * soft-fp/floatunsisf.c: Likewise.
6018         * soft-fp/floatunsitf.c: Likewise.
6019         * soft-fp/gedf2.c: Likewise.
6020         * soft-fp/gesf2.c: Likewise.
6021         * soft-fp/getf2.c: Likewise.
6022         * soft-fp/ledf2.c: Likewise.
6023         * soft-fp/lesf2.c: Likewise.
6024         * soft-fp/letf2.c: Likewise.
6025         * soft-fp/muldf3.c: Likewise.
6026         * soft-fp/mulsf3.c: Likewise.
6027         * soft-fp/multf3.c: Likewise.
6028         * soft-fp/negdf2.c: Likewise.
6029         * soft-fp/negsf2.c: Likewise.
6030         * soft-fp/negtf2.c: Likewise.
6031         * soft-fp/op-1.h: Likewise.
6032         * soft-fp/op-2.h: Likewise.
6033         * soft-fp/op-4.h: Likewise.
6034         * soft-fp/op-8.h: Likewise.
6035         * soft-fp/op-common.h: Likewise.
6036         * soft-fp/quad.h: Likewise.
6037         * soft-fp/single.h: Likewise.
6038         * soft-fp/soft-fp.h: Likewise.
6039         * soft-fp/subdf3.c: Likewise.
6040         * soft-fp/subsf3.c: Likewise.
6041         * soft-fp/subtf3.c: Likewise.
6042         * soft-fp/truncdfsf2.c: Likewise.
6043         * soft-fp/trunctfdf2.c: Likewise.
6044         * soft-fp/trunctfsf2.c: Likewise.
6045         * soft-fp/unorddf2.c: Likewise.
6046         * soft-fp/unordsf2.c: Likewise.
6047         * soft-fp/unordtf2.c: Likewise.
6048         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6049         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6050         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6051         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6052         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6053         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6054         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6055         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6056         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6057         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6058         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6059         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6061 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
6063         * config/mips/lib2funcs.c: New file.
6064         * config/mips/t-mips (LIB2ADD_ST): Add it.
6066 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
6068         PR target/6526
6069         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6070         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
6072 2013-06-08  Walter Lee  <walt@tilera.com>
6074         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6075         Replace int64_t with long long.  Add __extension__ where
6076         appropriate.
6077         * config/tilepro/atomic.c: Include config.h.
6079 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
6081         * config.host (arm-wrs-vxworks): Configure with other soft float.
6083 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
6085         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6086         (mips64r5900el-*-elf*): New configurations.
6088 2013-06-04  Alan Modra  <amodra@gmail.com>
6090         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6092 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
6094         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6096 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
6098         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6099         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6100         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6102 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6104         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6105         (powerpc-wrs-vxworks): Likewise.
6107 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6109         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6110         signal frames as well.
6111         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6112         STACK_BIAS to the CFA offset.
6114 2013-05-17  Richard Henderson  <rth@redhat.com>
6116         PR target/49146
6117         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6118         (execute_cfa_program): Use it when storing to fs->regs.
6120 2013-05-08  Kai Tietz  <ktietz@redhat.com>
6122         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6123         (__deregister_frame_info): Likewise.
6125 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
6127         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6128         NaN's payload.
6130         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6132 2013-04-25  Alan Modra  <amodra@gmail.com>
6134         * config.host: Match little-endian powerpc-linux.
6136 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
6138         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6139         as 'unsigned long long' instead of 'unsigned long'.
6140         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6141         'signed long'.
6143 2013-04-10  Julian Brown  <julian@codesourcery.com>
6145         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6146         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6147         unsigned char/unsigned short.
6148         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6150 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6152         PR other/55274
6153         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6155 2013-04-04  Meador Inge  <meadori@codesourcery.com>
6157         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6158         computing the location of the link register.
6159         (aeabi_uldivmod): Ditto.
6161 2013-03-27  Kai Tietz  <ktietz@redhat.com>
6163         * config.host: Add support for cygwin x64 target.
6164         * configure: Regenerated.
6166 2013-03-26  Walter Lee  <walt@tilera.com>
6168         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6169         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6171 2013-03-25  Kai Tietz  <ktietz@redhat.com>
6173         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6175 2013-03-20  Robert Mason  <rbmj@verizon.net>
6177         * config/vxlib-tls.c (__gthread_get_tsd_data,)
6178         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6179         (__gthread_leave_tsd_dtor_context): Add prototypes.
6180         (tls_delete_hook): Update.
6182 2013-03-20  Catherine Moore  <clm@codesourcery.com>
6183             Joseph Myers  <joseph@codesourcery.com>
6184             Chao-ying Fu  <fu@mips.com>
6186         * config/mips/mips16.S:  Don't build for microMIPS.
6187         * config/mips/linux-unwind.h: Handle microMIPS frame.
6188         * config/mips/crtn.S (fini, init): New labels.
6190 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
6192         PR tree-optimization/53265
6193         * unwind-dw2.c (execute_cfa_program): Avoid
6194         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6195         on targets with DWARF_FRAME_REGISTERS < 32.
6197 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
6199         PR target/49880
6200         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6201         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6203 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
6205         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6206         sandybridge processors.
6208 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
6210         PR target/56529
6211         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6212         inclusion list.
6214 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6216         * config/microblaze/crti.S: Setup stack protection at entry
6218 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
6220         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6221         (__rotldi3): Shift bytewise if applicable.
6223 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
6225         * config/aarch64/sync-cache.c
6226         (__aarch64_sync_cache_range): Silence warnings.
6228 2013-02-25  Catherine Moore  <clm@codesourcery.com>
6230         Revert:
6231         2013-02-24  Catherine Moore  <clm@codesourcery.com>
6232             Joseph Myers  <joseph@codesourcery.com>
6233             Chao-ying Fu  <fu@mips.com>
6235         * config/mips/mips16.S:  Don't build for microMIPS.
6236         * config/mips/linux-unwind.h: Handle microMIPS frame.
6237         * config/mips/crtn.S (fini, init): New labels.
6239 2013-02-24  Catherine Moore  <clm@codesourcery.com>
6240             Joseph Myers  <joseph@codesourcery.com>
6241             Chao-ying Fu  <fu@mips.com>
6243         * config/mips/mips16.S:  Don't build for microMIPS.
6244         * config/mips/linux-unwind.h: Handle microMIPS frame.
6245         * config/mips/crtn.S (fini, init): New labels.
6247 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6248         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6249         as dividend.
6251 2013-02-16  Alan Modra  <amodra@gmail.com>
6253         PR target/55431
6254         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6255         (ppc_fallback_frame_state): Always set up save locations for fp
6256         and altivec.  Don't bother with non-callee-saved regs, r0-r13
6257         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6259 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
6261         PR target/54222
6262         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6263         _ssmulHA, _ssmulSA.
6264         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6265         _ssmulha3, _usmulusa3, _ssmulsa3.
6266         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6267         (__muldi3): XCALL __muldi3_6 instead of rcall.
6268         (__umulsidi3, __mulsidi3): New functions.
6269         (do_prologue_saves, do_epilogue_restores): New .macros.
6270         (__divdi3_moddi3): Use them.
6271         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6272         (__usmulusa3, __ssmulsa3): New functions.
6274 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
6275             Jack Howarth  <howarth@bromo.med.uc.edu>
6276             Patrick Marlier  <patrick.marlier@gmail.com>
6278         PR libitm/55693
6279         * config/darwin-crt-tm.c: Remove dummy functions hack.
6281 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
6283         PR target/54222
6284         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6285         * config/avr/lib2-object.mk: New iterator to build objects from it.
6286         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6287         lib2funcs.c.
6288         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6289         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6290         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6291         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6292         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6293         * config/avr/lib1funcs-fixed.S: Implement them.
6295 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
6297         Update copyright years.
6299 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
6301         PR target/54601
6302         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6303         Add crtcxa to extra_parts.
6304         * config/rs6000/exit.h: New file.
6305         * config/rs6000/cxa_atexit.c: New file.
6306         * config/rs6000/cxa_finalize.c: New file.
6307         * config/rs6000/crtcxa.c: New file.
6308         * config/rs6000/t-aix-cxa: New file.
6309         * config/rs6000/libgcc-aix-cxa.ver: New file.
6311 2013-01-31  Nick Clifton  <nickc@redhat.com>
6313         * config/v850/lib1funcs.S: Add support for e3v5 architecture
6314         variant.
6316 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
6318         PR target/54222
6319         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6320         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
6321         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6322         _divQQ,  _divHQ,  _divHA,  _divSA,
6323         _divUQQ, _divUHQ, _divUHA, _divUSA.
6325 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
6327         * config.host(microblaze*-linux*): tmake_file: Remove
6328         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6329         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6330         to exclude functions from being built with libgcc.c and use
6331         the microblaze assembly.
6333 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6335         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6336         extra_parts.
6338 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
6340         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6341         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6342         __UINTPTR_TYPE__; also cast 'base' to the same type before the
6343         alignment operation.
6345 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
6347         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6348         loop start address for cache clearing.
6350 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6352         * config/avr/lib1funcs.S: Remove trailing blanks.
6353         * config/avr/lib1funcs-fixed.S: Ditto.
6355 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6357         * config/avr/avr-lib.h: Add GPL copyright notice.
6359 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6361         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6362         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6363         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6364         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6366 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
6368         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6369         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6371 2013-01-04  Nick Clifton  <nickc@redhat.com>
6373         * config/v850/lib1funcs.S: Only provide CALLT support functions if
6374         the CALLT instruction is supported.
6376 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
6378         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6379         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6381 2012-12-13  John Tytgat  <John@bass-software.com>
6383         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6384         is 25.
6386 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
6388         PR libgcc/55451
6389         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6390         undefined signed overflows.
6392 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
6394         PR target/55344
6395         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6397 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
6399         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6400         (FP_TRAPPING_EXCEPTIONS): Define.
6401         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6402         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6404 2012-12-04  Richard Henderson  <rth@redhat.com>
6406         PR bootstrap/55571
6407         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6409 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6411         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6412         (FP_EX_SHIFT): Define.
6413         (FP_TRAPPING_EXCEPTIONS): Define.
6415 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6417         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6418         (FP_ROUNDMODE): Use FP_RND_MASK.
6419         * config/aarch64/sfp-exceptions.c: New.
6420         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6421         Use __sfp_handle_exceptions.
6423 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
6425         * config.host: (arm*-*-freebsd*): Remove.
6426         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6427         (arm*-*-elf*): Remove.
6428         (arm*-*-wince-pe*): Remove.
6429         * arm/unwind-arm.c (struct fpa_reg): Delete.
6430         (struct fpa_regs): Delete.
6431         (phase1_vrs): Remove fpa element.
6432         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6433         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6434         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6435         * ieee754-sf.S (floatundisf): Remove FPA support.
6436         (floatdisf): Likewise.
6437         * ieee75f-df.S (floatundidf): Likewise.
6438         (floatdidf): Likewise.
6440 2012-11-29  Kai Tietz  <ktietz@redhat.com>
6442         PR target/55445
6443         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6444         * unwind-generic.h: Likewise.
6445         * unwind-seh.c: Likewise.
6447 2012-11-28  Richard Henderson  <rth@redhat.com>
6449         PR libgcc/48076
6450         * emutls.c (__emutls_get_address): Avoid race condition between
6451         obj->loc.offset read and emutls_key initialization.
6453 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
6455         Adjust decimal point of signed accum mode to GCC default.
6457         PR target/54222
6458         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6459         _divqq_helper.
6460         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6461         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6462         (__mulha3, __mulsa3)
6463         (__divqq3, __divha3, __divsa3): Adjust to new position of
6464         decimal point of signed accum types.
6466         (__mulusa3_round): New function.
6467         (__mulusa3): Use it.
6468         (__divqq_helper): New function.
6469         (__udivuqq3): Use it.
6471 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
6473         PR bootstrap/55370
6474         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6476 2012-11-18  Teresa Johnson  <tejohnson@google.com>
6478         PR bootstrap/55051
6479         * libgcov.c (gcov_exit): Remove merged program summary
6480         comparison unless !GCOV_LOCKED.
6482 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6484         * soft-fp: Updated from glibc upstream.
6486 2012-11-06  Ian Lance Taylor  <iant@google.com>
6488         * generic-morestack.c (__generic_morestack): Align the returned
6489         stack pointer to a 32 byte boundary.
6490         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6491         increment the return address until we have decided that we don't
6492         have a varargs function.
6493         (__morestack) [32-bit]: Align stack correctly when calling C
6494         functions.
6495         (__morestack) [64-bit]: Likewise.
6497 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6499         * configure: Regenerate.
6501 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
6503         PR target/55175
6504         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6505         * config/i386/sfp-machine.h: Guard exception handling
6506         code with _SOFT_FLOAT.
6507         * config/i386/32/sfp-machine.h: Guard rounding handling
6508         code with _SOFT_FLOAT.
6509         * config/i386/64/sfp-machine.h: Ditto.
6511 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
6513         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6514         as extra_parts.
6516 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
6518         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6519         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
6520         when appropriate.  Correct structure element types.
6521         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6522         -minline-all-stringops from compile flags.
6524 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6526         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6528 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6530         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6532 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6534         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6535         tmake_file.
6537 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
6538             Jim MacArthur  <jim.macarthur@arm.com>
6539             Marcus Shawcroft  <marcus.shawcroft@arm.com>
6540             Nigel Stephens  <nigel.stephens@arm.com>
6541             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6542             Richard Earnshaw  <rearnsha@arm.com>
6543             Sofiane Naci  <sofiane.naci@arm.com>
6544             Stephen Thomas  <stephen.thomas@arm.com>
6545             Tejas Belagod  <tejas.belagod@arm.com>
6546             Yufeng Zhang  <yufeng.zhang@arm.com>
6548         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6549         * config/aarch64/crti.S: New file.
6550         * config/aarch64/crtn.S: New file.
6551         * config/aarch64/linux-unwind.h: New file.
6552         * config/aarch64/sfp-machine.h: New file.
6553         * config/aarch64/sync-cache.c: New file.
6554         * config/aarch64/t-aarch64: New file.
6555         * config/aarch64/t-softfp: New file.
6557 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
6559         * config/mmix/crti.S: Mark program and data addresses using PRELD.
6560         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
6561         no-longer-needed LDBU insns.
6563 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6565         * config.host
6566         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6567         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6569 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6571         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6573 2012-10-15  Matthias Klose  <doko@ubuntu.com>
6575         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6577 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
6579         * configure: Regenerate.
6580         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6582 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6584         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6585         instructions for 64bit targets only.
6587 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6589         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6590         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6591         * config/i386/32/sfp-machine.h: ... here.
6592         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6593         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6594         New defines.
6596 2012-10-07  Matthias Klose  <doko@ubuntu.com>
6598         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6599         as unused.
6600         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6602 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
6604         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6605         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6606         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6607         (ElfW): Likewise.
6609 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
6611         PR other/53889
6612         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6613         Fix parameter names.
6615 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
6617         PR target/33135
6618         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6619         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6620         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6622 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
6624         PR target/50457
6625         * config/sh/linux-atomic.S: Delete.
6626         * config/sh/linux-atomic.c: New.
6627         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6628         linux-atomic.c.  Add cflags to disable warnings.
6630 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6632         PR other/53889
6633         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6634         function.
6635         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6636         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6637         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6638         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6639         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6640         Likewise.
6641         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6642         Likewise.
6643         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6644         Likewise.
6645         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6646         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6648 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
6650         * config.host (hppa-*-openbsd*): New target.
6651         * config/pa/t-openbsd: New file.
6653 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
6655         PR target/54222
6656         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6657         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6658         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6659         (__divsa3): Use __negsi2 to negate r_quoL.
6660         * config/avr/lib1funcs.S (FALIAS): New macro.
6661         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6662         (__negsi2): ...this new function.
6663         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6664         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6665         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6666         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6667         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6668         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6670 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
6672         PR target/54089
6673         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6674         (lshrsi3): Reimplement as lshrsi3_r0.
6676 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
6678         PR target/46191
6679         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6680         of libgcc.a.
6682 2012-09-07  Teresa Johnson  <tejohnson@google.com>
6684         PR gcov-profile/54487
6685         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6686         differences.
6688 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
6690         PR target/54461
6691         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6692         not configured --with-avrlibc=no.
6693         * config/avr/t-avrlibc: New file.
6694         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6695         (DPBIT_FUNCS): Ditto.
6696         (TPBIT_FUNCS): Ditto.
6698 2012-09-04  Teresa Johnson  <tejohnson@google.com>
6700         * libgcov.c (struct gcov_summary_buffer): New structure.
6701         (gcov_histogram_insert): New function.
6702         (gcov_compute_histogram): Ditto.
6703         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6704         histograms during summary merging.
6706 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
6708         * config.host (x86_64-*-openbsd*): New target.
6710 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
6712         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6713         attribute.
6715 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6717         PR target/54222
6718         * config/avr/t-avr (conv_X): Rename to func_X.
6720 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6722         PR target/54222
6723         * config/avr/lib1funcs-fixed.S: New file.
6724         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
6725         after they are used.
6726         (neg2, neg4): New macros.
6727         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6728         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6729         (__umulhisi3): Speed up MUL variant if there is enough flash.
6730         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6731         avr-modes.def.
6732         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6733         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6734         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6735         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6736         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6737         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6738         (LIB2FUNCS_EXCLUDE): Add supported functions.
6740 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
6742         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6743         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6744         libgcc-s-objects.
6745         * fixed-obj.mk: Only expand dependency if $o is not in
6746         LIB2FUNCS_EXCLUDE.
6748 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
6750         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6752 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
6754         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6755         depend on --enable-shared.
6756         ($(lib1asmfuncs-o)): Use %.vis files independent of
6757         --enable-shared.
6758         * static-object.mk ($(base)$(objext), $(base).vis)
6759         ($(base)_s$(objext)): Use same rules for visibility handling as in
6760         shared-object.mk.
6762 2012-08-21  Ian Lance Taylor  <iant@google.com>
6764         * config/i386/morestack.S (__morestack_non_split): Increase amount
6765         of space allocated for non-split code stack.
6767 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
6769         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6770         even if inhibit_libc.
6772 2012-08-17  Julian Brown  <julian@codesourcery.com>
6774         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6775         -fexceptions -fnon-call-exceptions if not defined.
6776         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6777         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6779 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
6781         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6782         type.
6784 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
6786         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6787         rs6000/t-slibgcc-aix.
6789 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6791         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6793 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6795         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6797 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
6799         PR driver/54171
6800         * Makefile.in (version): Replace top_srcdir with srcdir.
6802 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
6804         * Makefile.in (version): set to BASE-VER file from gcc directory.
6806 2012-08-01  Nick Clifton  <nickc@redhat.com>
6808         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6809         Implements __clrsb for an HImode argument.
6811 2012-07-31  Nick Clifton  <nickc@redhat.com>
6813         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6814         Implements __clrsb for an HImode argument.
6815         * config/stormy16/clrsbhi2.c: New file:
6816         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6818 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
6820         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6822 2012-07-19  Tristan Gingold  <gingold@adacore.com>
6823             Richard Henderson  <rth@redhat.com>
6825         * unwind-seh.c: New file.
6826         * unwind-generic.h: Include windows.h for SEH.
6827         (_Unwind_Exception): Use 6 private fields for SEH.
6828         (_GCC_specific_handler): Declare.
6829         * unwind-c.c (__gcc_personality_seh0): New function.
6830         Adjust for SEH.
6831         * config/i386/libgcc-cygming.ver: New file.
6832         * config/i386/t-seh-eh: New file.
6833         * config.host (x86_64-*-mingw*): Default to seh.
6835 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
6837         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6839 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
6841         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6842         __builtin_expect when checking for exceptions.
6843         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6845 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6847         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6848         function declaration.
6849         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6850         (FP_RND_MASK): New.
6851         * config/ia64/sfp-exceptions.c: New.
6852         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6854 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6856         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6857         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6858         * config/i386/64/sfp-machine: ... (delete here) ...
6859         * config/i386/sfp-machine.h: ... to here.
6860         (FP_EX_MASK): Remove.
6861         (FP_RND_MASK): New.
6862         (FP_INIT_ROUNDMODE): Declare asm as volatile.
6864 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
6866         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6867         * config/i386/libgcc-sol2.ver: Ditto.
6868         * config/i386/libgcc-glibc.ver: Ditto.
6870 2012-06-11  Roland McGrath  <mcgrathr@google.com>
6872         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6873         If __GLIBC__ is defined, refer to __pthread_key_create instead of
6874         pthread_cancel.
6876 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
6878         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6879         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6880         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6881         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6882         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6883         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6884         * config/i386/64/sfp-machine: ... (delete here) ...
6885         * config/i386/sfp-machine.h: ... to here.
6886         (FP_EX_MASK): New.
6887         (__sfp_handle_exceptions): New function declaration.
6888         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6889         * config/i386/sfp-exceptions.c: New.
6890         * config/i386/t-softfp: New.
6891         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6892         i386/t-softfp to tmake_file.
6894 2012-06-03  David S. Miller  <davem@davemloft.net>
6896         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6897         change.
6899 2012-05-31  David S. Miller  <davem@davemloft.net>
6901         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6902         multiply and divide instructions on 32-bit when V9.
6903         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6905 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
6907         * config/arm/ieee754-df.S: Fix typos.
6908         * config/arm/ieee754-sf.S: Fix typos.
6909         * config/c6x/libunwind.S: Fix typos.
6910         * config/epiphany/udivsi3-float.c: Fix typos.
6911         * config/microblaze/muldi3_hard.S: Fix typos.
6912         * config/picochip/adddi3.S: Fix typos.
6913         * config/picochip/ashlsi3.S: Fix typos.
6914         * config/picochip/ashrsi3.S: Fix typos.
6915         * config/picochip/clzsi2.S: Fix typos.
6916         * config/picochip/cmpsi2.S: Fix typos.
6917         * config/picochip/divmod15.S: Fix typos.
6918         * config/picochip/divmodhi4.S: Fix typos.
6919         * config/picochip/divmodsi4.S: Fix typos.
6920         * config/picochip/longjmp.S: Fix typos.
6921         * config/picochip/lshrsi3.S: Fix typos.
6922         * config/picochip/parityhi2.S: Fix typos.
6923         * config/picochip/popcounthi2.S: Fix typos.
6924         * config/picochip/setjmp.S: Fix typos.
6925         * config/picochip/subdi3.S: Fix typos.
6926         * config/picochip/ucmpsi2.S: Fix typos.
6927         * config/picochip/udivmodhi4.S: Fix typos.
6928         * config/picochip/udivmodsi4.S: Fix typos.
6929         * config/spu/divv2df3.c: Fix typos.
6930         * config/spu/mfc_multi_tag_release.c: Fix typos.
6931         * config/spu/mfc_tag_release.c: Fix typos.
6932         * configure.ac: Fix typos.
6933         * configure: Regenerate.
6935 2012-05-25  Ian Lance Taylor  <iant@google.com>
6937         * config/i386/morestack.S (__morestack_non_split): Check whether
6938         caller is varargs and needs %bp to hold the stack frame on return.
6940 2012-05-25  Olivier Hainque  <hainque@adacore.com>
6942         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6943         sequence in the non pic case on VxWorks.
6945 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6947         * Makefile.in: Move dependency on install-unwind_h from
6948         "install-leaf" to "install".
6950 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6952         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6953         Use a separate command for stamp removals.
6955 2012-05-21  Andrew Pinski  <apinski@cavium.com>
6957         PR bootstrap/53183
6958         * configure.ac: Define the default includes to being none.
6959         * configure: Regenerate.
6961 2012-05-16  Olivier Hainque  <hainque@adacore.com>
6963         * Makefile.in (install-unwind_h): Rename into ...
6964         (install-unwind_h-forbuild): New target.
6965         (all): Use it instead of the former install-unwind_h.
6966         (install-unwind_h): Reinstate, copy to user install destination
6967         for include files, not to the internal gcc object directory one.
6968         (install-leaf): Depend on it.
6970 2012-05-15  Olivier Hainque  <hainque@adacore.com>
6972         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6973         register numbers. LR_REGNO replaces R_LR.
6974         (ucontext_for): New, helper for ...
6975         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6976         and 5.3 of ...
6977         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6979 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6981         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6982         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6983         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6984         i386/t-cpuinfo ...
6985         (i[34567]86-*-*, x86_64-*-*): ... here.
6987         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6988         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6990         * config/i386/i386-cpuinfo.c: Rename to ...
6991         * config/i386/cpuinfo.c: ... this.
6992         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6994         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6995         (libgcc_cv_init_priority): New test.
6996         * configure: Regenerate.
6997         * config.in: New file.
6998         * Makefile.in (clean): Rename config.h to auto-target.h.
6999         (config.h): Likewise.
7000         (stamp-h): Likewise.
7002         * config/i386/cpuinfo.c (auto-target.h): Include.
7003         (CONSTRUCTOR_PRIORITY): Define.
7004         (__cpu_indicator_init): Use it.
7006 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7008         * longlong.h: Use a URL instead of an FSF postal address.
7009         Replace spaces with tab.
7011 2012-05-08  Teresa Johnson  <tejohnson@google.com>
7013         * libgcov.c (gcov_clear, __gcov_reset): New functions.
7014         (__gcov_dump): Ditto.
7015         (gcov_dump_complete): New global variable.
7016         (gcov_exit): Export hidden to enable use in L_gcov_dump.
7017         (__gcov_flush): Outline functionality now in gcov_clear.
7018         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7020 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
7022         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7023         (mips*-*-linux*): Include mips/t-tpbit when long double is
7024         16 bytes long.
7026 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
7028         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7029         (get_available_features): New argument. Check for AVX2.
7030         (__cpu_indicator_init): Modify call to get_available_features.
7032 2012-04-25  Alan Modra  <amodra@gmail.com>
7034         * config/rs6000/crtsavevr.S: New file.
7035         * config/rs6000/crtrestvr.S: New file.
7036         * config/rs6000/t-savresfgpr: Build the above.
7037         * config/rs6000/t-netbsd: Likewise.
7039 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7041         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7043 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7045         * libgcc/config/i386/i386-cpuinfo.c: New file.
7046         * libgcc/config/i386/t-cpuinfo: New file.
7047         * libgcc/config.host: Include t-cpuinfo.
7048         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7050 2012-04-24  Chao-ying Fu  <fu@mips.com>
7052         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7054 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
7056         struct siginfo vs. siginfo_t
7058         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7059         siginfo_t instead of struct siginfo.
7060         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7061         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7062         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7063         (ia64_handle_unwabi): Likewise.
7064         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7065         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7066         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7067         (sh_fallback_frame_state): Likewise.
7068         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7069         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7071 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
7073         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7074         system call number.
7076 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
7078         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7079         if it hasn't been previously saved.
7081 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
7083         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7084         only for glibc.
7086 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
7088         PR target/52737
7089         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7090         instead of __AVR_HAVE_8BIT_SP__.
7092 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7094         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7095         (unw_table_entry): Use unw_word instead of unsigned long.
7096         (_Unwind_FindTableEntry): Likewise.
7097         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7098         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7099         (_Unwind_FindTableEntry): Likewise.
7100         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7101         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7102         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7103         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7104         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7105         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7106         (uw_init_context_1, uw_install_context): Likewise.
7107         (unw_word): Move to unwind-ia64.h
7109 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7111         * config/vms/vms-ucrt0.c: Update copyright years.
7112         Add a sanity check.
7113         (___gcc_main_flags): Declare.
7114         (__main): Check flags to remap argv and exit code.
7115         * config.host (*-*-*vms*): Adjust extra_parts.
7116         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7117         (crt0.o): Add.
7119 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
7121         * arm/lib1funcs.asm (ctzsi2): New function.
7122         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7123         * arm/t-linux (LIB1ASMFUNCS): Likewise.
7124         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7125         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7126         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7127         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7129 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
7131         * config.host: Add bits to support powerpc64-*-freebsd*.
7132         * config/rs6000/freebsd-unwind.h: New file.
7133         * config/rs6000/t-freebsd64: New file.
7135 2012-03-20  Richard Guenther  <rguenther@suse.de>
7137         PR gcov-profile/52627
7138         * libgcov.c (init_mx): Fix mutex name.
7140 2012-03-16  Tristan Gingold  <gingold@adacore.com>
7142         * config/ia64/vms-unwind.h: Remove ulong (and replace
7143         it by unw_reg where used).  Define unw_reg with __int64.
7145 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7147         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7148         Solaris 8 handling.
7149         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7150         Solaris 8 handling.
7151         (sparc_is_sighandler): Likewise.
7153 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
7155         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7156         <= saved reg size.
7158 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7160         * config/arm/crtn.S: Fix typo.
7162 2012-03-13  Richard Guenther  <rguenther@suse.de>
7164         * libgcov.c: Remove stdio.h include and NULL un-define.
7166 2012-03-13  Richard Guenther  <rguenther@suse.de>
7168         PR target/52569
7169         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7171 2012-03-13  Richard Guenther  <rguenther@suse.de>
7173         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7175 2012-03-13  Richard Guenther  <rguenther@suse.de>
7177         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7178         and __gthread_mutex_init_function definitions.
7180 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7182         * config.host (mips*-*-openbsd*): Remove.
7184 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7186         * config.host: Remove alpha*-dec-osf5.1* handling.
7187         * config/alpha/gthr-posix.c: Remove.
7188         * config/alpha/libgcc-osf5.ver: Remove.
7189         * config/alpha/osf5-unwind.h: Remove.
7190         * config/alpha/t-osf-pthread: Remove.
7191         * config/alpha/t-slibgcc-osf: Remove.
7192         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7193         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7194         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7195         * mkmap-flat.awk: Remove osf_export handling.
7197 2012-03-12  Richard Guenther  <rguenther@suse.de>
7199         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7200         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7201         (__gthread_mutex_init_function): New function.
7202         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7204         PR gcov/49484
7205         * libgcov.c: Include gthr.h.
7206         (__gcov_flush_mx): New global variable.
7207         (init_mx, init_mx_once): New functions.
7208         (__gcov_flush): Protect self with a mutex.
7209         (__gcov_fork): Re-initialize mutex after forking.
7210         * unwind-dw2-fde.c: Change condition under which to use
7211         __GTHREAD_MUTEX_INIT_FUNCTION.
7213 2012-03-12  Tristan Gingold  <gingold@adacore.com>
7215         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7216         * config/ia64/t-vms: Likewise.
7218 2012-03-11  Michael Hope  <michael.hope@linaro.org>
7220         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7221         for Thumb-2.
7223 2012-03-07  Walter Lee  <walt@tilera.com>
7225         * config/tilepro/atomic.c: Rename "atomic_" prefix to
7226         "arch_atomic_".
7227         (atomic_xor): Rename and move definition to
7228         config/tilepro/atomic.h.
7229         (atomic_nand): Ditto.
7230         * config/tilepro/atomic.h: Rename "atomic_" prefix to
7231         "arch_atomic_".
7232         (arch_atomic_xor): Move from config/tilepro/atomic.c.
7233         (arch_atomic_nand): Ditto.
7235 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7237         PR target/52507
7238         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7240 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7242         PR target/52505
7243         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7244         from RAM.
7246 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7248         PR target/52461
7249         PR target/52508
7250         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7251         if RAMPZ affects reading from RAM.
7252         (__tablejump_elpm__): Ditto.
7253         (.xload): Ditto.
7254         (__movmemx_hi): Ditto.
7255         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7256         (__do_global_dtors): Ditto.
7257         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7258         (__movmemx_hi): Ditto.
7260 2012-03-05  Richard Henderson  <rth@redhat.com>
7262         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7263         [ARM] (count_trailing_zeros): Use the builtin.
7265 2012-03-01  Kai Tietz  <ktietz@redhat.com>
7267         * soft-fp: Imported from glibc upstream.
7269 2012-02-28  Kai Tietz  <ktietz@redhat.com>
7271         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7272         for mingw-targets as attribute gcc_struct.
7274 2012-02-28  Ian Lance Taylor  <iant@google.com>
7276         * generic-morestack.c (__splitstack_releasecontext): Correct call
7277         to __morestack_release_segments.
7279 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7281         PR target/52390
7282         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7283         for __linux__ when removing signals from __morestack_fullmask.
7285 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
7287         PR target/52261
7288         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7290 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7292         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7293         instead of HAVE_INITFINI_ARRAY.
7294         * config/ia64/crtend.S: Likewise.
7296 2012-02-20  Kai Tietz  <ktietz@redhat.com>
7298         PR libstdc++/52300
7299         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7301         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7302         to w32-unwind.h header.
7304 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7306         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7307         (mips*-*-linux*): Remove t-slibgcc-libgcc.
7308         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7309         * config/mips/mips16.S (__mips16_rdhwr): Delete.
7311 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7313         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7315 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7317         PR libitm/52220
7318         * config/darwin-crt-tm.c: Correct typo.
7320 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7321             Patrick Marlier  <patrick.marlier@gmail.com>
7323         PR libitm/52220
7324         * config/darwin-crt-tm.c: Generate dummy functions.
7326 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7327             Patrick Marlier  <patrick.marlier@gmail.com>
7329         PR libitm/52042
7330         * config/darwin-crt-tm.c (getTMCloneTable): New function.
7331         (__doTMRegistrations): Call it.
7332         (__doTMdeRegistrations): Likewise.
7334 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
7335             Anatoly Sokolov  <aesok@post.ru>
7336             Eric Weddington  <eric.weddington@atmel.com>
7338         PR target/52261
7339         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7340         (__epilogue_restores__): Ditto.
7342 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
7344         PR target/51921
7345         PR target/52205
7346         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7347         Solaris 11 and slightly reformat.
7348         (sparc_is_sighandler): Likewise.
7350 2012-02-14  Walter Lee  <walt@tilera.com>
7352         * config.host: Handle tilegx and tilepro.
7353         * config/tilegx/sfp-machine.h: New file.
7354         * config/tilegx/sfp-machine32.h: New file.
7355         * config/tilegx/sfp-machine64.h: New file.
7356         * config/tilegx/t-crtstuff: New file.
7357         * config/tilegx/t-softfp: New file.
7358         * config/tilegx/t-tilegx: New file.
7359         * config/tilepro/atomic.c: New file.
7360         * config/tilepro/atomic.h: New file.
7361         * config/tilepro/linux-unwind.h: New file.
7362         * config/tilepro/sfp-machine.h: New file.
7363         * config/tilepro/softdivide.c: New file.
7364         * config/tilepro/softmpy.S: New file.
7365         * config/tilepro/t-crtstuff: New file.
7366         * config/tilepro/t-tilepro: New file.
7368 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
7370         PR libstdc++/51296
7371         PR libstdc++/51906
7372         * gthr-posix.h: Allow static initializer macros to be disabled.
7373         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7375 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7377         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7378         Add t-slibgcc-libgcc to tmake_file.
7379         * config/mips/libgcc-mips16.ver: Revert previous patch.
7380         * config/mips/mips16.S (__mips16_rdhwr): Hide.
7382 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
7383             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
7385         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7386         * config/cr16/crti.S: New file.
7387         * config/cr16/crtlibid.S: New file.
7388         * config/cr16/crtn.S: New file.
7389         * config/cr16/lib1funcs.S: New file.
7390         * config/cr16/t-cr16: New file.
7391         * config/cr16/t-crtlibid: New file.
7392         * config/cr16/unwind-dw2.h: New file.
7393         * config/cr16/unwind-cr16.c: New file.
7394         * config/cr16/divmodhi3.c: New file.
7396 2012-01-25  Alan Modra  <amodra@gmail.com>
7398         * config/rs6000/t-linux64: Delete.  Move..
7399         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7400         * config/rs6000/t-linux: ..and libgcc flags to here.
7402 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
7404         * config.host (i[34567]86-*-interix3*):
7405         Change triplet to i[34567]86-*-interix[3-9]*.
7406         * configure: Regenerate.
7408 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
7409             Richard Sandiford  <rdsandiford@googlemail.com>
7411         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7412         * config/mips/mips16.S (__mips16_rdhwr): New function.
7413         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7415 2012-01-11  Nathan Sidwell  <nathan@acm.org>
7417         * libgcov.c (__gcov_init): Ignore objects with no functions.
7419 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
7421         PR target/49868
7422         Extend __pgmx semantics to linearize memory.
7423         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7424         * config/avr/lib1funcs.S (__xload_1): New function.
7425         (__movmemx_qi, __movmemx_hi): New functions.
7426         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7427         semantics.
7429 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7431         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7432         purported sigacthandler address isn't null before dereferencing it.
7433         (sparc_is_sighandler): Likewise.
7435 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7437         PR ada/41929
7438         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7439         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
7440         (sparc_is_sighandler): Likewise.
7441         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7443 2012-01-06  Tristan Gingold  <gingold@adacore.com>
7445         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7446         compatibility thunks...
7447         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7448         (crtbeginS.o, crtendS.o): ... and these to ...
7449         * config/ia64/t-ia64-elf: ... this new file.
7450         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7451         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7453 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7455         * configure: Regenerate.
7456         * config/s390/t-crtstuff: Remove -fPIC.
7458 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7460         PR bootstrap/51006
7461         * enable-execute-stack-mprotect.c (getpagesize): Do not define
7462         for NetBSD.
7464 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7466         PR target/51345
7467         * config/avr/lib1funcs.S: Remove FIXME comments.
7468         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7470 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7472         Implement light-weight DImode support.
7473         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7474         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7475         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7476         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7478 2011-12-30  Nathan Sidwell  <nathan@acm.org>
7480         * libgcov.c (gcov_crc32): Remove global var.
7481         (free_fn_data): New function.
7482         (buffer_fn_data): Pass in filename, more robust error recovery.
7483         (crc32_unsigned): New function.
7484         (gcov_exit): More robust detection of new program. More robust
7485         error recovery.
7486         (__gcov_init): Do not update program's crc here.
7488 2011-12-21  Tristan Gingold  <gingold@adacore.com>
7490         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7492 2011-12-21  Ian Lance Taylor  <iant@google.com>
7494         * config/i386/morestack.S: Simplify CFI opcodes throughout.
7496 2011-12-20  Ian Lance Taylor  <iant@google.com>
7498         * config/i386/morestack.S (__morestack_non_split): If there is
7499         enough stack space already, don't split.  Ask for more stack space
7500         than we required.
7502 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7504         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7505         `sys/sdt.h'.
7506         (_Unwind_DebugHook): New function.
7507         (uw_restore_core_regs): New define.
7508         (unwind_phase2): Use uw_restore_core_regs instead of
7509         restore_core_regs.
7510         (unwind_phase2_forced): Likewise.
7511         (__gnu_Unwind_Resume): Likewise.
7513 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
7515         * config/alpha/linux-unwind.h: Update copyright years.
7516         (MD_FROB_UPDATE_CONTEXT): New define.
7517         (alpha_frob_update_context): New function.
7519 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
7521         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7522         tmake_file rather replacing it.
7524 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
7526         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7527         function is not used for PPC64.
7528         (save_world): Amend comments.  Update the VRsave mask to reflect the
7529         saved regs.
7530         (rest_world): Update comments, do not  clobber r10, do not use r8.
7531         (eh_rest_world_r10): Amend comments, do not use r8.
7532         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7533         no longer used, move restore of CR and target address to the end of
7534         the routine.
7536 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
7538         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7539         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7541 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
7543         PR target/49313
7544         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7545         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7547 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
7549         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7551 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
7553         PR target/49313
7554         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7555         * config/avr/lib1funcs.S (__muldi3): New function.
7557 2011-12-06  Andrew Pinski  <apinski@cavium.com>
7559         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7560         size of func_ptr.
7561         (__frame_dummy_init_array_entry): Likewise.
7563 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
7565         Forward-port from gcc-4_6-branch r181936 2011-12-02.
7567         PR target/51345
7568         PR target/51002
7569         * config/avr/lib1funcs.S (__prologue_saves__,
7570         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7571         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
7573 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
7575         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7577 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7579         PR other/51272
7580         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7581         (_ITM_deregisterTMCloneTable): Likewise.
7582         (__register_frame_info): Fix unused warning.
7583         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7584         pthread_default_stacksize_np): Likewise.
7585         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7587 2011-11-29  DJ Delorie  <dj@redhat.com>
7589         * config.host (rl78-*-elf): New case.
7590         * config/rl78: New directory for the Renesas RL78.
7592 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
7594         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
7595         formatting.
7597 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7599         PR other/51022
7600         * config/rs6000/t-savresfgpr: New file.
7601         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7602         $(srcdir)/config/rs6000/eabi.S.
7603         * config/rs6000/t-ppccomm-ldbl: Remove.
7604         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7605         tmake_file.
7606         (powerpc-*-eabispe*): Likewise.
7607         (powerpc-*-eabi*): Likewise.
7608         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7609         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7610         to tmake_file, remove rs6000/t-ppccomm-ldbl.
7611         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7612         tmake_file.
7613         (powerpc-*-eabisim*): Likewise.
7614         (powerpc-*-elf*): Likewise.
7615         (powerpc-*-eabialtivec*): Likewise.
7616         (powerpc-xilinx-eabi*): Likewise.
7617         (powerpc-*-rtems*): Likewise.
7618         (powerpcle-*-elf*): Likewise.
7619         (powerpcle-*-eabisim*): Likewise.
7620         (powerpcle-*-eabi*): Likewise.
7622 2011-11-27  Ian Lance Taylor  <iant@google.com>
7624         * generic-morestack.c (__splitstack_find): Check for NULL old
7625         stack value.
7626         (__splitstack_resetcontext): New function.
7627         (__splitstack_releasecontext): New function.
7628         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7630 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7632         * config/darwin-crt-tm.c: Correct comments, use correct licence.
7634 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7636         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7638 2011-11-26  Richard Henderson  <rth@redhat.com>
7640         * config/m68k/linux-atomic.c: New file.
7641         * config/m68k/t-linux: New file.
7642         * config.host (m68k-uclinux, m68k-linux): Use it.
7644 2011-11-26  Richard Henderson  <rth@redhat.com>
7646         * crtstuff.c (__TMC_LIST__): Mark used not unused.
7647         (__TMC_END__): Only declare if hidden is available; in the definition,
7648         if hidden is unavailable add a null record.
7649         (deregister_tm_clones, register_tm_clones): New.
7650         (__do_global_dtors_aux, frame_dummy): Use them.
7651         (__do_global_dtors, __do_global_ctors_1): Likewise.
7653 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
7655         * config/darwin-crt-tm.c: New file.
7656         * config.host (darwin): Build crttms.o crttme.o to provide
7657         startup and shutdown for tm clones.
7658         * config/t-darwin (crttms.o): New build rule.
7659         (crttme.o): Likewise.
7661 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
7663         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7664         et al.
7666 2011-11-21  Richard Henderson  <rth@redhat.com>
7668         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7669         (__TMC_LIST__, __TMC_END__): New.
7670         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7671         (__do_global_dtors): Likewise.
7672         (frame_dummy): Call _ITM_registerTMCloneTable.
7673         (__do_global_ctors_1): Likewise.
7675 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7677         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7678         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7679         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7680         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7681         * config/i386/t-darwin64: Remove.
7682         * config/sh/t-netbsd (LIB2ADD): Remove.
7684 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
7686         PR target/49313
7687         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7688         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7689         * config/avr/lib1funcs.S (wmov): New assembler macro.
7690         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7691         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7692         (__udivmod64): New function.
7693         (__negdi2): New function.
7695 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
7697         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7698         *-*-freebsd*aout*): Remove.
7700 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
7702         * static-object.mk (c_flags-$o): Save c_flags.
7703         ($(base)$(objext)): Use it.
7705 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
7707         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7709 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
7711         PR target/49868
7712         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7713         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7714         New functions.
7716 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7718         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7719         functions.
7720         (aeabi_uidivmod): Likewise.
7721         (umodsi3): Likewise.
7722         (divsi3): Likewise.
7723         (aeabi_idivmod): Likewise.
7724         (modsi3): Likewise.
7726 2011-11-16  Tristan Gingold  <gingold@adacore.com>
7728         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7730 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
7732         PR target/49868
7733         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
7734         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7736 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7738         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7739         tmake_file list.
7740         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7741         * config/pa/t-stublib64: Delete.
7743 2011-11-12  Richard Henderson  <rth@redhat.com>
7745         * config/rs6000/linux-unwind.h (frob_update_context): Properly
7746         cast the pointer argument to _Unwind_SetGRPtr.
7748 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7750         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7752 2011-11-09  Ian Lance Taylor  <iant@google.com>
7754         * generic-morestack.c: Include <string.h>.
7755         (uintptr_type): Define.
7756         (struct initial_sp): Add dont_block_signals field.  Reduce size of
7757         extra array by 1.
7758         (allocate_segment): Set prev field to NULL.  Don't set
7759         __morestack_current_segment or __morestack_segments.
7760         (__generic_morestack): Update current->prev and *pp after calling
7761         allocate_segment.
7762         (__morestack_block_signals): Don't do anything if
7763         dont_block_signals is set.
7764         (__morestack_unblock_signals): Likewise.
7765         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
7766         uintptr_type.
7767         (__splitstack_block_signals): New function.
7768         (enum __splitstack_content_offsets): Define.
7769         (__splitstack_getcontext, __splitstack_setcontext): New functions.
7770         (__splitstack_makecontext): New function.
7771         (__splitstack_block_signals_context): New function.
7772         (__splitstack_find_context): New function.
7773         * config/i386/morestack.S (__morestack_get_guard): New function.
7774         (__morestack_set_guard, __morestack_make_guard): New functions.
7775         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7777 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7779         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7780         (i[34567]86-*-mingw*): ... here.
7781         (x86_64-*-mingw*): ... here.
7783 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7785         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7787 2011-11-07  Nathan Sidwell  <nathan@acm.org>
7789         * libgcov.c (struct gcov_fn_buffer): New struct.
7790         (buffer_fn_data): New helper.
7791         (gcov_exit): Rework for new gcov data structures.
7793 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
7795         PR target/49313
7796         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7798 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7800         * config.host (tmake_file): Correct comment.
7801         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7802         t-libgcc-pic.
7803         (bfin*-uclinux*): Likewise.
7804         (bfin*-linux-uclibc*): Likewise.
7805         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7807         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7808         assigning.
7809         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7810         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7811         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7812         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7813         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7814         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7815         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7816         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7817         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7818         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7819         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7820         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7821         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7823         * config/bfin/t-elf: Remove.
7824         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7826 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7828         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7829         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7830         (lm32-*-elf*, lm32-*-rtems*): Split into ...
7831         (lm32-*-elf*): ... this.
7832         (lm32-*-rtems*): ... and this.
7833         Add to tmake_file.
7834         (m32r-*-rtems*): Add to tmake_file.
7835         (moxie-*-rtems*): Likewise.
7836         (sparc-*-rtems*): Likewise.
7837         Remove t-rtems from tmake_file.
7838         (sparc64-*-rtems*): Likewise.
7839         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7840         instead.
7842 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7844         PR bootstrap/50982
7845         * config/gthr-posix.h: Move ...
7846         * gthr-posix.h: ... here.
7847         * config/gthr-lynx.h: Reflect this.
7848         * config/gthr-vxworks.h: Likewise.
7849         * config/rs6000/gthr-aix.h: Likewise.
7850         * configure.ac (target_thread_file): Likewise.
7851         * configure: Regenerate.
7853 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7855         * config.host (arm*-*-rtemseabi*): New target.
7857 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7859         PR other/50991
7860         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7861         extra-parts.
7863 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
7865         * config.host (epiphany-*-elf*): New configuration.
7866         * config/epiphany: New Directory.
7868 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
7870         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7871         * config/avr/t-rtems: New.
7872         Filter out _exit from LIB1ASMFUNCS.
7874 2011-11-04  David S. Miller  <davem@davemloft.net>
7876         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7877         * configure: Rebuild.
7879 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7881         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7882         variable.
7884 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
7886         PR target/50931
7887         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7888         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7890 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
7892         PR target/50989
7893         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7895 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7897         * config/c6x/t-elf (LIB2ADDEH): Set.
7898         * config/c6x/t-c6x-elf: Remove.
7900 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7902         * config/i386/sol2-ci.S: Rename to ...
7903         * config/i386/crti.S: ... this.
7904         * config/i386/sol2-cn.S: Rename to ...
7905         * config/i386/crtn.S: ... this.
7906         * config/sparc/sol2-ci.S: Rename to ...
7907         * config/sparc/crti.S: ... this.
7908         * config/sparc/sol2-cn.S: Rename to ...
7909         * config/sparc/crtn.S: ... this.
7910         * config/t-sol2 (CUSTOM_CRTIN): Remove.
7911         (crti.o, crtn.o): Remove.
7913 2011-11-04  Tristan Gingold  <gingold@adacore.com>
7915         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7917 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7919         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7921 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
7923         * config.host (crisv32-*-none, cris-*-none): Remove.
7924         (crisv32-*-elf): Append to tmake_file, don't just set it.
7925         (cris-*-elf): Add missing t-fdpbit to tmake_file.
7927 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7929         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7930         (ecrtn$(objext)): Likewise.
7931         (ncrti$(objext)): Likewise.
7932         (ncrtn$(objext)): Likewise.
7934 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7936         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7938 2011-11-02  David S. Miller  <davem@davemloft.net>
7940         * configure.ac: Set host_address on sparc too.
7941         * configure: Regenerate.
7942         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7943         based upon host_address.
7944         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7946 2011-11-02  Jason Merrill  <jason@redhat.com>
7948         * config/rs6000/t-ppccomm: Add missing \.
7950 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7952         * gthr-single.h, gthr.h: New files.
7953         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7954         config/gthr-vxworks.h, config/i386/gthr-win32.h,
7955         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7956         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7957         * config/i386/gthr-win32.c: Include "gthr-win32.h".
7958         * configure.ac (thread_header): New variable.
7959         Set it depending on target_thread_file.
7960         (gthr-default.h): Link from $thread_header.
7961         * configure: Regenerate.
7962         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7964 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7966         * configure.ac (tm_file_): New variable.
7967         Determine from tm_file.
7968         (tm_file, tm_defines): Substitute.
7969         * configure: Regenerate.
7970         * mkheader.sh: New file.
7971         * Makefile.in (clean): Remove libgcc_tm.h.
7972         ($(objects)): Depend on libgcc_tm.h.
7973         (libgcc_tm_defines, libgcc_tm_file): New variables.
7974         (libgcc_tm.h, libgcc_tm.stamp): New targets.
7975         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7976         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7977         ($(extra-parts)): Depend on libgcc_tm.h.
7978         * config.host (tm_defines, tm_file): New variable.
7979         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7980         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7981         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7982         (avr-*-rtems*): Likewise.
7983         (avr-*-*): Likewise.
7984         (frv-*-elf): Likewise.
7985         (frv-*-*linux*): Likewise.
7986         (h8300-*-rtems*): Likewise.
7987         (h8300-*-elf*): Likewise.
7988         (i[34567]86-*-darwin*): Likewise.
7989         (x86_64-*-darwin*): Likewise.
7990         (rx-*-elf): Likewise.
7991         (tic6x-*-uclinux): Likewise.
7992         (tic6x-*-elf): Likewise.
7993         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7994         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7995         * config/i386/cygming-crtbegin.c: Likewise.
7996         * config/i386/cygming-crtend.c: Likewise.
7997         * config/ia64/fde-vms.c: Likewise.
7998         * config/ia64/unwind-ia64.c: Likewise.
7999         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8000         * config/rs6000/darwin-fallback.c: Likewise.
8001         * config/stormy16/lib2funcs.c: Likewise.
8002         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8003         * crtstuff.c: Likewise.
8004         * dfp-bit.h: Likewise.
8005         * emutls.c: Likewise.
8006         * fixed-bit.c: Likewise.
8007         * fp-bit.c: Likewise.
8008         * generic-morestack-thread.c: Likewise.
8009         * generic-morestack.c: Likewise.
8010         * libgcc2.c: Likewise.
8011         * libgcov.c: Likewise.
8012         * unwind-dw2-fde-dip.c: Likewise.
8013         * unwind-dw2-fde.c: Likewise.
8014         * unwind-dw2.c: Likewise.
8015         * unwind-sjlj.c: Likewise.
8017 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8019         * configure.ac: Include ../config/picflag.m4.
8020         (GCC_PICFLAG): Call it.
8021         Substitute.
8022         * configure: Regenerate.
8023         * Makefile.in (gcc_srcdir): Remove.
8024         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8025         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8026         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8027         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8028         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8029         Use $<.
8030         Remove comment.
8031         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8032         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8033         to refer to libgcc2.c.
8034         Use $<.
8035         * config/darwin-64.c: New file.
8036         * config/darwin-crt3.c: Remove comment.
8037         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8038         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8039         config/udivmodsi4.c: New files.
8040         * config/memcmp.c, config/memcpy.c, config/memmove.c,
8041         config/memset.c: New files.
8042         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8043         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8044         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8045         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8046         * config/t-openbsd-thread: New file.
8047         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8048         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8049         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8050         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8051         qrnnd.S.
8052         Adapt filename.
8053         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8054         to refer to gthr-posix.c.
8055         * config/alpha/t-vms (LIB2ADD): Set.
8056         * config/alpha/vms-gcc_shell_handler.c: New file.
8057         * config/arm/bpabi.c, config/arm/fp16.c,
8058         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8059         config/arm/unaligned-funcs.c: New files.
8060         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8061         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8062         * config/arm/t-linux: Likewise.
8063         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8064         * config/arm/t-netbsd: New file.
8065         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8066         * config/arm/t-symbian (LIB2ADD_ST): Set.
8067         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8068         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8069         * config/bfin/t-elf: New file.
8070         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8071         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8072         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8073         config/c6x/ltf.c: New files.
8074         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8075         (HOST_LIBGCC2_CFLAGS): Set.
8076         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8077         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8078         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8079         New files.
8080         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8081         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8082         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8083         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8084         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8085         files.
8086         * config/frv/t-frv (LIB2ADD): Set.
8087         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8088         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8089         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8090         config/h8300/popcounthi2.c: New files.
8091         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8092         * config/i386/gthr-win32.c: New file.
8093         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8094         * config/i386/t-cygwin: Likewise.
8095         * config/i386/t-darwin, config/i386/t-darwin64,
8096         config/i386/t-gthr-win32, config/i386/t-interix: New files.
8097         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8098         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8099         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8100         * config/ia64/quadlib.c: New file.
8101         * config/ia64/t-hpux (LIB2ADD): Set.
8102         * config/ia64/t-ia64: Add comment.
8103         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8104         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8105         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8106         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8107         * config/m32c/t-m32c (LIB2ADD): Set.
8108         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8109         * config/m32r/t-m32r: Likewise.
8110         * config/m68k/fpgnulib.c: New file.
8111         * config/m68k/t-floatlib (LIB2ADD): Set.
8112         (xfgnulib.c): New target.
8113         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8114         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8115         * config/mep/t-mep (LIB2ADD): Set.
8116         * config/microblaze/divsi3.asm: Rename to divsi3.S.
8117         * config/microblaze/moddi3.asm: Rename to moddi3.S.
8118         * config/microblaze/modsi3.asm: Rename to modsi3.S.
8119         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8120         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8121         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8122         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8123         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8124         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8125         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8126         New files.
8127         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8128         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8129         * config/pa/fptr.c, config/pa/lib2funcs.S,
8130         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8131         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8132         (LIB2ADD, LIB2ADD_ST): Set.
8133         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8134         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8135         Set.
8136         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8137         * config/pdp11/t-pdp11: New file.
8138         * config/picochip/libgccExtras/adddi3.S,
8139         config/picochip/libgccExtras/ashlsi3.S,
8140         config/picochip/libgccExtras/ashrsi3.S,
8141         config/picochip/libgccExtras/clzsi2.S,
8142         config/picochip/libgccExtras/cmpsi2.S,
8143         config/picochip/libgccExtras/divmod15.S,
8144         config/picochip/libgccExtras/divmodhi4.S,
8145         config/picochip/libgccExtras/divmodsi4.S,
8146         config/picochip/libgccExtras/lshrsi3.S,
8147         config/picochip/libgccExtras/parityhi2.S,
8148         config/picochip/libgccExtras/popcounthi2.S,
8149         config/picochip/libgccExtras/subdi3.S,
8150         config/picochip/libgccExtras/ucmpsi2.S,
8151         config/picochip/libgccExtras/udivmodhi4.S,
8152         config/picochip/libgccExtras/udivmodsi4.S: New files.
8153         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8154         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8155         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8156         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8157         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8158         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8159         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
8160         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8161         files.
8162         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8163         (HOST_LIBGCC2_CFLAGS): Set.
8164         * config/rs6000/t-darwin64: New file.
8165         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8166         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8167         * config/rs6000/t-ppccomm (LIB2ADD): Add
8168         $(srcdir)/config/rs6000/tramp.S.
8169         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8170         Add  $(srcdir)/config/rs6000/eabi.S.
8171         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8172         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8173         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8174         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8175         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8176         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8177         * config/rs6000/tramp.S: New file.
8178         * config/s390/t-tpf: Remove.
8179         * config/sh/linux-atomic.S: New file.
8180         * config/sh/t-linux (LIB2ADD): Set.
8181         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8182         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8183         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8184         to unwind-dw2.c.
8185         (HOST_LIBGCC2_CFLAGS): Set.
8186         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8187         * config/spu/divmodti4.c, config/spu/divv2df3.c,
8188         config/spu/float_disf.c, config/spu/float_unsdidf.c,
8189         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8190         config/spu/mfc_multi_tag_release.c,
8191         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8192         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8193         config/spu/multi3.c: New files.
8194         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8195         (HOST_LIBGCC2_CFLAGS): Set.
8196         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8197         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8198         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8199         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8200         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8201         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8202         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8203         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8204         config/stormy16/umodsi3.c: New files.
8205         * config/xtensa/lib2funcs.S: New file.
8206         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8207         * config/xtensa/t-xtensa (LIB2ADD): Set.
8208         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8209         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8210         Add t-freebsd-thread to tmake_file for posix threads.
8211         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8212         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8213         (*-*-lynxos*): Likewise.
8214         (*-*-netbsd*): Likewise.
8215         (*-*-openbsd*): Likewise.
8216         Add t-openbsd-thread to tmake_file for posix threads.
8217         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8218         (*-*-vxworks*): Set tmake_file.
8219         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8220         (alpha*-*-freebsd*): Likewise.
8221         (alpha*-*-netbsd*): Likewise.
8222         (alpha*-*-openbsd*): Likewise.
8223         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8224         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8225         (alpha*-dec-*vms*): Likewise.
8226         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8227         (bfin*-elf*): Add bfin/t-elf to tmake_file.
8228         (bfin*-uclinux*): Likewise.
8229         (bfin*-linux-uclibc*): Likewise.
8230         (crisv32-*-elf): Add cris/t-cris to tmake_file.
8231         (crisv32-*-none): Likewise.
8232         (cris-*-elf): Likewise.
8233         (cris-*-none): Likewise.
8234         (cris-*-linux*, crisv32-*-linux*): Likewise.
8235         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8236         tmake_file.
8237         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8238         tmake_file.
8239         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8240         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8241         (x86_64-*-elf*): Likewise.
8242         (i[34567]86-*-nto-qnx*): Likewise.
8243         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8244         win32 threads.
8245         (x86_64-*-mingw*): Likewise.
8246         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8247         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8248         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8249         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8250         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8251         tmake_file.
8252         (mipsisa64sr71k-*-elf*): Likewise.
8253         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8254         (mips-*-elf*, mipsel-*-elf*): Likewise.
8255         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8256         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8257         (mips*-*-rtems*): Likewise.
8258         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8259         to tmake_file.
8260         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8261         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8262         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8263         (spu-*-elf*): Likewise.
8264         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8266 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8268         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8269         $(srcdir) to refer to $(LIB1ASMSRC).
8270         Use $<.
8271         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8272         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8273         config/arm/lib1funcs.S: New files.
8274         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8275         * config/arm/t-arm: New file.
8276         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8277         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8278         config/arm/t-strongarm-elf: New files.
8279         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8280         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8281         * config/avr/lib1funcs.S: New file.
8282         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8283         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8284         * config/c6x/lib1funcs.S: New file.
8285         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8286         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8287         * config/frv/lib1funcs.S: New file.
8288         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8289         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8290         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8291         * config/ia64/__divxf3.asm: Rename to ...
8292         * config/ia64/__divxf3.S: ... this.
8293         Adapt lib1funcs.asm filename.
8294         * config/ia64/_fixtfdi.asm: Rename to ...
8295         * config/ia64/_fixtfdi.S: ... this.
8296         Adapt lib1funcs.asm filename.
8297         * config/ia64/_fixunstfdi.asm: Rename to ...
8298         * config/ia64/_fixunstfdi.S: ... this.
8299         Adapt lib1funcs.asm filename.
8300         * config/ia64/_floatditf.asm: Rename to ...
8301         * config/ia64/_floatditf.S: ... this.
8302         Adapt lib1funcs.asm filename.
8303         * config/ia64/lib1funcs.S: New file.
8304         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8305         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8306         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8307         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8308         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8309         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8310         * config/mep/lib1funcs.S: New file.
8311         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8312         * config/mips/mips16.S: New file.
8313         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8314         * config/pa/milli64.S: New file.
8315         * config/pa/t-linux, config/pa/t-linux64: New files.
8316         * config/picochip/lib1funcs.S: New file.
8317         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8318         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8319         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8320         * config/sh/t-netbsd: New file.
8321         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8322         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8323         * config/sh/t-sh64: New file.
8324         * config/sparc/lb1spc.S: New file.
8325         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8326         filename.
8327         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8328         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8329         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8330         config/xtensa/lib1funcs.S: New files.
8331         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8332         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8333         tmake_file.
8334         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8335         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8336         (arm*-*-linux*): Likewise.
8337         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8338         arm*-*-linux-*eabi, add arm/t-linux otherwise.
8339         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8340         (arm*-*-ecos-elf): Likewise.
8341         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8342         (arm*-*-rtems*): Likewise.
8343         (arm*-*-elf): Likewise.
8344         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8345         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8346         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8347         (bfin*-uclinux*): Likewise.
8348         (bfin*-linux-uclibc*): Likewise.
8349         (bfin*-rtems*): Likewise.
8350         (bfin*-*): Likewise.
8351         (fido-*-elf): Merge into m68k-*-elf*.
8352         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8353         (frv-*-*linux*): Add frv/t-frv to tmake_file.
8354         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8355         (h8300-*-elf*): Likewise.
8356         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8357         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8358         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8359         (i[34567]86-*-mingw*): Likewise.
8360         (x86_64-*-mingw*): Likewise.
8361         (i[34567]86-*-interix3*): Likewise.
8362         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8363         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8364         (m68k-*-elf*): Also handle fido-*-elf.
8365         Add m68k/t-floatlib to tmake_file.
8366         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8367         (m68k-*-linux*): Likewise.
8368         (m68k-*-rtems*): Likewise.
8369         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8370         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8371         sh64*-*-*.
8372         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8373         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8374         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8375         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8376         sh/t-netbsd to tmake_file.
8377         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8378         (sh-*-rtems*): Add sh/t-sh to tmake_file.
8379         (sh-wrs-vxworks): Likewise.
8380         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8381         *-leon[3-9]*.
8382         (v850*-*-*): Add v850/t-v850 to tmake_file.
8383         (vax-*-linux*): Add vax/t-linux to tmake_file.
8384         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8386 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8388         * crtstuff.c: New file.
8389         * Makefile.in (CRTSTUFF_CFLAGS): Define.
8390         (CRTSTUFF_T_CFLAGS): Define.
8391         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8392         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8393         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8394         crtstuff.c.
8395         Use $<.
8396         (crtbeginT.o): Use $(objext).
8397         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8398         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8399         (gcc-extra-parts): Remove.
8400         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8401         Set extra_parts.
8402         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8403         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8404         Add t-crtstuff-pic to tmake_file.
8405         (*-*-lynxos*): New case.
8406         Set tmake_file, extra_parts.
8407         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8408         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8409         *-*-netbsdelf[2-9]*.
8410         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8411         (*-*-rtems*): Set extra_parts.
8412         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8413         (*-*-uclinux*): New case.
8414         Set extra_parts.
8415         (*-*-vms*): New case.
8416         Set tmake_file, extra_parts.
8417         (*-*-elf): Set extra_parts.
8418         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8419         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8420         vms/t-vms64.
8421         Set extra_parts.
8422         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8423         Set extra_parts.
8424         (arm*-*-freebsd*): Add t-crtin to tmake_file.
8425         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8426         (arm-wrs-vxworks): Append to tmake_file.
8427         Set extra_parts.
8428         (arm*-*-uclinux*): Set extra_parts.
8429         (arm*-*-ecos-elf): Likewise.
8430         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8431         arm*-*-eabi*.
8432         (arm*-*-rtems*): Set extra_parts.
8433         (arm*-*-elf): Likewise.
8434         (avr-*-rtems*): Clear extra_parts.
8435         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8436         Set extra_parts.
8437         (bfin*-uclinux*): Likewise.
8438         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8439         (bfin*-rtems*): Append to tmake_file.
8440         Set extra_parts.
8441         (bfin*-*): Likewise.
8442         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8443         (crisv32-*-elf): ... this.
8444         (crisv32-*-none): ... this.
8445         (cris-*-elf, cris-*-none): New cases.
8446         Add cris/t-elfmulti to tmake_file.
8447         (fr30-*-elf): Append to tmake_file.
8448         Set extra_parts.
8449         (frv-*-elf): Append to tmake_file, add frv/t-frv.
8450         Set extra_parts.
8451         (h8300-*-rtems*): Append to tmake_file.
8452         Set extra_parts.
8453         (h8300-*-elf*): Likewise.
8454         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8455         Set extra_parts.
8456         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8457         Set extra_parts.
8458         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8459         (x86_64-*-elf*): Likewise.
8460         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8461         (x86_64-*-freebsd*): Likewise.
8462         (x86_64-*-netbsd*): Likewise.
8463         (i[34567]86-*-linux*): Likewise.
8464         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8465         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8466         (x86_64-*-linux*): Likewise.
8467         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8468         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8469         tmake_file.
8470         Set extra_parts.
8471         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8472         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8473         Append to extra_parts, remove crtbegin.o, crtend.o.
8474         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8475         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8476         crtend.o, crtbeginS.o, crtendS.o.
8477         (ia64*-*-linux*): Comment extra_parts.
8478         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8479         Set extra_parts.
8480         (iq2000*-*-elf*): Clear extra_parts.
8481         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8482         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8483         (m32r-*-elf*, m32r-*-rtems*): Split off ...
8484         (m32r-*-rtems*): ... this.
8485         Add m32r/t-m32r to tmake_file.
8486         (m68k-*-elf*): Add t-crtin to tmake_file.
8487         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8488         (mcore-*-elf): Likewise.
8489         (microblaze*-*-*): Set extra_parts.
8490         (mips*-sde-elf*): New case.
8491         Set tmake_file, extra_parts.
8492         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8493         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8494         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8495         tmake_file.
8496         Set extra_parts.
8497         (mipsisa64sr71k-*-elf*): Likewise.
8498         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8499         (mips-*-elf*, mipsel-*-elf*): Likewise.
8500         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8501         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8502         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
8503         (mips*-*-rtems*): Likewise.
8504         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8505         (moxie-*-*): Split into ...
8506         (moxie-*-elf, moxie-*-uclinux*): ... this.
8507         Add to extra_parts, remove crtbegin.o, crtend.o.
8508         (moxie-*-rtems*): New case.
8509         Set tmake_file.
8510         Clear extra_parts.
8511         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8512         Set extra_parts.
8513         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8514         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8515         tmake_file.
8516         Set extra_parts.
8517         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8518         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8519         Set extra_parts.
8520         (powerpc-*-eabisim*): Likewise.
8521         (powerpc-*-elf*): Likewise.
8522         (powerpc-*-eabialtivec*): Likewise.
8523         (powerpc-xilinx-eabi*): Likewise.
8524         (powerpc-*-eabi*): Likewise.
8525         (powerpc-*-rtems*): Likewise.
8526         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8527         tmake_file.
8528         Set extra_parts.
8529         (powerpc-*-lynxos*): Add to tmake_file.
8530         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8531         rs6000/t-crtstuff, t-crtstuff-pic.
8532         Set extra_parts.
8533         (powerpcle-*-eabisim*): Likewise.
8534         (powerpcle-*-eabi*): Likewise.
8535         (rx-*-elf): Remove extra_parts.
8536         (s390x-ibm-tpf*): Set extra_parts.
8537         (score-*-elf): Set extra_parts.
8538         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8539         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8540         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8541         (sh64l*-*-netbsd*): Split into ...
8542         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8543         Add t-crtstuff-pic to tmake_file.
8544         Set extra_parts.
8545         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8546         Set extra_parts.
8547         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8548         (sparc-*-elf*): Remove t-crtin from tmake_file.
8549         Add to extra_parts, remove crtbegin.o, crtend.o.
8550         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8551         (sparc64-*-linux*): Likewise.
8552         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8553         Add to extra_parts, remove crtbegin.o, crtend.o.
8554         (sparc64-*-elf*): Remove t-crtin from tmake_file.
8555         Add to extra_parts, remove crtbegin.o, crtend.o.
8556         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8557         Add to extra_parts, remove crtbegin.o, crtend.o.
8558         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8559         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8560         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8561         Set extra_parts.
8562         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8563         Set extra_parts.
8564         (tic6x-*-*): Change to ...
8565         (tic6x-*-elf): ... this.
8566         Set extra_parts.
8567         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8568         Set extra_parts.
8569         (am33_2.0-*-linux*): Add comment.
8570         (mep*-*-*): Add mep/t-mep to tmake_file.
8571         Set extra_parts.
8572         * config/alpha/t-vms: New file.
8573         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8574         * config/arm/crti.S, config/arm/crtn.S: New files.
8575         * config/bfin/crti.S, config/bfin/crtn.S: New files.
8576         * config/bfin/crtlibid.S: New file.
8577         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8578         * config/c6x/crti.S, config/c6x/crtn.S: New files.
8579         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8580         (crti.o, crtin.o): New rules.
8581         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8582         * config/c6x/t-uclinux: New file.
8583         * config/cris/t-elfmulti: New file.
8584         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8585         * config/fr30/crti.S, config/fr30/crtn.S: New files.
8586         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8587         * config/frv/t-frv: New file.
8588         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8589         * config/h8300/crti.S, config/h8300/crtn.S: New files.
8590         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8591         New files.
8592         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8593         refer to cygming-crtbegin.c, cygming-crtend.c.
8594         Use $<.
8595         * config/i386/t-nto: New file.
8596         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8597         * config/ia64/crti.S, config/ia64/crtn.S: New files.
8598         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8599         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8600         Use .S extension.
8601         Use $<.
8602         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8603         (crtinitS.o): New rule.
8604         * config/ia64/vms-crtinit.S: New file.
8605         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8606         * config/m32r/initfini.c: New file.
8607         * config/m32r/t-linux, config/m32r/t-m32r: New files.
8608         * config/m68k/crti.S, config/m68k/crtn.S: New files.
8609         * config/mcore/crti.S, config/mcore/crtn.S: New files.
8610         * config/mep/t-mep: New file.
8611         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8612         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8613         * config/mips/crti.S, config/mips/crtn.S: New files.
8614         * config/mips/t-crtstuff: New file.
8615         * config/mmix/crti.S, config/mmix/crtn.S: New files.
8616         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8617         (CUSTOM_CRTIN): Set.
8618         ($(T)crti.o, $(T)crtn.o): Remove $(T),
8619         dependencies.
8620         Use $(srcdir) to refer to crti.S, crtn.S.
8621         Use .S extension, $<.
8622         * config/moxie/crti.asm: Rename to ...
8623         * config/moxie/crti.S: ... this.
8624         * config/moxie/crtn.asm: Rename to ...
8625         * config/moxie/crtn.S: ... this.
8626         * config/moxie/t-moxie: Remove.
8627         * config/pa/stublib.c: New file.
8628         * config/pa/t-stublib, config/pa/t-stublib64: New files.
8629         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8630         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8631         * config/rs6000/t-crtstuff: New file.
8632         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8633         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8634         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8635         Make output file explicit.
8636         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8637         Make output file explicit.
8638         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8639         Make output file explicit.
8640         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8641         Make output file explicit.
8642         * config/score/crti.S, config/score/crtn.S: New files.
8643         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8644         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8645         files.
8646         * config/sh/t-sh, config/sh/t-superh: New files.
8647         * config/sparc/t-linux64: New file.
8648         * config/spu/cache.S, config/spu/cachemgr.c: New files.
8649         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8650         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8651         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8652         * config/t-crtin: Remove.
8653         * config/t-crtstuff-pic: New file.
8654         * config/t-sol2 (CUSTOM_CRTIN): Set.
8655         (crti.o, crtn.o): New rules.
8656         * config/vms/t-vms: New file.
8657         * config/vms/vms-ucrt0.c: New file.
8658         * config/xtensa/t-elf: New file.
8660 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8662         * Makefile.in (SHLIB_NM_FLAGS): Set.
8663         * mkmap-flat.awk, mkmap-symver.awk: New files.
8664         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8665         exceptions.
8666         * configure: Regenerate.
8667         * config/libgcc-glibc.ver: New file.
8668         * config/libgcc-libsystem.ver: New file.
8669         * config/t-libunwind (SHLIB_LC): Set.
8670         * config/t-linux: New file.
8671         * config/t-slibgcc (INSTALL_SHLIB): New.
8672         (SHLIB_INSTALL): Use it.
8673         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8674         to mkmap-symver.awk.
8675         (SHLIB_MAPFILES): Don't append, adapt pathname.
8676         (SHLIB_VERPFX): Set.
8677         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8678         to mkmap-symver.awk.
8679         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8680         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8681         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8682         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8683         to mkmap-flat.awk.
8684         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8685         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8686         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8687         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8688         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8689         * config/i386/libgcc-darwin.10.4.ver,
8690         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8691         New files.
8692         * config/i386/t-darwin: Remove.
8693         * config/i386/t-darwin64: Likewise.
8694         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8695         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8696         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8697         * config/i386/t-linux: New file.
8698         * config/i386/t-mingw32: New file.
8699         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8700         * config/ia64/t-glibc: Rename to ...
8701         * config/ia64/t-linux: ... this.
8702         (SHLIB_MAPFILES): Set.
8703         * config/ia64/t-glibc-libunwind: Rename to ...
8704         * config/ia64/t-linux-libunwind: ... this.
8705         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8706         * config/ia64/t-slibgcc-hpux: New file.
8707         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8708         * config/m68k/t-slibgcc-elf-ver: New file.
8709         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8710         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8711         to mkmap-flat.awk.
8712         * config/pa/t-slibgcc-hpux: New file.
8713         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8714         files.
8715         * config/rs6000/libgcc-darwin.10.4.ver,
8716         config/rs6000/libgcc-darwin.10.5.ver: New files.
8717         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8718         config/rs6000/libgcc-glibc.ver.
8719         * config/rs6000/libgcc-ppc64.ver: Rename to
8720         config/rs6000/libgcc-ibm-ldouble.ver.
8721         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8722         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8723         * config/rs6000/t-ldbl128: Rename to ...
8724         * config/rs6000/t-linux: ... this.
8725         (SHLIB_MAPFILES): Adapt filename.
8726         * config/rs6000/t-slibgcc-aix: New file.
8727         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8728         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8729         libgcc-excl.ver, libgcc-glibc.ver.
8730         (SHLIB_LINK, SHLIB_INSTALL): Remove.
8731         * config/sparc/libgcc-glibc.ver: New file.
8732         * config/sparc/t-linux: New file.
8733         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8734         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8735         t-slibgcc-elf-ver to tmake_file.
8736         Add t-slibgcc-nolc-override to tmake_file for posix threads on
8737         *-*-freebsd[34].
8738         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8739         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8740         t-slibgcc-elf-ver, t-linux to tmake_file.
8741         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8742         tmake_file.
8743         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8744         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8745         (alpha*-dec-*vms*): Likewise.
8746         (arm*-*-freebsd*): Append to tmake_file.
8747         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8748         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8749         arm*-*-linux-*eabi.
8750         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8751         tmake_file for arm*-*-symbianelf*.
8752         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8753         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8754         cris/t-linux.
8755         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8756         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8757         pa/t-slibgcc-dwarf-ver to tmake_file.
8758         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8759         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8760         (hppa*64*-*-hpux11*): Likewise.
8761         (hppa[12]*-*-hpux11*): Likewise.
8762         (x86_64-*-darwin*): Don't override tmake_file, but only keep
8763         i386/t-crtpc, i386/t-crtfm.
8764         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8765         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8766         to tmake_file.
8767         Add i386/t-cygwin to tmake_file.
8768         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8769         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8770         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8771         to tmake_file.
8772         Add i386/t-mingw32 to tmake_file.
8773         (x86_64-*-mingw*): Likewise.
8774         (ia64*-*-freebsd*): Append to tmake_file.
8775         (ia64*-*-linux*): Append to tmake_file.
8776         Replace ia64/t-glibc by ia64/t-linux.
8777         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8778         system libunwind.
8779         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8780         t-slibgcc-hpux to tmake_file.
8781         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8782         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8783         (m32rle-*-linux*): Likewise.
8784         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8785         sjlj exceptions.
8786         (microblaze*-linux*): New case.
8787         Append to tmake_file, add t-slibgcc-nolc-override.
8788         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8789         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8790         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8791         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8792         rs6000/t-slibgcc-aix to tmake_file.
8793         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8794         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8795         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8796         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8797         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8798         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8799         sh*-*-linux*.
8800         (sparc-*-linux*): Append to tmake_file for *-leon*.
8801         Add sparc/t-linux to tmake_file for non-Leon targets.
8802         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8803         (tic6x-*-uclinux): New case.
8804         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8805         (tic6x-*-*): Add c6x/t-elf to tmake_file.
8806         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8807         (am33_2.0-*-linux*): Append to tmake_file.
8808         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8809         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8810         x86_64-*-kfreebsd*-gnu.
8811         Add i386/t-linux to tmake_file.
8813 2011-10-28  Ian Lance Taylor  <iant@google.com>
8815         * config/i386/morestack.S: Correct CFI information to do proper
8816         returns throughout function.  In 32-bit mode, save %ebx so that it
8817         is restored on unwind.
8819 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
8821         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8822         case where B3 isn't the return register.
8824         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8825         logic for doubleword pops.
8827 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
8829         * config/rs6000/t-freebsd: Add wildcard.
8831 2011-10-21  Paul Brook  <paul@codesourcery.com>
8833         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8835 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
8836             Eric Botcazou  <ebotcazou@adacore.com>
8838         PR target/50737
8839         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8840         fs->signal_frame to 1.
8842 2011-10-07  Ian Lance Taylor  <iant@google.com>
8844         * generic-morestack-thread.c: #include <errno.h>.
8846 2011-10-07  Ian Lance Taylor  <iant@google.com>
8848         PR target/46093
8849         * generic-morestack.c (__generic_morestack): Make sure the segment
8850         is large enough for both the stack frame and the copied
8851         parameters.
8853 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8855         PR bootstrap/49804
8856         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8857         extra_parts.
8859 2011-09-28  Nick Clifton  <nickc@redhat.com>
8861         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8862         64-bit doubles are not enabled.
8863         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8864         and floatunsisf functions.
8866 2011-09-13  Paul Brook  <paul@codesourcery.com>
8868         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
8869         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8870         * unwind-arm-common.inc: New file.
8871         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8872         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8873         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8874         * config/c6x/libunwind.S: New file.
8875         * config/c6x/pr-support.c: New file.
8876         * config/c6x/unwind-c6x.c: New file.
8877         * config/c6x/unwind-c6x.h: New file.
8878         * config/c6x/t-c6x-elf: New file.
8880 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
8882         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8883         (ASM_DIVZERO): Ditto.
8884         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8886 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
8888         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8890 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
8892         PR target/50090
8893         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8894         instead of an assembly one.
8896 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
8898         PR bootstrap/50047
8899         * Makefile.in (install-unwind_h): Create
8900         $(gcc_objdir)/include/unwind.h atomically.
8902 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8904         * Makefile.in (install-unwind_h): Remove destination file first.
8906 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8908         * sync.c: New file.
8909         * config/mips/t-mips16: New file.
8910         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8911         (mips*-*-linux*): Likewise.
8912         (mips*-sde-elf*): Likewise.
8913         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8914         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8915         Add mips/t-mips16 to tmake_file.
8916         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8917         (mips-*-elf*): Likewise.
8918         (mips64-*-elf*): Likewise.
8919         (mips64orion-*-elf*): Likewise.
8920         (mips*-*-rtems*): Likewise.
8921         (mipstx39-*-elf*): Likewise.
8922         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8923         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8924         LIBGCC_SYNC_CFLAGS.
8925         Use $(srcdir) to refer to sync.c.
8926         Use $<.
8927         ($(libgcc-sync-funcs-o)): Likewise.
8928         ($(libgcc-sync-size-funcs-s-o)): Likewise.
8929         ($(libgcc-sync-funcs-s-o)): Likewise.
8931 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8933         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8934         t-libunwind.
8936 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
8938         PR other/48007
8939         * config/i386/value-unwind.h: New.
8941 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
8943         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8944         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8945         Add to tmake_file rather than overriding it.
8947 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8949         * config/t-softfp: Remove.
8950         * soft-fp: Moved from ../gcc/config.
8951         * soft-fp/README: Remove t-softfp reference.
8952         * soft-fp/t-softfp: Move to config/t-softfp.
8953         (softfp_machine_header): Remove.
8954         (softfp_file_list): Remove config subdir.
8955         (soft-fp-objects): New variable.
8956         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8957         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8958         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8959         * config/t-softfp-excl: New file.
8960         * config/t-softfp-sfdf: New file.
8961         * config/t-softfp-tf: New file.
8962         * config/no-sfp-machine.h: New file.
8963         * config/arm/sfp-machine.h: New file.
8964         * config/arm/t-softfp: New file.
8965         * config/c6x/sfp-machine.h: New file.
8966         * config/i386/32/t-fprules-softfp: Rename to ...
8967         * config/i386/32/t-softfp: ... this.
8968         (tifunctions, LIB2ADD): Remove.
8969         (softfp_int_modes): Override.
8970         * config/i386/64/t-softfp-compat (tf-functions): Remove config
8971         subdir.
8972         * config/i386/64/eqtf2.c: Likewise.
8973         * config/i386/64/getf2.c: Likewise.
8974         * config/i386/64/letf2.c: Likewise.
8975         * config/ia64/sft-machine.h: New file.
8976         * config/ia64/t-fprules-softfp: Rename to ...
8977         * config/ia64/t-softfp: ... this.
8978         * config/lm32/sfp-machine.h: New file.
8979         * config/moxie/t-moxie-softfp: Remove.
8980         * config/rs6000/ibm-ldouble-format: New file.
8981         * config/rs6000/ibm-ldouble.c: New file.
8982         * config/rs6000/libgcc-ppc-glibc.ver: New file
8983         * config/rs6000/libgcc-ppc64.ver: New file
8984         * config/rs6000/sfp-machine.h: New file.
8985         * config/rs6000/t-freebsd: New file.
8986         * config/rs6000/t-ibm-ldouble: New file.
8987         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8988         libgcc-ppc-glibc.ver.
8989         * config/rs6000/t-linux64: New file.
8990         * config/rs6000/t-ppccomm (LIB2ADD): Add
8991         $(srcdir)/config/rs6000/ibm-ldouble.c.
8992         * config/rs6000/t-ppccomm-ldbl: New file.
8993         * config/score/sfp-machine.h: New file.
8994         * config.host (sfp_machine_header): Explain.
8995         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8996         t-softfp to tmake_file.
8997         (arm*-*-uclinux*): Likewise.
8998         (arm*-*-ecos-elf): Likewise.
8999         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9000         (arm*-*-rtems*): Likewise.
9001         (arm*-*-elf): Likewise.
9002         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9003         in tmake_file.
9004         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9005         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9006         (lm32-*-uclinux*): Likewise.
9007         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9008         t-softfp-excl, t-softfp.
9009         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9010         (powerpc64-*-darwin*): Likewise.
9011         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9012         to tmake_file.
9013         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9014         tmake_file.
9015         (powerpc-*-eabisim*): Likewise.
9016         (powerpc-*-elf*): Likewise.
9017         (powerpc-*-eabialtivec*): Likewise.
9018         (powerpc-xilinx-eabi*): Likewise.
9019         (powerpc-*-rtems*): Likewise.
9020         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9021         t-softfp-excl, t-softfp to tmake_file.
9022         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9023         rs6000/t-ppccomm-ldbl to tmake_file.
9024         (powerpcle-*-elf*): Likewise.
9025         (powerpcle-*-eabisim*): Likewise.
9026         (powerpcle-*-eabi*): Likewise.
9027         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9028         rs6000/t-ibm-ldouble to tmake_file.
9029         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9030         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9031         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9032         (tic6x-*-*): Likewise.
9033         (i[34567]86-*-darwin*, x86_64-*-darwin*,
9034         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9035         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9036         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9037         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9038         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9039         t-softfp to tmake_file.
9040         * configure.ac (sfp_machine_header): Provide default if unset.
9041         Substitute.
9042         Link sfp-machine.h to config/$sfp_machine_header.
9043         * configure: Regenerate.
9045 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9047         * Makefile.in (double_type_size, long_double_type_size): Set.
9048         Remove $(fpbit-in-libgcc) support.
9049         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9050         (fpbit-src): New variable.
9051         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9052         Compile with -DFLOAT $(FPBIT_CFLAGS).
9053         Use $<.
9054         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9055         Compile with $(FPBIT_CFLAGS).
9056         Use $<.
9057         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9058         Compile with -DFLOAT $(TPBIT_CFLAGS).
9059         Use $<.
9060         * configure.ac (double_type_size, long_double_type_size):
9061         Determine and substitute.
9062         * configure: Regenerate.
9063         * fp-bit.c, fp-bit.h: New files.
9064         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9065         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9066         * config/mips/t-mips: New file.
9067         * config/mips/t-sdemtk: New file.
9068         * config/rs6000/ppc64-fp.c: New file.
9069         * config/rs6000/t-darwin (LIB2ADD): Add
9070         $(srcdir)/config/rs6000/ppc64-fp.c.
9071         * config/rs6000/t-ppc64-fp: New file.
9072         * config/rx/rx-lib.h: New file.
9073         * config/rx/t-rx (FPBIT): Set to true.
9074         ($(gcc_objdir)/fp-bit.c): Remove.
9075         (DPBIT): Set to true only with -m64bit-doubles.
9076         ($(gcc_objdir)/dp-bit.c): Remove.
9077         * config/sparc/t-softfp: Remove.
9078         * config/spu/t-elf: New file.
9079         * config/t-fdpbit, config/t-fpbit: New files.
9080         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9081         (mips*-*-*): Likewise.
9082         (arm-wrs-vxworks): Likewise.
9083         (arm*-*-freebsd*): Likewise.
9084         (avr-*-rtems*): Add t-fpbit to tmake_file.
9085         (avr-*-*): Likewise.
9086         (bfin*-elf*): Add t-fdpbit to tmake_file.
9087         (bfin*-uclinux*): Likewise.
9088         (bfin*-linux-uclibc*): Likewise.
9089         (bfin*-rtems*): New case.
9090         Add t-fdpbit to tmake_file.
9091         (bfin*-*): Add t-fdpbit to tmake_file.
9092         (crisv32-*-elf): Likewise.
9093         (cris-*-linux*): Likewise.
9094         (fr30-*-elf): Likewise.
9095         (frv-*-elf, frv-*-*linux*): Likewise.
9096         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9097         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9098         (m32r-*-elf*): Likewise.
9099         (m32rle-*-elf*): Likewise.
9100         (m32r-*-linux*): Likewise.
9101         (m32rle-*-linux*): Likewise.
9102         (mcore-*-elf): Add t-fdpbit to tmake_file.
9103         (microblaze*-*-*): Likewise.
9104         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9105         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9106         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9107         Fix typo.
9108         Add mips/t-tpbit to tmake-file.
9109         (mips*-*-linux*): Fix typo.
9110         (mips*-sde-elf*): New case
9111         Add mips/t-sdemtk unless using newlib.
9112         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9113         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9114         (mn10300-*-*): Likewise.
9115         (pdp11-*-*): Likewise.
9116         (picochip-*-*): Add t-fpbit to tmake_file.
9117         (powerpc-*-eabisimaltivec*): Likewise.
9118         (powerpc-*-eabisim*): Likewise.
9119         (powerpc-*-elf*): Likewise.
9120         (powerpc-*-eabialtivec*): Likewise.
9121         (powerpc-xilinx-eabi*): New case.
9122         Add t-fdpbit to tmake_file.
9123         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
9124         (powerpc-*-rtems*): Likewise.
9125         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9126         tmake_file.
9127         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9128         tmake_file.
9129         (powerpc-*-lynxos*): Likewise.
9130         (powerpcle-*-elf*): Likewise.
9131         (powerpcle-*-eabisim*): Likewise.
9132         (powerpcle-*-eabi*): Likewise.
9133         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9134         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9135         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9136         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9137         (rx-*-elf): Add t-fdpbit to tmake_file.
9138         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9139         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9140         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9141         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9142         sh*-*-netbsd*.
9143         (sh-*-rtems*): Add t-fdpbit to tmake_file.
9144         (sh-wrs-vxworks): Likewise.
9145         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9146         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9147         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9148         (sparc64-*-rtems*): ... new case.
9149         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9150         (spu-*-elf*): Likewise.
9151         Add spu/t-elf to tmake_file.
9152         (v850*-*-*): Add t-fdpbit to tmake_file.
9153         (xstormy16-*-elf): Likewise.
9154         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9155         (mep*-*-*): Likewise.
9157 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9159         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9160         variables.
9161         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9162         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9163         (install-unwind_h): New target.
9164         (all): Depend on it.
9165         * config.host (unwind_header): New variable.
9166         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9167         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9168         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9169         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9170         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9171         Set unwind_header.
9172         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9173         Set unwind_header.
9174         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9175         arm*-*-eabi*.
9176         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9177         Set unwind_header.
9178         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9179         (ia64*-*-freebsd*): Likewise.
9180         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9181         tmake_file.
9182         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9183         $with_system_libunwind.
9184         (ia64*-*-hpux*): Set tmake_file.
9185         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9186         (picochip-*-*): Set tmake_file.
9187         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9188         md_unwind_header.
9189         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9190         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9191         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9192         (xtensa*-*-elf*): Set tmake_file.
9193         (xtensa*-*-linux*): Likewise.
9194         * configure.ac: Include ../config/unwind_ipinfo.m4.
9195         Call GCC_CHECK_UNWIND_GETIPINFO.
9196         Link unwind.h to $unwind_header.
9197         * configure: Regenerate.
9198         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9199         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9200         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9201         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9202         * config/unwind-dw2-fde-darwin.c: New file.
9203         * config/arm/libunwind.S, config/arm/pr-support.c,
9204         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9205         config/arm/unwind-arm.h,: New files.
9206         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9207         config/ia64/t-eh-ia64, config/ia64/t-glibc,
9208         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9209         config/ia64/t-vms, config/ia64/unwind-ia64.c,
9210         config/ia64/unwind-ia64.h: New files.
9211         * config/picochip/t-picochip: New file.
9212         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9213         files.
9214         * config/rs6000/t-darwin (LIB2ADDEH): Set.
9215         * config/s390/t-tpf (LIB2ADDEH): Remove.
9216         * config/t-darwin (LIB2ADDEH): Set.
9217         * config/t-eh-dw2-dip: New file.
9218         * config/t-libunwind, config/t-libunwind-elf: New files.
9219         * config/t-sol2 (LIB2ADDEH): Remove.
9220         * config/xtensa/t-xtensa: New file.
9222 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
9224         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9225         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9226         long long to check rt_sigreturn syscall.
9228 2011-08-02  Alan Modra  <amodra@gmail.com>
9230         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9231         Restore for indirect call bcrtl from correct stack slot, and only
9232         if cfa+40 isn't valid.
9234 2011-08-01  Julian Brown  <julian@codesourcery.com>
9236         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9237         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9238         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9240 2011-08-01  Julian Brown  <julian@codesourcery.com>
9242         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9243         (libgcc-std.ver.in): Use above.
9244         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9245         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
9246         throughout file.
9247         * config/t-fixedpoint-gnu-prefix: New file.
9248         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9249         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9250         instead of __PFX__.
9252 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9254         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9255         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9256         for x86-64.  Properly check __x86_64__ and __LP64__.
9258 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9260         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9261         version.
9262         (_FP_WS_TYPE): Likewise.
9263         (_FP_I_TYPE): Likewise.
9265 2011-07-28  Alan Modra  <amodra@gmail.com>
9267         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9268         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9269         in a plt call stub.  Do restore r2 if stopped on bctrl.
9271 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9273         * config.host (i[3456x]86-*-netware*): Remove.
9274         * config/i386/netware-crt0.c, config/i386/t-nwld,
9275         config/i386/t-slibgcc-nwld: Remove.
9277 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
9279         * config.host: Handle tic6x-*-*.
9280         * config/c6x/c6x-abi.h: New file.
9282 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9284         * config/i386/crtprec.c: New file.
9285         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9286         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9287         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9288         (x86_64-*-darwin*): Likewise.
9289         (i[34567]86-*-solaris2*: Likewise.
9291 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9293         * config/alpha/crtfastmath.c: New file.
9294         * config/i386/crtfastmath.c: New file.
9295         * config/ia64/crtfastmath.c: New file.
9296         * config/mips/crtfastmath.c: New file.
9297         * config/sparc/crtfastmath.c: New file.
9299         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9300         crtfastmath.c.
9301         Add -frandom-seed=gcc-crtfastmath.
9302         * config/alpha/t-crtfm: Remove.
9303         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9304         * config/ia64/t-ia64 (crtfastmath.o): Remove.
9306         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9307         (alpha*-dec-osf5.1*): Likewise.
9308         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9309         Add crtfastmath.o to extra_parts.
9310         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9311         Add crtfastmath.o to extra_parts.
9312         (x86_64-*-darwin*): Likewise.
9313         (x86_64-*-mingw*): Likewise.
9314         (ia64*-*-elf*): Add t-crtfm to tmake_file.
9315         (ia64*-*-freebsd*): Likewise.
9316         (ia64*-*-linux*): Likewise.
9317         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9318         Add crtfastmath.o to extra_parts.
9320 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9322         * config/darwin-crt3.o: New file.
9323         * config/rs6000/darwin-crt2.c: New file.
9324         * config/t-darwin: New file.
9325         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9326         (crt2.o): New rule.
9327         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9328         (powerpc-*-darwin*): Add crt2.o to extra_parts.
9329         (powerpc64-*-darwin*): Likewise.
9331 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9333         * config/i386/netware-crt0.c: New file.
9334         * config/i386/t-nwld: Rename to ...
9335         * config/i386/t-slibgcc-nwld: ... this.
9336         * config/i386/t-nwld: New file.
9337         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9338         tmake_file.
9339         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9340         extra_parts.
9342 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9344         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9345         i386/t-crtstuff.
9346         * configure: Regenerate.
9348 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9350         * dfp-bit.c, dfp-bit.h: New files.
9351         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9352         variables.
9353         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9354         ($(d64pbit-o)): Likewise.
9355         ($(d128pbit-o)): Likewise.
9356         * config/t-dfprules: New file.
9357         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9358         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9359         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9360         (x86_64-*-linux*): Likewise.
9361         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9362         (i[34567]86-*-cygwin*): Likewise.
9363         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
9364         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9366 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9368         * Makfile.in (LIBGCOV): New variable.
9369         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9370         * libgcov.c: New file.
9372 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9374         * fixed-bit.c, fixed-bit.h: New files.
9375         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9376         refer to fixed-bit.c.
9378 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
9380         * config.host (*local*): Remove.
9382 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9384         PR target/39150
9385         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9386         like i?86-*-solaris2.1[0-9]*.
9387         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9388         * configure.ac (i?86-*-solaris2*): Likewise.
9389         * configure: Regenerate.
9391 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
9393         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9394         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9395         md_unwind_header by splitting out of...
9396         (i[34567]86-*-linux*): ... this.
9397         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9398         Remove md_unwind_header by splitting out of...
9399         (x86_64-*-linux*): ... this.
9401 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
9403         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9405 2011-06-28  Nick Clifton  <nickc@redhat.com>
9407         * config.host: Recognize all V850 variants.
9409 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
9411         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9413 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9415         * shared-object.mk (c_flags-$o): Save c_flags.
9416         ($(base)$(objext)): Use it.
9417         ($(base)_s$(objext)): Likewise.
9419 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
9421         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9422         * libgcc-std.ver.in (GCC_4.7.0): New section.
9424 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
9426         PR target/49313
9427         PR target/29524
9428         * config/avr/t-avr: Fix line endings.
9429         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
9430         _parityXX2.
9432 2011-06-14  Olivier Hainque  <hainque@adacore.com>
9433             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9435         * config/mips/irix6-unwind.h: New file.
9436         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9438 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
9440         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9441         (sparc64_fallback_frame_state): Use it.
9442         (sparc64_frob_update_context): Further adjust context.
9443         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9444         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9445         * config/sparc/sol2-cn.S: Likewise.
9447 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9449         * enable-execute-stack-empty.c: New file.
9450         * enable-execute-stack-mprotect.c: New file.
9451         * config/i386/enable-execute-stack-mingw32.c: New file.
9452         * config.host (enable_execute_stack): New variable.
9453         Select appropriate variants.
9454         * configure.ac: Link enable-execute-stack.c to
9455         $enable_execute_stack.
9456         * configure: Regenerate.
9457         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9458         (lib2funcs): Remove _enable_execute_stack.
9460 2011-06-09  David S. Miller  <davem@davemloft.net>
9461             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9463         * config.host (sparc-*-linux*): Correct md_unwind_header
9464         filename.
9465         (s390x-ibm-tpf*): Fix typo.
9467 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9469         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9470         Add crtfastmath.o to extra_parts.
9471         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9472         mips/t-crtfm.
9473         * config/mips/t-crtfm: Remove.
9475 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9477         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9479 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9481         * config.host (sh*-*-linux*): Fix typo.
9483 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9485         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9486         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9487         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9488         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9489         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9490         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9491         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9492         Wrap in !__MINGW64__.
9493         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9494         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9495         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9496         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9497         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9498         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9499         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9500         Wrap in !__LP64__.
9501         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9502         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9503         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9504         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9505         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9506         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9507         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9508         * config/no-unwind.h: New file.
9509         * config.host (md_unwind_header): Document.
9510         Define.
9511         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9512         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9513         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9514         hppa[12]*-*-hpux11*): Set md_unwind_header.
9515         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9516         Set md_unwind_header.
9517         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9518         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9519         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9520         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9521         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9522         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9523         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9524         md_unwind_header.
9525         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9526         * configure: Regenerate.
9528 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9530         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9531         Set tmake_file, extra_parts.
9532         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9533         Remove O32 support.
9534         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9535         Remove O32 support.
9536         * config/mips/t-irix6: New file.
9537         * config/mips/t-slibgcc-irix: New file.
9539 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9541         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9542         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9544 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9546         * configure.ac (target_thread_file): Determine thread model.
9547         * configure: Regenerate.
9548         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9549         * config/alpha/t-alpha: New file.
9550         * config/alpha/t-crtfm: Use $<.
9551         * config/alpha/t-ieee: New file.
9552         * config/alpha/t-osf-pthread: New file.
9553         * config/alpha/t-slibgcc-osf: New file.
9554         * config/alpha/libgcc-osf5.ver: New file.
9556 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9558         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9559         tmake_file.
9560         Add crtfastmath.o to extra_parts.
9562 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9564         * config/gmon-sol2.c: Reindent.
9565         Cleanup comments.
9566         Remove, correct casts.
9567         Use STDERR_FILENO, NULL.
9568         (BASEADDRESS): Remove.
9569         (minbrk): Remove.
9570         (errno, sbrk): Remove declarations.
9571         (monstartup) [hp300]: Remove.
9572         (mcount): Remove.
9574 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9576         * Makefile.in (cpu_type): Define.
9577         * config.host (i[34567]86-*-rtems*): Handle it.
9578         (i[34567]86-*-solaris2*): Move body ...
9579         (*-*-solaris2*): ... here.
9580         New case, generalize.
9581         (sparc-*-elf*): Handle it.
9582         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9583         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9584         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9585         Fold into ...
9586         (sparc*-*-solaris2*): ... this.
9587         New case.
9588         (sparc64-*-elf*): Handle it.
9589         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9590         Merge ../gcc/config/i386/gmon-sol2.c.
9591         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9592         Use C comments.
9593         Merge ../gcc/config/i386/sol2-gc1.asm.
9594         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9595         Use C comments.
9596         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9597         Use C comments.
9598         * config/i386/t-crtfm (crtfastmath.o): Use $<.
9599         * config/i386/t-crtstuff: New file.
9600         * config/i386/t-softfp: New file.
9601         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9602         $(T)crti.o, $(T)crtn.o): Remove.
9603         (gcrt1.o): New rule.
9604         (TARGET_LIBGCC2_CFLAGS): Remove.
9605         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9606         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9607         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9608         * config/sparc/t-sol2: New file.
9609         * config/sparc/t-crtfm: Move to ...
9610         * config/t-crtfm: ... this.
9611         Use $(cpu_type), $<.
9612         * config/t-crtin: New file.
9613         * config/sparc/t-softfp: New file.
9614         * config/sparc/t-softmul: New file.
9615         * config/t-rtems: New file.
9616         * config/t-slibgcc: New file.
9617         * config/t-slibgcc-elf-ver: New file.
9618         * config/t-slibgcc-gld: New file.
9619         * config/t-slibgcc-sld: New file.
9620         * config/t-sol2: New file.
9621         * configure.ac: Include ../config/lib-ld.m4.
9622         Call AC_LIB_PROG_LD_GNU.
9623         Substitute cpu_type.
9624         * configure: Regenerate.
9626 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
9628         PR bootstrap/49173
9629         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9630         libgcc-std.ver in the build directory.
9631         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9632         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9634 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
9636         * libgcc-std.ver.in: New file.
9637         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9638         variables.
9639         (libgcc-std.ver): New rule.
9640         * config/t-gnu-prefix: New file.
9642 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9644         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9646 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9648         * config/i386/darwin-lib.h: New file.
9650 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9652         * config/arm/symbian-lib.h: New.
9654 2011-05-04  Chris Demetriou  <cgd@google.com>
9656         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9657         (__x86.get_pc_thunk.bx): ...this.
9658         (__morestack): Adjust for rename, remove undef of __i686.
9660 2011-05-03  Chris Demetriou  <cgd@google.com>
9662         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9664 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
9666         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9667         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9668         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9669         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9670         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9671         Remove cases.
9673 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
9675         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9676         Adjust copyright year.
9678 2011-03-07  Ian Lance Taylor  <iant@google.com>
9680         * generic-morestack.c (__splitstack_find): Adjust returned stack
9681         pointer to include all registers pushed by __morestack.
9683 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
9685         PR target/40125
9686         * configure.ac: Call ACX_NONCANONICAL_TARGET.
9687         (toolexecdir): Calculate and AC_SUBST.
9688         (toolexeclibdir): Likewise.
9689         * Makefile.in (target_noncanonical): Import.
9690         (toolexecdir): Likewise.
9691         (toolexeclibdir): Likewise.
9692         * configure: Regenerate.
9694 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
9696         PR target/46040
9697         * config/arm/bpabi.h: Rename to...
9698         * config/arm/bpabi-lib.h: ...this.
9700 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9702         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9703         appropriate.
9704         * configure: Regenerate.
9706 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
9708         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9709         __FLOAT_WORD_ORDER__.
9710         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9711         Delete.
9713 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9715         PR other/46202
9716         * Makefile.in (install-strip): New phony target.
9718 2010-11-07  Ian Lance Taylor  <iant@google.com>
9720         PR target/46089
9721         * config/i386/morestack.S (__morestack_large_model): New
9722         function.
9724 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
9726         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9727         Delete.
9728         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9730 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
9732         * config/arm/bpabi.h: New file.
9733         * config/frv/frv-abi.h: New file.
9735 2010-10-01  Ian Lance Taylor  <iant@google.com>
9737         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9738         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9740 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9742         PR target/45858
9743         * config.host: Add the missing `$'.
9745 2010-09-30  Michael Eager  <eager@eagercon.com>
9747         * config.host: Add microblaze*-*-*.
9748         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9749         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9750         udivsi3.asm,umodsi3.asm}:  New.
9752 2010-09-28  Ian Lance Taylor  <iant@google.com>
9754         * configure.ac: Adjust CFI test to test assembler directly rather
9755         than checking gcc preprocessor macro.
9756         * configure: Rebuild.
9758 2010-09-27  Ian Lance Taylor  <iant@google.com>
9760         * configure.ac: Test whether assembler supports CFI directives.
9761         * config.host: Only add t-stack and i386/t-stack-i386 to
9762         tmake_file if libgcc_cv_cfi is "yes".
9763         * configure: Rebuild.
9765 2010-09-27  Ian Lance Taylor  <iant@google.com>
9767         * generic-morestack.h: New file.
9768         * generic-morestack.c: New file.
9769         * generic-morestack-thread.c: New file.
9770         * config/i386/morestack.S: New file.
9771         * config/t-stack: New file.
9772         * config/i386/t-stack-i386: New file.
9773         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9774         i386/t-stack-i386 to tmake_file.
9776 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
9778         * Makefile.in (libgcc-extra-parts):  Check for static archives and
9779         invoke ranlib after installing them.
9780         (gcc-extra-parts): Likewise.
9781         (install-leaf): Likewise.
9783 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9785         * configure: Regenerated.
9787 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
9789         * configure: Regenerated.
9791 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
9792             Andrew Pinski  <pinskia@gmail.com>
9794         PR target/40959
9795         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
9797 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9799         PR target/45524
9800         * configure: Regenerated.
9802 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9804         * configure: Regenerate.
9806 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9808         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9809         64bit targets.
9810         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9811         for 64bit targets.
9813 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9814             Iain Sandoe  <iains@gcc.gnu.org>
9816         PR target/45476
9817         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9818         LIB2FUNCS_EXCLUDE functions.
9820 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9822         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9823         Include dfp.m4.
9824         * configure: Regenerate.
9826 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
9828         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9829         i386/t-freebsd to tmake_file.
9830         * config/i386/t-freebsd: New file.
9831         * config/i386/libgcc-bsd.ver: New file.
9833 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
9835         * config.host (powerpc*-eabispe*): Set tmake_file.
9836         (powerpc*-eabi*): Likewise.
9837         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9838         crtbeginS, crtendS, crtbeginT.
9840 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
9842         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9843         to tmake_file.  Add crtfastmath.o to extra_parts.
9844         * config/mips/t-crtfm: New.
9846 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
9848         * config.host (sparc64-*-rtems*): New target.
9850 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9852         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9853         assembler syntax.
9855 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
9857         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9859 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9861         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9862         alpha-dec-osf5.0* support.
9864 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
9866         * config.host: Add lm32-*-rtems*.
9868 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9869             Uros Bizjak  <ubizjak@gmail.com>
9871         PR target/39048
9872         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9873         like other remaining 32-bit x86 OSes.
9874         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9875         assembler syntax.
9876         * config/i386/libgcc-sol2.ver: New file.
9877         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9879 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
9881         PR c/43553
9882         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9883         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9884         is used and substitute set_use_emutls.
9885         * configure: Regenerated.
9887 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
9889         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9891 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9893         PR target/38085
9894         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9895         MULTILIB_CFLAGS.
9896         ($(T)gcrt1.o): Likewise.
9897         ($(T)crt1.o): Likewise.
9898         ($(T)crti.o): Likewise.
9899         ($(T)crtn.o): Likewise.
9901 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9903         PR other/42980
9904         * Makefile.in (install): Use $(MAKE) string in rule, for
9905         parallel make.
9907 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
9909         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9910         * config/mmix/t-mmix: New file.
9911         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9913 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
9915         PR java/41991
9916         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9917         SHLIB_MAPFILES.
9919 2010-01-04  Anthony Green  <green@moxielogic.com>
9921         * config/moxie/crti.asm, config/moxie/crtn.asm,
9922         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9923         config/moxie/t-moxie: New files.
9924         * config.host: Add t-moxie-softfp reference.
9926 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
9928         PR other/39888
9929         * config/t-slibgcc-darwin: Fix embedded rpaths for
9930         --enable-version-specific-runtime-libs, build extension stub
9931         libs exposing features available from current libgcc_s.
9933 2009-11-11  Jon Beniston  <jon@beniston.com>
9935         * config.host: Add lm32 targets.
9936         * config/lm32: New directory.
9937         * config/lm32/libgcc_lm32.h: New file.
9938         * config/lm32/_mulsi3.c: New file.
9939         * config/lm32/_udivmodsi4.c: New file.
9940         * config/lm32/_divsi3.c: New file.
9941         * config/lm32/_modsi3.c: New file.
9942         * config/lm32/_udivsi3.c: New file.
9943         * config/lm32/_umodsi3.c: New file.
9944         * config/lm32/_lshrsi3.S: New file.
9945         * config/lm32/_ashrsi3.S: New file.
9946         * config/lm32/_ashlsi3.S: New file.
9947         * config/lm32/crti.S: New file.
9948         * config/lm32/crtn.S: New file.
9949         * config/lm32/t-lm32: New file.
9950         * config/lm32/t-elf: New file.
9951         * config/lm32/t-uclinux: New file.
9953 2009-10-26  Nick Clifton  <nickc@redhat.com>
9955         * config.host: Add support for RX target.
9956         * config/rx: New directory.
9957         * config/rx/rx-abi-functions.c: New file. Supplementary
9958         functions for libgcc to support the RX ABI.
9959         * config/rx/rx-abi.h: New file.  Supplementary header file for
9960         libgcc RX ABI functions.
9961         * config/rx/t-rx: New file: Makefile fragment for building
9962         libgcc for the RX.
9964 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
9966         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9967         constraint of y0 to "g".
9969 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9971         * config.host: Include the s390 makefile fragments.
9972         * config/s390/32/_fixdfdi.c: New file.
9973         * config/s390/32/_fixsfdi.c: New file.
9974         * config/s390/32/_fixtfdi.c: New file.
9975         * config/s390/32/_fixunsdfdi.c: New file.
9976         * config/s390/32/_fixunssfdi.c: New file.
9977         * config/s390/32/_fixunstfdi.c: New file.
9978         * config/s390/32/t-floattodi: New file.
9979         * config/s390/libgcc-glibc.ver: New file.
9980         * config/s390/t-crtstuff: New file.
9981         * config/s390/t-linux: New file.
9982         * config/s390/t-tpf: New file.
9984 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9986         * configure.ac (AC_PREREQ): Bump to 2.64.
9988 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
9990         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9992 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9994         * configure: Regenerate.
9996 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
9998         * config.host (ia64-hp-*vms*): New target.
9999         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10000         with ia64-hp-*vms*.
10002 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10004         * configure.ac: Add snippet for maintainer-mode.
10005         * configure: Regenerate.
10006         * Makefile.in (AUTOCONF, configure_deps): New variables.
10007         ($(srcdir)/configure)): New rule, active only with maintainer
10008         mode turned on.
10010 2009-06-23  DJ Delorie  <dj@redhat.com>
10012         Add MeP port.
10013         * config.host: Add mep support.
10015 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
10017         * config.host: Add i386/${host_address}/t-fprules-softfp and
10018         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10020         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10021         for mingw targets.
10022         * config/i386/64/_multc3.c: Likewise.
10023         * config/i386/64/_powitf2.c: Likewise.
10024         * config/i386/64/eqtf2.c: Likewise.
10025         * config/i386/64/getf2.c: Likewise.
10026         * config/i386/64/letf2.c: Likewise.
10027         * config/i386/64/letf2.c: Likewise.
10028         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10029         unsigned long long for x64 mingw targets.
10030         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10031         (_FP_I_TYPE): Define as long long for x64 mingw target.
10033 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
10035         * config.host (vax-*-linux*): New.
10037 2009-05-31  Anthony Green  <green@moxielogic.com>
10039         * config.host: Add moxie support.
10040         * config/moxie/t-moxie: New file.
10042 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
10044         * config.host: Add i386/${host_address}/t-fprules-softfp and
10045         t-softfp to tmake_file for i[34567]86-*-cygwin*.
10047 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
10049         * config.host: Add i386/${host_address}/t-fprules-softfp to
10050         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10052 2009-04-09  Nick Clifton  <nickc@redhat.com>
10054         * config/ia64/tf-signs.c: Change copyright header to refer to
10055         version 3 of the GNU General Public License with version 3.1
10056         of the GCC Runtime Library Exception and to point readers at
10057         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10058         web page.
10059         * config/i386/32/tf-signs.c: Likewise.
10060         * config/libbid/_addsub_dd.c: Likewise.
10061         * config/libbid/_addsub_sd.c: Likewise.
10062         * config/libbid/_addsub_td.c: Likewise.
10063         * config/libbid/_dd_to_df.c: Likewise.
10064         * config/libbid/_dd_to_di.c: Likewise.
10065         * config/libbid/_dd_to_sd.c: Likewise.
10066         * config/libbid/_dd_to_sf.c: Likewise.
10067         * config/libbid/_dd_to_si.c: Likewise.
10068         * config/libbid/_dd_to_td.c: Likewise.
10069         * config/libbid/_dd_to_tf.c: Likewise.
10070         * config/libbid/_dd_to_udi.c: Likewise.
10071         * config/libbid/_dd_to_usi.c: Likewise.
10072         * config/libbid/_dd_to_xf.c: Likewise.
10073         * config/libbid/_df_to_dd.c: Likewise.
10074         * config/libbid/_df_to_sd.c: Likewise.
10075         * config/libbid/_df_to_td.c: Likewise.
10076         * config/libbid/_di_to_dd.c: Likewise.
10077         * config/libbid/_di_to_sd.c: Likewise.
10078         * config/libbid/_di_to_td.c: Likewise.
10079         * config/libbid/_div_dd.c: Likewise.
10080         * config/libbid/_div_sd.c: Likewise.
10081         * config/libbid/_div_td.c: Likewise.
10082         * config/libbid/_eq_dd.c: Likewise.
10083         * config/libbid/_eq_sd.c: Likewise.
10084         * config/libbid/_eq_td.c: Likewise.
10085         * config/libbid/_ge_dd.c: Likewise.
10086         * config/libbid/_ge_sd.c: Likewise.
10087         * config/libbid/_ge_td.c: Likewise.
10088         * config/libbid/_gt_dd.c: Likewise.
10089         * config/libbid/_gt_sd.c: Likewise.
10090         * config/libbid/_gt_td.c: Likewise.
10091         * config/libbid/_isinfd128.c: Likewise.
10092         * config/libbid/_isinfd32.c: Likewise.
10093         * config/libbid/_isinfd64.c: Likewise.
10094         * config/libbid/_le_dd.c: Likewise.
10095         * config/libbid/_le_sd.c: Likewise.
10096         * config/libbid/_le_td.c: Likewise.
10097         * config/libbid/_lt_dd.c: Likewise.
10098         * config/libbid/_lt_sd.c: Likewise.
10099         * config/libbid/_lt_td.c: Likewise.
10100         * config/libbid/_mul_dd.c: Likewise.
10101         * config/libbid/_mul_sd.c: Likewise.
10102         * config/libbid/_mul_td.c: Likewise.
10103         * config/libbid/_ne_dd.c: Likewise.
10104         * config/libbid/_ne_sd.c: Likewise.
10105         * config/libbid/_ne_td.c: Likewise.
10106         * config/libbid/_sd_to_dd.c: Likewise.
10107         * config/libbid/_sd_to_df.c: Likewise.
10108         * config/libbid/_sd_to_di.c: Likewise.
10109         * config/libbid/_sd_to_sf.c: Likewise.
10110         * config/libbid/_sd_to_si.c: Likewise.
10111         * config/libbid/_sd_to_td.c: Likewise.
10112         * config/libbid/_sd_to_tf.c: Likewise.
10113         * config/libbid/_sd_to_udi.c: Likewise.
10114         * config/libbid/_sd_to_usi.c: Likewise.
10115         * config/libbid/_sd_to_xf.c: Likewise.
10116         * config/libbid/_sf_to_dd.c: Likewise.
10117         * config/libbid/_sf_to_sd.c: Likewise.
10118         * config/libbid/_sf_to_td.c: Likewise.
10119         * config/libbid/_si_to_dd.c: Likewise.
10120         * config/libbid/_si_to_sd.c: Likewise.
10121         * config/libbid/_si_to_td.c: Likewise.
10122         * config/libbid/_td_to_dd.c: Likewise.
10123         * config/libbid/_td_to_df.c: Likewise.
10124         * config/libbid/_td_to_di.c: Likewise.
10125         * config/libbid/_td_to_sd.c: Likewise.
10126         * config/libbid/_td_to_sf.c: Likewise.
10127         * config/libbid/_td_to_si.c: Likewise.
10128         * config/libbid/_td_to_tf.c: Likewise.
10129         * config/libbid/_td_to_udi.c: Likewise.
10130         * config/libbid/_td_to_usi.c: Likewise.
10131         * config/libbid/_td_to_xf.c: Likewise.
10132         * config/libbid/_tf_to_dd.c: Likewise.
10133         * config/libbid/_tf_to_sd.c: Likewise.
10134         * config/libbid/_tf_to_td.c: Likewise.
10135         * config/libbid/_udi_to_dd.c: Likewise.
10136         * config/libbid/_udi_to_sd.c: Likewise.
10137         * config/libbid/_udi_to_td.c: Likewise.
10138         * config/libbid/_unord_dd.c: Likewise.
10139         * config/libbid/_unord_sd.c: Likewise.
10140         * config/libbid/_unord_td.c: Likewise.
10141         * config/libbid/_usi_to_dd.c: Likewise.
10142         * config/libbid/_usi_to_sd.c: Likewise.
10143         * config/libbid/_usi_to_td.c: Likewise.
10144         * config/libbid/_xf_to_dd.c: Likewise.
10145         * config/libbid/_xf_to_sd.c: Likewise.
10146         * config/libbid/_xf_to_td.c: Likewise.
10147         * config/libbid/bid128.c: Likewise.
10148         * config/libbid/bid128_2_str.h: Likewise.
10149         * config/libbid/bid128_2_str_macros.h: Likewise.
10150         * config/libbid/bid128_2_str_tables.c: Likewise.
10151         * config/libbid/bid128_add.c: Likewise.
10152         * config/libbid/bid128_compare.c: Likewise.
10153         * config/libbid/bid128_div.c: Likewise.
10154         * config/libbid/bid128_fma.c: Likewise.
10155         * config/libbid/bid128_logb.c: Likewise.
10156         * config/libbid/bid128_minmax.c: Likewise.
10157         * config/libbid/bid128_mul.c: Likewise.
10158         * config/libbid/bid128_next.c: Likewise.
10159         * config/libbid/bid128_noncomp.c: Likewise.
10160         * config/libbid/bid128_quantize.c: Likewise.
10161         * config/libbid/bid128_rem.c: Likewise.
10162         * config/libbid/bid128_round_integral.c: Likewise.
10163         * config/libbid/bid128_scalb.c: Likewise.
10164         * config/libbid/bid128_sqrt.c: Likewise.
10165         * config/libbid/bid128_string.c: Likewise.
10166         * config/libbid/bid128_to_int16.c: Likewise.
10167         * config/libbid/bid128_to_int32.c: Likewise.
10168         * config/libbid/bid128_to_int64.c: Likewise.
10169         * config/libbid/bid128_to_int8.c: Likewise.
10170         * config/libbid/bid128_to_uint16.c: Likewise.
10171         * config/libbid/bid128_to_uint32.c: Likewise.
10172         * config/libbid/bid128_to_uint64.c: Likewise.
10173         * config/libbid/bid128_to_uint8.c: Likewise.
10174         * config/libbid/bid32_to_bid128.c: Likewise.
10175         * config/libbid/bid32_to_bid64.c: Likewise.
10176         * config/libbid/bid64_add.c: Likewise.
10177         * config/libbid/bid64_compare.c: Likewise.
10178         * config/libbid/bid64_div.c: Likewise.
10179         * config/libbid/bid64_fma.c: Likewise.
10180         * config/libbid/bid64_logb.c: Likewise.
10181         * config/libbid/bid64_minmax.c: Likewise.
10182         * config/libbid/bid64_mul.c: Likewise.
10183         * config/libbid/bid64_next.c: Likewise.
10184         * config/libbid/bid64_noncomp.c: Likewise.
10185         * config/libbid/bid64_quantize.c: Likewise.
10186         * config/libbid/bid64_rem.c: Likewise.
10187         * config/libbid/bid64_round_integral.c: Likewise.
10188         * config/libbid/bid64_scalb.c: Likewise.
10189         * config/libbid/bid64_sqrt.c: Likewise.
10190         * config/libbid/bid64_string.c: Likewise.
10191         * config/libbid/bid64_to_bid128.c: Likewise.
10192         * config/libbid/bid64_to_int16.c: Likewise.
10193         * config/libbid/bid64_to_int32.c: Likewise.
10194         * config/libbid/bid64_to_int64.c: Likewise.
10195         * config/libbid/bid64_to_int8.c: Likewise.
10196         * config/libbid/bid64_to_uint16.c: Likewise.
10197         * config/libbid/bid64_to_uint32.c: Likewise.
10198         * config/libbid/bid64_to_uint64.c: Likewise.
10199         * config/libbid/bid64_to_uint8.c: Likewise.
10200         * config/libbid/bid_b2d.h: Likewise.
10201         * config/libbid/bid_binarydecimal.c: Likewise.
10202         * config/libbid/bid_conf.h: Likewise.
10203         * config/libbid/bid_convert_data.c: Likewise.
10204         * config/libbid/bid_decimal_data.c: Likewise.
10205         * config/libbid/bid_decimal_globals.c: Likewise.
10206         * config/libbid/bid_div_macros.h: Likewise.
10207         * config/libbid/bid_dpd.c: Likewise.
10208         * config/libbid/bid_flag_operations.c: Likewise.
10209         * config/libbid/bid_from_int.c: Likewise.
10210         * config/libbid/bid_functions.h: Likewise.
10211         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10212         * config/libbid/bid_inline_add.h: Likewise.
10213         * config/libbid/bid_internal.h: Likewise.
10214         * config/libbid/bid_round.c: Likewise.
10215         * config/libbid/bid_sqrt_macros.h: Likewise.
10217 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
10219         * Makefile.in: Change copyright header to refer to version
10220         3 of the GNU General Public License and to point readers at the
10221         COPYING3 file and the FSF's license web page.
10222         * config.host: Likewise.
10224 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
10226         * config.host: Reorder and merge to match config.gcc change.
10228 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
10230         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10232 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
10234         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10235         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10236         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10237         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10239 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
10241         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10242         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10244 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
10246         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10247         ia64/t-softfp-compat to tmake_file.
10249         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10251         * config/ia64/__divxf3.asm: New.
10252         * config/ia64/_fixtfdi.asm: Likewise.
10253         * config/ia64/_fixunstfdi.asm: Likewise.
10254         * config/ia64/_floatditf.asm: Likewise.
10255         * config/ia64/t-fprules-softfp: Likewise.
10256         * config/ia64/t-softfp-compat: Likewise.
10257         * config/ia64/tf-signs.c: Likewise.
10259 2009-01-18  Ben Elliston  <bje@au.ibm.com>
10261         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10263 2009-01-16  Ben Elliston  <bje@au.ibm.com>
10265         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10266         to tmake_file.
10268 2009-01-13  Ben Elliston  <bje@au.ibm.com>
10270         * config/t-softfp: New file.
10271         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10272         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10274 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
10276         * config.host: Add m32r*-*-rtems*.
10278 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
10280         * config.host: Add m32c*-*-rtems*.
10282 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10284         PR bootstrap/33100
10285         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10286         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10287         * configure: Regenerate.
10288         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10289         tmake_file here from gcc/config.gcc.
10290         Move extra_parts here from gcc/config.gcc.
10291         * config/i386/t-sol2: Move here from gcc/config/i386.
10292         Use gcc_srcdir instead of srcdir.
10294 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
10296         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10297         case.
10299 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
10301         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10303 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
10305         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10307 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
10309         Add picoChip port.
10310         * config.host: Add picochip-*-*.
10312 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
10314         * config.host: Match more processor names for Xtensa.
10316 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
10318         * config/i386/64/t-softfp-compat: Update comments.
10320 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10322         * config/i386/64/_divtc3-compat.c: Moved to ...
10323         * config/i386/64/_divtc3.c: Here.
10325         * config/i386/64/_multc3-compat.c: Moved to ...
10326         * config/i386/64/_multc3.c: Here.
10328         * config/i386/64/_powitf2-compat.c: Moved to ...
10329         * config/i386/64/_powitf2.c: Here.
10331         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10332         .c suffix instead of -compat.c.
10334 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
10336         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10337         (_FP_MUL_MEAT_D): Ditto.
10338         (_FP_DIV_MEAT_S): Ditto.
10339         (_FP_DIV_MEAT_D): Ditto.
10341 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
10343         * Makefile.in: Add support for __sync_* libgcc functions.
10345 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
10347         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10349 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10351         PR boostrap/36702
10352         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10353         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
10355         * config/i386/64/t-fprules-softfp: Moved to ...
10356         * config/i386/64/t-softfp-compat: This.  New.
10358 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
10360         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10361         Initialize f with 0.0.
10363 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10365         PR target/36669
10366         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10368         * config/i386/64/_divtc3-compat.c: New.
10369         * config/i386/64/_multc3-compat.c: Likewise.
10370         * config/i386/64/_powitf2-compat.c: Likewise.
10371         * config/i386/64/eqtf2.c: Likewise.
10372         * config/i386/64/getf2.c: Likewise.
10373         * config/i386/64/letf2.c: Likewise.
10374         * config/i386/64/t-fprules-softfp: Likewise.
10376 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10378         * config.host: Add i386/${host_address}/t-fprules-softfp to
10379         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10380         i[34567]86-*-linux*, x86_64-*-linux*.
10382         * configure.ac: Set host_address to 64 or 32 for x86.
10383         * configure: Regenerated.
10385         * Makefile.in (config.status): Also depend on
10386         $(srcdir)/config.host.
10388         * config/i386/32/t-fprules-softfp: New.
10389         * config/i386/32/tf-signs.c: Likewise.
10391         * config/i386/64/sfp-machine.h: New. Moved from gcc.
10393 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10394             Uros Bizjak  <ubizjak@gmail.com>
10396         * config/i386/32/sfp-machine.h: New.
10398 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
10400         * config/rs6000/t-ppccomm: Remove rules that conflict with
10401         auto-generated rules.
10403 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10405         * configure.ac: sinclude override.m4.
10406         * configure: Regenerate.
10408 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
10410         * configure: Regenerate.
10412 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
10414         * Makefile.in (DECNUMINC): Remove
10415         -I$(MULTIBUILDTOP)../../libdecnumber.
10416         * gstdint.h: New.
10418 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
10420         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10421         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10422         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10423         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10424         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10425         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10426         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10427         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10428         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10429         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10430         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10431         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10432         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10433         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10435 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
10437         * config.host (sh2[lbe]*-*-linux*): Allow target.
10439 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
10441         * config/rs6000/t-ppccomm: Add build rules for new files.
10442         (LIB2ADD_ST): New variable.
10444 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
10446         PR target/34210
10447         PR target/35508
10448         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10449         * config/t-avr: New file. Build 16bit libgcc functions.
10451 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
10453         PR target/35401
10454         * config/t-slibgcc-darwin: Make install-leaf dependent on
10455         install-darwin-libgcc-stubs instead of install.
10457 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
10459         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10460         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10461         sh-*-rtemscoff*): Remove cases.
10463 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
10465         * Makefile.in (all): Use install-leaf rather than install.
10466         (install): Split most of the rule into...
10467         (install-leaf): ...this new one.
10469 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
10470             Paolo Bonzini  <bonzini@gnu.org>
10472         PR target/30572
10473         * Makefile.in: Use @shlib_slibdir@ substitution to get
10474         correct install name on darwin.
10475         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10477 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
10479         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10480         cris-*-elf and cris-*-none.
10481         (crisv32-*-linux*): Similar, as cris-*-linux*.
10483 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
10485         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10487 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
10489         PR regression/33926
10490         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10491         * configure: Regenerated.
10493 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10495         * Makefile.in (dfp-filenames): Replace decimal_globals,
10496         decimal_data, binarydecimal and convert_data with
10497         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10498         and bid_convert_data, respectively.
10500 2007-09-17  Chao-ying Fu  <fu@mips.com>
10501             Nigel Stephens  <nigel@mips.com>
10503         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10504         * Makefile.in (fixed_point): Define.
10505         Check if fixed_point is yes to build support functions.
10506         * configure.ac: Check for fixed_point support.
10507         * configure: Regenerated.
10508         * gen-fixed.sh: New file to generate lists of fixed-point labels,
10509         funcs, modes, from, to.
10511 2007-09-11  Janis Johnson  <janis187@us.ibm.com
10513         * Makefile.in (dfp-filenames): Add bid128_noncomp.
10515 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
10517         * Makefile.in (dfp-filenames): Remove decUtility, add
10518         decDouble, decPacked, decQuad, decSingle.
10520 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
10522         * config.host : Add x86_64-elf target.
10524 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10526         * configure.ac (set_have_cc_tls): Add a missing =.
10527         * configure: Regenerated.
10529 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10531         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10532         and x86_64-*-linux*.
10534         * config/t-tls: New file.
10536         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10538         * configure.ac: Include ../config/enable.m4 and
10539         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
10540         supports TLS and substitute set_have_cc_tls.
10541         * configure: Regenerated.
10543 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10545         * Makefile.in: Use libbid for DFP when BID is enabled.
10547 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
10549         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10550         extra_parts. Add config/i386/t-cygming to tmake_file.
10551         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10553 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
10554             Danny Smith  <dannysmith@users.sourceforge.net>
10556         PR target/29498
10557         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10558         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
10559         * config/i386/t-crtfm: Compile crtfastmath.o with
10560         -minline-all-stringops.
10562 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
10564         * config.host (sparc-wrs-vxworks): New target.
10566 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
10568         * config.host: Recognize fido.
10570 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
10572         * configure: Check host, not target, for decimal float support.
10574 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
10576         * config/i386/t-crtpc: New file.
10577         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10578         (x86_64-*-linux*): Ditto.
10580 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
10582         * config.host (x86_64-*-mingw*): New target.
10584 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
10585             H.J. Lu  <hongjiu.lu@intel.com>
10587         * Makefile.in (enable_decimal_float): New.
10588         (DECNUMINC): Add
10589         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10590         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10591         (decbits-filenames): This.
10592         (decbits-objects): New.
10593         (libgcc-objects): Add $(decbits-objects).
10595         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10596         Substitute enable_decimal_float.
10597         * configure: Regenerated.
10599 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
10601         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10603 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
10605         * Makefile.in (install-info): New dummy target.
10607 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
10609         * config.host (bfin*-linux-uclibc*): Set extra_parts.
10611 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
10613         * Makefile.in: Add install-html and install-pdf dummy
10614         targets.
10616 2007-02-05  Roger Sayle  <roger@eyesopen.com>
10617             Daniel Jacobowitz  <dan@codesourcery.com>
10619         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10620         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10621         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10623 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
10625         * Makefile.in (dec-filenames): Add decExcept.
10627 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
10629         PR bootstrap/30469
10630         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10631         -fprofile-use.
10633 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
10635         * configure.ac: Add --enable-version-specific-runtime-libs.
10636         Correct $slibdir default.
10637         * configure: Regenerated.
10639 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
10641         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10643 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
10645         PR target/30519
10646         * config.host (alpha*-*-linux*): Set extra_parts.
10648 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
10650         * config/sh/t-linux: New.
10651         * config.host (sh*-*-linux*): Set tmake_file.
10653 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
10655         * Makefile.in (install): Handle multilibs.
10657 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10659         * Makefile.in: Added .PHONY entry for documentation targets.
10661 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10663         * Makefile.in: Add empty info, html, dvi, pdf targets.
10665 2007-01-04  Mike Stump  <mrs@apple.com>
10667         * Makefile.in (MAKEINFO): Remove.
10668         (PERL): Likewise.
10670 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
10672         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10673         * configure: Regenerate.
10674         * Makefile.in (host_subdir): Substitute it.
10675         (gcc_objdir): Use it.
10677 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10679         * config.host (ia64*-*-linux*): Set tmake_file.
10681 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10683         * Makefile.in (version): Define.
10685 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
10686             Paolo Bonzini  <bonzini@gnu.org>
10688         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10689         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10690         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10691         config/sparc/t-crtfm, config/t-slibgcc-darwin,
10692         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10693         shared-object.mk, siditi-object.mk, static-object.mk: New files.
10694         * configure: Generated.
10696 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10698 Copying and distribution of this file, with or without modification,
10699 are permitted in any medium without royalty provided the copyright
10700 notice and this notice are preserved.