c++: Add new test [PR88092]
[official-gcc.git] / libgcc / ChangeLog
blob20cb222d0799e41cfa539d4eaa25f6674f4c2094
1 2020-01-27  Martin Liska  <mliska@suse.cz>
3         PR gcov-profile/93403
4         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
5         Call __gcov_indirect_call_profiler_body.
6         (__gcov_indirect_call_profiler_body): New.
7         (__gcov_indirect_call_profiler_v4_atomic): New.
8         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
9         New declaration.
11 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
13         * config/arc/crti.S: Add RF16 object attribute.
14         * config/arc/crtn.S: Likewise.
15         * config/arc/crttls.S: Likewise.
16         * config/arc/lib1funcs.S: Likewise.
17         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
18         * config/arc/lib2funcs.c: New file.
19         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
21 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
23         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
24         * configure.ac: Handle `--with-toolexeclibdir='.
25         * configure: Regenerate.
27 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
29         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
31 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
33         * config/mips/gnustack.h: New file.
34         * config/mips/crti.S: Include gnustack.h.
35         * config/mips/crtn.S: Likewise.
36         * config/mips/mips16.S: Likewise.
37         * config/mips/vr4120-div.S: Likewise.
39 2020-01-23  Martin Liska  <mliska@suse.cz>
41         * libgcov-driver.c (prune_topn_counter): Remove
42         check for -1 as we only prune run-time counters
43         that do not generate an invalid state.
45 2020-01-22  Martin Liska  <mliska@suse.cz>
47         PR tree-optimization/92924
48         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
49         try to find an existing value, then find an empty slot
50         if not found.
52 2020-01-22  Martin Liska  <mliska@suse.cz>
54         PR tree-optimization/92924
55         * libgcov-driver.c (prune_topn_counter): New.
56         (prune_counters): Likewise.
57         (dump_one_gcov): Prune a run-time counter.
58         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
59         For a known value, add GCOV_TOPN_VALUES to value.
60         Otherwise, decrement all counters by one.
62 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
64         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
66 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
68         PR libgcc/92988
69         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
70         DEFAULT_USE_CXA_ATEXIT is true.
72 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
73             Thomas Preud'homme  <thomas.preudhomme@arm.com>
75         * config/arm/t-arm: Check return value of gcc rather than lack of
76         output.
78 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
80         * config/avr/lib1funcs.S (skip): Simplify.
82 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
84         * config/gcn/atomic.c: Remove include of stdint.h.
85         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
86         __UINTPTR_TYPE__.
88 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
90         * config/gcn/atomic.c: New.
91         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
93 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
95         Implement 64-bit double functions.
97         PR target/92055
98         * config.host (tmake_file) [target=avr]: Add t-libf7,
99         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
100         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
101         depending on sizeof (double) or sizeof (long double).
102         * config/avr/libf7: New folder.
104 2020-01-05  Olivier Hainque  <hainque@adacore.com>
106         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
107         by IN_LIBGCC2.
109 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
111         Update copyright years.
113 2019-12-30  Olivier Hainque  <hainque@adacore.com>
115         * config/gthr-vxworks.h: Use _vxworks-versions.h.
116         * config/gthr-vxworks-tls.c: Likewise.
118 2019-12-30  Olivier Hainque  <hainque@adacore.com>
120         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
121         standard zero-initializer syntax.
123 2019-12-30  Olivier Hainque  <hainque@adacore.com>
125         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
126         reference to the internal VX_GET_TLS_DATA interface.
128 2019-12-30  Olivier Hainque  <hainque@adacore.com>
130         * config/vxcrtstuff.c: Fix incorrect spelling of
131         USE_INITFINI_ARRAY in guard.
133 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
135         * config.host: s/msp430*-*-elf/msp430-*-elf*.
136         Override default "extra_parts" variable.
137         * configure: Regenerate.
138         * configure.ac: Disable TM clone registry by default for
139         msp430-elfbare.
141 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
143         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
144         "extra_parts".
145         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
147 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
149         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
150         true.
152 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
154         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
155         defined instead of its value.
157 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
159         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
160         if it will have contents.
162 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
164         PR target/92055
165         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
167 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
169         PR libgcc/91737
170         * config.host: Add t-gthr-noweak on *-*-musl*.
171         * config/t-gthr-noweak: New file.
173 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
175         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
176         volatile void *.  Remove trap check.
177         (__kernel_cmpxchg2): Likewise.
178         (FETCH_AND_OP_2): Adjust operand types.
179         (OP_AND_FETCH_2): Likewise.
180         (FETCH_AND_OP_WORD): Likewise.
181         (OP_AND_FETCH_WORD): Likewise.
182         (COMPARE_AND_SWAP_2): Likewise.
183         (__sync_val_compare_and_swap_4): Likewise.
184         (__sync_bool_compare_and_swap_4): Likewise.
185         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
186         (__sync_lock_test_and_set_4): Likewise.
187         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
188         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
189         for release.
190         (__sync_lock_release_8): Remove.
192 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
194         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
195         of __sigset_t.
197 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
198             Doug Rupp <rupp@adacore.com>
199             Olivier Hainque  <hainque@adacore.com>
201         * config.host: Collapse the arm-vxworks entries into
202         a single arm-wrs-vxworks7* one.
203         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
204         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
205         kernel modules, to be overriden by libstdc++ when we link with
206         it.  Rely on externally provided __exidx_start/end.
208 2019-11-14  Doug Rupp  <rupp@adacore.com>
209             Olivier Hainque  <hainque@adacore.com>
211         * config.host: Handle aarch64*-wrs-vxworks7*.
213 2019-11-12  Olivier Hainque  <hainque@adacore.com>
215         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
216         sources except the cxx0x support to LIB2ADDEH.  We don't support
217         cxx0x on AE/653.
218         * config/t-vxworksae: New file.
219         * config.host: Handle *-*-vxworksae: Add the two aforementioned
220         Makefile fragment files at their expected position in the tmake_file
221         list, in accordance with what is done for other VxWorks variants.
223 2019-11-12  Corentin Gay  <gay@adacore.com>
224             Jerome Lambourg  <lambourg@adacore.com>
225             Olivier Hainque  <hainque@adacore.com>
227         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
228         sources to LIB2ADDEH.
229         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
230         * config/t-vxworks7: Likewise.
232         * config.host: Append a block at the end of the file to add the
233         t-gthr files to the tmake_file list for VxWorks after everything
234         else.
236         * config/vxlib.c: Rename as gthr-vxworks.c.
237         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
239         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
240         API and a basic error checking API, both internal.  Simplify the
241         __gthread_once_t type definition and initializers.  Add sections
242         for condition variables support and for the C++0x thread support,
243         conditioned against Vx653 for the latter.
245         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
246         implementation, leveraging the TAS internal API.
247         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
248         API, leveraging the general availability of TLS services in VxWorks7
249         post SR6xxx.
250         (__gthread_setspecific, __gthread_setspecific): Use it.
251         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
252         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
253         support based on VxWorks primitives.
254         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
255         based on VxWorks primitives.
257 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
258             Olivier Hainque  <hainque@adacore.com>
260         * config/vxcrtstuff.c: New file.
261         * config/t-vxcrtstuff: New Makefile fragment.
262         * config.host: Append t-vxcrtstuff to the tmake_file list
263         on all VxWorks ports using dwarf for table based EH.
265 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
267         Support 64-bit double and 64-bit long double configurations.
269         PR target/92055
270         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
271         long double is a 32-bit type.
272         * config/avr/t-avrlibc: Copy double64 and long-double64
273         multilib(s) from the vanilla one.
274         * config/avr/t-copy-libgcc: New Makefile snip.
276 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
278         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
279         the target output object format is not ELF.
280         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
282 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
284         PR libgcc/78804
285         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
286         * fp-bit.c (pack_d, unpack_d): Remove special cases for
287         FLOAT_BIT_ORDER_MISMATCH.
288         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
290 2019-11-01  Jim Wilson  <jimw@sifive.com>
292         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
294 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
296         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
297         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
298         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
299         Define symbols for 32-bit and f5series hardware multiply
300         register addresses.
301         Replace hard-coded register addresses with symbols.
302         Fix "_mspabi*" typo.
303         Fix whitespace.
304         * config/msp430/lib2mul.c: Add comment.
306 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
308         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
309         unsigned int.  Adjust callers.
310         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
311         unsigned int *.  Load relocation offset before function pointer.
312         Add barrier to ensure ordering.
314 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
316         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
317         Load PIC register after branch target.  Fix white space.
318         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
319         implementations.  Load PIC register after branch target.  Don't
320         clobber function pointer when it points to function descriptor.
321         Use nullification instead of branch in LINUX implementation.
323 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
325         * config/pa/fptr.c: Disable -Warray-bounds warning.
327 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
329         * config.in, configure: Re-rebuild with stock autoconf 2.69,
330         not the ubuntu modified 2.69.
332         PR target/91833
333         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
334         initialization if !HAVE_SYS_AUXV_H.
335         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
336         * config.in, configure: Rebuild.
338         PR target/91834
339         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
340         overlap the inputs.
342 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
344         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
345         CTR_EL0.IDC and CTR_EL0.DIC.
347 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
349         Revert:
350         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
351                 Mickaël Guêné <mickael.guene@st.com>
353         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
354         architecture.
356 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
358         * config/aarch64/lse-init.c: New file.
359         * config/aarch64/lse.S: New file.
360         * config/aarch64/t-lse: New file.
361         * config.host: Add t-lse to all aarch64 tuples.
363 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
364         Mickaël Guêné <mickael.guene@st.com>
366         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
367         architecture.
369 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
370         Mickaël Guêné <mickael.guene@st.com>
372         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
373         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
374         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
375         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
376         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
377         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
378         (__gnu_personality_sigframe_fdpic): New.
379         (get_eit_entry): Add FDPIC signal frame support.
381 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
382         Mickaël Guêné <mickael.guene@st.com>
384         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
385         (__kernel_dmb): Likewise.
386         (__fdpic_cmpxchg): New function.
387         (__fdpic_dmb): New function.
388         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
389         (gnu_Unwind_Find_got): New function.
390         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
391         * unwind-arm-common.inc (UCB_PR_GOT): New.
392         (funcdesc_t): New struct.
393         (get_eit_entry): Add FDPIC support.
394         (unwind_phase2): Likewise.
395         (unwind_phase2_forced): Likewise.
396         (__gnu_Unwind_RaiseException): Likewise.
397         (__gnu_Unwind_Resume): Likewise.
398         (__gnu_Unwind_Backtrace): Likewise.
399         * unwind-pe.h (read_encoded_value_with_base): Likewise.
401 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
402         Mickaël Guêné <mickael.guene@st.com>
404         * libgcc/crtstuff.c: Add support for FDPIC.
406 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
408         * config.host: Handle *-*-uclinuxfdpiceabi.
410 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
412         * config.host: Set cpu_type for bpf-*-* targets.
413         * config/bpf/t-bpf: Likewise.
414         * config/bpf/crtn.S: Likewise.
415         * config/bpf/crti.S: New file.
417 2019-09-06  Jim Wilson  <jimw@sifive.com>
419         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
420         (riscv*-*-freebsd*): Likewise.
422 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
424         * config.host: Remove references to spu.
425         * config/spu/: Remove directory.
427 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
429         PR target/91306
430         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
431         element type, instead of "sizeof" the element type.
432         (__DTOR_LIST__): Likewise.
433         (__TMC_LIST__): Likewise.
434         (__do_global_dtors_aux_fini_array_entry): Likewise.
435         (__frame_dummy_init_array_entry): Likewise.
436         (__CTOR_END__): Likewise.
437         (__DTOR_END__): Likweise.
438         (__FRAME_END__): Likewise.
439         (__TMC_END__): Likewise.
441 2019-08-20  Lili Cui  <lilicui@intel.com>
443         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
444         INTEL_COREI7_COOPERLAKE.
446 2019-07-31  Matt Thomas  <matt@3am-software.com>
447             Nick Hudson <nick@nthcliff.demon.co.uk>
448             Matthew Green <mrg@eterna.com.au>
449             Maya Rashish <coypu@sdf.org>
451         * config.host (hppa*-*-netbsd*): New case.
452         * config/pa/t-netbsd: New file.
454 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
456         * config/arm/cmse.c (cmse_check_address_range): Add
457         warn_unused_result attribute.
459 2019-07-22  Martin Liska  <mliska@suse.cz>
461         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
462         * config/pa/t-stublib: Likewise.
464 2019-07-22  Stafford Horne  <shorne@gmail.com>
466         PR target/90362
467         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
468         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
469         instructions are not available on every processor.  Change a
470         l.bnf to l.bf to fix logic issue.
472 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
474         * config.host: Remove reference to t-darwin8.
476 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
478         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
479         list.
480         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
481         mmacosx-version-min for crts to run across all system versions.
482         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
483         * config/t-darwin: Revise mmacosx-version-min for crts to run across
484         system versions >= 10.4.
486 2019-07-03  Martin Liska  <mliska@suse.cz>
488         * Makefile.in: Use topn_values instead of one_value names.
489         * libgcov-merge.c (__gcov_merge_single): Move to ...
490         (__gcov_merge_topn): ... this.
491         (merge_single_value_set): Move to ...
492         (merge_topn_values_set): ... this.
493         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
494         ...
495         (__gcov_topn_values_profiler_body): ... this.
496         (__gcov_one_value_profiler_v2): Move to ...
497         (__gcov_topn_values_profiler): ... this.
498         (__gcov_one_value_profiler_v2_atomic): Move to ...
499         (__gcov_topn_values_profiler_atomic): ... this.
500         (__gcov_indirect_call_profiler_v4): Remove.
501         * libgcov-util.c (__gcov_single_counter_op): Move to ...
502         (__gcov_topn_counter_op): ... this.
503         * libgcov.h (L_gcov_merge_single): Remove.
504         (L_gcov_merge_topn): New.
505         (__gcov_merge_single): Remove.
506         (__gcov_merge_topn): New.
507         (__gcov_one_value_profiler_v2): Move to ..
508         (__gcov_topn_values_profiler): ... this.
509         (__gcov_one_value_profiler_v2_atomic): Move to ...
510         (__gcov_topn_values_profiler_atomic): ... this.
512 2019-07-03  Martin Liska  <mliska@suse.cz>
514         * libgcov-merge.c (merge_single_value_set): Support N values.
515         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
517 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
519         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
520         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
521         * configure.ac: Add --disable-tm-clone-registry option.
522         * configure: Regenerate.
524 2019-06-27  Martin Liska  <mliska@suse.cz>
526         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
527         dead assignments.
528         * libgcov-util.c: Likewise.
530 2019-06-27  Martin Liska  <mliska@suse.cz>
532         * libgcov-util.c (gcov_profile_merge): Release allocated
533         memory.
534         (calculate_overlap): Likewise.
536 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
538         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
539         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
540         Build objects for the out of line save/restore register functions
541         so that they can be used for any supported Darwin version.
542         * config/t-darwin: Default the build Darwin version to Darwin8
543         (MacOS 10.4).
545 2019-06-25  Martin Liska  <mliska@suse.cz>
547         * libgcov-driver-system.c (replace_filename_variables): Do not
548         call strlen with NULL argument.
550 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
552         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
553         * config/gcn/unwind-gcn.c: New file.
555 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
556             Andrew Stubbs  <ams@codesourcery.com>
558         * configure: Regenerate.
559         * config/gcn/gthr-gcn.h: New.
561 2019-06-18  Tom de Vries  <tdevries@suse.de>
563         * config/nvptx/crt0.c (__main): Declare.
565 2019-06-17  Matthew Green  <mrg@eterna.com.au>
566             Maya Rashish  <coypu@sdf.org>
568         * config.host (aarch64*-*-netbsd*): New case.
570 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
572         * config/msp430/slli.S (__mspabi_sllll): New library function for
573         performing a logical left shift of a 64-bit value.
574         * config/msp430/srai.S (__mspabi_srall): New library function for
575         performing a arithmetic right shift of a 64-bit value.
576         * config/msp430/srll.S (__mspabi_srlll): New library function for
577         performing a logical right shift of a 64-bit value.
579 2019-06-14  Matt Thomas  <matt@3am-software.com>
580             Matthew Green  <mrg@eterna.com.au>
581             Nick Hudson  <skrll@netbsd.org>
582             Maya Rashish  <coypu@sdf.org>
584         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
585         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
586         functions to build.
587         * config/arm/t-netbsd-eabi: New file.
589 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
591         * config.host: Add PRU target.
592         * config/pru/asri.c: New file.
593         * config/pru/eqd.c: New file.
594         * config/pru/eqf.c: New file.
595         * config/pru/ged.c: New file.
596         * config/pru/gef.c: New file.
597         * config/pru/gtd.c: New file.
598         * config/pru/gtf.c: New file.
599         * config/pru/led.c: New file.
600         * config/pru/lef.c: New file.
601         * config/pru/lib2bitcountHI.c: New file.
602         * config/pru/lib2divHI.c: New file.
603         * config/pru/lib2divQI.c: New file.
604         * config/pru/lib2divSI.c: New file.
605         * config/pru/libgcc-eabi.ver: New file.
606         * config/pru/ltd.c: New file.
607         * config/pru/ltf.c: New file.
608         * config/pru/mpyll.S: New file.
609         * config/pru/pru-abi.h: New file.
610         * config/pru/pru-asm.h: New file.
611         * config/pru/pru-divmod.h: New file.
612         * config/pru/sfp-machine.h: New file.
613         * config/pru/t-pru: New file.
615 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
617         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
619 2019-06-10  Martin Liska  <mliska@suse.cz>
621         PR bootstrap/90808
622         * libgcov.h: Add ATTRIBUTE_UNUSED.
624 2019-06-10  Martin Liska  <mliska@suse.cz>
626         * Makefile.in: Add __gcov_one_value_profiler_v2,
627         __gcov_one_value_profiler_v2_atomic and
628         __gcov_indirect_call_profiler_v4.
629         * libgcov-merge.c (__gcov_merge_single): Change
630         function signature.
631         (merge_single_value_set): New.
632         * libgcov-profiler.c (__gcov_one_value_profiler_body):
633         Update functionality.
634         (__gcov_one_value_profiler): Remove.
635         (__gcov_one_value_profiler_v2): ... this.
636         (__gcov_one_value_profiler_atomic): Rename to ...
637         (__gcov_one_value_profiler_v2_atomic): this.
638         (__gcov_indirect_call_profiler_v3): Rename to ...
639         (__gcov_indirect_call_profiler_v4): ... this.
640         * libgcov.h (__gcov_one_value_profiler): Remove.
641         (__gcov_one_value_profiler_atomic): Remove.
642         (__gcov_one_value_profiler_v2_atomic): New.
643         (__gcov_indirect_call_profiler_v3): Remove.
644         (__gcov_one_value_profiler_v2): New.
645         (__gcov_indirect_call_profiler_v4): New.
646         (gcov_get_counter_ignore_scaling): New function.
648 2019-06-07  Martin Liska  <mliska@suse.cz>
650         * Makefile.in: Remove usage of
651         _gcov_merge_icall_topn.
652         * libgcov-driver.c (gcov_sort_n_vals): Remove.
653         (gcov_sort_icall_topn_counter): Likewise.
654         (gcov_sort_topn_counter_arrays): Likewise.
655         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
656         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
657         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
658         Likewise.
659         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
660         (struct indirect_call_tuple): Remove.
661         (__gcov_indirect_call_topn_profiler): Remove.
662         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
663         * libgcov.h (gcov_sort_n_vals): Remove.
664         (L_gcov_merge_icall_topn): Likewise.
665         (__gcov_merge_icall_topn): Likewise.
666         (__gcov_indirect_call_topn_profiler): Likewise.
668 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
670         * config/rs6000/t-darwin: Ensure that the unwinder is built with
671         altivec enabled.
673 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
675         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
676         section.
677         (__mspabi_slli): Likewise.
678         (__mspabi_slll_n): Likewise.
679         (__mspabi_slll): Likewise.
680         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
681         (__mspabi_srai): Likewise.
682         (__mspabi_sral_n): Likewise.
683         (__mspabi_sral): Likewise.
684         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
685         (__mspabi_srli): Likewise.
686         (__mspabi_srll_n): Likewise.
687         (__mspabi_srll): Likewise.
689 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
691         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
692         Add appropriate tm_file clause as well.
693         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
695 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
697         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
698         rather than .data/.bss so it can be accessed via gp-relative
699         addressing.
701 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
703         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
704         (CR2_REGNO): Rename to R_CR2.
705         (XER_REGNO): Rename to R_XER.
706         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
707         (VRSAVE_REGNO): Rename to R_VRSAVE.
708         (VSCR_REGNO): R_VSCR.
710 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
712         * config.host (rx-*-linux*): Add new case.
713         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
715 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
717         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
718         function.
719         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
720         aarch64_post_frob_eh_handler_addr): Add check for b-key.
721         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
722         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
723         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
724         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
725         string.
726         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
727         string.
728         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
730 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
732         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
733         Remove Solaris 9 and 10 support.
734         (sparc_is_sighandler): Likewise.
736 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
738         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
740 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
742         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
743         4_FP_W_TYPEs are used for IEEE quad precision.
744         * soft-fp/extendhftf2.c: Likewise.
745         * soft-fp/extendsftf2.c: Likewise.
746         * soft-fp/extendxftf2.c: Likewise.
747         * soft-fp/trunctfdf2.c: Likewise.
748         * soft-fp/trunctfhf2.c: Likewise.
749         * soft-fp/trunctfsf2.c: Likewise.
750         * soft-fp/trunctfxf2.c: Likewise.
751         * config/rs6000/ibm-ldouble.c: Likewise.
753 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
755         * config.host: Simplify various *-*-solaris2.1[0-9]* to
756         *-*-solaris2*.
757         * configure.ac: Likewise.
758         * configure: Regenerate.
760         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
761         Solaris 10 and Solaris 11 < snv_125 handling.
763 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
765         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
767 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
769         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
770         * config/i386/cpuinfo.h (enum processor_features): Add
771         FEATURE_AVX512BF16.
773 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
774             Bernd Edlinger  <bernd.edlinger@hotmail.de>
775             Jakub Jelinek  <jakub@redhat.com>
777         PR target/89093
778         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
779         * config/arm/unwind-arm.c: Likewise.
780         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
781         attribute for ARM.
783 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
785         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
786         (RT_SIGRETURN): Update.
787         (nds32_fallback_frame_state): Update.
789 2019-02-21  Martin Sebor  <msebor@redhat.com>
791         * libgcc2.h (__clear_cache): Correct signature.
792         * libgcc2.c (__clear_cache): Same.
794 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
796         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
797         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
799 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
801         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
802         regno instead of index to DWARF_ZERO_REG.
804 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
806         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
807         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
809 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
811         * config/alpha/t-linux: Add -mfp-rounding-mode=d
812         to HOST_LIBGCC2_CFLAGS.
814 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
816         PR libgcc/88931
817         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
819 2019-01-18  Martin Liska  <mliska@suse.cz>
821         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
822         to ...
823         (__gcov_indirect_call_profiler_v3): ... this.
824         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
825         (__gcov_indirect_call_profiler_v3): Likewise.
826         * Makefile.in: Bump function name.
828 2019-01-18  Martin Liska  <mliska@suse.cz>
830         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
831         (gcov_version): Use in gcov_error.
832         (merge_one_data): Likewise.
833         (dump_one_gcov): Likewise.
835 2019-01-18  Martin Liska  <mliska@suse.cz>
837         * libgcov-driver.c (gcov_version_string): New function.
838         (gcov_version): Convert version integer into string.
840 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
841             Kwok Cheung Yeung  <kcy@codesourcery.com>
842             Julian Brown  <julian@codesourcery.com>
843             Tom de Vries  <tom@codesourcery.com>
845         * config.host: Recognize amdgcn*-*-amdhsa.
846         * config/gcn/crt0.c: New file.
847         * config/gcn/lib2-divmod-hi.c: New file.
848         * config/gcn/lib2-divmod.c: New file.
849         * config/gcn/lib2-gcn.h: New file.
850         * config/gcn/sfp-machine.h: New file.
851         * config/gcn/t-amdgcn: New file.
853 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
855         PR other/16615
857         * config/c6x/libunwind.S: Mechanically replace "can not" with
858         "cannot".
859         * config/tilepro/atomic.h: Likewise.
860         * config/vxlib-tls.c: Likewise.
861         * generic-morestack-thread.c: Likewise.
862         * generic-morestack.c: Likewise.
863         * mkmap-symver.awk: Likewise.
865 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
867         Update copyright years.
869 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
871         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
872         to ignore -Waddress-of-packed-member.
874 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
876         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
877         parameter and corresponding code.
878         (ARM_FUNC_START): Likewise in both definitions.
879         Also update footer comment about condition that need to match with
880         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
881         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
882         defined.  Weakly define it in this case.
883         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
884         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
885         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
886         comment to keep condition in sync with the one in
887         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
889 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
891         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
892         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
894 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
896         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
897         and .cfi_endproc directives for VxWorks targets.
899 2018-12-05  Paul Koning  <ni1d@arrl.net>
901         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
903 2018-11-27  Alan Modra  <amodra@gmail.com>
905         * config/rs6000/morestack.S (__stack_split_initialize),
906         (__morestack_get_guard, __morestack_set_guard),
907         (__morestack_make_guard): Provide CFI covering these functions.
908         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
910 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
912         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
913         (sc_pt_regs_lr): Update for kernel.
914         (sc_pt_regs_tls): Update for kernel.
916 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
918         * config/csky/linux-unwind.h: Fix coding style.
920 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
922         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
923         (csky_fallback_frame_state): Modify the check of the
924         instructions to adapt to changes in the kernel
926 2018-11-09  Stafford Horne  <shorne@gmail.com>
927             Richard Henderson  <rth@twiddle.net>
929         * config.host: Add OpenRISC support.
930         * config/or1k/*: New.
932 2018-11-08  Kito Cheng  <kito@andestech.com>
934         * soft-fp/adddf3.c: Update from glibc.
935         * soft-fp/addsf3.c: Likewise.
936         * soft-fp/addtf3.c: Likewise.
937         * soft-fp/divdf3.c: Likewise.
938         * soft-fp/divsf3.c: Likewise.
939         * soft-fp/divtf3.c: Likewise.
940         * soft-fp/double.h: Likewise.
941         * soft-fp/eqdf2.c: Likewise.
942         * soft-fp/eqsf2.c: Likewise.
943         * soft-fp/eqtf2.c: Likewise.
944         * soft-fp/extenddftf2.c: Likewise.
945         * soft-fp/extended.h: Likewise.
946         * soft-fp/extendhftf2.c: Likewise.
947         * soft-fp/extendsfdf2.c: Likewise.
948         * soft-fp/extendsftf2.c: Likewise.
949         * soft-fp/extendxftf2.c: Likewise.
950         * soft-fp/fixdfdi.c: Likewise.
951         * soft-fp/fixdfsi.c: Likewise.
952         * soft-fp/fixdfti.c: Likewise.
953         * soft-fp/fixhfti.c: Likewise.
954         * soft-fp/fixsfdi.c: Likewise.
955         * soft-fp/fixsfsi.c: Likewise.
956         * soft-fp/fixsfti.c: Likewise.
957         * soft-fp/fixtfdi.c: Likewise.
958         * soft-fp/fixtfsi.c: Likewise.
959         * soft-fp/fixtfti.c: Likewise.
960         * soft-fp/fixunsdfdi.c: Likewise.
961         * soft-fp/fixunsdfsi.c: Likewise.
962         * soft-fp/fixunsdfti.c: Likewise.
963         * soft-fp/fixunshfti.c: Likewise.
964         * soft-fp/fixunssfdi.c: Likewise.
965         * soft-fp/fixunssfsi.c: Likewise.
966         * soft-fp/fixunssfti.c: Likewise.
967         * soft-fp/fixunstfdi.c: Likewise.
968         * soft-fp/fixunstfsi.c: Likewise.
969         * soft-fp/fixunstfti.c: Likewise.
970         * soft-fp/floatdidf.c: Likewise.
971         * soft-fp/floatdisf.c: Likewise.
972         * soft-fp/floatditf.c: Likewise.
973         * soft-fp/floatsidf.c: Likewise.
974         * soft-fp/floatsisf.c: Likewise.
975         * soft-fp/floatsitf.c: Likewise.
976         * soft-fp/floattidf.c: Likewise.
977         * soft-fp/floattihf.c: Likewise.
978         * soft-fp/floattisf.c: Likewise.
979         * soft-fp/floattitf.c: Likewise.
980         * soft-fp/floatundidf.c: Likewise.
981         * soft-fp/floatundisf.c: Likewise.
982         * soft-fp/floatunditf.c: Likewise.
983         * soft-fp/floatunsidf.c: Likewise.
984         * soft-fp/floatunsisf.c: Likewise.
985         * soft-fp/floatunsitf.c: Likewise.
986         * soft-fp/floatuntidf.c: Likewise.
987         * soft-fp/floatuntihf.c: Likewise.
988         * soft-fp/floatuntisf.c: Likewise.
989         * soft-fp/floatuntitf.c: Likewise.
990         * soft-fp/gedf2.c: Likewise.
991         * soft-fp/gesf2.c: Likewise.
992         * soft-fp/getf2.c: Likewise.
993         * soft-fp/half.h: Likewise.
994         * soft-fp/ledf2.c: Likewise.
995         * soft-fp/lesf2.c: Likewise.
996         * soft-fp/letf2.c: Likewise.
997         * soft-fp/muldf3.c: Likewise.
998         * soft-fp/mulsf3.c: Likewise.
999         * soft-fp/multf3.c: Likewise.
1000         * soft-fp/negdf2.c: Likewise.
1001         * soft-fp/negsf2.c: Likewise.
1002         * soft-fp/negtf2.c: Likewise.
1003         * soft-fp/op-1.h: Likewise.
1004         * soft-fp/op-2.h: Likewise.
1005         * soft-fp/op-4.h: Likewise.
1006         * soft-fp/op-8.h: Likewise.
1007         * soft-fp/op-common.h: Likewise.
1008         * soft-fp/quad.h: Likewise.
1009         * soft-fp/single.h: Likewise.
1010         * soft-fp/soft-fp.h: Likewise.
1011         * soft-fp/subdf3.c: Likewise.
1012         * soft-fp/subsf3.c: Likewise.
1013         * soft-fp/subtf3.c: Likewise.
1014         * soft-fp/truncdfsf2.c: Likewise.
1015         * soft-fp/trunctfdf2.c: Likewise.
1016         * soft-fp/trunctfhf2.c: Likewise.
1017         * soft-fp/trunctfsf2.c: Likewise.
1018         * soft-fp/trunctfxf2.c: Likewise.
1019         * soft-fp/unorddf2.c: Likewise.
1020         * soft-fp/unordsf2.c: Likewise.
1021         * soft-fp/unordtf2.c: Likewise.
1023 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
1025         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1026         * config/i386/cpuinfo.h (processor_types): Add znver2.
1028 2018-11-01  Paul Koning  <ni1d@arrl.net>
1030         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1031         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1033 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1035         PR bootstrap/82856
1036         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
1037         * configure: Regenerate.
1039 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
1041         * config/arc/lib1funcs.S (_muldi3): New function.
1042         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1044 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1046         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1048 2018-10-25  Martin Liska  <mliska@suse.cz>
1050         PR other/87735
1051         * libgcov-profiler.c: Revert.
1053 2018-10-24  Martin Liska  <mliska@suse.cz>
1055         * libgcov-profiler.c: Start from 1 in order to distinguish
1056         functions which were seen and these that were not.
1058 2018-10-18  Paul Koning  <ni1d@arrl.net>
1060         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1061         standard.
1062         * divmod.c: Update references to __udivmodsi4.
1063         * udivmod.c: Ditto.
1064         * udivhi3.c: New file.
1065         * udivmodhi4.c: New file.
1066         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1068 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1070         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1072 2018-10-12  Olivier Hainque  <hainque@adacore.com>
1074         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1075         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1077 2018-10-08  Paul Koning  <ni1d@arrl.net>
1079         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1081 2018-10-04  Martin Liska  <mliska@suse.cz>
1083         PR gcov-profile/84107
1084         * libgcov-profiler.c (__gcov_indirect_call):
1085         Change type to indirect_call_tuple.
1086         (struct indirect_call_tuple): New struct.
1087         (__gcov_indirect_call_topn_profiler): Change type.
1088         (__gcov_indirect_call_profiler_v2): Use the new
1089         variables.
1090         * libgcov.h (struct indirect_call_tuple): New struct
1091         definition.
1093 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
1095         * libgcc2.c (isnan): Use __builtin_isnan.
1096         (isfinite): Use __builtin_isfinite.
1097         (isinf): Use __builtin_isinf.
1099 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
1101         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1103 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
1105         * config/vxcache.c: New file.  Provide __clear_cache, based on
1106         the cacheTextUpdate VxWorks service.
1107         * config/t-vxworks (LIB2ADD): Add vxcache.c.
1108         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1109         * config/t-vxwoks7: Likewise.
1111 2018-09-21  Martin Liska  <mliska@suse.cz>
1113         * libgcov-driver.c (crc32_unsigned): Remove.
1114         (gcov_histogram_insert): Likewise.
1115         (gcov_compute_histogram): Likewise.
1116         (compute_summary): Simplify rapidly.
1117         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1118         (merge_summary): Rapidly simplify.
1119         (dump_one_gcov): Ignore gcov_summary.
1120         (gcov_do_dump): Do not handle program summary, it's not
1121         used.
1122         * libgcov-util.c (tag_summary): Remove.
1123         (read_gcda_finalize): Fix coding style.
1124         (read_gcda_file): Initialize curr_object_summary.
1125         (compute_summary): Remove.
1126         (calculate_overlap): Remove settings of run_max.
1128 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
1130         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1131         ucontext_t type instead.
1132         (nds32_fallback_frame_state): Remove struct _sigframe statement.
1134 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
1136         * config/nds32/t-nds32-glibc: New file.
1138 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1140         * configure.ac (solaris_ld_v2_maps): New test.
1141         * configure: Regenerate.
1142         * Makefile.in (solaris_ld_v2_maps): New variable.
1143         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1144         if supported.
1146 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
1148         PR target/86951
1149         * config/arm/lib1funcs.asm (speculation_barrier): New function.
1150         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1151         to build.
1153 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
1155         * config/unwind-dw2-fde-darwin.c
1156         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1157         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
1158         * config/t-darwin: Build Darwin10 unwinder shim crt.
1159         * libgcc/config.host: Add the Darwin10 unwinder shim.
1161 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1163         * config.host: Add crtbegin.o and crtend.o for
1164         powerpc-wrs-vxworks target.
1166 2018-08-17  Jojo  <jijie_rong@c-sky.com>
1167             Huibin Wang  <huibin_wang@c-sky.com>
1168             Sandra Loosemore  <sandra@codesourcery.com>
1169             Chung-Lin Tang  <cltang@codesourcery.com>
1171         C-SKY port: libgcc
1173         * config.host: Add C-SKY support.
1174         * config/csky/*: New.
1176 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
1178         * config/nds32/t-nds32-isr: Rearrange object dependency.
1179         * config/nds32/initfini.c: Add dwarf2 unwinding support.
1180         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1181         and registers usage.
1182         * config/nds32/isr-library/excp_isr.S: Ditto.
1183         * config/nds32/isr-library/intr_isr.S: Ditto.
1184         * config/nds32/isr-library/reset.S: Ditto.
1185         * config/nds32/isr-library/restore_all.inc: Ditto.
1186         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1187         * config/nds32/isr-library/restore_partial.inc: Ditto.
1188         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1189         * config/nds32/isr-library/save_all.inc: Ditto.
1190         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1191         * config/nds32/isr-library/save_partial.inc: Ditto.
1192         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1193         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1195 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
1197         * config/pa/linux-atomic.c: Update comment.
1198         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1199         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1200         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1201         __ATOMIC_RELAXED for atomic loads.
1202         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
1203         unordered store to release lock.
1204         (__sync_lock_release_8): Likewise.
1205         (SYNC_LOCK_RELEASE_2): Remove define.
1207 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
1209         PR libgcc/86512
1210         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1211         exponent goes negative. Update my email address.
1212         * config/arm/ieee754-sf.S: Likewise.
1214 2018-08-01  Martin Liska  <mliska@suse.cz>
1216         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1217         check that  __gcov_indirect_call_callee is non-null.
1219 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
1221         * config/arm/ieee754-df.S: Fix comment for code working on
1222         architectures >= 4.
1223         * config/arm/ieee754-sf.S: Likewise.
1225 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1227         PR libgcc/85334
1228         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1229         Removed.
1231 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
1233         * configure: Regenerated.
1235 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1237         * Makefile.in (install_leaf): Use enable_gcov instead of
1238         enable_libgcov.
1240 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1242         * configure.ac: Add --disable-gcov option.
1243         * configure: Regenerate.
1244         * Makefile.in: Honour @enable_gcov@.
1246 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1248         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1249         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1250         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1251         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1252         __ARM_ARCH__.
1253         * config/arm/ieee754-sf.S: Likewise.
1254         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1256 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
1258         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1259         longer supported.
1260         * config/arm/ieee754-sf.S: Likewise.
1262 2018-06-20  Than McIntosh  <thanm@google.com>
1264         PR libgcc/86213
1265         * generic-morestack.c (allocate_segment): Move calls to getenv and
1266         getpagesize to __morestack_load_mmap.
1267         (__morestack_load_mmap) Initialize static_pagesize and
1268         use_guard_page here so as to avoid clobbering SSE regs during a
1269         __morestack call.
1271 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
1273         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1274         support modules with -mno-gnu-attribute.
1275         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1277 2018-06-07  Olivier Hainque  <hainque@adacore.com>
1279         * config/t-vxworks (LIBGCC_INCLUDES): Add
1280         -I$(MULTIBUILDTOP)../../gcc/include.
1281         * config/t-vxworks7: Likewise. Reformat a bit to match
1282         the t-vxworks layout.
1284 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
1286         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1288 2018-06-07  Martin Liska  <mliska@suse.cz>
1290         * libgcov-driver.c: Rename cs_all to all and assign it from
1291         all_prg.
1293 2018-06-07  Martin Liska  <mliska@suse.cz>
1295         PR bootstrap/86057
1296         * libgcov-driver-system.c (replace_filename_variables): Use
1297         memcpy instead of mempcpy.
1298         (allocate_filename_struct): Do not allocate filename, allocate
1299         prefix and set it.
1300         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1301         here and properly copy content into it.
1302         * libgcov-driver.c (struct gcov_filename): Remove max_length
1303         field, change prefix from size_t into char *.
1304         (compute_summary): Do not calculate longest filename.
1305         (gcov_do_dump): Release memory of gf.filename after each file.
1306         * libgcov-util.c (compute_summary): Use new signature of
1307         compute_summary.
1308         (calculate_overlap): Likewise.
1310 2018-06-05  Martin Liska  <mliska@suse.cz>
1312         PR gcov-profile/47618
1313         * libgcov-driver-system.c (replace_filename_variables): New
1314         function.
1315         (gcov_exit_open_gcda_file): Use it.
1317 2018-06-05  Martin Liska  <mliska@suse.cz>
1319         * libgcov-driver.c (gcov_compute_histogram): Remove usage
1320         of gcov_ctr_summary.
1321         (compute_summary): Do it just for a single summary.
1322         (merge_one_data): Likewise.
1323         (merge_summary): Simplify as we read just single summary.
1324         (dump_one_gcov): Pass proper argument.
1325         * libgcov-util.c (compute_one_gcov): Simplify as we have just
1326         single summary.
1327         (gcov_info_count_all_cold): Likewise.
1328         (calculate_overlap): Likewise.
1330 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
1331             Monk Chiang  <sh.chiang04@gmail.com>
1333         * config.host (nds32*-linux*): New.
1334         * config/nds32/linux-atomic.c: New file.
1335         * config/nds32/linux-unwind.h: New file.
1337 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
1339         PR target/85591
1340         * config/i386/cpuinfo.c (get_amd_cpu): Return
1341         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1343 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1345         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1347 2018-05-29  Martin Liska  <mliska@suse.cz>
1349         PR gcov-profile/85759
1350         * libgcov-driver-system.c (gcov_error): Introduce usage of
1351         GCOV_EXIT_AT_ERROR env. variable.
1352         * libgcov-driver.c (merge_one_data): Print error that we
1353         overwrite a gcov file with a different timestamp.
1355 2018-05-23  Kalamatee  <kalamatee@gmail.com>
1357         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1358         path to Lf$finfty.
1360 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
1361             Monk Chiang  <sh.chiang04@gmail.com>
1362             Jim Wilson <jimw@sifive.com>
1364         * config/riscv/save-restore.S: Add support for rv32e.
1366 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1368         * config/arm/libunwind.S: Update comment relating to armv5.
1370 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
1372         * config/arm/cmse.c (cmse_check_address_range): Replace
1373         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1375 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
1377         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1378         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1380 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
1382         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1383         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1385 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
1387         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1389 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
1390             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1392         PR libgcc/84292
1393         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1394         op_and_fetch to return the right result.
1396 2018-04-27  Alan Modra  <amodra@gmail.com>
1398         PR libgcc/85532
1399         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1400         -fno-asynchronous-unwind-tables.
1402 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1404         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1405         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1407 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1409         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1410         when including "config/i386/shadow-stack-unwind.h".
1412 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1414         * configure: Regenerated.
1416 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
1418         PR target/85456
1419         * config/rs6000/_powikf2.c: New file.  Add support for the
1420         __builtin_powil function when long double is IEEE 128-bit floating
1421         point.
1422         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1423         __powikf2 support.
1424         (__powikf2): Likewise.
1425         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1426         (__powikf2_hw): Likewise.
1427         (__powikf2): Likewise.
1428         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1429         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1430         (_powikf2-hw.c): Likewise.
1432 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1434         PR libgcc/85334
1435         * unwind-generic.h (_Unwind_Frames_Increment): New.
1436         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1437         Likewise.
1438         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1439         count with _Unwind_Frames_Increment.
1440         (_Unwind_ForcedUnwind_Phase2): Likewise.
1442 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1444         PR libgcc/85379
1445         * config/i386/morestack.S (__stack_split_initialize): Add
1446         _CET_ENDBR.
1448 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1450         * configure: Regenerated.
1452 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1454         PR jit/85384
1455         * configure: Regenerate.
1457 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
1459         PR target/84945
1460         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1461         -Wdangling-else warnings.  Mask shift counts to avoid
1462         -Wshift-count-negative and -Wshift-count-overflow false positives.
1464 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
1466         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1468 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1470         PR target/85100
1471         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1472         (XSTATE_FP): Likewise.
1473         (XSTATE_SSE): Likewise.
1474         (XSTATE_YMM): Likewise.
1475         (XSTATE_OPMASK): Likewise.
1476         (XSTATE_ZMM): Likewise.
1477         (XSTATE_HI_ZMM): Likewise.
1478         (XCR_AVX_ENABLED_MASK): Likewise.
1479         (XCR_AVX512F_ENABLED_MASK): Likewise.
1480         (get_available_features): Enable AVX and AVX512 features only
1481         if their states are supported by OSXSAVE.
1483 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1485         PR target/85025
1486         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1487         Fix a typo, tmp => 255.
1489 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
1491         PR target/84945
1492         * config/i386/cpuinfo.h (__cpu_features2): Declare.
1493         * config/i386/cpuinfo.c (__cpu_features2): New variable for
1494         ifndef SHARED only.
1495         (set_feature): Define.
1496         (get_available_features): Use set_feature macro.  Set __cpu_features2
1497         to the second word of features ifndef SHARED.
1499 2018-03-15  Julia Koval  <julia.koval@intel.com>
1501         * config/i386/cpuinfo.c (get_available_features): Add
1502         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1503         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1504         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1505         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1506         FEATURE_AVX512BITALG.
1508 2018-03-14  Julia Koval  <julia.koval@intel.com>
1510         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1511         icelake client and icelake server.
1513 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
1515         * config/pa/fptr.c (_dl_read_access_allowed): New.
1516         (__canonicalize_funcptr_for_compare): Use it.
1518 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
1520         PR debug/83917
1521         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1522         $asm_hidden_op if visibility ("hidden") attribute works.
1523         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1524         * config/i386/i386-asm.h: Don't include auto-host.h.
1525         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1526         PACKAGE_URL): Don't undefine.
1527         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1528         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1529         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1530         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1531         definition instead of hardcoded .hidden.
1532         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1533         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1534         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1535         (USE_GAS_CFI_DIRECTIVES): Don't define.
1536         * configure: Regenerated.
1537         * config.in: Likewise.
1539 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
1541         PR debug/83917
1542         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1543         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1544         inclusion of auto-target.h and auto-host.h.
1545         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1546         __GCC_HAVE_DWARF2_CFI_ASM.
1547         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1548         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1549         cfi_pop): Define.
1550         * config/i386/cygwin.S: Don't include auto-host.h here, just
1551         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1552         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1553         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1554         * config/i386/resms64fx.h: Add cfi_* directives.
1555         * config/i386/resms64x.h: Likewise.
1557 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
1559         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1560         .literal_position directive.
1561         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1563 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1565         PR target/84148
1566         * configure: Regenerate.
1568 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1570         PR target/84239
1571         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1572         Include cetintrin.h not x86intrin.h.
1574 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1576         PR target/84239
1577         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1578         Use new _get_ssp and _inc_ssp intrinsics.
1580 2018-02-02  Julia Koval  <julia.koval@intel.com>
1582         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1584 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
1586         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1587         option.
1588         (__divsi3): Use RF16 safe registers.
1589         (__modsi3): Likewise.
1591 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
1593         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1594         (__divsf3): Make NaN return value quiet.
1595         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1596         (__divdf3): Make NaN return value quiet.
1598 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1600         * config/rl78/anddi3.S: New assembly file.
1601         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1603 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1605         * config/rl78/umindi3.S: New assembly file.
1606         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1608 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1610         * config/rl78/smindi3.S: New assembly file.
1611         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1613 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1615         * config/rl78/smaxdi3.S: New assembly file.
1616         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1618 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1620         * config/rl78/umaxdi3.S: New assembly file.
1621         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1623 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
1625         PR lto/83452
1626         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1627         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1629 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
1631         * config/aarch64/value-unwind.h (aarch64_vg): New function.
1632         (DWARF_LAZY_REGISTER_VALUE): Define.
1633         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1634         to provide a fallback register value.
1636 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
1638         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1639         __ibm128, instead of trying to use long double.
1640         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1641         accomidate -mabi=ieeelongdouble multilibs.
1642         (CVT_IBM128_TO_FLOAT128): Likewise.
1643         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1644         the appropriate IBM extended double type.
1645         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1646         (__gcc_qsub): Likewise.
1647         (__gcc_qmul): Likewise.
1648         (__gcc_qdiv): Likewise.
1649         (pack_ldouble): Likewise.
1650         (__gcc_qneg): Likewise.
1651         (__gcc_qeq): Likewise.
1652         (__gcc_qne): Likewise.
1653         (__gcc_qge): Likewise.
1654         (__gcc_qle): Likewise.
1655         (__gcc_stoq): Likewise.
1656         (__gcc_dtoq): Likewise.
1657         (__gcc_itoq): Likewise.
1658         (__gcc_utoq): Likewise.
1659         (__gcc_qunord): Likewise.
1660         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1661         quad-float128.h for the definitions.
1662         (COPYSIGN): Use the f128 version instead of the q version.
1663         (INFINITY): Likewise.
1664         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1665         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1666         quad-float128.h for the definitions.
1667         (COPYSIGN): Use the f128 version instead of the q version.
1668         (INFINITY): Likewise.
1669         (FABS): Likewise.
1670         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1671         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1672         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1674 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1676         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1677         configuration.
1679 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
1681         Update copyright years.
1683 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
1685         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1686         * config/riscv/multi3.c: New file.
1687         * config/riscv/multi3.S: Remove.
1689 2017-12-08  Jim Wilson  <jimw@sifive.com>
1691         * config/riscv/div.S: Use FUNC_* macros.
1692         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1693         * config/riscv/save-restore.S: Likewise.
1694         * config/riscv/riscv-asm.h: New.
1696 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
1698         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1699         * config/rs6000/_divkc3.c (__divkc3): Likewise.
1701         PR libgcc/83112
1702         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1703         correct type for all ifunc resolvers to silence -Wattribute-alias
1704         warnings.  Eliminate the forward declaration of the resolver
1705         functions which is no longer needed.
1706         (__subkf3_resolve): Likewise.
1707         (__mulkf3_resolve): Likewise.
1708         (__divkf3_resolve): Likewise.
1709         (__negkf2_resolve): Likewise.
1710         (__eqkf2_resolve): Likewise.
1711         (__nekf2_resolve): Likewise.
1712         (__gekf2_resolve): Likewise.
1713         (__gtkf2_resolve): Likewise.
1714         (__lekf2_resolve): Likewise.
1715         (__ltkf2_resolve): Likewise.
1716         (__unordkf2_resolve): Likewise.
1717         (__extendsfkf2_resolve): Likewise.
1718         (__extenddfkf2_resolve): Likewise.
1719         (__trunckfsf2_resolve): Likewise.
1720         (__trunckfdf2_resolve): Likewise.
1721         (__fixkfsi_resolve): Likewise.
1722         (__fixkfdi_resolve): Likewise.
1723         (__fixunskfsi_resolve): Likewise.
1724         (__fixunskfdi_resolve): Likewise.
1725         (__floatsikf_resolve): Likewise.
1726         (__floatdikf_resolve): Likewise.
1727         (__floatunsikf_resolve): Likewise.
1728         (__floatundikf_resolve): Likewise.
1729         (__extendkftf2_resolve): Likewise.
1730         (__trunctfkf2_resolve): Likewise.
1732         PR libgcc/83103
1733         * config/rs6000/quad-float128.h (TF): Don't define if long double
1734         is IEEE 128-bit floating point.
1735         (TCtype): Define as either TCmode or KCmode, depending on whether
1736         long double is IEEE 128-bit floating point.
1737         (__mulkc3_sw): Add declarations for software/hardware versions of
1738         complex multiply/divide.
1739         (__divkc3_sw): Likewise.
1740         (__mulkc3_hw): Likewise.
1741         (__divkc3_hw): Likewise.
1742         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1743         handlers to switch between using software emulation and hardware
1744         float128 instructions, build the complex multiply/divide functions
1745         for both software and hardware support.
1746         * config/rs6000/_divkc3.c (_divkc3): Likewise.
1747         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1748         (__divkc3_resolve): Likewise.
1749         (__mulkc3): Likewise.
1750         (__divkc3): Likewise.
1751         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1752         (fp128_hw_src): Likewise.
1753         (fp128_hw_static_obj): Likewise.
1754         (fp128_hw_shared_obj): Likewise.
1755         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1756         _mulkc3.c and _divkc3.c, changing the function name.
1757         (_divkc3-hw.c): Likewise.
1758         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1759         and _divkc3-hw.c.
1761 2017-11-26  Julia Koval  <julia.koval@intel.com>
1763         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1764         * config/i386/cpuinfo.h (processor_subtypes): Add
1765         INTEL_COREI7_CANNONLAKE.
1767 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1769         PR bootstrap/83015
1770         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1771         parameter.
1772         * config/xtensa/unwind-dw2-xtensa.c: Likewise
1773         * config/ia64/unwind-ia64.c: Add frames parameter.
1774         * unwind-sjlj.c: Likewise.
1776 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1778         * config/i386/linux-unwind.h: Include
1779         config/i386/shadow-stack-unwind.h.
1780         * config/i386/shadow-stack-unwind.h: New file.
1781         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1782         pass it to _Unwind_Frames_Extra.
1783         * unwind-generic.h (_Unwind_Frames_Extra): New.
1784         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1785         parameter. Add local variable frames to count number of frames.
1786         (_Unwind_ForcedUnwind_Phase2): Likewise.
1787         (_Unwind_RaiseException): Add local variable frames to count
1788         number of frames, pass it to _Unwind_RaiseException_Phase2 and
1789         uw_install_context.
1790         (_Unwind_ForcedUnwind): Likewise.
1791         (_Unwind_Resume): Likewise.
1792         (_Unwind_Resume_or_Rethrow): Likewise.
1794 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1796         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1797         (CET_FLAGS): New.
1798         * config/i386/morestack.S: Include <cet.h>.
1799         (__morestack_large_model): Add _CET_ENDBR at function entrance.
1800         * config/i386/resms64.h: Include <cet.h>.
1801         * config/i386/resms64f.h: Likewise.
1802         * config/i386/resms64fx.h: Likewise.
1803         * config/i386/resms64x.h: Likewise.
1804         * config/i386/savms64.h: Likewise.
1805         * config/i386/savms64f.h: Likewise.
1806         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1807         (CRTSTUFF_T_CFLAGS): Likewise.
1808         * configure.ac: Include ../config/cet.m4.
1809         Set and substitute CET_FLAGS.
1810         * configure: Regenerated.
1812 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1814         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1815         renaming.
1816         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1817         * configure.ac (libgcc_cv_solaris_crts): Likewise.
1818         * configure: Regenerate.
1820 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1822         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1823         after "do {} while (0)".
1825 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1827         PR other/82784
1828         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1829         semicolon after "do {} while (0)".
1830         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1831         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1832         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1833         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1835 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
1837         PR libgcc/82635
1838         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1839         sysctl to determine whether we're in a trampoline.
1840         Keep the pattern matching method for systems without
1841         KERN_PROC_SIGTRAMP sysctl.
1843 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
1844             Vineet Gupta <vgupta@synopsys.com>
1846         * config.host (arc*-*-linux*): Set md_unwind_header variable.
1847         * config/arc/linux-unwind-reg.def: New file.
1848         * config/arc/linux-unwind-reg.h: Likewise.
1850 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
1852         * config/rl78/subdi3.S: New assembly file.
1853         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1855 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
1857         * config/rl78/adddi3.S: New assembly file.
1858         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1860 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
1862         PR target/82274
1863         * libgcc2.c (__mulvDI3): If both operands have
1864         the same highpart of -1 and the topmost bit of lowpart is 0,
1865         multiplication overflows even if both lowparts are 0.
1867 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
1869         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1871 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
1873         * config/microblaze/crti.S, config/microblaze/crtn.S,
1874         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1875         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1876         config/microblaze/mulsi3.S,
1877         config/microblaze/stack_overflow_exit.S,
1878         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1879         config/pa/milli64.S: Add .note.GNU-stack section.
1881 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
1883         * configure.ac: Add Check for HAVE_AS_AVX.
1884         * config.in: Regenerate.
1885         * configure: Likewise.
1886         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1887         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1888         Correct out-of-date comments.
1890 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
1892         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1893         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1895 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
1897         * config/i386/i386-asm.h (PASTE2): New macro.
1898         (ASMNAME): Modify to use PASTE2.
1899         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1900         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1901         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1902         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1903         * config/i386/resms64f.S: Likewise.
1904         * config/i386/resms64fx.S: Likewise.
1905         * config/i386/resms64x.S: Likewise.
1906         * config/i386/savms64.S: Likewise.
1907         * config/i386/savms64f.S: Likewise.
1908         * config/i386/avx_resms64.S: New file that only defines a macro and
1909         includes it's corresponding header file.
1910         * config/i386/avx_resms64f.S: Likewise.
1911         * config/i386/avx_resms64fx.S: Likewise.
1912         * config/i386/avx_resms64x.S: Likewise.
1913         * config/i386/avx_savms64.S: Likewise.
1914         * config/i386/avx_savms64f.S: Likewise.
1915         * config/i386/sse_resms64.S: Likewise.
1916         * config/i386/sse_resms64f.S: Likewise.
1917         * config/i386/sse_resms64fx.S: Likewise.
1918         * config/i386/sse_resms64x.S: Likewise.
1919         * config/i386/sse_savms64.S: Likewise.
1920         * config/i386/sse_savms64f.S: Likewise.
1921         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1923 2017-09-01  Olivier Hainque  <hainque@adacore.com>
1924         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1926 2017-08-31  Olivier Hainque  <hainque@adacore.com>
1928         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1929         match as powerpc-wrs-vxworks*.
1931 2017-08-07  Jonathan Yong  <10walls@gmail.com>
1933         * config.host (*-cygwin): Include file from mingw
1934         config/i386/enable-execute-stack-mingw32.c
1936 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
1937             Doug Rupp  <rupp@adacore.com>
1938             Olivier Hainque  <hainque@adacore.com>
1940         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1941         as well as arm-wrs-vxworks.
1942         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
1943         LIB2ADDEH.
1944         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1945         __exidx_start and __exidx_end for downloadable modules.
1947 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1949         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1950         * config/t-vxworks7: Likewise.
1952 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1954         * config/t-vxworks: Instead of redefining LIB2ADD,
1955         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1957 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1959         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1961 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
1963         PR testsuite/80759
1964         * config.host: include i386/t-msabi for darwin and solaris.
1965         * config/i386/i386-asm.h
1966         (ELFFN): Rename to FN_TYPE.
1967         (FN_SIZE): New macro.
1968         (FN_HIDDEN): Likewise.
1969         (ASMNAME): Likewise.
1970         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1971         .globl.
1972         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1973         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1974         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1975         .macro.
1976         * config/i386/resms64f.S: Likewise.
1977         * config/i386/resms64fx.S: Likewise.
1978         * config/i386/resms64x.S: Likewise.
1979         * config/i386/savms64.S: Likewise.
1980         * config/i386/savms64f.S: Likewise.
1982 2017-07-19  John Marino  <gnugcc@marino.st>
1984         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1986 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
1988         PR target/81193
1989         * configure.ac (PowerPC float128 hardware support): Test whether
1990         we can use __builtin_cpu_supports before enabling the ifunc
1991         handler.
1992         * configure: Regenerate.
1994 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
1996         * config.host: Remove uclibc from arc target spec.
1998 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
2000         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2002 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
2004         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2005         (have_ieee_hw_p): Delete function.
2006         (SW_OR_HW) Use __builtin_cpu_supports().
2008 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2010         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2012 2017-07-03  Olivier Hainque  <hainque@adacore.com>
2014         * config/t-vxworks7: New file, really.
2016 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
2018         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2019         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2020         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2021         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2022         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2023         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2024         config/pa/linux-unwind.h (pa32_fallback_frame_state),
2025         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2026         config/sh/linux-unwind.h (sh_fallback_frame_state),
2027         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2028         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2029         ucontext_t instead of struct ucontext.
2031 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
2033         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2034         (x86_64-wrs-vxworks7): Likewise.
2036 2017-06-27  Olivier Hainque  <hainque@adacore.com>
2038         * config/t-vxworks7: New file.
2039         * config.host (*-*-vxworks7): Use it.
2041 2017-06-22  Matt Turner  <mattst88@gmail.com>
2043         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2044         skylake case.
2046 2017-06-21  Richard Biener  <rguenther@suse.de>
2048         PR gcov-profile/81080
2049         * configure.ac: Add AC_SYS_LARGEFILE.
2050         * libgcov.h: Include auto-target.h before tsystem.h to pick
2051         up _FILE_OFFSET_BITS which might differ for multilibs.
2052         * config.in: Regenerate.
2053         * configure: Likewise.
2055 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
2057         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2059 2017-06-09  Martin Liska  <mliska@suse.cz>
2061         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2062         Reset __gcov_indirect_call_callee to NULL.
2064 2017-06-08  Olivier Hainque  <hainque@adacore.com>
2066         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2067         the set of -I options, support for direct inclusions of net/uio.h
2068         by VxWorks header files via ioLib.h.
2070 2017-06-07  Tony Reix  <tony.reix@atos.net>
2071             Matthieu Sarter  <matthieu.sarter.external@atos.net>
2072             David Edelsohn  <dje.gcc@gmail.com>
2074         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2075         unconditionally.
2076         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
2077         AIX 7.2 support.
2079 2017-06-02  Olivier Hainque  <hainque@adacore.com>
2081         * config/vxlib.c (__gthread_once): Add missing value to
2082         return statement.
2084 2017-05-30  Olivier Hainque  <hainque@adacore.com>
2086         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2087         dollar sign before $(MULTIDIR).
2089 2017-05-26  Richard Henderson  <rth@redhat.com>
2091         PR libgcc/80037
2092         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2094 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
2096         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2097         _Unwind_SetIP available as functions for arm*-*-freebsd*.
2098         * config/arm/unwind-arm.c: Implement the above.
2100 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2102         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2103         section for a non-executable stack.
2105 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
2107         PR target/80600
2108         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2110 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
2112         * config.host: Add i386/t-msabi to i386/t-linux file list.
2113         * config/i386/i386-asm.h: New file.
2114         * config/i386/resms64.S: New file.
2115         * config/i386/resms64f.S: New file.
2116         * config/i386/resms64fx.S: New file.
2117         * config/i386/resms64x.S: New file.
2118         * config/i386/savms64.S: New file.
2119         * config/i386/savms64f.S: New file.
2120         * config/i386/t-msabi: New file.
2122 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
2124         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2125         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2127 2017-05-05  Joshua Conner  <joshconner@google.com>
2129         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2130         pc-relative indirect handling for fuchsia.
2131         * config/t-slibgcc-fuchsia: New file.
2132         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2133         x86_64-*-fuchsia*): Add definitions.
2135 2017-04-19  Martin Liska  <mliska@suse.cz>
2137         PR gcov-profile/80435
2138         * Makefile.in: Install gcov.h.
2139         * gcov.h: New file.
2140         * libgcov.h: Use the header and make __gcov_flush publicly
2141         visible.
2143 2017-04-18  Martin Liska  <mliska@suse.cz>
2145         PR gcov-profile/78783
2146         * libgcov-driver.c (gcov_get_filename): New function.
2148 2017-04-07  Jeff Law  <law@redhat.com>
2150         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2151         target makefile fragment.
2152         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2154 2017-04-07  Alan Modra  <amodra@gmail.com>
2156         PR target/45053
2157         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2159 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
2161         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2163 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
2165         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2167 2017-03-10  John Marino  <gnugcc@marino.st>
2169         * config/aarch64/freebsd-unwind.h: New file.
2170         * config.host: Add aarch64-*-freebsd unwinder.
2172 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2174         * config/rs6000/crtrestvr.s: Use .machine altivec.
2175         * config/rs6000/crtsavevr.s: Ditto.
2177 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
2179         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2180         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
2181         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2182         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
2183         * configure: Regenerate.
2184         * config.in: Regenerate.
2186 2017-03-02  Jonathan Yong <10walls@gmail.com>
2188         * config/i386/gthr-win32.h: Define NOGDI before
2189         windows.h include to prevent w32api CC_NONE macro
2190         clash with libgfortran.
2192 2017-03-02  Jonathan Yong <10walls@gmail.com>
2194         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2196 2017-02-16  Andrew Pinski  <apinski@cavium.com>
2198         * config/aarch64/value-unwind.h: New file.
2199         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2200         to tm_file.
2202 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
2204         * config.host: Add RISC-V tuples.
2205         * config/riscv/atomic.c: New file.
2206         * config/riscv/crti.S: Likewise.
2207         * config/riscv/crtn.S: Likewise.
2208         * config/riscv/div.S: Likewise.
2209         * config/riscv/linux-unwind.h: Likewise.
2210         * config/riscv/muldi3.S: Likewise.
2211         * config/riscv/multi3.S: Likewise.
2212         * config/riscv/save-restore.S: Likewise.
2213         * config/riscv/sfp-machine.h: Likewise.
2214         * config/riscv/t-elf: Likewise.
2215         * config/riscv/t-elf32: Likewise.
2216         * config/riscv/t-elf64: Likewise.
2217         * config/riscv/t-softfp32: Likewise.
2218         * config/riscv/t-softfp64: Likewise.
2220 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2222         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2223         /* FALLTHRU */ comments.
2225 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
2227         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2229 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2231         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2232         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
2233         DW_CFA_GNU_window_save for AArch64 and LP64.
2235 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
2237         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2239 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
2241         * config/aarch64/aarch64-unwind.h: New file.
2242         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2243         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2244         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2245         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2246         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2247         (aarch64_post_extract_frame_addr): New function.
2248         (aarch64_post_frob_eh_handler_addr): New function.
2249         (aarch64_frob_update_context): New function.
2250         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2251         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2252         aarch64*-*-freebsd*):
2253         Initialize md_unwind_header to include aarch64-unwind.h.
2254         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2255         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2256         __aarch64__.
2257         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2258         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2259         (uw_frob_return_addr): New function.
2260         (uw_install_context): Use uw_frob_return_addr.
2262 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
2264         PR other/79046
2265         * configure.ac: Add GCC_BASE_VER.
2266         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2267         version from BASE-VER file.
2268         * configure: Regenerated.
2270 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
2272         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2273         libmul_f5.a): Filter archived prerequisites.
2275 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
2277         * config/i386/cpuinfo.h (processor_features): Add
2278         FEATURE_AVX512VPOPCNTDQ.
2279         * config/i386/cpuinfo.c (get_available_features): Habdle new
2280         feature.
2282 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2284         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2285         payload if [__mips_nan2008].
2287 2017-01-04  Alan Modra  <amodra@gmail.com>
2289         * Makefile.in (configure_deps): Update.
2290         * configure: Regenerate.
2292 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
2294         Update copyright years.
2296 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
2298         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2299         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2300         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2302 2016-12-17  Matthias Klose  <doko@ubuntu.com>
2304         * config/arc/gmon: Remove empty directory.
2306 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
2308         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2309         crtgend.
2310         (arc*-*-elf*): Likewise.
2311         * config/arc/t-arc: Remove old gmon lib targets.
2312         * config/arc/crtg.S: Remove.
2313         * config/arc/crtgend.S: Likewise.
2314         * config/arc/gmon/atomic.h: Likewise.
2315         * config/arc/gmon/auxreg.h: Likewise.
2316         * config/arc/gmon/dcache_linesz.S: Likewise.
2317         * config/arc/gmon/gmon.c: Likewise.
2318         * config/arc/gmon/machine-gmon.h: Likewise.
2319         * config/arc/gmon/mcount.c: Likewise.
2320         * config/arc/gmon/prof-freq-stub.S: Likewise.
2321         * config/arc/gmon/prof-freq.c: Likewise.
2322         * config/arc/gmon/profil.S: Likewise.
2323         * config/arc/gmon/sys/gmon.h: Likewise.
2324         * config/arc/gmon/sys/gmon_out.h: Likewise.
2325         * config/arc/t-arc-newlib: Likewise.
2326         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2328 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2330         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2332 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2334         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2335         R16 instead of push + pop.
2336         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2338 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
2340         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2341         tmake_file.
2343 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
2345         * config.host (arc*-*-linux-uclibc*): Use default extra
2346         objects. Include linux-android header.
2347         * config/arc/crti.S (_init): Declare symbol as function.
2348         (_fini): Likewise.
2350 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
2352         PR fortran/78379
2353         * config/i386/cpuinfo.c:  Move denums for processor vendors,
2354         processor type, processor subtypes and declaration of
2355         struct __processor_model into
2356         * config/i386/cpuinfo.h:  New header file.
2358 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2359             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2361         * config/arm/cmse_nonsecure_call.S: New.
2362         * config/arm/t-arm: Compile cmse_nonsecure_call.S
2364 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2365             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2367         * config/arm/t-arm (HAVE_CMSE): New.
2368         * config/arm/cmse.c: New.
2370 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2372         PR gcc/74748
2373         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2374         use generic linker version information on Blackfin.
2376         PR gcc/74748
2377         * libgcc/mkmap-symver.awk: add support for skip_underscore
2379 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
2380             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2382         PR target/67710
2383         *  config/t-darwin: Default builds to 10.5 codegen.
2385 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
2387         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2388         (_FP_NANSIGN_H): Likewise.
2389         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2390         (softfp_truncations): Add tfhf.
2391         (softfp_extras): Add required conversion functions.
2393 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2394             Matthew Wahab  <matthew.wahab@arm.com>
2396         * config/arm/fp16.c (binary64): New.
2397         (__gnu_d2h_internal): New.
2398         (__gnu_d2h_ieee): New.
2399         (__gnu_d2h_alternative): New.
2401 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2402             Matthew Wahab  <matthew.wahab@arm.com>
2404         * config/arm/fp16.c (struct format): New.
2405         (binary32): New.
2406         (__gnu_float2h_internal): New.  Body moved from
2407         __gnu_f2h_internal and generalize.
2408         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2409         Call it with binary32.
2411 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2413         * soft-fp/extendhftf2.c: Update from glibc.
2414         * soft-fp/fixhfti.c: Likewise.
2415         * soft-fp/fixunshfti.c: Likewise.
2416         * soft-fp/floattihf.c: Likewise.
2417         * soft-fp/floatuntihf.c: Likewise.
2418         * soft-fp/half.h: Likewise.
2419         * soft-fp/trunctfhf2.c: Likewise.
2421 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
2423         PR libgcc/77813
2424         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2425         __TMC_END__ behind a passthrough asm.
2427 2016-11-18  Walter Lee  <walt@tilera.com>
2429         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2431 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
2433         * config/i386/cpuinfo.c (processor_features): Add
2434         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2436 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
2438         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2439         (__ARC_NORM__): Use instead ARC_OPTFPE.
2440         * config/arc/fp-hack.h: Likewise.
2441         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2442         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2444 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
2446         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2447         * config/nvptx/mgomp.c: New file.
2448         * config/nvptx/t-nvptx: Add mgomp.c
2450 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
2452         PR libgcc/68468
2453         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2455 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
2457         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2458         of checking for cpus.
2459         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2460         (__modsi3, __clzsi2): Likewise.
2462 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2464         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2465         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2466         * config/i386/t-cpuinfo-static: New.
2468 2016-11-03  Martin Liska  <mliska@suse.cz>
2470         * libgcov-profiler.c (__gcov_time_profiler): Remove.
2471         (__gcov_time_profiler_atomic): Likewise.
2473 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2475         PR libgcc/78067
2476         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2477         count_leading_zeros.
2479 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
2481         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2482         * libgcc2.c (__divmoddi4): New function.
2483         * libgcc2.h (__divmoddi4): Declare.
2484         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2485         and __PFX_divmodti4.
2487 2016-10-24  Florian Weimer  <fweimer@redhat.com>
2489         PR libgcc/78064
2490         * unwind-c.c: Include auto-target.h.
2492 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
2494         * config/pa/pa64-hpux-lib.h: New file.
2495         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2496         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2497         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2498         hppa*64*-*-hpux11*.
2500 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
2502         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2503         definition.
2504         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2505         definition.
2506         * config/xtensa/t-windowed (LIB2ADDEH): Use
2507         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2508         or xtensa/t-linux.
2510 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
2512         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2513         __ieee754_sqrt): New functions.
2514         (__divdf3): Add implementation with new FPU instructions under
2515         #if XCHAL_HAVE_DFP_DIV.
2516         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2517         __ieee754_sqrtf): New functions.
2518         (__divsf3): Add implementation with new FPU instructions under
2519         #if XCHAL_HAVE_FP_DIV.
2520         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2521         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2523 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2525         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2526         equivalent.
2527         * config/tilepro/atomic.c: Likewise and stop casting model to
2528         enum memmodel.
2530 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
2532         PR target/77586
2533         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2534         soft-fp.
2536 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
2538         * config.host: Add support for aarch64-*-freebsd*.
2540 2016-10-05  Andreas Schwab  <schwab@suse.de>
2542         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2543         (.section .init_array): Don't call __do_jv_register_classes.
2544         (.section .init): Likewise.
2546 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
2548         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2549         (__JCR_LIST__): Remove.
2550         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2551         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2552         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2553         * config/ia64/crtend.S (__JCR_END__): Remove.
2554         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2555         conditionals.
2556         (__JCR_LIST__, __JCR_END__): Remove.
2557         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2558         (__do_global_ctors_1): Likewise.
2560 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
2562         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2563         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2565 2016-09-27  Martin Liska  <mliska@suse.cz>
2567         PR gcov-profile/7970
2568         PR gcov-profile/16855
2569         PR gcov-profile/44779
2570         * libgcov-driver.c (__gcov_init): Do not register a atexit
2571         handler.
2572         (__gcov_exit): Rename from gcov_exit.
2573         * libgcov.h (__gcov_exit): Declare.
2575 2016-09-27  Martin Liska  <mliska@suse.cz>
2577         PR bootstrap/77749
2578         * Makefile.in: Remove _gcov_merge_delta.
2579         * libgcov-merge.c (void __gcov_merge_delta): Remove.
2580         * libgcov-util.c (__gcov_delta_counter_op): Remove.
2581         * libgcov.h: Remove declaration of __gcov_merge_delta.
2583 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
2585         * configure.ac: Do not create links, only substitute the filenames.
2586         * configure: Regenerate.
2587         * Makefile.in: Assign the substitution results to variables.
2588         (LIBGCC_LINKS): Define.
2589         (enable-execute-stack.c): New rule.
2590         (unwind.h): Likewise.
2591         (md-unwind-support.h): Likewise.
2592         (sfp-machine.h): Likewise.
2593         (gthr-default.h): Likewise.
2594         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2595         unwind.h as prerequisite of install-unwind_h-forbuild.
2597 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
2599         PR libgcc/71744
2600         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2601         is not the primary registry and atomics are available.
2602         (any_objects_registered): New variable.
2603         (__register_frame_info_bases, __register_frame_info_table_bases):
2604         Atomically store 1 to any_objects_registered after registering first
2605         unwind info.
2606         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2608 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
2610         PR target/63250
2611         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2612         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2613         (HFtype): Likewise.
2614         (HCtype): Likewise.
2615         (__divhc3): Likewise.
2616         (__mulhc3): Likewise.
2617         * libgcc2.c: Support _mulhc3 and _divhc3.
2619 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2621         PR libgcc/77519
2622         * libgcc2.c (NOTRUNC): Invert settings.
2624 2016-09-06  Martin Liska  <mliska@suse.cz>
2626         PR gcov-profile/77378
2627         PR gcov-profile/77466
2628         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2629         conditionaly enable/disable *_atomic functions.
2631 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
2633         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2634         where not already enabled.
2636 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2638         * config/mips/linux-unwind.h: Use sys/syscall.h.
2640 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2642         PR libgcc/77265
2643         * soft-fp/adddf3.c: Update from glibc.
2644         * soft-fp/addsf3.c: Likewise.
2645         * soft-fp/addtf3.c: Likewise.
2646         * soft-fp/divdf3.c: Likewise.
2647         * soft-fp/divsf3.c: Likewise.
2648         * soft-fp/divtf3.c: Likewise.
2649         * soft-fp/double.h: Likewise.
2650         * soft-fp/eqdf2.c: Likewise.
2651         * soft-fp/eqsf2.c: Likewise.
2652         * soft-fp/eqtf2.c: Likewise.
2653         * soft-fp/extenddftf2.c: Likewise.
2654         * soft-fp/extended.h: Likewise.
2655         * soft-fp/extendsfdf2.c: Likewise.
2656         * soft-fp/extendsftf2.c: Likewise.
2657         * soft-fp/extendxftf2.c: Likewise.
2658         * soft-fp/fixdfdi.c: Likewise.
2659         * soft-fp/fixdfsi.c: Likewise.
2660         * soft-fp/fixdfti.c: Likewise.
2661         * soft-fp/fixsfdi.c: Likewise.
2662         * soft-fp/fixsfsi.c: Likewise.
2663         * soft-fp/fixsfti.c: Likewise.
2664         * soft-fp/fixtfdi.c: Likewise.
2665         * soft-fp/fixtfsi.c: Likewise.
2666         * soft-fp/fixtfti.c: Likewise.
2667         * soft-fp/fixunsdfdi.c: Likewise.
2668         * soft-fp/fixunsdfsi.c: Likewise.
2669         * soft-fp/fixunsdfti.c: Likewise.
2670         * soft-fp/fixunssfdi.c: Likewise.
2671         * soft-fp/fixunssfsi.c: Likewise.
2672         * soft-fp/fixunssfti.c: Likewise.
2673         * soft-fp/fixunstfdi.c: Likewise.
2674         * soft-fp/fixunstfsi.c: Likewise.
2675         * soft-fp/fixunstfti.c: Likewise.
2676         * soft-fp/floatdidf.c: Likewise.
2677         * soft-fp/floatdisf.c: Likewise.
2678         * soft-fp/floatditf.c: Likewise.
2679         * soft-fp/floatsidf.c: Likewise.
2680         * soft-fp/floatsisf.c: Likewise.
2681         * soft-fp/floatsitf.c: Likewise.
2682         * soft-fp/floattidf.c: Likewise.
2683         * soft-fp/floattisf.c: Likewise.
2684         * soft-fp/floattitf.c: Likewise.
2685         * soft-fp/floatundidf.c: Likewise.
2686         * soft-fp/floatundisf.c: Likewise.
2687         * soft-fp/floatunditf.c: Likewise.
2688         * soft-fp/floatunsidf.c: Likewise.
2689         * soft-fp/floatunsisf.c: Likewise.
2690         * soft-fp/floatunsitf.c: Likewise.
2691         * soft-fp/floatuntidf.c: Likewise.
2692         * soft-fp/floatuntisf.c: Likewise.
2693         * soft-fp/floatuntitf.c: Likewise.
2694         * soft-fp/gedf2.c: Likewise.
2695         * soft-fp/gesf2.c: Likewise.
2696         * soft-fp/getf2.c: Likewise.
2697         * soft-fp/ledf2.c: Likewise.
2698         * soft-fp/lesf2.c: Likewise.
2699         * soft-fp/letf2.c: Likewise.
2700         * soft-fp/muldf3.c: Likewise.
2701         * soft-fp/mulsf3.c: Likewise.
2702         * soft-fp/multf3.c: Likewise.
2703         * soft-fp/negdf2.c: Likewise.
2704         * soft-fp/negsf2.c: Likewise.
2705         * soft-fp/negtf2.c: Likewise.
2706         * soft-fp/op-1.h: Likewise.
2707         * soft-fp/op-2.h: Likewise.
2708         * soft-fp/op-4.h: Likewise.
2709         * soft-fp/op-8.h: Likewise.
2710         * soft-fp/op-common.h: Likewise.
2711         * soft-fp/quad.h: Likewise.
2712         * soft-fp/single.h: Likewise.
2713         * soft-fp/soft-fp.h: Likewise.
2714         * soft-fp/subdf3.c: Likewise.
2715         * soft-fp/subsf3.c: Likewise.
2716         * soft-fp/subtf3.c: Likewise.
2717         * soft-fp/truncdfsf2.c: Likewise.
2718         * soft-fp/trunctfdf2.c: Likewise.
2719         * soft-fp/trunctfsf2.c: Likewise.
2720         * soft-fp/trunctfxf2.c: Likewise.
2721         * soft-fp/unorddf2.c: Likewise.
2722         * soft-fp/unordsf2.c: Likewise.
2723         * soft-fp/unordtf2.c: Likewise.
2725 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
2727         PR gcov-profile/67097
2728         * libgcov-util.c (gcov_profile_merge): Skip missing files.
2730 2016-08-10  Martin Liska  <mliska@suse.cz>
2732         PR gcov-profile/58306
2733         * Makefile.in: New functions (modules) are added.
2734         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2735         function.
2736         (__gcov_pow2_profiler_atomic): New function.
2737         (__gcov_one_value_profiler_body): New argument is instroduced.
2738         (__gcov_one_value_profiler): Call with the new argument.
2739         (__gcov_one_value_profiler_atomic): Likewise.
2740         (__gcov_indirect_call_profiler_v2): Likewise.
2741         (__gcov_time_profiler_atomic): New function.
2742         (__gcov_average_profiler_atomic): Likewise.
2743         (__gcov_ior_profiler_atomic): Likewise.
2744         * libgcov.h: Declare the aforementioned functions.
2746 2016-08-09  Martin Liska  <mliska@suse.cz>
2748         * libgcov-util.c: Fix typo and GNU coding style.
2750 2016-08-09  Martin Liska  <mliska@suse.cz>
2752         * Makefile.in: Remove __gcov_indirect_call_profiler.
2753         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2754         function.
2755         * libgcov.h: And the declaration of the function.
2757 2016-08-09  Martin Liska  <mliska@suse.cz>
2759         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2760         power of two.
2762 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2764         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2765         * config/rs6000/_mulkc3.c: Likewise.
2767 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
2769         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2770         zero_reg as previous call to __umulhisi3 already cleared it.
2772 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
2774         PR target/59833
2775         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2777 2016-07-19  Nick Clifton  <nickc@redhat.com>
2779         * config.host (m32r): Add m32r/t-m32r to tmake_file.
2780         Add crtinit.o and crtfini.o to extra_parts.
2782 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2784         * config/rs6000/_divkc3.c: New.
2785         * config/rs6000/_mulkc3.c: New.
2786         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2787         and _divkc3.
2788         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2789         fp128_ppc_funcs.
2791 2016-07-11  Hale Wang  <hale.wang@arm.com>
2792             Andre Vieira  <andre.simoesdiasvieira@arm.com>
2794         * config/arm/lib1funcs.S: Add new wrapper.
2796 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2798         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2800 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2802         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2803         and ARMv5t* rather than for a fixed list of architectures.
2805 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2807         * config/arm/bpabi-v6m.S: Clarify what architectures is the
2808         implementation suitable for.
2809         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2810         for all Thumb-1 only targets.
2811         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2812         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2813         __ARM_ARCH_6M__.
2814         (EQUIV): Likewise.
2815         (ARM_FUNC_ALIAS): Likewise.
2816         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2817         version.
2818         (modsi3): Likewise.
2819         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2820         (clzdi2): Likewise.
2821         (ctzsi2): Likewise.
2822         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2823         __ARM_ARCH_6M__ in guard for checking whether it is defined.
2824         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2825         __ARM_ARCH_6M__ and add comment to indicate the connection between
2826         this condition and the one in gcc/config/arm/elf.h.
2827         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2828         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2829         * config/arm/t-softfp: Likewise.
2831 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2833         * libgcc2.c (SYMBOL__MAIN): Remove checks for
2834         CTOR_LISTS_DEFINED_EXTERNALLY.
2836 2016-06-28  Walter Lee  <walt@tilera.com>
2838         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2839         asm/unistd.h.
2840         (SPR_CMPEXCH_VALUE): Define for tilegx.
2841         (__NR_FAST_cmpxchg): Define for tilepro.
2842         (__NR_FAST_atomic_update): Define for tilepro.
2843         (__NR_FAST_cmpxchg64): Define for tilepro.
2845 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
2847         * config.host: Add suport for arm*-*-phoenix* targets.
2849 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2851         * config.host: Remove support for mep-*.
2852         * config/mep/lib1funcs.S: Remove.
2853         * config/mep/lib2funcs.c: Remove.
2854         * config/mep/t-mep: Remove.
2855         * config/mep/tramp.c: Remove.
2857 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2859         * config.host: Remove support for avr-rtems.
2860         * config/avr/t-rtems: Remove.
2862 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2864         * config.host: Remove m32r-rtems support.
2866 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2868         * config.host: Remove h8300-rtems support.
2870 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2872         * config.host: Remove support for knetbsd.
2874 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2876         * config.host: Remove support for openbsd 2 and 3.
2878 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2880         * config.host: Remove interix support.
2881         * config/i386/t-interix: Remove.
2883 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
2885         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2886         least-significant bit in function pointer for fixup.
2888 2016-06-05  Aaron Conole  <aconole@redhat.com>
2889             Nathan Sidwell  <nathan@acm.org>
2891         PR libgcc/71400
2892         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2893         (get_gcov_error_file): Check __gcov_error_file before trying to
2894         initialize it.
2895         (gcov_error): Always use get_gcov_error_file.
2897 2016-06-02  Aaron Conole  <aconole@redhat.com>
2899         * libgcov-driver-system.c (__gcov_error_file): New.
2900         (get_gcov_error_file): New.
2901         (gcov_error): Use and set __gcov_error_file.
2902         (gcov_error_exit): New.
2903         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2905 2016-05-26  Nathan Sidwell  <nathan@acm.org>
2907         * config/nvptx/free.asm: Delete.
2908         * config/nvptx/malloc.asm: Delete.
2909         * config/nvptx/realloc.c: Delete.
2910         * t-nvptx: Update.
2912 2016-05-25  Nathan Sidwell  <nathan@acm.org>
2914         * config/nvptx/crt0.s: Delete.
2915         * config/nvptx/crt0.c: New.
2916         * t-nvptx: Update.
2918 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
2920         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2921         dw2/seh configuration.
2922         [x86_64-*-mingw*]: Likewise.
2924 2016-05-10  Joel Sherrill <joel@rtems.org>
2926         PR libgcc/70720
2927         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2928         targets so the same extra_parts are built.  Also have tmake_file add
2929         on to its value rather than override.
2931 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
2933         * config.host: Remove SH5 support.
2934         * configure: Likewise.
2936 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
2938         * config/sh/crt1.S: Remove SH5 support.
2939         * config/sh/crti.S: Likewise.
2940         * config/sh/crtn.S: Likewise.
2941         * config/sh/lib1funcs-4-300.S: Likewise.
2942         * config/sh/lib1funcs-Os-4-200.S: Likewise.
2943         * config/sh/lib1funcs.S: Likewise.
2944         * config/sh/linux-unwind.h: Likewise.
2945         * config/sh/t-sh64: Delete.
2947 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
2949         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2951 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
2952             Joern Rennecke  <joern.rennecke@embecosm.com>
2954         * config/arc/crttls.S: New file.
2955         * config/arc/t-arc: New rule.
2956         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2958 2016-04-25  Nick Clifton  <nickc@redhat.com>
2960         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2961         (__mspabi_cmpd): Likewise.
2962         * config/msp430/floathidf.c (__floathidf): Likewise.
2963         * config/msp430/floathisf.c (__floathisf): Likewise
2964         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2965         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2966         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2967         second parameter.
2968         (__ashrsi3): Likewise.
2970 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
2972         * config/m68k/linux-atomic.c: Do not include unistd.h
2974 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
2976         * config/arm/ieee754-df.S: Fix typos in comments.
2978 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
2980         PR target/70381
2981         * configure.ac (powerpc*-*-linux*): Rework tests to build
2982         __float128 emulation routines to not depend on using #pragma GCC
2983         target to enable -mfloat128.
2984         * configure: Regnerate.
2986 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
2988         PR target/67172
2989         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2990         __MINGW32__ is defined.
2992 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
2994         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2996 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
2998         PR libgcc/70363
2999         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3000         built with an assembler that does not support ISA 3.0
3001         instructions, rename __extendkftf2_sw to __extendkftf2.
3003 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3005         PR target/38239
3006         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3007         call-clobbered registers.
3008         (internal_mcount): Remove __i386__ handling.
3010 2016-02-26  Joel Sherrill <joel@rtems.org>
3012         * config.host: Add x86_64-*-rtems*.
3014 2016-02-26  Joel Sherrill <joel@rtems.org>
3016         * libgcc/config.host: Add aarch64-*-rtems*.
3018 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3019             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3021         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3022         union of u64 and double.
3023         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3024         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3025         value.
3026         (FP_ROUNDMODE): Update the usage of _fpscr.
3028 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
3030         PR driver/68463
3031         * Makefile.in (crtoffloadtable$(objext)): New rule.
3032         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3033         enable_offload_targets is not empty.
3034         * configure: Regenerate.
3035         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3036         crtoffloadtable.
3038 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
3040         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3041         .literal_position before the function.
3042         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3043         Likewise.
3045 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
3047         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3048         * config/s390/morestack.S: New file.
3049         * config/s390/t-stack-s390: New file.
3050         * generic-morestack.c (__splitstack_find): Add s390-specific code.
3052 2016-02-12  Walter Lee  <walt@tilera.com>
3054         * config.host (tilegx*-*-linux*): remove ti from
3055         softfp_int_modes for 32-bit configs.
3057 2016-02-10  Ian Lance Taylor  <iant@google.com>
3059         PR go/68562
3060         * config/i386/morestack.S (__stack_split_initialize): Align
3061         stack.
3063 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
3065         PR bootstrap/69611
3066         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3067         __FLOAT128__ to compile only for __float128 capable targets.
3069 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
3071         PR target/69444
3072         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3073         instead of ___NO_FPRS__.
3075 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
3076             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3077             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3079         * config/rs6000/float128-sed: New files to convert TF names to KF
3080         names for PowerPC IEEE 128-bit floating point support.
3081         * config/rs6000/float128-sed-hw: Likewise.
3083         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3084         floating point hardware support.
3086         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3087         128-bit floating point software emulation or use ISA 3.0 hardware
3088         support if it is available.
3090         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3091         floating point.
3093         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3094         floating point to IBM extended double.
3096         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3097         double to IEEE 128-bit floating point.
3099         * config/rs6000/t-float128: New Makefile fragments to enable
3100         building __float128 emulation support.
3101         * config/rs6000/t-float128-hw: Likewise.
3103         * config/rs6000/sfp-exceptions.c: New file to provide exception
3104         support for IEEE 128-bit floating point.
3106         * config/rs6000/floattikf.c: New files for converting between IEEE
3107         128-bit floating point and signed/unsigned 128-bit integers.
3108         * config/rs6000/fixunskfti.c: Likewise.
3109         * config/rs6000/fixkfti.c: Likewise.
3110         * config/rs6000/floatuntikf.c: Likewise.
3112         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3113         when building on 64-bit systems, or when VSX is enabled.
3114         (_FP_W_TYPE): Likewise.
3115         (_FP_WS_TYPE): Likewise.
3116         (_FP_I_TYPE): Likewise.
3117         (TItype): Define on 64-bit systems.
3118         (UTItype): Likewise.
3119         (TI_BITS): Likewise.
3120         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3121         (_FP_MUL_MEAT_Q): Likewise.
3122         (_FP_DIV_MEAT_D): Likewise.
3123         (_FP_DIV_MEAT_Q): Likewise.
3124         (_FP_NANFRAC_D): Likewise.
3125         (_FP_NANFRAC_Q): Likewise.
3126         (ISA_BIT): Add exception support if we are being compiled on a
3127         machine with hardware floating point support to build the IEEE
3128         128-bit emulation functions.
3129         (FP_EX_INVALID): Likewise.
3130         (FP_EX_OVERFLOW): Likewise.
3131         (FP_EX_UNDERFLOW): Likewise.
3132         (FP_EX_DIVZERO): Likewise.
3133         (FP_EX_INEXACT): Likewise.
3134         (FP_EX_ALL): Likewise.
3135         (__sfp_handle_exceptions): Likewise.
3136         (FP_HANDLE_EXCEPTIONS): Likewise.
3137         (FP_RND_NEAREST): Likewise.
3138         (FP_RND_ZERO): Likewise.
3139         (FP_RND_PINF): Likewise.
3140         (FP_RND_MINF): Likewise.
3141         (FP_RND_MASK): Likewise.
3142         (_FP_DECL_EX): Likewise.
3143         (FP_INIT_ROUNDMODE): Likewise.
3144         (FP_ROUNDMODE): Likewise.
3146         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3147         VSX code, enable IEEE 128-bit floating point.  If the compiler can
3148         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3149         floating point hardware instructions and it supports declaring
3150         functions with the ifunc attribute, enable ifunc functions to
3151         switch between software and hardware support.
3152         * configure.ac (powerpc*-*-linux*): Likewise.
3153         * configure: Regenerate.
3155 2016-01-15  Nick Clifton  <nickc@redhat.com>
3157         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3158         dependency as the source file to be compiled.
3159         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3160         (lib2hw_mul_f5.o): Likewise.
3162 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3164         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3165         * libgcc/config/rs6000/fixkfti.c: Likewise.
3166         * libgcc/config/rs6000/fixunskfti.c: Likewise.
3167         * libgcc/config/rs6000/float128-hw.c: Likewise.
3168         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3169         * libgcc/config/rs6000/float128-sed: Likewise.
3170         * libgcc/config/rs6000/floattikf.c: Likewise.
3171         * libgcc/config/rs6000/floatuntikf.c: Likewise.
3172         * libgcc/config/rs6000/quad-float128.h: Likewise.
3173         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3174         * libgcc/config/rs6000/sfp-machine.h: Likewise.
3175         * libgcc/config/rs6000/t-float128: Likewise.
3176         * libgcc/config/rs6000/t-float128-hw: Likewise.
3177         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3178         * libgcc/config.host: Likewise.
3179         * libgcc/configure: Likewise.
3180         * libgcc/configure.ac: Likewise.
3182 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
3183             Steven Munroe  <munroesj@linux.vnet.ibm.com>
3184             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
3186         * config/rs6000/sfp-exceptions.c: New file to provide exception
3187         support for IEEE 128-bit floating point.
3189         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3190         floating point hardware support.
3192         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3193         point conversions.
3194         * config/rs6000/fixunskfti.c: Likewise.
3195         * config/rs6000/fixkfti.c: Likewise.
3196         * config/rs6000/floatuntikf.c: Likewise.
3197         * config/rs6000/extendkftf2-sw.c: Likewise.
3198         * config/rs6000/trunctfkf2-sw.c: Likewise.
3200         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3201         128-bit floating point software emulation or use ISA 3.0 hardware
3202         support if it is available.
3204         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3205         floating point.
3207         * config/rs6000/t-float128: New Makefile fragments to enable
3208         building __float128 emulation support.
3209         * config/rs6000/t-float128-hw: Likewise.
3211         * config/rs6000/float128-sed: New file to convert TF names to KF
3212         names for PowerPC IEEE 128-bit floating point support.
3214         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3215         when building on 64-bit systems, or when VSX is enabled.
3216         (_FP_W_TYPE): Likewise.
3217         (_FP_WS_TYPE): Likewise.
3218         (_FP_I_TYPE): Likewise.
3219         (TItype): Define on 64-bit systems.
3220         (UTItype): Likewise.
3221         (TI_BITS): Likewise.
3222         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3223         (_FP_MUL_MEAT_Q): Likewise.
3224         (_FP_DIV_MEAT_D): Likewise.
3225         (_FP_DIV_MEAT_Q): Likewise.
3226         (_FP_NANFRAC_D): Likewise.
3227         (_FP_NANFRAC_Q): Likewise.
3228         (ISA_BIT): Add exception support if we are being compiled on a
3229         machine with hardware floating point support to build the IEEE
3230         128-bit emulation functions.
3231         (FP_EX_INVALID): Likewise.
3232         (FP_EX_OVERFLOW): Likewise.
3233         (FP_EX_UNDERFLOW): Likewise.
3234         (FP_EX_DIVZERO): Likewise.
3235         (FP_EX_INEXACT): Likewise.
3236         (FP_EX_ALL): Likewise.
3237         (__sfp_handle_exceptions): Likewise.
3238         (FP_HANDLE_EXCEPTIONS): Likewise.
3239         (FP_RND_NEAREST): Likewise.
3240         (FP_RND_ZERO): Likewise.
3241         (FP_RND_PINF): Likewise.
3242         (FP_RND_MINF): Likewise.
3243         (FP_RND_MASK): Likewise.
3244         (_FP_DECL_EX): Likewise.
3245         (FP_INIT_ROUNDMODE): Likewise.
3246         (FP_ROUNDMODE): Likewise.
3248         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3249         compiler can do __float128.
3250         * configure: Regenerate.
3252         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3253         VSX code, enable IEEE 128-bit floating point.
3255 2016-01-05  Olivier Hainque  <hainque@adacore.com>
3257         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3258         specificities.
3260 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
3262         Update copyright years.
3264 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
3266         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3267         soft-fp targets.
3269 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3271         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3272         instead of abort to avoid dependency on stdlib.h.
3274 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
3276         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3277         to initialize call to __dl_fixup once.
3279 2015-12-04  Nick Clifton  <nickc@redhat.com>
3281         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3282         Allow for the second argument being negative.
3283         * config.host (extra_parts): Define for MSP430.  Create separate
3284         libraries for each of the hardware multiply formats.
3285         * config/msp430/lib2hw_mul.S: Build only the multiply routines
3286         that are needed.
3287         * config/msp430/lib2mul.c: Likewise.
3288         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3289         Add rules to build hardware multiply libraries.
3290         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3291         __mspabi_divul function.
3292         (__mspabi_divllu): New stub function.
3294 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
3296         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3297         fixup values if saved GOT address doesn't match runtime address.
3298         (fixup_branch_offset): Reorder list.
3300 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3302         * Makefile.in (VTV_CFLAGS): New variable.
3303         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3304         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3305         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3306         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3307         to extra_parts if $enable_vtable_verify = yes.
3309 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3311         PR target/68059
3312         * config/arm/linux-atomic-64bit.c (__write): Rename to...
3313         (write): ...this and fix the return type.
3315 2015-11-19  DJ Delorie  <dj@redhat.com>
3317         * config/msp430/lib2hw_mul.S: Fix alignment.
3319 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
3321         * config/nvptx/reduction.c: New.
3322         * config/nvptx/t-nvptx (LIB2ADD): Add it.
3324 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
3326         * config/rs6000/on_exit.c: New file.
3327         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3328         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3330 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
3332         * config/arc/dp-hack.h: Add support for ARCHS.
3333         * config/arc/ieee-754/divdf3.S: Likewise.
3334         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3335         * config/arc/ieee-754/muldf3.S: Likewise.
3336         * config/arc/ieee-754/mulsf3.S: Likewise
3337         * config/arc/lib1funcs.S: Likewise
3338         * config/arc/gmon/dcache_linesz.S: Don't read the build register
3339         for ARCv2 cores.
3340         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3341         for ARCv2 cores.
3342         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3343         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3344         cores.
3346 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3348         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3349         value.
3350         * config/ia64/crtend.S: Likewise.
3352 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3354         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3355         __CHAR_BIT__ instead of BITS_PER_UNIT.
3356         * fixed-bit.h: Likewise.
3357         * fp-bit.h: Likewise.
3358         * libgcc2.c (__popcountSI2): Likewise.
3359         (__popcountDI2): Likewise.
3360         * libgcc2.h: Likewise.
3361         * libgcov.h: Likewise.
3363 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
3365         * config/rs6000/atexit.c: New file.
3366         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3367         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3368         * config/rs6000/cxa_finalize.c
3369         (catomic_compare_and_exchange_bool_acq): Negate return value.
3371 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3373         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3374         (processor_subtypes): Add znver1.
3375         (get_amd_cpu): Detect znver1.
3377 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
3379         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3380         Include crtfastmath.o.
3382 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
3384         PR libgcc/66883
3385         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3387 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
3389         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3390         * config/rl78/divmodsi.S: Update return register to r8.
3391         * config/rl78/divmodhi.S: Update return register to r8,r9.
3392         Branch to main_loop_done_himode to pop registers before return.
3394 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3396         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3397         (__cpu_indicator_init): Fix model selection for AMD CPUs.
3399 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
3401         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3403 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
3405         * config.host (xtensa*-*-uclinux*): New configuration.
3407 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
3409         * config/i386/cpuinfo.c (processor_features): Add
3410         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3412 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3414         * soft-fp/adddf3.c: Update from glibc.
3415         * soft-fp/addsf3.c: Likewise.
3416         * soft-fp/addtf3.c: Likewise.
3417         * soft-fp/divdf3.c: Likewise.
3418         * soft-fp/divsf3.c: Likewise.
3419         * soft-fp/divtf3.c: Likewise.
3420         * soft-fp/double.h: Likewise.
3421         * soft-fp/eqdf2.c: Likewise.
3422         * soft-fp/eqsf2.c: Likewise.
3423         * soft-fp/eqtf2.c: Likewise.
3424         * soft-fp/extenddftf2.c: Likewise.
3425         * soft-fp/extended.h: Likewise.
3426         * soft-fp/extendsfdf2.c: Likewise.
3427         * soft-fp/extendsftf2.c: Likewise.
3428         * soft-fp/extendxftf2.c: Likewise.
3429         * soft-fp/fixdfdi.c: Likewise.
3430         * soft-fp/fixdfsi.c: Likewise.
3431         * soft-fp/fixdfti.c: Likewise.
3432         * soft-fp/fixsfdi.c: Likewise.
3433         * soft-fp/fixsfsi.c: Likewise.
3434         * soft-fp/fixsfti.c: Likewise.
3435         * soft-fp/fixtfdi.c: Likewise.
3436         * soft-fp/fixtfsi.c: Likewise.
3437         * soft-fp/fixtfti.c: Likewise.
3438         * soft-fp/fixunsdfdi.c: Likewise.
3439         * soft-fp/fixunsdfsi.c: Likewise.
3440         * soft-fp/fixunsdfti.c: Likewise.
3441         * soft-fp/fixunssfdi.c: Likewise.
3442         * soft-fp/fixunssfsi.c: Likewise.
3443         * soft-fp/fixunssfti.c: Likewise.
3444         * soft-fp/fixunstfdi.c: Likewise.
3445         * soft-fp/fixunstfsi.c: Likewise.
3446         * soft-fp/fixunstfti.c: Likewise.
3447         * soft-fp/floatdidf.c: Likewise.
3448         * soft-fp/floatdisf.c: Likewise.
3449         * soft-fp/floatditf.c: Likewise.
3450         * soft-fp/floatsidf.c: Likewise.
3451         * soft-fp/floatsisf.c: Likewise.
3452         * soft-fp/floatsitf.c: Likewise.
3453         * soft-fp/floattidf.c: Likewise.
3454         * soft-fp/floattisf.c: Likewise.
3455         * soft-fp/floattitf.c: Likewise.
3456         * soft-fp/floatundidf.c: Likewise.
3457         * soft-fp/floatundisf.c: Likewise.
3458         * soft-fp/floatunditf.c: Likewise.
3459         * soft-fp/floatunsidf.c: Likewise.
3460         * soft-fp/floatunsisf.c: Likewise.
3461         * soft-fp/floatunsitf.c: Likewise.
3462         * soft-fp/floatuntidf.c: Likewise.
3463         * soft-fp/floatuntisf.c: Likewise.
3464         * soft-fp/floatuntitf.c: Likewise.
3465         * soft-fp/gedf2.c: Likewise.
3466         * soft-fp/gesf2.c: Likewise.
3467         * soft-fp/getf2.c: Likewise.
3468         * soft-fp/ledf2.c: Likewise.
3469         * soft-fp/lesf2.c: Likewise.
3470         * soft-fp/letf2.c: Likewise.
3471         * soft-fp/muldf3.c: Likewise.
3472         * soft-fp/mulsf3.c: Likewise.
3473         * soft-fp/multf3.c: Likewise.
3474         * soft-fp/negdf2.c: Likewise.
3475         * soft-fp/negsf2.c: Likewise.
3476         * soft-fp/negtf2.c: Likewise.
3477         * soft-fp/op-1.h: Likewise.
3478         * soft-fp/op-2.h: Likewise.
3479         * soft-fp/op-4.h: Likewise.
3480         * soft-fp/op-8.h: Likewise.
3481         * soft-fp/op-common.h: Likewise.
3482         * soft-fp/quad.h: Likewise.
3483         * soft-fp/single.h: Likewise.
3484         * soft-fp/soft-fp.h: Likewise.
3485         * soft-fp/subdf3.c: Likewise.
3486         * soft-fp/subsf3.c: Likewise.
3487         * soft-fp/subtf3.c: Likewise.
3488         * soft-fp/truncdfsf2.c: Likewise.
3489         * soft-fp/trunctfdf2.c: Likewise.
3490         * soft-fp/trunctfsf2.c: Likewise.
3491         * soft-fp/trunctfxf2.c: Likewise.
3492         * soft-fp/unorddf2.c: Likewise.
3493         * soft-fp/unordsf2.c: Likewise.
3494         * soft-fp/unordtf2.c: Likewise.
3496 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
3498         PR libgcc/67624
3499         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3501 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3503         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3504         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3505         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3506         messages.
3507         (internal_mcount): Likewise.
3508         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3509         crt_compile, add CRTSTUFF_T_CFLAGS_S.
3511 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3513         * configure.ac (libgcc_cv_solaris_crts): New test.
3514         * configure: Regenerate.
3515         * config.in: Regenerate.
3516         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3517         * config/gmon-sol2.c: Rename to ...
3518         * config/sol2/gmon.c: ... this.
3519         Include auto-target.h.
3520         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3521         * config/t-sol2: Rename to ...
3522         * config/sol2/t-sol2: ... this.
3523         (gmon.o): Reflect renaming.
3524         (crtp.o, crtpg.o): New rules.
3525         * config.host (*-*-solaris2*): Reflect renaming.
3526         Use system CRTs if present.
3527         Remove default CRT case.
3529 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
3531         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3532         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3533         __kernel_cmpxchg2.
3534         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3535         (__sync_val_compare_and_swap_##WIDTH): Likewise.
3536         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3537         (__sync_lock_test_and_set_##WIDTH): Likewise.
3538         (__sync_lock_release_##WIDTH): Likewise.
3539         (__sync_fetch_and_##OP##_4): Change result to match type of
3540         __kernel_cmpxchg.
3541         (__sync_##OP##_and_fetch_4): Likewise.
3542         (__sync_val_compare_and_swap_4): Likewise.
3543         (__sync_bool_compare_and_swap_4): likewise.
3544         (__sync_lock_test_and_set_4): Likewise.
3545         (__sync_lock_release_4): Likewise.
3546         (FETCH_AND_OP_2): Add long long variants.
3547         (OP_AND_FETCH_2): Likewise.
3548         (COMPARE_AND_SWAP_2 ): Likewise.
3549         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3550         (SYNC_LOCK_RELEASE_2): Likewise.
3551         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3553 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
3555         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3556         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3557         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3558         (get_available_features): Habdle new features.
3560 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
3562         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3563         memory layout. Deal correctly with BSS region larger than 32K.
3564         Handle a watchdog reset like a power-on reset. Clean up unused
3565         code.
3567 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
3568             David Edelsohn  <dje.gcc@gmail.com>
3570         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3571         * config/rs6000/crtdbase.S: New file.
3572         * config/rs6000/t-aix-cxa: Build crtdbase.o.
3574 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
3576         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3577         Add support for call0 ABI.
3579 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
3581         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3583 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3585         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3586         (__GTHREAD_HAS_COND): Likewise.
3587         (__gthread_t): Likewise.
3588         (__gthread_cond_t): Likewise.
3589         (__gthread_time_t): Likewise.
3590         (__GTHREAD_MUTEX_INIT): Likewise.
3591         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3592         (__GTHREAD_COND_INIT): Likewise.
3593         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3594         (__GTHREAD_TIME_INIT): Likewise.
3595         (__gthread_create): Likewise.
3596         (__gthread_join): Likewise.
3597         (__gthread_detach): Likewise.
3598         (__gthread_equal): Likewise.
3599         (__gthread_self): Likewise.
3600         (__gthread_yield): Likewise.
3601         (__gthread_cond_broadcast): Likewise.
3602         (__gthread_cond_signal): Likewise.
3603         (__gthread_cond_wait): Likewise.
3604         (__gthread_cond_timedwait): Likewise.
3605         (__gthread_cond_wait_recursive): Likewise.
3606         (__gthread_cond_destroy): Likewise.
3607         (rtems_gxx_once): Delete.
3608         (rtems_gxx_key_create): Likewise.
3609         (rtems_gxx_key_delete): Likewise.
3610         (rtems_gxx_getspecific): Likewise.
3611         (rtems_gxx_setspecific): Likewise.
3612         (rtems_gxx_mutex_init): Likewise.
3613         (rtems_gxx_mutex_destroy): Likewise.
3614         (rtems_gxx_mutex_lock): Likewise.
3615         (rtems_gxx_mutex_trylock): Likewise.
3616         (rtems_gxx_mutex_unlock): Likewise.
3617         (rtems_gxx_recursive_mutex_init): Likewise.
3618         (rtems_gxx_recursive_mutex_lock): Likewise.
3619         (rtems_gxx_recursive_mutex_trylock): Likewise.
3620         (rtems_gxx_recursive_mutex_unlock): Likewise.
3621         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3622         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3623         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3624         (__gthread_once): Likewise.
3625         (__gthread_key_create): Likewise.
3626         (__gthread_key_delete): Likewise.
3627         (__gthread_getspecific): Likewise.
3628         (__gthread_setspecific): Likewise.
3629         (__gthread_key_t): Use <pthread.h> type.
3630         (__gthread_once_t): Likewise
3631         (__gthread_mutex_t): Use <sys/lock.h> type.
3632         (__gthread_recursive_mutex_t): Likewise
3633         (__gthread_mutex_lock): Use <sys/lock.h> function.
3634         (__gthread_mutex_trylock): Likewise.
3635         (__gthread_mutex_timedlock): Likewise.
3636         (__gthread_mutex_unlock): Likewise.
3637         (__gthread_mutex_destroy): Likewise.
3638         (__gthread_recursive_mutex_lock): Likewise.
3639         (__gthread_recursive_mutex_trylock): Likewise.
3640         (__gthread_recursive_mutex_timedlock): Likewise.
3641         (__gthread_recursive_mutex_unlock): Likewise.
3642         (__gthread_recursive_mutex_destroy): Likewise.
3644 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3646         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3647         context->sp instead of context->cfa.
3649 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3651         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3652         with unwind-dw2-fde-dip.
3654 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3656         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3657         CALL12 followed by series of ENTRY to spill windowed registers.
3658         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3659         instead of making linux spill syscall.
3661 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
3663         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3664         (get_intel_cpu): Likewise.
3666 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3668         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3669         (get_intel_cpu): Add Knights Landing support.
3671 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
3673         PR target/66954
3674         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3675         (get_available_features): Handle FEATURE_PCLMUL.
3677 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
3679         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3680         Broadwell.
3682 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
3684         PR target/66954
3685         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3686         (get_available_features): Handle FEATURE_AES.
3688 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
3690         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3691         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3693 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
3695         * offloadstuff.c: Constify host data.
3697 2015-07-17  Jan Beulich  <jbeulich@suse.com>
3699         * config/t-softfp: Split up "else ifneq".
3701 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
3702             Cesar Philippidis  <cesar@codesourcery.com>
3703             Chung-Lin Tang  <cltang@codesourcery.com>
3705         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3706         for __nios2_arch__ level.
3708 2015-07-13  John Marino  <gnugcc@marino.st>
3710         * config/i386/t-dragonfly: New.
3712 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
3714         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3715         better match light-weight syscall argument order.
3716         (__kernel_cmpxchg2): Likewise.
3717         Adjust callers.
3719 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3721         * config.host: Support i[34567]86-*-elfiamcu target.
3722         * config/t-softfp-sfdftf: New file.
3723         * config/i386/32/t-iamcu: Likewise.
3724         * configure: Regenerated.
3726 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
3728         libgcc/config/arm/
3729         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3731 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3733         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3735 2015-05-27  John Marino  <gnugcc@marino.st>
3737         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3738         md_unwind_header
3739         * config/i386/freebsd-unwind.h: New.
3741 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
3743         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3744         i386/t-crtfm to tmake_file.
3745         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3746         (set_fast_math): Use set_fast_math_sse for SSE targets.
3747         * config/i386/t-crtfm: Remove.
3749 2015-05-21  Alan Modra  <amodra@gmail.com>
3751         PR libgcc/66225
3752         * config/rs6000/morestack.S: Remove ".abiversion 1".
3754 2015-05-20  Alan Modra  <amodra@gmail.com>
3756         * config/rs6000/morestack.S: New.
3757         * config/rs6000/t-stack-rs6000: New.
3758         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3759         to tmake_file.
3760         * generic-morestack.c: Don't build for powerpc 32-bit.
3762 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
3764         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3765         Remove useless endif/ifneq ($(enable_shared),yes) pair.
3767 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
3769         * config.host: FT32 target added.
3770         * config/ft32/*: New files for FT32 target.
3772 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
3774         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3775         New macros.
3776         * config/arm/ieee754-df.S: Add CFI directives.
3777         * config/arm/ieee754-sf.S: Add CFI directives.
3779 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
3781         * configure.ac: Include config/sjlj.m4.
3782         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3783         * config.in: Regenerate.
3784         * configure: Likewise.
3785         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3787 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
3789         * libgcov-util.c: Add space between string literal and macro name.
3791 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
3792             Chris Jones  <chrisj@nvidia.com>
3793             Joshua Conner  <jconner@nvidia.com>
3795         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3796         (arm*-*-uclinux*): Likewise.
3797         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3798         * config/arm/crtfastmath.c: New file.
3800 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
3802         * Makefile.in (real_host_noncanonical): New variable.
3803         (libsubdir): Use it.
3804         * configure.ac (real_host_noncanonical): Compute.  Remove special
3805         case for intelmicemul.
3806         * configure: Regenerate.
3808 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3810         * config/frv/elf-lib.h: New file.
3811         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3812         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3813         to tm_file.
3815 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3817         * config/frv/frvbengin.c: Do not include defaults.h
3818         * config/frv/frvend.c: Ditto.
3820 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
3822         * config.host: Add h8300-*-linux
3823         * config/h8300/t-linux: New file.
3824         * config/h8300/lib1funs.s: Change symbol prefix.
3825         * config/h8300/sfp-machine.h: 64bit double support.
3827 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
3828             Szabolcs Nagy  <szabolcs.nagy@arm.com>
3830         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3831         Linux if target provides dl_iterate_phdr.
3833 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
3835         PR target/65612
3836         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3837         * config/i386/cpuinfo.c (__cpu_model): Initialize.
3838         (__cpu_indicator_init@GCC_4.8.0): New.
3839         (__cpu_model@GCC_4.8.0): Likewise.
3840         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3841         -DUSE_ELF_SYMVER.
3843 2015-04-16  Nick Clifton  <nickc@redhat.com>
3845         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3846         and __modhi3 functions.
3847         * config/rl78/divmodso.S: Add G14 and G13 versions of the
3848         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3850 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
3852         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3853         do-while loop as macro body to avoid warnings.
3855 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
3856             Iain Sandoe  <iain@codesourcery.com>
3858         PR target/65351
3859         * configure: Regenerate.
3861 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
3862             Iain Sandoe  <iain@codesourcery.com>
3864         PR target/65351
3865         * configure: Regenerate.
3867 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
3869         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3871 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
3873         Implement call0 ABI for xtensa
3874         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3875         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3876         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3877         use ret in call0 ABI.
3878         * config/xtensa/t-windowed: New file.
3879         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3880         * libgcc/configure: Regenerated.
3881         * libgcc/configure.ac: Check if xtensa target is configured for
3882         windowed ABI and thus needs to use custom unwind code.
3884 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
3886         PR libgcc/64885
3887         * gthr-single.h: Use __unused__ attribute instead of unused.
3888         * config/gthr-vxworks.h: Likewise.
3889         * config/i386/gthr-win32.h: Likewise.
3891 2015-02-27  Kai Tietz  <ktietz@redhat.com>
3893         PR target/65038
3894         * config.in: Regenerated.
3895         * configure: Likewise.
3896         * configure.ac (AC_HEADER_STDC): Added explicit.
3897         (AC_CHECK_HEADERS): Check for default headers  plus
3898         for ftw.h header.
3899         * libgcov-util.c (gcov_read_profile_dir): Disable use
3900         of ftw-function, if header is not found.
3901         (ftw_read_file): Likewise.
3903 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
3905         PR target/65181
3906         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3907         -Dinhibit_libc.
3909 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
3911         * config/arm/bpabi.S (test_div_by_zero): Make label names
3912         consistent between thumb2 and arm mode cases.  Separate the
3913         signed comparison on the high word of the numerator from the
3914         unsigned comparison on the low word.
3915         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3916         signed comparison.
3918 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3920         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3921         and <string.h>.
3922         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3924 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
3926         PR gcov-profile/61889
3927         * libgcov-driver-system.c: undefine clashing macro for mkdir.
3929 2015-02-02  Nick Clifton  <nickc@redhat.com>
3931         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3932         rounding up the fraction.
3934 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
3936         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3937         oldval and newval to const void *.  Fix typo.
3938         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3939         (FETCH_AND_OP_WORD): Likewise.
3940         (OP_AND_FETCH_WORD): Likewise.
3941         (COMPARE_AND_SWAP_2): Likewise.
3942         (__sync_val_compare_and_swap_4): Likewise.
3943         (__sync_lock_test_and_set_4): Likewise.
3944         (SYNC_LOCK_RELEASE_2): Likewise.
3945         Remove support for long long atomic operations.
3947 2015-01-27  Caroline Tice  <cmtice@google.com>
3949         Committing VTV Cywin/Ming patch for Patrick Wollgast
3950         * Makefile.in: Move rules to build vtv_*.o out of the check
3951         for CUSTOM_CRTSTUFF.
3952         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3953         i[34567]86-*-mingw*)
3954          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3955         enable_vtable_verify.
3957 2015-01-27  Nick Clifton  <nickc@redhat.com>
3959         * config/rl78/cmpsi2.S: Use function start and end macros.
3960         (__gcc_bcmp): New function.
3961         * config/rl78/lshrsi3.S: Use function start and end macros.
3962         * config/rl78/mulsi3.S: Add support for G10.
3963         (__mulqi3): New function for G10.
3964         * config/rl78/signbit.S: Use function start and end macros.
3965         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3966         fpmath-sf.S.
3967         (LIB2FUNCS_EXCLUDE): Define.
3968         (LIB2FUNCS_ST): Define.
3969         * config/rl78/trampoline.S: Use function start and end macros.
3970         * config/rl78/vregs.h (START_FUNC): New macro.
3971         (START_ANOTHER_FUNC): New macro.
3972         (END_FUNC): New macro.
3973         (END_ANOTHER_FUNC): New macro.
3974         * config/rl78/bit-count.S: New file.  Contains assembler
3975         implementations of the bit counting functions: ___clzhi2,
3976         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3977         __paritysi2, __popcounthi2 and __popcountsi2.
3978         * config/rl78/fpbit-sf.S: New file.  Contains assembler
3979         implementationas of the math functions: __negsf2, __cmpsf2,
3980         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3981         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
3982         * config/rl78/fpmath-sf.S: New file.  Contains assembler
3983         implementations of the math functions: __subsf3, __addsf3,
3984         __mulsf3 and __divsf3
3986 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3988         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3989         Add i386/elf-lib.h to tm_file.
3990         * config/i386/elf-lib.h: Fix comment.
3991         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3992         && __sun__ && __svr4__]: Remove workaround.
3994 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3996         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3997         FEATURE_BMI2.
3998         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4000 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
4002         * config/i386/cpuinfo.c (processor_subtypes): Add
4003         INTEL_COREI7_BROADWELL.
4004         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4005         model numbers.
4007 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
4009         * config/i386/elf-lib.h: New file.
4010         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4011         Wrap definition in #ifdef __i386__.
4012         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4013         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4014         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4015         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4016         to tm_file.
4018 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
4020         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4021         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4023 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
4025         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4026         Update rt_sigframe format and address for current Nios II
4027         Linux conventions.
4029 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4031         * config.host (arm*-*-freebsd*): Add new configuration for
4032         arm*-*-freebsd*.
4033         * config/arm/freebsd-atomic.c: New file.
4034         * config/arm/t-freebsd: Likewise.
4035         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4036         'PC-relative indirect' OS's.
4038 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
4040         * config.host: Add Visium support.
4041         * config/visium: New directory.
4043 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
4045         Update copyright years.
4047 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
4049         * config.host: Support mipsisa32r6 and mipsisa64r6.
4050         * config/mips/mips16.S: Do not build for R6.
4052 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
4054         * config/sh/crt.h: New.
4055         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4056         symbols.
4057         * config/sh/crt1.S: Likewise.
4059 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
4061         PR libgcc/63832
4062         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4063         func_ptr *dtor_list temporary variable to avoid "array subscript
4064         is above array bounds" warnings.
4066 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
4068         * Makefile.in (with_aix_soname): Define.
4069         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4070         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4071         * configure: Recreate.
4073 2014-12-05  Olivier Hainque  <hainque@adacore.com>
4075         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4076         now provided by defaults.h.
4078 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
4080         PR target/55351
4081         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4082         whether it's defined.
4084 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
4086         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4087         * config/i386/cpuinfo.c (get_available_features): Detect it.
4089 2014-11-27  Tony Wang  <tony.wang@arm.com>
4091         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4092         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4093         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4095 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
4097         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4099 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
4101         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4102         instead.
4104 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
4105             John David Anglin  <danglin@gcc.gnu.org>
4107         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4108         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
4109         (OP_AND_FETCH_2): Likewise.
4110         (COMPARE_AND_SWAP_2): Likewise.
4111         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4112         (SYNC_LOCK_RELEASE_2): Likewise.
4113         (SUBWORD_SYNC_OP): Remove.
4114         (SUBWORD_VAL_CAS): Likewise.
4115         (SUBWORD_BOOL_CAS): Likewise.
4116         (FETCH_AND_OP_WORD): Update.
4117         Consistently use signed types.
4119 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
4120             Thomas Schwinge  <thomas@codesourcery.com>
4121             Ilya Verbin  <ilya.verbin@intel.com>
4122             Andrey Turetskiy  <andrey.turetskiy@intel.com>
4124         * Makefile.in (crtoffloadbegin$(objext)): New rule.
4125         (crtoffloadend$(objext)): Likewise.
4126         * configure: Regenerate.
4127         * configure.ac (accel_dir_suffix): Compute new variable.
4128         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4129         if enable_offload_targets is not empty.
4130         * offloadstuff.c: New file.
4132 2014-11-13  Nick Clifton  <nickc@redhat.com>
4134         * config/rl78/divmodhi.S: Add support for the G10 architecture.
4135         Use START_FUNC and END_FUNC macros to enable linker garbage
4136         collection.
4137         * config/rl78/divmodqi.S: Likewise.
4138         * config/rl78/divmodsi.S: Likewise.
4139         * config/rl78/mulsi3.S: Likewise.
4140         * config/rl78/lib2div.c: Remove G10 functions.
4141         * config/rl78/lib2muls.c: Likewise.
4142         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4143         * config/rl78/vregs.h (START_FUNC): New macro.
4144         (END_FUNC): New macro.
4146 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
4148         * config/mips/mips16.S: Set .module when supported.  Update O32
4149         FP64 calling convention and use for FPXX when possible.  Add FPXX
4150         calling convention fallback case.
4152 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
4154         * config.host: Handle nvptx-*-*.
4155         * shared-object.mk (as-flags-$o): Define.
4156         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4157         -xassembler-with-cpp.
4158         * static-object.mk: Identical changes.
4159         * config/nvptx/t-nvptx: New file.
4160         * config/nvptx/crt0.s: New file.
4161         * config/nvptx/free.asm: New file.
4162         * config/nvptx/malloc.asm: New file.
4163         * config/nvptx/realloc.c: New file.
4165 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4167         * Makefile.in (libgcc.map.in): New target.
4168         (libgcc.map): Use libgcc.map.in.
4169         * config/t-softfp (softfp_compat): New variable to be set by
4170         users.
4171         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4172         variables.
4173         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4174         directory.
4175         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4176         that use compat symbols and disable all code unless [SHARED].
4177         * config/t-softfp-compat: New file.
4178         * find-symver.awk: New file.
4179         * configure.ac (--with-glibc-version): New configure option.
4180         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4181         * configure: Regenerate.
4182         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4183         soft-float and e500.
4185 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
4187         * config/t-hardfp (hardfp_exclusions): Document new variable for
4188         user to define.
4189         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4190         * config/t-softfp (softfp_extras): Document new variable for user
4191         to define.
4192         (softfp_func_list): Add functions from $(softfp_extras).
4193         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4194         * config.host (powerpc*-*-linux*): For e500v1, use
4195         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4196         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4197         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4199 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
4201         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4202         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4203         memory read accesses are ok.
4205 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
4207         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4208         * configure: Regenerate.
4209         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4210         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
4211         of soft-fp for 32-bit classic hard float.  Do not use
4212         t-softfp-excl for soft float.
4214 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
4216         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4217         configurations.
4218         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4219         Remove variables.
4221 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
4223         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4224         introduced with 2014-10-21 trunk r216525.
4226 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
4227             Vidya Praveen  <vidya.praveen@atmel.com>
4228             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
4229             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
4230             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
4232         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4233         order.
4235         Updated library functions for AVRTINY arch.
4236         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4237         Replaced occurrences of r0/r1 with tmp/zero reg macros.
4238         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4239         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4240         wsubi/wadi macors.
4241         (__mulsi3_helper): Update stack, preserve callee saved regs and
4242         argument from stack. Restore callee save registers.
4243         (__mulpsi3): Likewise.
4244         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4245         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4246         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4247         AVRTINY.
4248         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4249         (__do_copy_data): Added new definition for AVRTINY.
4250         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4251         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4252         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4253         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4254         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4255         macors.
4256         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4257         AVRTINY.
4259         Fix broken long multiplication on tiny arch.
4261 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4263         * soft-fp/double.h: Update from glibc.
4264         * soft-fp/eqdf2.c: Likewise.
4265         * soft-fp/eqsf2.c: Likewise.
4266         * soft-fp/eqtf2.c: Likewise.
4267         * soft-fp/extenddftf2.c: Likewise.
4268         * soft-fp/extended.h: Likewise.
4269         * soft-fp/extendsfdf2.c: Likewise.
4270         * soft-fp/extendsftf2.c: Likewise.
4271         * soft-fp/extendxftf2.c: Likewise.
4272         * soft-fp/gedf2.c: Likewise.
4273         * soft-fp/gesf2.c: Likewise.
4274         * soft-fp/getf2.c: Likewise.
4275         * soft-fp/ledf2.c: Likewise.
4276         * soft-fp/lesf2.c: Likewise.
4277         * soft-fp/letf2.c: Likewise.
4278         * soft-fp/op-1.h: Likewise.
4279         * soft-fp/op-2.h: Likewise.
4280         * soft-fp/op-4.h: Likewise.
4281         * soft-fp/op-8.h: Likewise.
4282         * soft-fp/op-common.h: Likewise.
4283         * soft-fp/quad.h: Likewise.
4284         * soft-fp/single.h: Likewise.
4285         * soft-fp/soft-fp.h: Likewise.
4286         * soft-fp/unorddf2.c: Likewise.
4287         * soft-fp/unordsf2.c: Likewise.
4288         * soft-fp/unordtf2.c: Likewise.
4289         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4290         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4291         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4292         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4293         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4294         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4295         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4296         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4297         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4298         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4300 2014-10-08  Rong Xu  <xur@google.com>
4302         * libgcov-util.c (read_gcda_file): Fix format.
4303         (find_match_gcov_info): Ditto.
4304         (calculate_2_entries): New.
4305         (compute_one_gcov): Ditto.
4306         (gcov_info_count_all_cold): Ditto.
4307         (gcov_info_count_all_zero): Ditto.
4308         (extract_file_basename): Ditto.
4309         (get_file_basename): Ditto.
4310         (set_flag): Ditto.
4311         (matched_gcov_info): Ditto.
4312         (calculate_overlap): Ditto.
4313         (gcov_profile_overlap): Ditto.
4314         * libgcov-driver.c (compute_summary): Make
4315         it avavilable for external calls.
4317 2014-10-06  Rong Xu  <xur@google.com>
4319         * Makefile.in: Ditto.
4320         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4321         (gcov_sort_icall_topn_counter): Ditto.
4322         (gcov_sort_topn_counter_arrays): Ditto.
4323         (dump_one_gcov): Sort indirect_call topn counters.
4324         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4325         function.
4326         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4327         utility function.
4328         (__gcov_indirect_call_topn_profiler): New profiler function.
4329         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4330         * libgcov.h: New decls.
4332 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
4334         * config.host: Remove support for score-*.
4336 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4338         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4339         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4340         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4341         __LIBGCC_XF_MANT_DIG__.
4342         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4343         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4344         __LIBGCC_TF_MANT_DIG__.
4345         * libgcc2.c (NOTRUNC): Define in terms of
4346         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4347         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4349 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4351         PR target/63312
4352         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4353         New macros.
4355 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
4357         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4358         override USE_PT_GNU_EH_FRAME.
4359         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4360         check USE_EH_FRAME_REGISTRY_ALWAYS against
4361         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4362         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4363         variable for substituted force_explicit_eh_registry.
4364         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4365         * configure.ac (explicit-exception-frame-registration):
4366         New AC_ARG_ENABLE.
4367         * configure: Regenerate.
4369 2014-09-19  Olivier Hainque  <hainque@adacore.com>
4371         * config.host (powerpc-wrs-vxworksmils): New configuration,
4372         same as vxworksae.
4374 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4376         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4378 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4380         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4381         bits not set bits as indicating trapping exceptions.
4383 2014-09-17  Nathan sidwell  <nathan@acm.org>
4385         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4386         (LIBGCOV_DRIVER): ... here.
4387         * libgcov-driver.c (gcov_master): New.
4388         (gcov_exit): Remove from master chain.
4389         (__gcov_init): Add to master chain if version compatible.  Don't
4390         clear the version.
4391         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4392         (gcov_reset_int): Clear master chain, if compatible.
4393         (gcov_dump_int): New internal interface.  Dump master chain, if
4394         compatible.
4395         (gcov_dump): Alias for gcov_dump_int.
4396         * libgcov.h (struct gcov_root): Add next and prev fields.
4397         (struct gcov_master): New struct.
4398         (__gcov_master): New.
4399         (gcov_dump_int): Declare.
4401 2014-09-17  Olivier Hainque  <hainque@adacore.com>
4403         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4404         and crtbegin.o + crtend.o to extra_parts.
4406 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4408         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4409         __LIBGCC_HAS_SF_MODE__.
4410         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4411         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4412         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4413         * config/libbid/bid_gcc_intrinsics.h
4414         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4415         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4416         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4417         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4418         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4419         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4421 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
4423         PR target/63223
4424         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4425         and R24 as needed.  Make work for all devices and .text locations.
4426         (__do_global_ctors, __do_global_dtors): Use word addresses.
4427         (__tablejump__, __tablejump_elpm__): Remove functions.
4428         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4429         Add _tablejump2.
4430         (XICALL, XIJMP): New macros.
4432 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4433         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4435         * config.host (aarch64*): Include crtfastmath.o and
4436         t-crtfm.
4437         * config/aarch64/crtfastmath.c: New file.
4439 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
4441         * config.host: Remove picochip support.
4442         * config/picochip/adddi3.S: Remove.
4443         * config/picochip/ashlsi3.S: Remove.
4444         * config/picochip/ashlsi3.c: Remove.
4445         * config/picochip/ashrsi3.S: Remove.
4446         * config/picochip/ashrsi3.c: Remove.
4447         * config/picochip/clzsi2.S: Remove.
4448         * config/picochip/cmpsi2.S: Remove.
4449         * config/picochip/divmod15.S: Remove.
4450         * config/picochip/divmodhi4.S: Remove.
4451         * config/picochip/divmodsi4.S: Remove.
4452         * config/picochip/lib1funcs.S: Remove.
4453         * config/picochip/longjmp.S: Remove.
4454         * config/picochip/lshrsi3.S: Remove.
4455         * config/picochip/lshrsi3.c: Remove.
4456         * config/picochip/parityhi2.S: Remove.
4457         * config/picochip/popcounthi2.S: Remove.
4458         * config/picochip/setjmp.S: Remove.
4459         * config/picochip/subdi3.S: Remove.
4460         * config/picochip/t-picochip: Remove.
4461         * config/picochip/ucmpsi2.S: Remove.
4462         * config/picochip/udivmodhi4.S: Remove.
4463         * config/picochip/udivmodsi4.S: Remove.
4465 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4467         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4468         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4469         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4470         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4471         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
4472         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4473         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
4474         defined and LIBGCC2_HAS_DF_MODE is defined.
4475         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
4476         defined and LIBGCC2_HAS_XF_MODE is defined.
4477         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
4478         defined and LIBGCC2_HAS_TF_MODE is defined.
4480 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4482         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4483         and ROUND_TOWARDS_ZERO conditionals.
4485 2014-09-07  Nathan sidwell  <nathan@acm.org>
4487         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4488         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
4490 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
4492         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4493         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4494         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4495         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4496         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4497         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4498         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4499         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4500         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4501         (DWARF_FRAME_REGISTERS): Change all uses to
4502         __LIBGCC_DWARF_FRAME_REGISTERS__.
4503         (EH_RETURN_STACKADJ_RTX): Change all uses to
4504         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4505         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4506         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
4507         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4508         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4509         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4510         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4511         to __LIBGCC_EH_FRAME_SECTION_NAME__.
4512         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4513         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4514         __LIBGCC_STACK_POINTER_REGNUM__.
4515         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4516         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4517         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4518         to __LIBGCC_STACK_POINTER_REGNUM__.
4519         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4520         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4521         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4522         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4523         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4524         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4525         (STACK_POINTER_REGNUM): Change all uses to
4526         __LIBGCC_STACK_POINTER_REGNUM__.
4527         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4528         use to __LIBGCC_STACK_POINTER_REGNUM__.
4529         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4530         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4531         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4532         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4533         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4534         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4535         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4536         to __LIBGCC_STACK_POINTER_REGNUM__.
4537         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4538         Remove conditional definition.
4539         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4540         __LIBGCC_TEXT_SECTION_ASM_OP__.
4541         (EH_FRAME_SECTION_NAME): Change all uses to
4542         __LIBGCC_EH_FRAME_SECTION_NAME__.
4543         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4544         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4545         (CTORS_SECTION_ASM_OP): Change all uses to
4546         __LIBGCC_CTORS_SECTION_ASM_OP__.
4547         (DTORS_SECTION_ASM_OP): Change all uses to
4548         __LIBGCC_DTORS_SECTION_ASM_OP__.
4549         (JCR_SECTION_NAME): Change all uses to
4550         __LIBGCC_JCR_SECTION_NAME__.
4551         (INIT_SECTION_ASM_OP): Change all uses to
4552         __LIBGCC_INIT_SECTION_ASM_OP__.
4553         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4554         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4555         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4556         __LIBGCC_STACK_GROWS_DOWNWARD__.
4557         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4558         __LIBGCC_INIT_SECTION_ASM_OP__.
4559         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4560         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4561         (EH_FRAME_SECTION_NAME): Change all uses to
4562         __LIBGCC_EH_FRAME_SECTION_NAME__.
4563         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4564         definitions.  Change all uses to
4565         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4566         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4567         __LIBGCC_STACK_GROWS_DOWNWARD__.
4568         (DWARF_FRAME_REGISTERS): Change all uses to
4569         __LIBGCC_DWARF_FRAME_REGISTERS__.
4570         (EH_RETURN_STACKADJ_RTX): Change all uses to
4571         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4572         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4573         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4574         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4575         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4576         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4578 2014-09-02  Nathan sidwell  <nathan@acm.org>
4580         * libgcov-interface.c (STRONG_ALIAS): New.
4581         (__gcov_flush): Call __gcov_reset_int.
4582         (__gcov_reset): Strong alias for ...
4583         (__gcov_reset_ing): ... this renamed hidden version.
4584         * libgcov.h (__gcov_reset_int): New declaration.
4586 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
4588         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4589         call from here...
4590         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4591         (__dso_handle): Define on Cygwin.
4592         * config/i386/t-cygming (crtbeginS.o): New rule.
4593         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4595         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4596         declaration syntax.
4598 2014-08-13  Steve Ellcey  <sellcey@mips.com>
4600         * crtstuff.c: Undef caddr_t.
4602 2014-08-12  Steve Ellcey  <sellcey@mips.com>
4604         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
4606 2014-08-07  Nathan Sidwell  <nathan@acm.org>
4608         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4609         (LIBGCOV_DRIVER): ... to here.
4610         * libgcov.h (gcov_do_dump): New #define.
4611         (struct gcov_root): New.
4612         (__gcov_root): New declaration.
4613         (__gcov_dump_one): Declare.
4614         * libgcov-driver.c (gcov_list, gcov_dump_complete,
4615         run_accounted): Delete.
4616         (gcov_compute_histogram): Add LIST argument, adjust.
4617         (compute_summary): Adjust gcov_compute_histogram call.
4618         (gcov_do_dump): Not hidden, static in libgcov.
4619         (gcov_clear): Move  to interface.c.
4620         (__gcov_dump_one): New, broken out of ...
4621         (gcov_exit): ... here.  Make static.
4622         (__gcov_root): New.
4623         (__gcov_init): Adjust.
4624         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4625         declarations.
4626         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4627         (gcov_clear): Moved from driver.c.   Add LIST argument.
4628         (__gcov_reset): Adjust for changed interfaces.
4629         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4631 2014-08-04  Rohit  <rohitarulraj@freescale.com>
4633         PR target/60102
4634         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4635         based on change in SPE high register numbers and 3 HTM registers.
4637 2014-08-01  Nathan Sidwell  <nathan@acm.org>
4639         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4640         LIBGCOV_INTERFACE): Reformat.
4641         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4642         IN_GCOV_TOOL.
4643         * libgcov-interface.c: Reformat some comments.
4644         (__gcov_flush_mx): Add declaration.  Tidy up definition.
4646 2014-07-31  Alan Modra  <amodra@gmail.com>
4647             Peter Bergner  <bergner@vnet.ibm.com>
4649         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4650         (pack_ldouble): New function.
4651         (__gcc_qadd): Use it.
4652         (__gcc_qmul): Likewise.
4653         (__gcc_qdiv): Likewise.
4654         (__gcc_qneg): Likewise.
4655         (__gcc_stoq): Likewise.
4656         (__gcc_dtoq): Likewise.
4658 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
4660         * config/s390/tpf-unwind.h: Include <stdbool.h>.
4661         (__tpf_eh_return): Add original return address as second parameter.
4662         Handle cases where unwinder routines were called directly, instead
4663         of from within the C++ library.
4665 2014-07-29  Nathan Sidwell  <nathan@acm.org>
4667         * libgcov.h: Move renaming of entry points to lib gcov specific
4668         portion.
4669         (gcov_do_dump): New rename.
4670         (gcov_rewrite): Remove inline, make HIDDEN.
4671         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4672         (gcov_exit_compute_summary): Rename to ...
4673         (compute_summary): ... here.  Add LIST argument.
4674         (gcov_exit_merge_gcda): Rename to ...
4675         (merge_one_data): ... here.
4676         (gcov_exit_write_gcda): Rename to ...
4677         (write_one_data): ... here.
4678         (gcov_exit_merge_summary): Rename to ...
4679         (merge_summary): Add RUN_COUNTED argument.
4680         (gcov_exit_dump_gcov): Rename to ...
4681         (dump_one_gcov): Add RUN_COUNTED argument.
4682         (gcov_do_dump): New function, broken out of ...
4683         (gcov_exit): ... here.  Call it.
4685 2014-07-27  Anthony Green  <green@moxielogic.com>
4687         * config.host: Add moxiebox configuration suppport.
4689 2014-07-27  Nathan Sidwell  <nathan@acm.org>
4691         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4692         (struct gcov_filename): ... here.  Include buffer and max length
4693         fields.
4694         (gcov_max_filename): Remove.
4695         (gi_filename): Remove.
4696         (gcov_exit_compute_summary): Compute max filename here.
4697         (gcov_exit_merge_gcda): Add filename parm, adjust.
4698         (gcov_exit_merge_summary): Likewise.
4699         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4700         (gcov_exit): Likewise.
4701         (__gcov_init): Don't calculate max length here.
4702         * libgcov_util.c (max_filename_len): Remove.
4703         (read_gcda_file): Don't calculate max length here.
4704         (gcov_read_profile_dir): Don't propagate here.
4705         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4706         struct gcov_filename changes.
4707         (gcov_exit_open_gcda_file): Likewise.
4709 2014-07-25  Nathan Sidwell  <nathan@acm.org>
4711         * libgcov-driver.c (set_gcov_dump_complete,
4712         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4713         functions polluting user's namespace.
4714         (gcov_exit): Set variable directly.
4715         (gcov_clear): Reset variable directly.
4716         * libgcov-interface.c (get_gcov_dymp_complete,
4717         reset_gov_dump_complete): Remove declarations.
4718         (__gcov_reset, __gcov_dump): Don't call them.
4720 2014-07-24  DJ Delorie  <dj@redhat.com>
4722         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4723         (__gcc_deregister_frame): Move logic to detect deregister function
4724         to ...
4725         (__gcc_register_frame): here, so it's consistent with the register
4726         logic.
4728 2014-07-23  Nathan Sidwell  <nathan@acm.org>
4730         * libgcov-driver.c (set_gcov_list): Remove.
4731         (gcov_list): Make non-static in GCOV_TOOL.
4732         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4734 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
4736         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4737         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4738         Don't use SYNC_LOCK_RELEASE for int type.
4740 2014-07-14  Richard Biener  <rguenther@suse.de>
4742         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4744 2014-07-11  Rong Xu  <xur@google.com>
4746         * libgcov-util.c (gcov_max_filename): Fix declartion.
4748 2014-07-10  Rong Xu  <xur@google.com>
4750         Add gcov-tool: an offline gcda profile processing tool
4751         Support.
4752         * libgcov-driver.c (gcov_max_filename): Make available
4753         to gcov-tool.
4754         * libgcov-merge.c (__gcov_merge_add): Replace
4755         gcov_read_counter() with a Macro.
4756         (__gcov_merge_ior): Ditto.
4757         (__gcov_merge_time_profile): Ditto.
4758         (__gcov_merge_single): Ditto.
4759         (__gcov_merge_delta): Ditto.
4760         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4761         in the utility functions.
4762         (set_fn_ctrs): Utility function for reading gcda files to in-memory
4763         gcov_list object link lists.
4764         (tag_function): Ditto.
4765         (tag_blocks): Ditto.
4766         (tag_arcs): Ditto.
4767         (tag_lines): Ditto.
4768         (tag_counters): Ditto.
4769         (tag_summary): Ditto.
4770         (read_gcda_finalize): Ditto.
4771         (read_gcda_file): Ditto.
4772         (ftw_read_file): Ditto.
4773         (read_profile_dir_init): Ditto.
4774         (gcov_read_profile_dir): Ditto.
4775         (gcov_read_counter_mem): Ditto.
4776         (gcov_get_merge_weight): Ditto.
4777         (merge_wrapper): A wrapper function that calls merging handler.
4778         (gcov_merge): Merge two gcov_info objects with weights.
4779         (find_match_gcov_info): Find the matched gcov_info in the list.
4780         (gcov_profile_merge): Merge two gcov_info object lists.
4781         (__gcov_add_counter_op): Process edge profile counter values.
4782         (__gcov_ior_counter_op): Process IOR profile counter values.
4783         (__gcov_delta_counter_op): Process delta profile counter values.
4784         (__gcov_single_counter_op): Process single  profile counter values.
4785         (fp_scale): Callback function for float-point scaling.
4786         (int_scale): Callback function for integer fraction scaling.
4787         (gcov_profile_scale): Scaling profile counters.
4788         (gcov_profile_normalize): Normalize profile counters.
4789         * libgcov.h: Add headers and functions for gcov-tool use.
4790         (gcov_get_counter): New.
4791         (gcov_get_counter_target): Ditto.
4792         (struct gcov_info): Make the functions field mutable in gcov-tool
4793         compilation.
4795 2014-06-23  Kai Tietz  <ktietz@redhat.com>
4797         PR libgcc/61585
4798         * unwind-seh.c (_Unwind_GetGR): Check for proper
4799         index range.
4800         (_Unwind_SetGR): Likewise.
4802 2014-05-22  Nick Clifton  <nickc@redhat.com>
4804         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4805         -mhwmult=none.
4807 2014-05-22  Teresa Johnson  <tejohnson@google.com>
4809         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4810         include.
4812 2014-05-20  John Marino  <gnugcc@marino.st>
4814         * config.host (*-*-dragonfly*): New target.
4815         * crtstuff.c: Make dl_iterate_support generic on *bsd.
4816         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4817         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4818         * config/i386/dragonfly-unwind.h: New.
4820 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
4822         PR libgcc/60166
4823         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4824         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4826 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4828         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4829         implementation.
4831 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
4833         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4835 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4837         PR libgcc/61097
4838         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4839         if --enable-shared.
4841 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4843         Work around for current cygwin32 build problems.
4844         * config/i386/cygming-crtbegin.c (__register_frame_info,
4845         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4846         functions only for 64-bit systems.
4848 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4850         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4851         (sigill_caught, sigill_hdlr): Remove.
4853 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4855         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4856         check.
4857         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4858         Solaris 9 single-threaded support.
4859         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4860         Solaris 9 single-threaded support.  Add call_user_handler code
4861         sequences.
4862         (sparc_is_sighandler): Likewise.
4864 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4866         * config.host: Append t-floattodi to tmake_file depending on
4867         host_address.
4869 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
4871         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4873 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
4875         PR libgcc/60472
4876         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4877         variable to avoid "array subscript is above array bounds" warnings.
4878         Use __builtin_expect when checking *jcr_list for NULL.
4880 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4882         PR libgcc/59339
4883         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4884         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4885         vtv_*.o to extra_parts if enable_vtable_verify.
4887 2014-03-06  Nick Clifton  <nickc@redhat.com>
4889         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4890         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4892 2014-02-28  Joey Ye  <joey.ye@arm.com>
4894         PR libgcc/60166
4895         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4896         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4897         Set to zero.
4899 2014-02-24  Walter Lee  <walt@tilera.com>
4901         * config.host: Support "tilegx*" and "tilepro*" triplets.
4902         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4903         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4905 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
4906             Chung-Lin Tang  <cltang@codesourcery.com>
4908         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4909         * config/nios2/crti.S: Remove .file directive.
4910         * config/nios2/crtn.S: Likewise.
4912 2014-02-18  Kai Tietz  <ktietz@redhat.com>
4913         Jonathan Schleifer  <js@webkeks.org>
4915         PR objc/56870
4916         * unwind-seh.c (_GCC_specific_handler): Pass proper
4917         value to unwind-handler.
4919 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4921         * soft-fp/adddf3.c: Update from glibc.
4922         * soft-fp/addsf3.c: Likewise.
4923         * soft-fp/addtf3.c: Likewise.
4924         * soft-fp/divdf3.c: Likewise.
4925         * soft-fp/divsf3.c: Likewise.
4926         * soft-fp/divtf3.c: Likewise.
4927         * soft-fp/double.h: Likewise.
4928         * soft-fp/eqdf2.c: Likewise.
4929         * soft-fp/eqsf2.c: Likewise.
4930         * soft-fp/eqtf2.c: Likewise.
4931         * soft-fp/extenddftf2.c: Likewise.
4932         * soft-fp/extended.h: Likewise.
4933         * soft-fp/extendsfdf2.c: Likewise.
4934         * soft-fp/extendsftf2.c: Likewise.
4935         * soft-fp/extendxftf2.c: Likewise.
4936         * soft-fp/fixdfdi.c: Likewise.
4937         * soft-fp/fixdfsi.c: Likewise.
4938         * soft-fp/fixdfti.c: Likewise.
4939         * soft-fp/fixsfdi.c: Likewise.
4940         * soft-fp/fixsfsi.c: Likewise.
4941         * soft-fp/fixsfti.c: Likewise.
4942         * soft-fp/fixtfdi.c: Likewise.
4943         * soft-fp/fixtfsi.c: Likewise.
4944         * soft-fp/fixtfti.c: Likewise.
4945         * soft-fp/fixunsdfdi.c: Likewise.
4946         * soft-fp/fixunsdfsi.c: Likewise.
4947         * soft-fp/fixunsdfti.c: Likewise.
4948         * soft-fp/fixunssfdi.c: Likewise.
4949         * soft-fp/fixunssfsi.c: Likewise.
4950         * soft-fp/fixunssfti.c: Likewise.
4951         * soft-fp/fixunstfdi.c: Likewise.
4952         * soft-fp/fixunstfsi.c: Likewise.
4953         * soft-fp/fixunstfti.c: Likewise.
4954         * soft-fp/floatdidf.c: Likewise.
4955         * soft-fp/floatdisf.c: Likewise.
4956         * soft-fp/floatditf.c: Likewise.
4957         * soft-fp/floatsidf.c: Likewise.
4958         * soft-fp/floatsisf.c: Likewise.
4959         * soft-fp/floatsitf.c: Likewise.
4960         * soft-fp/floattidf.c: Likewise.
4961         * soft-fp/floattisf.c: Likewise.
4962         * soft-fp/floattitf.c: Likewise.
4963         * soft-fp/floatundidf.c: Likewise.
4964         * soft-fp/floatundisf.c: Likewise.
4965         * soft-fp/floatunditf.c: Likewise.
4966         * soft-fp/floatunsidf.c: Likewise.
4967         * soft-fp/floatunsisf.c: Likewise.
4968         * soft-fp/floatunsitf.c: Likewise.
4969         * soft-fp/floatuntidf.c: Likewise.
4970         * soft-fp/floatuntisf.c: Likewise.
4971         * soft-fp/floatuntitf.c: Likewise.
4972         * soft-fp/gedf2.c: Likewise.
4973         * soft-fp/gesf2.c: Likewise.
4974         * soft-fp/getf2.c: Likewise.
4975         * soft-fp/ledf2.c: Likewise.
4976         * soft-fp/lesf2.c: Likewise.
4977         * soft-fp/letf2.c: Likewise.
4978         * soft-fp/muldf3.c: Likewise.
4979         * soft-fp/mulsf3.c: Likewise.
4980         * soft-fp/multf3.c: Likewise.
4981         * soft-fp/negdf2.c: Likewise.
4982         * soft-fp/negsf2.c: Likewise.
4983         * soft-fp/negtf2.c: Likewise.
4984         * soft-fp/op-1.h: Likewise.
4985         * soft-fp/op-2.h: Likewise.
4986         * soft-fp/op-4.h: Likewise.
4987         * soft-fp/op-8.h: Likewise.
4988         * soft-fp/op-common.h: Likewise.
4989         * soft-fp/quad.h: Likewise.
4990         * soft-fp/single.h: Likewise.
4991         * soft-fp/soft-fp.h: Likewise.
4992         * soft-fp/subdf3.c: Likewise.
4993         * soft-fp/subsf3.c: Likewise.
4994         * soft-fp/subtf3.c: Likewise.
4995         * soft-fp/truncdfsf2.c: Likewise.
4996         * soft-fp/trunctfdf2.c: Likewise.
4997         * soft-fp/trunctfsf2.c: Likewise.
4998         * soft-fp/trunctfxf2.c: Likewise.
4999         * soft-fp/unorddf2.c: Likewise.
5000         * soft-fp/unordsf2.c: Likewise.
5001         * soft-fp/unordtf2.c: Likewise.
5002         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5003         macro.
5004         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5005         Likewise.
5006         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5007         Likewise.
5008         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5009         Likewise.
5010         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5011         Likewise.
5012         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5013         Likewise.
5014         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5015         Likewise.
5016         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5017         Likewise.
5018         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5019         Likewise.
5020         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5021         Likewise.
5022         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5023         Likewise.
5024         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5025         Likewise.
5026         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5027         Likewise.
5028         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5029         Likewise.
5030         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5031         Likewise.
5032         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5033         Likewise.
5035 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5037         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5038         cannot be represented.
5039         * config/s390/32/_fixsfdi.c: Likewise.
5040         * config/s390/32/_fixtfdi.c: Likewise.
5041         * config/s390/32/_fixunsdfdi.c: Likewise.
5042         * config/s390/32/_fixunssfdi.c: Likewise.
5043         * config/s390/32/_fixunstfdi.c: Likewise.
5045 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
5047         * configure.ac (libgcc_cv_mips_hard_float): New.
5048         * configure: Regenerate.
5049         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5050         t-softfp-sfdf for hard-float targets.
5051         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5052         (softfp_float_modes, softfp_int_modes, softfp_extensions)
5053         (softfp_truncations, softfp_exclude_libgcc2): New.
5054         * config/t-hardfp: New file.
5055         * config/t-hardfp-sfdf: Likewise.
5056         * config/hardfp.c: Likewise.
5058 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5060         * config.host: Include t-floattodi also for s390x.
5061         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5062         * config/s390/32/_fixsfdi.c: Likewise.
5063         * config/s390/32/_fixtfdi.c: Likewise.
5064         * config/s390/32/_fixunsdfdi.c: Likewise.
5065         * config/s390/32/_fixunssfdi.c: Likewise.
5066         * config/s390/32/_fixunstfdi.c: Likewise.
5068 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5070         PR target/59788
5071         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5072         (install-libgcc-unwind-map-forbuild): New target.
5073         (all): Depend on install-libgcc-unwind-map-forbuild.
5074         (install-libgcc-unwind-map): New target.
5075         (install): Depend on install-libgcc-unwind-map.
5077 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
5079         * config/nios2/crti.S (_init): Initialize GOT pointer from
5080         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5082 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
5084         * configure.ac: Check __mips64 when setting host_address.
5085         * configure: Regenerate.
5086         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5087         mips/t-mips64 and t-softfp.
5088         (mips*-*-linux*): Don't add mips/t-tpbit.
5089         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5090         (DPBIT, DPBIT_CFLAGS): Delete.
5091         * config/mips/sfp-machine.h: New file.
5092         * config/mips/t-mips64: Likewise.
5093         * config/mips/t-softfp-tf: Likewise.
5094         * config/mips/t-tpbit: Delete.
5096 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5098         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5099         as long long.
5101 2014-01-25  Walter Lee  <walt@tilera.com>
5103         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
5104         config.h or system.h.
5105         (bool) Define.
5107 2014-01-25  Walter Lee  <walt@tilera.com>
5109         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5110         (post_atomic_barrier): Ditto.
5111         (__fetch_and_do): New macro.
5112         (__atomic_fetch_and_do): Use __fetch_and_do.
5113         (__sync_fetch_and_do): New macro.
5114         (__sync_fetch_and_add_4): New function.
5115         (__sync_fetch_and_sub_4): New function.
5116         (__sync_fetch_and_or_4): New function.
5117         (__sync_fetch_and_and_4): New function.
5118         (__sync_fetch_and_xor_4): New function.
5119         (__sync_fetch_and_nand_4): New function.
5120         (__sync_fetch_and_add_8): New function.
5121         (__sync_fetch_and_sub_8): New function.
5122         (__sync_fetch_and_or_8): New function.
5123         (__sync_fetch_and_and_8): New function.
5124         (__sync_fetch_and_xor_8): New function.
5125         (__sync_fetch_and_nand_8): New function.
5126         (__do_and_fetch): New macro.
5127         (__atomic_do_and_fetch): Use __do_and_fetch.
5128         (__sync_do_and_fetch): New macro.
5129         (__sync_add_and_fetch_4): New function.
5130         (__sync_sub_and_fetch_4): New function.
5131         (__sync_or_and_fetch_4): New function.
5132         (__sync_and_and_fetch_4): New function.
5133         (__sync_xor_and_fetch_4): New function.
5134         (__sync_nand_and_fetch_4): New function.
5135         (__sync_add_and_fetch_8): New function.
5136         (__sync_sub_and_fetch_8): New function.
5137         (__sync_or_and_fetch_8): New function.
5138         (__sync_and_and_fetch_8): New function.
5139         (__sync_xor_and_fetch_8): New function.
5140         (__sync_nand_and_fetch_8): New function.
5141         (__sync_exchange_methods): New macro.
5142         (__sync_val_compare_and_swap_4): New function.
5143         (__sync_bool_compare_and_swap_4): New function.
5144         (__sync_lock_test_and_test_4): New function.
5145         (__sync_val_compare_and_swap_8): New function.
5146         (__sync_bool_compare_and_swap_8): New function.
5147         (__sync_lock_test_and_test_8): New function.
5148         (__subword_cmpxchg_body): New macro.
5149         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5150         (__atomic_compare_exchange_2): Ditto.
5151         (__sync_subword_cmpxchg): New macro.
5152         (__sync_val_compare_and_swap_1): New function.
5153         (__sync_bool_compare_and_swap_1): New function.
5154         (__sync_val_compare_and_swap_2): New function.
5155         (__sync_bool_compare_and_swap_2): New function.
5156         (__atomic_subword): Rename to ...
5157         (__subword): ... New name.
5158         (__atomic_subword_fetch): Use __subword.
5159         (__sync_subword_fetch): New macro.
5160         (__sync_fetch_and_add_1): New function.
5161         (__sync_fetch_and_sub_1): New function.
5162         (__sync_fetch_and_or_1): New function.
5163         (__sync_fetch_and_and_1): New function.
5164         (__sync_fetch_and_xor_1): New function.
5165         (__sync_fetch_and_nand_1): New function.
5166         (__sync_fetch_and_add_2): New function.
5167         (__sync_fetch_and_sub_2): New function.
5168         (__sync_fetch_and_or_2): New function.
5169         (__sync_fetch_and_and_2): New function.
5170         (__sync_fetch_and_xor_2): New function.
5171         (__sync_fetch_and_nand_2): New function.
5172         (__sync_add_and_fetch_1): New function.
5173         (__sync_sub_and_fetch_1): New function.
5174         (__sync_or_and_fetch_1): New function.
5175         (__sync_and_and_fetch_1): New function.
5176         (__sync_xor_and_fetch_1): New function.
5177         (__sync_nand_and_fetch_1): New function.
5178         (__sync_add_and_fetch_2): New function.
5179         (__sync_sub_and_fetch_2): New function.
5180         (__sync_or_and_fetch_2): New function.
5181         (__sync_and_and_fetch_2): New function.
5182         (__sync_xor_and_fetch_2): New function.
5183         (__sync_nand_and_fetch_2): New function.
5184         (__atomic_subword_lock): Use __subword.
5185         (__sync_subword_lock): New macro.
5186         (__sync_lock_test_and_set_1): New function.
5187         (__sync_lock_test_and_set_2): New function.
5189 2014-01-25  Walter Lee  <walt@tilera.com>
5191         * config/tilepro/atomic.c (BIT_OFFSET): Define.
5192         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5193         (__atomic_subword): Ditto.
5195 2014-01-25  Walter Lee  <walt@tilera.com>
5197         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5198         a prefix op argument.
5199         (__atomic_nand_fetch_4): Add prefix op.
5200         (__atomic_nand_fetch_8): Ditto.
5202 2014-01-21  Baruch Siach  <barch@tkos.co.il>
5204         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5206 2014-01-09  Rong Xu  <xur@google.com>
5208         * libgcov-driver.c (this_prg): make it local to save
5209         bss space.
5210         (gcov_exit_compute_summary): Ditto.
5211         (gcov_exit_merge_gcda): Ditto.
5212         (gcov_exit_merge_summary): Ditto.
5213         (gcov_exit_dump_gcov): Ditto.
5215 2014-01-08  Rong Xu  <xur@google.com>
5217         * libgcov-driver.c: Use libgcov.h.
5218         (buffer_fn_data): Use xmalloc instead of malloc.
5219         (gcov_exit_merge_gcda): Ditto.
5220         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5221         * libgcov.h: New common header files for libgcov-*.h.
5222         * libgcov-interface.c: Use libgcov.h
5223         * libgcov-merge.c: Ditto.
5224         * libgcov-profiler.c: Ditto.
5225         * Makefile.in: Add dependence to libgcov.h
5227 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
5229         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5230         case of small numerator and finite nonzero result.
5232 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5234         Update copyright years
5236 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5238         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5239         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5240         config/arc/dp-hack.h, config/arc/fp-hack.h,
5241         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5242         config/arc/ieee-754/arc600-dsp/divdf3.S,
5243         config/arc/ieee-754/arc600-dsp/divsf3.S,
5244         config/arc/ieee-754/arc600-dsp/muldf3.S,
5245         config/arc/ieee-754/arc600-dsp/mulsf3.S,
5246         config/arc/ieee-754/arc600-mul64/divdf3.S,
5247         config/arc/ieee-754/arc600-mul64/divsf3.S,
5248         config/arc/ieee-754/arc600-mul64/muldf3.S,
5249         config/arc/ieee-754/arc600-mul64/mulsf3.S,
5250         config/arc/ieee-754/arc600/divsf3.S,
5251         config/arc/ieee-754/arc600/mulsf3.S,
5252         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5253         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5254         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5255         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5256         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5257         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5258         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5259         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5260         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5261         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5262         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5263         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5264         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5265         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5266         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5267         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5268         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5269         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5270         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5271         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5272         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5273         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5274         vtv_start_preinit.c: Use the standard form for the copyright notice.
5276 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
5277             Chung-Lin Tang  <cltang@codesourcery.com>
5278             Based on patches from Altera Corporation
5280         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5281         * config/nios2/lib2-nios2.h: New file.
5282         * config/nios2/lib2-divmod-hi.c: New file.
5283         * config/nios2/linux-unwind.h: New file.
5284         * config/nios2/lib2-divmod.c: New file.
5285         * config/nios2/linux-atomic.c: New file.
5286         * config/nios2/t-nios2: New file.
5287         * config/nios2/crti.asm: New file.
5288         * config/nios2/t-linux: New file.
5289         * config/nios2/lib2-divtable.c: New file.
5290         * config/nios2/lib2-mul.c: New file.
5291         * config/nios2/tramp.c: New file.
5292         * config/nios2/crtn.asm: New file.
5294 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
5296         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5297         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5298         from cpuid.h to check vendor signatures.
5300 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
5302         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5303         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5304         (get_amd_cpu): Likewise.
5306 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
5308         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5309         Haswell.
5311 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5312             H.J. Lu  <hongjiu.lu@intel.com>
5314         PR target/59422
5315         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
5316         and AMD_JAGUAR.
5317         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5318         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5319         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
5320         FEATURE_XOP and FEATURE_FMA.
5321         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5322         AMDFAM15H_BDVER3.
5323         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5324         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5325         FEATURE_FMA4 and FEATURE_XOP.
5327 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
5329         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5330         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5331         (get_intel_cpu): Updated.
5333 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
5335         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5337 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
5339         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5340         instructions when __SSE_MATH__ is defined.
5342 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
5344         * config.host (microblaze-*-rtems*): New.
5346 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
5348         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5349         architectures that do not have hardware divide instruction.
5350         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5352 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
5354         * longlong.h: Delete (moved to include/).
5356 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5358         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5359         of normal number and qNaN to not raise an inexact exception.
5361 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
5363         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5365 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
5367         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5368         for correct opcodes on BE.
5370 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
5372         * soft-fp/op-4.h: Update from glibc.
5374 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
5376         * libgcc2.c (__udivmoddi4): Define new implementation when
5377         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5378         divide instructions.
5380 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
5382         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5384 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5386         * config/t-softfp (soft-fp-objects-base): New variable.
5387         (soft-fp-objects): Use it.
5389 2013-11-23  David Edelson  <dje.gcc@gmail.com>
5390             Andrew Dixie  <andrewd@gentrack.com>
5392         PR target/33704
5393         * config/rs6000/aixinitfini.c: New file.
5394         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5395         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5396         symbols.
5398 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
5400         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5402 2013-11-18  Jan Hubicka  <jh@suse.cz>
5404         * libgcov-driver.c (run_accounted): Make global level static.
5405         (gcov_exit_merge_summary): Silence warning; do not clear
5406         run_accounted here.
5407         (gcov_exit): Clear it here.
5409         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5410         run_accounted.
5412         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5413         (all_prg, crc32): Remove static vars.
5414         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5415         all_prg.
5416         (gcov_exit_merge_gcda): Add crc32 parameter.
5417         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5418         do not account run if it was already accounted.
5419         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5420         (gcov_exit): Initialize all_prg; update.
5422 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
5424         * configure: Regenerate.
5426 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5427             Alan Modra  <amodra@gmail.com>
5429         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5430         (frob_update_context): Use it.
5432 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5433             Alan Modra  <amodra@gmail.com>
5435         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5436         (trampoline_initial): Provide ELFv2 variant.
5437         (__trampoline_setup): Likewise.
5439         * config/rs6000/linux-unwind.h (frob_update_context): Do not
5440         check for AIX indirect function call sequence if _CALL_ELF == 2.
5442 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5443             Alan Modra  <amodra@gmail.com>
5445         * config/rs6000/linux-unwind.h (get_regs): Do not support
5446         old kernel versions if _CALL_ELF == 2.
5447         (frob_update_context): Do not support PLT stub variants only
5448         generated by old linkers if _CALL_ELF == 2.
5450 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5451             Alan Modra  <amodra@gmail.com>
5453         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5454         location of CR save area for 64-bit little-endian systems.
5456 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5458         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5459         in tmake_file.
5460         * config/arm/t-vxworks: Delete.
5462 2013-11-10  Kai Tietz  <ktietz@redhat.com>
5464         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5465         Increment load-count on use of LIBGCC_SONAME DLL.
5466         (hmod_libgcc): New static variable to hold handle of
5467         LIBGCC_SONAME DLL.
5468         (__gcc_deregister_frame): Decrement load-count of
5469         LIBGCC_SONAME DLL.
5471 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
5473         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5474         availability.
5475         * configure: Regenerate
5477 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
5479         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5480         FP_EX_DENORM.  Store result to volatile location after SSE division
5481         to close interrupt window.  Remove unneeded fwait after x87
5482         division since interrupt window will be closed by emitted fstp.
5483         Rewrite FP_EX_INEXACT handling.
5485 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
5487         * soft-fp/README: Update.
5488         * soft-fp/adddf3.c: Update from glibc.
5489         * soft-fp/addsf3.c: Likewise.
5490         * soft-fp/addtf3.c: Likewise.
5491         * soft-fp/divdf3.c: Likewise.
5492         * soft-fp/divsf3.c: Likewise.
5493         * soft-fp/divtf3.c: Likewise.
5494         * soft-fp/double.h: Likewise.
5495         * soft-fp/eqdf2.c: Likewise.
5496         * soft-fp/eqsf2.c: Likewise.
5497         * soft-fp/eqtf2.c: Likewise.
5498         * soft-fp/extenddftf2.c: Likewise.
5499         * soft-fp/extended.h: Likewise.
5500         * soft-fp/extendsfdf2.c: Likewise.
5501         * soft-fp/extendsftf2.c: Likewise.
5502         * soft-fp/extendxftf2.c: Likewise.
5503         * soft-fp/fixdfdi.c: Likewise.
5504         * soft-fp/fixdfsi.c: Likewise.
5505         * soft-fp/fixdfti.c: Likewise.
5506         * soft-fp/fixsfdi.c: Likewise.
5507         * soft-fp/fixsfsi.c: Likewise.
5508         * soft-fp/fixsfti.c: Likewise.
5509         * soft-fp/fixtfdi.c: Likewise.
5510         * soft-fp/fixtfsi.c: Likewise.
5511         * soft-fp/fixtfti.c: Likewise.
5512         * soft-fp/fixunsdfdi.c: Likewise.
5513         * soft-fp/fixunsdfsi.c: Likewise.
5514         * soft-fp/fixunsdfti.c: Likewise.
5515         * soft-fp/fixunssfdi.c: Likewise.
5516         * soft-fp/fixunssfsi.c: Likewise.
5517         * soft-fp/fixunssfti.c: Likewise.
5518         * soft-fp/fixunstfdi.c: Likewise.
5519         * soft-fp/fixunstfsi.c: Likewise.
5520         * soft-fp/fixunstfti.c: Likewise.
5521         * soft-fp/floatdidf.c: Likewise.
5522         * soft-fp/floatdisf.c: Likewise.
5523         * soft-fp/floatditf.c: Likewise.
5524         * soft-fp/floatsidf.c: Likewise.
5525         * soft-fp/floatsisf.c: Likewise.
5526         * soft-fp/floatsitf.c: Likewise.
5527         * soft-fp/floattidf.c: Likewise.
5528         * soft-fp/floattisf.c: Likewise.
5529         * soft-fp/floattitf.c: Likewise.
5530         * soft-fp/floatundidf.c: Likewise.
5531         * soft-fp/floatundisf.c: Likewise.
5532         * soft-fp/floatunditf.c: Likewise.
5533         * soft-fp/floatunsidf.c: Likewise.
5534         * soft-fp/floatunsisf.c: Likewise.
5535         * soft-fp/floatunsitf.c: Likewise.
5536         * soft-fp/floatuntidf.c: Likewise.
5537         * soft-fp/floatuntisf.c: Likewise.
5538         * soft-fp/floatuntitf.c: Likewise.
5539         * soft-fp/gedf2.c: Likewise.
5540         * soft-fp/gesf2.c: Likewise.
5541         * soft-fp/getf2.c: Likewise.
5542         * soft-fp/ledf2.c: Likewise.
5543         * soft-fp/lesf2.c: Likewise.
5544         * soft-fp/letf2.c: Likewise.
5545         * soft-fp/muldf3.c: Likewise.
5546         * soft-fp/mulsf3.c: Likewise.
5547         * soft-fp/multf3.c: Likewise.
5548         * soft-fp/negdf2.c: Likewise.
5549         * soft-fp/negsf2.c: Likewise.
5550         * soft-fp/negtf2.c: Likewise.
5551         * soft-fp/op-1.h: Likewise.
5552         * soft-fp/op-2.h: Likewise.
5553         * soft-fp/op-4.h: Likewise.
5554         * soft-fp/op-8.h: Likewise.
5555         * soft-fp/op-common.h: Likewise.
5556         * soft-fp/quad.h: Likewise.
5557         * soft-fp/single.h: Likewise.
5558         * soft-fp/soft-fp.h: Likewise.
5559         * soft-fp/subdf3.c: Likewise.
5560         * soft-fp/subsf3.c: Likewise.
5561         * soft-fp/subtf3.c: Likewise.
5562         * soft-fp/truncdfsf2.c: Likewise.
5563         * soft-fp/trunctfdf2.c: Likewise.
5564         * soft-fp/trunctfsf2.c: Likewise.
5565         * soft-fp/trunctfxf2.c: Likewise.
5566         * soft-fp/unorddf2.c: Likewise.
5567         * soft-fp/unordsf2.c: Likewise.
5568         * soft-fp/unordtf2.c: Likewise.
5570 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
5572         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5573         (_FP_MUL_MEAT_D): Ditto.
5574         (_FP_DIV_MEAT_S): Ditto.
5575         (_FP_DIV_MEAT_D): Ditto.
5576         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5577         t-softfp-sfdf and t-softfp to tmake_file.
5579 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
5581         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5582         * config/i386/crtprec.c: Ditto.
5584 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
5585             Shiva Chen  <shiva0217@gmail.com>
5587         * config.host (nds32*-elf*): Add nds32 target.
5588         * config/nds32 : New directory and files.
5590 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
5592         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
5593         * config.host (cpu_type) <Setting default>: Add entry for
5594         crisv32-*-*.
5595         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5596         <crisv32-*-linux*>: Adjust.
5597         * longlong.h: Wrap the whole CRIS section in a single
5598         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
5599         and sub_ddmmss.
5600         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5601         defined.
5602         [__CRIS__] (__umulsidi3): Define.
5603         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5604         * config/cris/sfp-machine.h: New file.
5605         * config/cris/umulsidi3.S: New file.
5606         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5607         * config/cris/arit.c (SIGNMULT): New macro.
5608         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5609         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5610         saving 3 out of originally 33 cycles from the fastest
5611         path, 3 out of 54 from the medium path and one from the longest
5612         path.  Improve comments.
5614 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
5616         * sync.c: Remove static aliases and define each function directly
5617         under its real name.
5619 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
5621         * config.host (hppa*64*-*-linux*): Define extra_parts.
5622         (hppa*-*-linux*): Likewise.
5624 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
5626         * config/arc/crtgend.S: Add 2013 to Copyright years.
5627         * config/arc/gmon/atomic.h: Likewise.
5628         * config/arc/gmon/auxreg.h: Likewise.
5629         * config/arc/gmon/sys/gmon_out.h: Likewise.
5630         * config/arc/gmon/sys/gmon.h: Likewise.
5631         * config/arc/gmon/prof-freq.c: Likewise.
5632         * config/arc/gmon/mcount.c: Likewise.
5633         * config/arc/gmon/prof-freq-stub.S: Likewise.
5634         * config/arc/gmon/gmon.c: Likewise.
5635         * config/arc/gmon/machine-gmon.h: Likewise.
5636         * config/arc/gmon/profil.S: Likewise.
5637         * config/arc/gmon/dcache_linesz.S: Likewise.
5638         * config/arc/crtg.S: Likewise.
5639         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5640         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5641         * config/arc/ieee-754/adddf3.S: Likewise.
5642         * config/arc/ieee-754/truncdfsf2.S: Likewise.
5643         * config/arc/ieee-754/fixsfsi.S: Likewise.
5644         * config/arc/ieee-754/gtsf2.S: Likewise.
5645         * config/arc/ieee-754/floatsisf.S: Likewise.
5646         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5647         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5648         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5649         * config/arc/ieee-754/fixdfsi.S: Likewise.
5650         * config/arc/ieee-754/addsf3.S: Likewise.
5651         * config/arc/ieee-754/gesf2.S: Likewise.
5652         * config/arc/ieee-754/floatsidf.S: Likewise.
5653         * config/arc/ieee-754/extendsfdf2.S: Likewise.
5654         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5655         * config/arc/ieee-754/gtdf2.S: Likewise.
5656         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5657         * config/arc/ieee-754/uneqdf2.S: Likewise.
5658         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5659         * config/arc/ieee-754/uneqsf2.S: Likewise.
5660         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5661         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5662         * config/arc/ieee-754/eqdf2.S: Likewise.
5663         * config/arc/ieee-754/ordsf2.S: Likewise.
5664         * config/arc/ieee-754/divsf3.S: Likewise.
5665         * config/arc/ieee-754/divdf3.S: Likewise.
5666         * config/arc/ieee-754/floatunsidf.S: Likewise.
5667         * config/arc/ieee-754/orddf2.S: Likewise.
5668         * config/arc/ieee-754/eqsf2.S: Likewise.
5669         * config/arc/ieee-754/gedf2.S: Likewise.
5670         * config/arc/crtn.S: Likewise.
5671         * config/arc/crti.S: Likewise.
5672         * config/arc/t-arc700-uClibc: Likewise.
5673         * config/arc/asm.h: Likewise.
5674         * config/arc/libgcc-excl.ver: Likewise.
5675         * config/arc/t-arc-newlib: Likewise.
5676         * config/arc/divtab-arc700.c: Likewise.
5677         * config/arc/initfini.c: Likewise.
5678         * config/arc/fp-hack.h: Likewise.
5680 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5681             Diego Novillo  <dnovillo@google.com>
5683         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5684         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5685         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5686         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5688 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5689             Brendan Kehoe  <brendan@zen.org>
5690             Simon Cook  <simon.cook@embecosm.com>
5692         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5693         * config/arc: New directory.
5694         * longlong.h [__arc__] (umul_ppmm): Remove.
5695         [__arc__] (__umulsidi3): Define.
5696         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5697         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5699 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
5701         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5702         CreateSemaphoreA.
5703         * config/i386/gthr-win32.h: Likewise.
5705 2013-09-16  DJ Delorie  <dj@redhat.com>
5707         * config/rl78/vregs.h: Add G10 register definitions.
5708         * config/rl78/lib2mul.c: Enable for RL78/G10.
5709         * config/rl78/lib2div.c: Likewise.
5710         * config/rl78/lshrsi3.S: Use vregs.h.
5711         * config/rl78/cmpsi2.S: Likewise.
5712         * config/rl78/trampoline.S: Likewise.
5713         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
5715 2013-09-14  DJ Delorie  <dj@redhat.com>
5716             Nick Clifton  <nickc@redhat.com>
5718         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5719         * config/rl78/vregs.h: New.
5720         * config/rl78/signbit.S: New file.  Implements signbit function.
5721         * config/rl78/divmodsi.S: New.
5722         * config/rl78/divmodhi.S: New.
5723         * config/rl78/divmodqi.S: New.
5724         * config/rl78/t-rl78: Build them here...
5725         * config/rl78/lib2div.c: ...but not here.
5727 2013-09-12  DJ Delorie  <dj@redhat.com>
5729         * config.host (msp*-*-elf): New.
5730         * config/msp430/: New port.
5732 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
5734         PR gcov-profile/58127
5735         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5736         __thread var for emulated TLS.
5737         (__gcov_indirect_call_counters): Likewise.
5739 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
5740             Catherine Moore  <clm@codesourcery.com>
5741             Richard Sandiford  <rdsandiford@googlemail.com>
5743         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5744         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5745         (CALL_STUB_NO_RET): Likewise.
5746         (CALL_STUB_RET): Likewise.
5747         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5748         __mips16_ret call/return stub symbols.
5749         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5750         to tmake_file.
5752 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
5754         * config.host <mips*-*-linux*>: Remove a stray comment.
5756 2013-08-10  Jan Hubicka  <jh@suse.cz>
5758         Work around binutils PR14342
5759         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5760         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5761         (L_gcov_indirect_call_profiler_v2): New.
5763 2013-08-06  Jan Hubicka  <jh@suse.cz>
5765         * libgcov.c (__gcov_indirect_call_callee,
5766         __gcov_indirect_call_counters): New global vars.
5767         (__gcov_indirect_call_profiler): replace by ...
5768         (__gcov_indirect_call_profiler_v2) ... this one.
5770 2013-08-06  Caroline Tice  <cmtice@google.com>
5772         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5773         vtv_start_preinit.o and vtv_end_preinit.o.
5774         * configure.ac: Add code to check/set enable_vtable_verify.
5775         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5776         true.
5777         * vtv_start_preinit.c: New file.
5778         * vtv_end_preinit.c: New file.
5779         * vtv_start.c: New file.
5780         * vtv_end.c: New file.
5781         * configure: Regenerated.
5783 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
5785         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5786         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5787         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5788         GPL-3.0-with-GCC-exception.
5790 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
5792         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5793         ISA and up.
5795 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5797         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5798         mapping for FPRs when creating the fallback framestate.
5800 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
5802         PR target/57516
5803         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5804         (__round_s2_const, __round_u2_const)
5805         (__round_s4_const, __round_u4_const, __round_x8):
5806         Saturate result if addition result cannot be represented.
5808 2013-07-15  Matthias Klose  <doko@ubuntu.com>
5810         * libgcc2.c: Don't include <limits.h>.
5812 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
5814         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5816 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
5818         PR target/29776
5819         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5821 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
5823         PR middle-end/36041
5824         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5825         Define.
5826         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5827         instead of table lookups.
5828         (__popcountDI2): Likewise.
5830 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
5832         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5833         correctly.
5835 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5837         PR other/53317
5838         * soft-fp/adddf3.c: Update from glibc.
5839         * soft-fp/addsf3.c: Likewise.
5840         * soft-fp/addtf3.c: Likewise.
5841         * soft-fp/divdf3.c: Likewise.
5842         * soft-fp/divsf3.c: Likewise.
5843         * soft-fp/divtf3.c: Likewise.
5844         * soft-fp/double.h: Likewise.
5845         * soft-fp/eqdf2.c: Likewise.
5846         * soft-fp/eqsf2.c: Likewise.
5847         * soft-fp/eqtf2.c: Likewise.
5848         * soft-fp/extenddftf2.c: Likewise.
5849         * soft-fp/extended.h: Likewise.
5850         * soft-fp/extendsfdf2.c: Likewise.
5851         * soft-fp/extendsftf2.c: Likewise.
5852         * soft-fp/fixdfdi.c: Likewise.
5853         * soft-fp/fixdfsi.c: Likewise.
5854         * soft-fp/fixsfdi.c: Likewise.
5855         * soft-fp/fixsfsi.c: Likewise.
5856         * soft-fp/fixtfdi.c: Likewise.
5857         * soft-fp/fixtfsi.c: Likewise.
5858         * soft-fp/fixunsdfdi.c: Likewise.
5859         * soft-fp/fixunsdfsi.c: Likewise.
5860         * soft-fp/fixunssfdi.c: Likewise.
5861         * soft-fp/fixunssfsi.c: Likewise.
5862         * soft-fp/fixunstfdi.c: Likewise.
5863         * soft-fp/fixunstfsi.c: Likewise.
5864         * soft-fp/floatdidf.c: Likewise.
5865         * soft-fp/floatdisf.c: Likewise.
5866         * soft-fp/floatditf.c: Likewise.
5867         * soft-fp/floatsidf.c: Likewise.
5868         * soft-fp/floatsisf.c: Likewise.
5869         * soft-fp/floatsitf.c: Likewise.
5870         * soft-fp/floatundidf.c: Likewise.
5871         * soft-fp/floatundisf.c: Likewise.
5872         * soft-fp/floatunditf.c: Likewise.
5873         * soft-fp/floatunsidf.c: Likewise.
5874         * soft-fp/floatunsisf.c: Likewise.
5875         * soft-fp/floatunsitf.c: Likewise.
5876         * soft-fp/gedf2.c: Likewise.
5877         * soft-fp/gesf2.c: Likewise.
5878         * soft-fp/getf2.c: Likewise.
5879         * soft-fp/ledf2.c: Likewise.
5880         * soft-fp/lesf2.c: Likewise.
5881         * soft-fp/letf2.c: Likewise.
5882         * soft-fp/muldf3.c: Likewise.
5883         * soft-fp/mulsf3.c: Likewise.
5884         * soft-fp/multf3.c: Likewise.
5885         * soft-fp/negdf2.c: Likewise.
5886         * soft-fp/negsf2.c: Likewise.
5887         * soft-fp/negtf2.c: Likewise.
5888         * soft-fp/op-1.h: Likewise.
5889         * soft-fp/op-2.h: Likewise.
5890         * soft-fp/op-4.h: Likewise.
5891         * soft-fp/op-8.h: Likewise.
5892         * soft-fp/op-common.h: Likewise.
5893         * soft-fp/quad.h: Likewise.
5894         * soft-fp/single.h: Likewise.
5895         * soft-fp/soft-fp.h: Likewise.
5896         * soft-fp/subdf3.c: Likewise.
5897         * soft-fp/subsf3.c: Likewise.
5898         * soft-fp/subtf3.c: Likewise.
5899         * soft-fp/truncdfsf2.c: Likewise.
5900         * soft-fp/trunctfdf2.c: Likewise.
5901         * soft-fp/trunctfsf2.c: Likewise.
5902         * soft-fp/unorddf2.c: Likewise.
5903         * soft-fp/unordsf2.c: Likewise.
5904         * soft-fp/unordtf2.c: Likewise.
5905         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5906         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5907         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5908         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5909         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5910         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5911         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5912         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5913         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5914         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5915         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5916         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5918 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
5920         * config/mips/lib2funcs.c: New file.
5921         * config/mips/t-mips (LIB2ADD_ST): Add it.
5923 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
5925         PR target/6526
5926         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5927         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
5929 2013-06-08  Walter Lee  <walt@tilera.com>
5931         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5932         Replace int64_t with long long.  Add __extension__ where
5933         appropriate.
5934         * config/tilepro/atomic.c: Include config.h.
5936 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
5938         * config.host (arm-wrs-vxworks): Configure with other soft float.
5940 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
5942         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5943         (mips64r5900el-*-elf*): New configurations.
5945 2013-06-04  Alan Modra  <amodra@gmail.com>
5947         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5949 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
5951         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5953 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
5955         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5956         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5957         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5959 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5961         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5962         (powerpc-wrs-vxworks): Likewise.
5964 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5966         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5967         signal frames as well.
5968         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5969         STACK_BIAS to the CFA offset.
5971 2013-05-17  Richard Henderson  <rth@redhat.com>
5973         PR target/49146
5974         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5975         (execute_cfa_program): Use it when storing to fs->regs.
5977 2013-05-08  Kai Tietz  <ktietz@redhat.com>
5979         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5980         (__deregister_frame_info): Likewise.
5982 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
5984         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5985         NaN's payload.
5987         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5989 2013-04-25  Alan Modra  <amodra@gmail.com>
5991         * config.host: Match little-endian powerpc-linux.
5993 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
5995         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5996         as 'unsigned long long' instead of 'unsigned long'.
5997         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5998         'signed long'.
6000 2013-04-10  Julian Brown  <julian@codesourcery.com>
6002         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6003         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6004         unsigned char/unsigned short.
6005         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6007 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6009         PR other/55274
6010         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6012 2013-04-04  Meador Inge  <meadori@codesourcery.com>
6014         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6015         computing the location of the link register.
6016         (aeabi_uldivmod): Ditto.
6018 2013-03-27  Kai Tietz  <ktietz@redhat.com>
6020         * config.host: Add support for cygwin x64 target.
6021         * configure: Regenerated.
6023 2013-03-26  Walter Lee  <walt@tilera.com>
6025         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6026         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6028 2013-03-25  Kai Tietz  <ktietz@redhat.com>
6030         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6032 2013-03-20  Robert Mason  <rbmj@verizon.net>
6034         * config/vxlib-tls.c (__gthread_get_tsd_data,)
6035         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6036         (__gthread_leave_tsd_dtor_context): Add prototypes.
6037         (tls_delete_hook): Update.
6039 2013-03-20  Catherine Moore  <clm@codesourcery.com>
6040             Joseph Myers  <joseph@codesourcery.com>
6041             Chao-ying Fu  <fu@mips.com>
6043         * config/mips/mips16.S:  Don't build for microMIPS.
6044         * config/mips/linux-unwind.h: Handle microMIPS frame.
6045         * config/mips/crtn.S (fini, init): New labels.
6047 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
6049         PR tree-optimization/53265
6050         * unwind-dw2.c (execute_cfa_program): Avoid
6051         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6052         on targets with DWARF_FRAME_REGISTERS < 32.
6054 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
6056         PR target/49880
6057         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6058         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6060 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
6062         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6063         sandybridge processors.
6065 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
6067         PR target/56529
6068         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6069         inclusion list.
6071 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6073         * config/microblaze/crti.S: Setup stack protection at entry
6075 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
6077         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6078         (__rotldi3): Shift bytewise if applicable.
6080 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
6082         * config/aarch64/sync-cache.c
6083         (__aarch64_sync_cache_range): Silence warnings.
6085 2013-02-25  Catherine Moore  <clm@codesourcery.com>
6087         Revert:
6088         2013-02-24  Catherine Moore  <clm@codesourcery.com>
6089             Joseph Myers  <joseph@codesourcery.com>
6090             Chao-ying Fu  <fu@mips.com>
6092         * config/mips/mips16.S:  Don't build for microMIPS.
6093         * config/mips/linux-unwind.h: Handle microMIPS frame.
6094         * config/mips/crtn.S (fini, init): New labels.
6096 2013-02-24  Catherine Moore  <clm@codesourcery.com>
6097             Joseph Myers  <joseph@codesourcery.com>
6098             Chao-ying Fu  <fu@mips.com>
6100         * config/mips/mips16.S:  Don't build for microMIPS.
6101         * config/mips/linux-unwind.h: Handle microMIPS frame.
6102         * config/mips/crtn.S (fini, init): New labels.
6104 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6105         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6106         as dividend.
6108 2013-02-16  Alan Modra  <amodra@gmail.com>
6110         PR target/55431
6111         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6112         (ppc_fallback_frame_state): Always set up save locations for fp
6113         and altivec.  Don't bother with non-callee-saved regs, r0-r13
6114         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6116 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
6118         PR target/54222
6119         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6120         _ssmulHA, _ssmulSA.
6121         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6122         _ssmulha3, _usmulusa3, _ssmulsa3.
6123         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6124         (__muldi3): XCALL __muldi3_6 instead of rcall.
6125         (__umulsidi3, __mulsidi3): New functions.
6126         (do_prologue_saves, do_epilogue_restores): New .macros.
6127         (__divdi3_moddi3): Use them.
6128         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6129         (__usmulusa3, __ssmulsa3): New functions.
6131 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
6132             Jack Howarth  <howarth@bromo.med.uc.edu>
6133             Patrick Marlier  <patrick.marlier@gmail.com>
6135         PR libitm/55693
6136         * config/darwin-crt-tm.c: Remove dummy functions hack.
6138 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
6140         PR target/54222
6141         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6142         * config/avr/lib2-object.mk: New iterator to build objects from it.
6143         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6144         lib2funcs.c.
6145         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6146         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6147         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6148         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6149         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6150         * config/avr/lib1funcs-fixed.S: Implement them.
6152 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
6154         Update copyright years.
6156 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
6158         PR target/54601
6159         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6160         Add crtcxa to extra_parts.
6161         * config/rs6000/exit.h: New file.
6162         * config/rs6000/cxa_atexit.c: New file.
6163         * config/rs6000/cxa_finalize.c: New file.
6164         * config/rs6000/crtcxa.c: New file.
6165         * config/rs6000/t-aix-cxa: New file.
6166         * config/rs6000/libgcc-aix-cxa.ver: New file.
6168 2013-01-31  Nick Clifton  <nickc@redhat.com>
6170         * config/v850/lib1funcs.S: Add support for e3v5 architecture
6171         variant.
6173 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
6175         PR target/54222
6176         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6177         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
6178         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6179         _divQQ,  _divHQ,  _divHA,  _divSA,
6180         _divUQQ, _divUHQ, _divUHA, _divUSA.
6182 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
6184         * config.host(microblaze*-linux*): tmake_file: Remove
6185         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6186         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6187         to exclude functions from being built with libgcc.c and use
6188         the microblaze assembly.
6190 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
6192         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6193         extra_parts.
6195 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
6197         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6198         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6199         __UINTPTR_TYPE__; also cast 'base' to the same type before the
6200         alignment operation.
6202 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
6204         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6205         loop start address for cache clearing.
6207 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6209         * config/avr/lib1funcs.S: Remove trailing blanks.
6210         * config/avr/lib1funcs-fixed.S: Ditto.
6212 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6214         * config/avr/avr-lib.h: Add GPL copyright notice.
6216 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
6218         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6219         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6220         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6221         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6223 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
6225         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6226         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6228 2013-01-04  Nick Clifton  <nickc@redhat.com>
6230         * config/v850/lib1funcs.S: Only provide CALLT support functions if
6231         the CALLT instruction is supported.
6233 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
6235         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6236         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6238 2012-12-13  John Tytgat  <John@bass-software.com>
6240         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6241         is 25.
6243 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
6245         PR libgcc/55451
6246         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6247         undefined signed overflows.
6249 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
6251         PR target/55344
6252         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6254 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
6256         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6257         (FP_TRAPPING_EXCEPTIONS): Define.
6258         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6259         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6261 2012-12-04  Richard Henderson  <rth@redhat.com>
6263         PR bootstrap/55571
6264         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6266 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6268         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6269         (FP_EX_SHIFT): Define.
6270         (FP_TRAPPING_EXCEPTIONS): Define.
6272 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6274         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6275         (FP_ROUNDMODE): Use FP_RND_MASK.
6276         * config/aarch64/sfp-exceptions.c: New.
6277         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6278         Use __sfp_handle_exceptions.
6280 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
6282         * config.host: (arm*-*-freebsd*): Remove.
6283         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6284         (arm*-*-elf*): Remove.
6285         (arm*-*-wince-pe*): Remove.
6286         * arm/unwind-arm.c (struct fpa_reg): Delete.
6287         (struct fpa_regs): Delete.
6288         (phase1_vrs): Remove fpa element.
6289         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6290         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6291         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6292         * ieee754-sf.S (floatundisf): Remove FPA support.
6293         (floatdisf): Likewise.
6294         * ieee75f-df.S (floatundidf): Likewise.
6295         (floatdidf): Likewise.
6297 2012-11-29  Kai Tietz  <ktietz@redhat.com>
6299         PR target/55445
6300         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6301         * unwind-generic.h: Likewise.
6302         * unwind-seh.c: Likewise.
6304 2012-11-28  Richard Henderson  <rth@redhat.com>
6306         PR libgcc/48076
6307         * emutls.c (__emutls_get_address): Avoid race condition between
6308         obj->loc.offset read and emutls_key initialization.
6310 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
6312         Adjust decimal point of signed accum mode to GCC default.
6314         PR target/54222
6315         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6316         _divqq_helper.
6317         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6318         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6319         (__mulha3, __mulsa3)
6320         (__divqq3, __divha3, __divsa3): Adjust to new position of
6321         decimal point of signed accum types.
6323         (__mulusa3_round): New function.
6324         (__mulusa3): Use it.
6325         (__divqq_helper): New function.
6326         (__udivuqq3): Use it.
6328 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
6330         PR bootstrap/55370
6331         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6333 2012-11-18  Teresa Johnson  <tejohnson@google.com>
6335         PR bootstrap/55051
6336         * libgcov.c (gcov_exit): Remove merged program summary
6337         comparison unless !GCOV_LOCKED.
6339 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6341         * soft-fp: Updated from glibc upstream.
6343 2012-11-06  Ian Lance Taylor  <iant@google.com>
6345         * generic-morestack.c (__generic_morestack): Align the returned
6346         stack pointer to a 32 byte boundary.
6347         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6348         increment the return address until we have decided that we don't
6349         have a varargs function.
6350         (__morestack) [32-bit]: Align stack correctly when calling C
6351         functions.
6352         (__morestack) [64-bit]: Likewise.
6354 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6356         * configure: Regenerate.
6358 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
6360         PR target/55175
6361         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6362         * config/i386/sfp-machine.h: Guard exception handling
6363         code with _SOFT_FLOAT.
6364         * config/i386/32/sfp-machine.h: Guard rounding handling
6365         code with _SOFT_FLOAT.
6366         * config/i386/64/sfp-machine.h: Ditto.
6368 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
6370         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6371         as extra_parts.
6373 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
6375         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6376         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
6377         when appropriate.  Correct structure element types.
6378         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6379         -minline-all-stringops from compile flags.
6381 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6383         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6385 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6387         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6389 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6391         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6392         tmake_file.
6394 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
6395             Jim MacArthur  <jim.macarthur@arm.com>
6396             Marcus Shawcroft  <marcus.shawcroft@arm.com>
6397             Nigel Stephens  <nigel.stephens@arm.com>
6398             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6399             Richard Earnshaw  <rearnsha@arm.com>
6400             Sofiane Naci  <sofiane.naci@arm.com>
6401             Stephen Thomas  <stephen.thomas@arm.com>
6402             Tejas Belagod  <tejas.belagod@arm.com>
6403             Yufeng Zhang  <yufeng.zhang@arm.com>
6405         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6406         * config/aarch64/crti.S: New file.
6407         * config/aarch64/crtn.S: New file.
6408         * config/aarch64/linux-unwind.h: New file.
6409         * config/aarch64/sfp-machine.h: New file.
6410         * config/aarch64/sync-cache.c: New file.
6411         * config/aarch64/t-aarch64: New file.
6412         * config/aarch64/t-softfp: New file.
6414 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
6416         * config/mmix/crti.S: Mark program and data addresses using PRELD.
6417         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
6418         no-longer-needed LDBU insns.
6420 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6422         * config.host
6423         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6424         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6426 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6428         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6430 2012-10-15  Matthias Klose  <doko@ubuntu.com>
6432         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6434 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
6436         * configure: Regenerate.
6437         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6439 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6441         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6442         instructions for 64bit targets only.
6444 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6446         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6447         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6448         * config/i386/32/sfp-machine.h: ... here.
6449         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6450         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6451         New defines.
6453 2012-10-07  Matthias Klose  <doko@ubuntu.com>
6455         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6456         as unused.
6457         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6459 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
6461         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6462         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6463         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6464         (ElfW): Likewise.
6466 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
6468         PR other/53889
6469         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6470         Fix parameter names.
6472 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
6474         PR target/33135
6475         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6476         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6477         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6479 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
6481         PR target/50457
6482         * config/sh/linux-atomic.S: Delete.
6483         * config/sh/linux-atomic.c: New.
6484         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6485         linux-atomic.c.  Add cflags to disable warnings.
6487 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6489         PR other/53889
6490         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6491         function.
6492         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6493         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6494         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6495         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6496         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6497         Likewise.
6498         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6499         Likewise.
6500         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6501         Likewise.
6502         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6503         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6505 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
6507         * config.host (hppa-*-openbsd*): New target.
6508         * config/pa/t-openbsd: New file.
6510 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
6512         PR target/54222
6513         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6514         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6515         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6516         (__divsa3): Use __negsi2 to negate r_quoL.
6517         * config/avr/lib1funcs.S (FALIAS): New macro.
6518         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6519         (__negsi2): ...this new function.
6520         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6521         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6522         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6523         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6524         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6525         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6527 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
6529         PR target/54089
6530         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6531         (lshrsi3): Reimplement as lshrsi3_r0.
6533 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
6535         PR target/46191
6536         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6537         of libgcc.a.
6539 2012-09-07  Teresa Johnson  <tejohnson@google.com>
6541         PR gcov-profile/54487
6542         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6543         differences.
6545 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
6547         PR target/54461
6548         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6549         not configured --with-avrlibc=no.
6550         * config/avr/t-avrlibc: New file.
6551         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6552         (DPBIT_FUNCS): Ditto.
6553         (TPBIT_FUNCS): Ditto.
6555 2012-09-04  Teresa Johnson  <tejohnson@google.com>
6557         * libgcov.c (struct gcov_summary_buffer): New structure.
6558         (gcov_histogram_insert): New function.
6559         (gcov_compute_histogram): Ditto.
6560         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6561         histograms during summary merging.
6563 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
6565         * config.host (x86_64-*-openbsd*): New target.
6567 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
6569         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6570         attribute.
6572 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6574         PR target/54222
6575         * config/avr/t-avr (conv_X): Rename to func_X.
6577 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6579         PR target/54222
6580         * config/avr/lib1funcs-fixed.S: New file.
6581         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
6582         after they are used.
6583         (neg2, neg4): New macros.
6584         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6585         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6586         (__umulhisi3): Speed up MUL variant if there is enough flash.
6587         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6588         avr-modes.def.
6589         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6590         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6591         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6592         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6593         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6594         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6595         (LIB2FUNCS_EXCLUDE): Add supported functions.
6597 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
6599         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6600         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6601         libgcc-s-objects.
6602         * fixed-obj.mk: Only expand dependency if $o is not in
6603         LIB2FUNCS_EXCLUDE.
6605 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
6607         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6609 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
6611         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6612         depend on --enable-shared.
6613         ($(lib1asmfuncs-o)): Use %.vis files independent of
6614         --enable-shared.
6615         * static-object.mk ($(base)$(objext), $(base).vis)
6616         ($(base)_s$(objext)): Use same rules for visibility handling as in
6617         shared-object.mk.
6619 2012-08-21  Ian Lance Taylor  <iant@google.com>
6621         * config/i386/morestack.S (__morestack_non_split): Increase amount
6622         of space allocated for non-split code stack.
6624 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
6626         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6627         even if inhibit_libc.
6629 2012-08-17  Julian Brown  <julian@codesourcery.com>
6631         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6632         -fexceptions -fnon-call-exceptions if not defined.
6633         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6634         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6636 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
6638         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6639         type.
6641 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
6643         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6644         rs6000/t-slibgcc-aix.
6646 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6648         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6650 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6652         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6654 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
6656         PR driver/54171
6657         * Makefile.in (version): Replace top_srcdir with srcdir.
6659 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
6661         * Makefile.in (version): set to BASE-VER file from gcc directory.
6663 2012-08-01  Nick Clifton  <nickc@redhat.com>
6665         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6666         Implements __clrsb for an HImode argument.
6668 2012-07-31  Nick Clifton  <nickc@redhat.com>
6670         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6671         Implements __clrsb for an HImode argument.
6672         * config/stormy16/clrsbhi2.c: New file:
6673         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6675 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
6677         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6679 2012-07-19  Tristan Gingold  <gingold@adacore.com>
6680             Richard Henderson  <rth@redhat.com>
6682         * unwind-seh.c: New file.
6683         * unwind-generic.h: Include windows.h for SEH.
6684         (_Unwind_Exception): Use 6 private fields for SEH.
6685         (_GCC_specific_handler): Declare.
6686         * unwind-c.c (__gcc_personality_seh0): New function.
6687         Adjust for SEH.
6688         * config/i386/libgcc-cygming.ver: New file.
6689         * config/i386/t-seh-eh: New file.
6690         * config.host (x86_64-*-mingw*): Default to seh.
6692 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
6694         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6696 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
6698         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6699         __builtin_expect when checking for exceptions.
6700         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6702 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6704         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6705         function declaration.
6706         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6707         (FP_RND_MASK): New.
6708         * config/ia64/sfp-exceptions.c: New.
6709         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6711 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6713         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6714         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6715         * config/i386/64/sfp-machine: ... (delete here) ...
6716         * config/i386/sfp-machine.h: ... to here.
6717         (FP_EX_MASK): Remove.
6718         (FP_RND_MASK): New.
6719         (FP_INIT_ROUNDMODE): Declare asm as volatile.
6721 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
6723         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6724         * config/i386/libgcc-sol2.ver: Ditto.
6725         * config/i386/libgcc-glibc.ver: Ditto.
6727 2012-06-11  Roland McGrath  <mcgrathr@google.com>
6729         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6730         If __GLIBC__ is defined, refer to __pthread_key_create instead of
6731         pthread_cancel.
6733 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
6735         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6736         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6737         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6738         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6739         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6740         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6741         * config/i386/64/sfp-machine: ... (delete here) ...
6742         * config/i386/sfp-machine.h: ... to here.
6743         (FP_EX_MASK): New.
6744         (__sfp_handle_exceptions): New function declaration.
6745         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6746         * config/i386/sfp-exceptions.c: New.
6747         * config/i386/t-softfp: New.
6748         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6749         i386/t-softfp to tmake_file.
6751 2012-06-03  David S. Miller  <davem@davemloft.net>
6753         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6754         change.
6756 2012-05-31  David S. Miller  <davem@davemloft.net>
6758         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6759         multiply and divide instructions on 32-bit when V9.
6760         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6762 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
6764         * config/arm/ieee754-df.S: Fix typos.
6765         * config/arm/ieee754-sf.S: Fix typos.
6766         * config/c6x/libunwind.S: Fix typos.
6767         * config/epiphany/udivsi3-float.c: Fix typos.
6768         * config/microblaze/muldi3_hard.S: Fix typos.
6769         * config/picochip/adddi3.S: Fix typos.
6770         * config/picochip/ashlsi3.S: Fix typos.
6771         * config/picochip/ashrsi3.S: Fix typos.
6772         * config/picochip/clzsi2.S: Fix typos.
6773         * config/picochip/cmpsi2.S: Fix typos.
6774         * config/picochip/divmod15.S: Fix typos.
6775         * config/picochip/divmodhi4.S: Fix typos.
6776         * config/picochip/divmodsi4.S: Fix typos.
6777         * config/picochip/longjmp.S: Fix typos.
6778         * config/picochip/lshrsi3.S: Fix typos.
6779         * config/picochip/parityhi2.S: Fix typos.
6780         * config/picochip/popcounthi2.S: Fix typos.
6781         * config/picochip/setjmp.S: Fix typos.
6782         * config/picochip/subdi3.S: Fix typos.
6783         * config/picochip/ucmpsi2.S: Fix typos.
6784         * config/picochip/udivmodhi4.S: Fix typos.
6785         * config/picochip/udivmodsi4.S: Fix typos.
6786         * config/spu/divv2df3.c: Fix typos.
6787         * config/spu/mfc_multi_tag_release.c: Fix typos.
6788         * config/spu/mfc_tag_release.c: Fix typos.
6789         * configure.ac: Fix typos.
6790         * configure: Regenerate.
6792 2012-05-25  Ian Lance Taylor  <iant@google.com>
6794         * config/i386/morestack.S (__morestack_non_split): Check whether
6795         caller is varargs and needs %bp to hold the stack frame on return.
6797 2012-05-25  Olivier Hainque  <hainque@adacore.com>
6799         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6800         sequence in the non pic case on VxWorks.
6802 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6804         * Makefile.in: Move dependency on install-unwind_h from
6805         "install-leaf" to "install".
6807 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6809         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6810         Use a separate command for stamp removals.
6812 2012-05-21  Andrew Pinski  <apinski@cavium.com>
6814         PR bootstrap/53183
6815         * configure.ac: Define the default includes to being none.
6816         * configure: Regenerate.
6818 2012-05-16  Olivier Hainque  <hainque@adacore.com>
6820         * Makefile.in (install-unwind_h): Rename into ...
6821         (install-unwind_h-forbuild): New target.
6822         (all): Use it instead of the former install-unwind_h.
6823         (install-unwind_h): Reinstate, copy to user install destination
6824         for include files, not to the internal gcc object directory one.
6825         (install-leaf): Depend on it.
6827 2012-05-15  Olivier Hainque  <hainque@adacore.com>
6829         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6830         register numbers. LR_REGNO replaces R_LR.
6831         (ucontext_for): New, helper for ...
6832         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6833         and 5.3 of ...
6834         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6836 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6838         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6839         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6840         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6841         i386/t-cpuinfo ...
6842         (i[34567]86-*-*, x86_64-*-*): ... here.
6844         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6845         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6847         * config/i386/i386-cpuinfo.c: Rename to ...
6848         * config/i386/cpuinfo.c: ... this.
6849         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6851         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6852         (libgcc_cv_init_priority): New test.
6853         * configure: Regenerate.
6854         * config.in: New file.
6855         * Makefile.in (clean): Rename config.h to auto-target.h.
6856         (config.h): Likewise.
6857         (stamp-h): Likewise.
6859         * config/i386/cpuinfo.c (auto-target.h): Include.
6860         (CONSTRUCTOR_PRIORITY): Define.
6861         (__cpu_indicator_init): Use it.
6863 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6865         * longlong.h: Use a URL instead of an FSF postal address.
6866         Replace spaces with tab.
6868 2012-05-08  Teresa Johnson  <tejohnson@google.com>
6870         * libgcov.c (gcov_clear, __gcov_reset): New functions.
6871         (__gcov_dump): Ditto.
6872         (gcov_dump_complete): New global variable.
6873         (gcov_exit): Export hidden to enable use in L_gcov_dump.
6874         (__gcov_flush): Outline functionality now in gcov_clear.
6875         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6877 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
6879         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6880         (mips*-*-linux*): Include mips/t-tpbit when long double is
6881         16 bytes long.
6883 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
6885         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6886         (get_available_features): New argument. Check for AVX2.
6887         (__cpu_indicator_init): Modify call to get_available_features.
6889 2012-04-25  Alan Modra  <amodra@gmail.com>
6891         * config/rs6000/crtsavevr.S: New file.
6892         * config/rs6000/crtrestvr.S: New file.
6893         * config/rs6000/t-savresfgpr: Build the above.
6894         * config/rs6000/t-netbsd: Likewise.
6896 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6898         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6900 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6902         * libgcc/config/i386/i386-cpuinfo.c: New file.
6903         * libgcc/config/i386/t-cpuinfo: New file.
6904         * libgcc/config.host: Include t-cpuinfo.
6905         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6907 2012-04-24  Chao-ying Fu  <fu@mips.com>
6909         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6911 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
6913         struct siginfo vs. siginfo_t
6915         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6916         siginfo_t instead of struct siginfo.
6917         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6918         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6919         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6920         (ia64_handle_unwabi): Likewise.
6921         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6922         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6923         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6924         (sh_fallback_frame_state): Likewise.
6925         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6926         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6928 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
6930         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6931         system call number.
6933 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
6935         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6936         if it hasn't been previously saved.
6938 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
6940         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6941         only for glibc.
6943 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
6945         PR target/52737
6946         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6947         instead of __AVR_HAVE_8BIT_SP__.
6949 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6951         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6952         (unw_table_entry): Use unw_word instead of unsigned long.
6953         (_Unwind_FindTableEntry): Likewise.
6954         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6955         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6956         (_Unwind_FindTableEntry): Likewise.
6957         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6958         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6959         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6960         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6961         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6962         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6963         (uw_init_context_1, uw_install_context): Likewise.
6964         (unw_word): Move to unwind-ia64.h
6966 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6968         * config/vms/vms-ucrt0.c: Update copyright years.
6969         Add a sanity check.
6970         (___gcc_main_flags): Declare.
6971         (__main): Check flags to remap argv and exit code.
6972         * config.host (*-*-*vms*): Adjust extra_parts.
6973         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6974         (crt0.o): Add.
6976 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
6978         * arm/lib1funcs.asm (ctzsi2): New function.
6979         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6980         * arm/t-linux (LIB1ASMFUNCS): Likewise.
6981         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6982         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6983         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6984         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6986 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
6988         * config.host: Add bits to support powerpc64-*-freebsd*.
6989         * config/rs6000/freebsd-unwind.h: New file.
6990         * config/rs6000/t-freebsd64: New file.
6992 2012-03-20  Richard Guenther  <rguenther@suse.de>
6994         PR gcov-profile/52627
6995         * libgcov.c (init_mx): Fix mutex name.
6997 2012-03-16  Tristan Gingold  <gingold@adacore.com>
6999         * config/ia64/vms-unwind.h: Remove ulong (and replace
7000         it by unw_reg where used).  Define unw_reg with __int64.
7002 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7004         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7005         Solaris 8 handling.
7006         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7007         Solaris 8 handling.
7008         (sparc_is_sighandler): Likewise.
7010 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
7012         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7013         <= saved reg size.
7015 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7017         * config/arm/crtn.S: Fix typo.
7019 2012-03-13  Richard Guenther  <rguenther@suse.de>
7021         * libgcov.c: Remove stdio.h include and NULL un-define.
7023 2012-03-13  Richard Guenther  <rguenther@suse.de>
7025         PR target/52569
7026         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7028 2012-03-13  Richard Guenther  <rguenther@suse.de>
7030         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7032 2012-03-13  Richard Guenther  <rguenther@suse.de>
7034         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7035         and __gthread_mutex_init_function definitions.
7037 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7039         * config.host (mips*-*-openbsd*): Remove.
7041 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7043         * config.host: Remove alpha*-dec-osf5.1* handling.
7044         * config/alpha/gthr-posix.c: Remove.
7045         * config/alpha/libgcc-osf5.ver: Remove.
7046         * config/alpha/osf5-unwind.h: Remove.
7047         * config/alpha/t-osf-pthread: Remove.
7048         * config/alpha/t-slibgcc-osf: Remove.
7049         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7050         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7051         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7052         * mkmap-flat.awk: Remove osf_export handling.
7054 2012-03-12  Richard Guenther  <rguenther@suse.de>
7056         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7057         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7058         (__gthread_mutex_init_function): New function.
7059         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7061         PR gcov/49484
7062         * libgcov.c: Include gthr.h.
7063         (__gcov_flush_mx): New global variable.
7064         (init_mx, init_mx_once): New functions.
7065         (__gcov_flush): Protect self with a mutex.
7066         (__gcov_fork): Re-initialize mutex after forking.
7067         * unwind-dw2-fde.c: Change condition under which to use
7068         __GTHREAD_MUTEX_INIT_FUNCTION.
7070 2012-03-12  Tristan Gingold  <gingold@adacore.com>
7072         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7073         * config/ia64/t-vms: Likewise.
7075 2012-03-11  Michael Hope  <michael.hope@linaro.org>
7077         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7078         for Thumb-2.
7080 2012-03-07  Walter Lee  <walt@tilera.com>
7082         * config/tilepro/atomic.c: Rename "atomic_" prefix to
7083         "arch_atomic_".
7084         (atomic_xor): Rename and move definition to
7085         config/tilepro/atomic.h.
7086         (atomic_nand): Ditto.
7087         * config/tilepro/atomic.h: Rename "atomic_" prefix to
7088         "arch_atomic_".
7089         (arch_atomic_xor): Move from config/tilepro/atomic.c.
7090         (arch_atomic_nand): Ditto.
7092 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7094         PR target/52507
7095         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7097 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7099         PR target/52505
7100         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7101         from RAM.
7103 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
7105         PR target/52461
7106         PR target/52508
7107         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7108         if RAMPZ affects reading from RAM.
7109         (__tablejump_elpm__): Ditto.
7110         (.xload): Ditto.
7111         (__movmemx_hi): Ditto.
7112         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7113         (__do_global_dtors): Ditto.
7114         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7115         (__movmemx_hi): Ditto.
7117 2012-03-05  Richard Henderson  <rth@redhat.com>
7119         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7120         [ARM] (count_trailing_zeros): Use the builtin.
7122 2012-03-01  Kai Tietz  <ktietz@redhat.com>
7124         * soft-fp: Imported from glibc upstream.
7126 2012-02-28  Kai Tietz  <ktietz@redhat.com>
7128         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7129         for mingw-targets as attribute gcc_struct.
7131 2012-02-28  Ian Lance Taylor  <iant@google.com>
7133         * generic-morestack.c (__splitstack_releasecontext): Correct call
7134         to __morestack_release_segments.
7136 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7138         PR target/52390
7139         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7140         for __linux__ when removing signals from __morestack_fullmask.
7142 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
7144         PR target/52261
7145         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7147 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7149         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7150         instead of HAVE_INITFINI_ARRAY.
7151         * config/ia64/crtend.S: Likewise.
7153 2012-02-20  Kai Tietz  <ktietz@redhat.com>
7155         PR libstdc++/52300
7156         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7158         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7159         to w32-unwind.h header.
7161 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7163         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7164         (mips*-*-linux*): Remove t-slibgcc-libgcc.
7165         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7166         * config/mips/mips16.S (__mips16_rdhwr): Delete.
7168 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
7170         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7172 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7174         PR libitm/52220
7175         * config/darwin-crt-tm.c: Correct typo.
7177 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7178             Patrick Marlier  <patrick.marlier@gmail.com>
7180         PR libitm/52220
7181         * config/darwin-crt-tm.c: Generate dummy functions.
7183 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
7184             Patrick Marlier  <patrick.marlier@gmail.com>
7186         PR libitm/52042
7187         * config/darwin-crt-tm.c (getTMCloneTable): New function.
7188         (__doTMRegistrations): Call it.
7189         (__doTMdeRegistrations): Likewise.
7191 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
7192             Anatoly Sokolov  <aesok@post.ru>
7193             Eric Weddington  <eric.weddington@atmel.com>
7195         PR target/52261
7196         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7197         (__epilogue_restores__): Ditto.
7199 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
7201         PR target/51921
7202         PR target/52205
7203         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7204         Solaris 11 and slightly reformat.
7205         (sparc_is_sighandler): Likewise.
7207 2012-02-14  Walter Lee  <walt@tilera.com>
7209         * config.host: Handle tilegx and tilepro.
7210         * config/tilegx/sfp-machine.h: New file.
7211         * config/tilegx/sfp-machine32.h: New file.
7212         * config/tilegx/sfp-machine64.h: New file.
7213         * config/tilegx/t-crtstuff: New file.
7214         * config/tilegx/t-softfp: New file.
7215         * config/tilegx/t-tilegx: New file.
7216         * config/tilepro/atomic.c: New file.
7217         * config/tilepro/atomic.h: New file.
7218         * config/tilepro/linux-unwind.h: New file.
7219         * config/tilepro/sfp-machine.h: New file.
7220         * config/tilepro/softdivide.c: New file.
7221         * config/tilepro/softmpy.S: New file.
7222         * config/tilepro/t-crtstuff: New file.
7223         * config/tilepro/t-tilepro: New file.
7225 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
7227         PR libstdc++/51296
7228         PR libstdc++/51906
7229         * gthr-posix.h: Allow static initializer macros to be disabled.
7230         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7232 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7234         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7235         Add t-slibgcc-libgcc to tmake_file.
7236         * config/mips/libgcc-mips16.ver: Revert previous patch.
7237         * config/mips/mips16.S (__mips16_rdhwr): Hide.
7239 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
7240             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
7242         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7243         * config/cr16/crti.S: New file.
7244         * config/cr16/crtlibid.S: New file.
7245         * config/cr16/crtn.S: New file.
7246         * config/cr16/lib1funcs.S: New file.
7247         * config/cr16/t-cr16: New file.
7248         * config/cr16/t-crtlibid: New file.
7249         * config/cr16/unwind-dw2.h: New file.
7250         * config/cr16/unwind-cr16.c: New file.
7251         * config/cr16/divmodhi3.c: New file.
7253 2012-01-25  Alan Modra  <amodra@gmail.com>
7255         * config/rs6000/t-linux64: Delete.  Move..
7256         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7257         * config/rs6000/t-linux: ..and libgcc flags to here.
7259 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
7261         * config.host (i[34567]86-*-interix3*):
7262         Change triplet to i[34567]86-*-interix[3-9]*.
7263         * configure: Regenerate.
7265 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
7266             Richard Sandiford  <rdsandiford@googlemail.com>
7268         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7269         * config/mips/mips16.S (__mips16_rdhwr): New function.
7270         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7272 2012-01-11  Nathan Sidwell  <nathan@acm.org>
7274         * libgcov.c (__gcov_init): Ignore objects with no functions.
7276 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
7278         PR target/49868
7279         Extend __pgmx semantics to linearize memory.
7280         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7281         * config/avr/lib1funcs.S (__xload_1): New function.
7282         (__movmemx_qi, __movmemx_hi): New functions.
7283         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7284         semantics.
7286 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7288         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7289         purported sigacthandler address isn't null before dereferencing it.
7290         (sparc_is_sighandler): Likewise.
7292 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
7294         PR ada/41929
7295         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7296         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
7297         (sparc_is_sighandler): Likewise.
7298         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7300 2012-01-06  Tristan Gingold  <gingold@adacore.com>
7302         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7303         compatibility thunks...
7304         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7305         (crtbeginS.o, crtendS.o): ... and these to ...
7306         * config/ia64/t-ia64-elf: ... this new file.
7307         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7308         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7310 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7312         * configure: Regenerate.
7313         * config/s390/t-crtstuff: Remove -fPIC.
7315 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7317         PR bootstrap/51006
7318         * enable-execute-stack-mprotect.c (getpagesize): Do not define
7319         for NetBSD.
7321 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7323         PR target/51345
7324         * config/avr/lib1funcs.S: Remove FIXME comments.
7325         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7327 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7329         Implement light-weight DImode support.
7330         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7331         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7332         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7333         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7335 2011-12-30  Nathan Sidwell  <nathan@acm.org>
7337         * libgcov.c (gcov_crc32): Remove global var.
7338         (free_fn_data): New function.
7339         (buffer_fn_data): Pass in filename, more robust error recovery.
7340         (crc32_unsigned): New function.
7341         (gcov_exit): More robust detection of new program. More robust
7342         error recovery.
7343         (__gcov_init): Do not update program's crc here.
7345 2011-12-21  Tristan Gingold  <gingold@adacore.com>
7347         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7349 2011-12-21  Ian Lance Taylor  <iant@google.com>
7351         * config/i386/morestack.S: Simplify CFI opcodes throughout.
7353 2011-12-20  Ian Lance Taylor  <iant@google.com>
7355         * config/i386/morestack.S (__morestack_non_split): If there is
7356         enough stack space already, don't split.  Ask for more stack space
7357         than we required.
7359 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7361         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7362         `sys/sdt.h'.
7363         (_Unwind_DebugHook): New function.
7364         (uw_restore_core_regs): New define.
7365         (unwind_phase2): Use uw_restore_core_regs instead of
7366         restore_core_regs.
7367         (unwind_phase2_forced): Likewise.
7368         (__gnu_Unwind_Resume): Likewise.
7370 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
7372         * config/alpha/linux-unwind.h: Update copyright years.
7373         (MD_FROB_UPDATE_CONTEXT): New define.
7374         (alpha_frob_update_context): New function.
7376 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
7378         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7379         tmake_file rather replacing it.
7381 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
7383         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7384         function is not used for PPC64.
7385         (save_world): Amend comments.  Update the VRsave mask to reflect the
7386         saved regs.
7387         (rest_world): Update comments, do not  clobber r10, do not use r8.
7388         (eh_rest_world_r10): Amend comments, do not use r8.
7389         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7390         no longer used, move restore of CR and target address to the end of
7391         the routine.
7393 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
7395         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7396         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7398 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
7400         PR target/49313
7401         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7402         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7404 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
7406         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7408 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
7410         PR target/49313
7411         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7412         * config/avr/lib1funcs.S (__muldi3): New function.
7414 2011-12-06  Andrew Pinski  <apinski@cavium.com>
7416         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7417         size of func_ptr.
7418         (__frame_dummy_init_array_entry): Likewise.
7420 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
7422         Forward-port from gcc-4_6-branch r181936 2011-12-02.
7424         PR target/51345
7425         PR target/51002
7426         * config/avr/lib1funcs.S (__prologue_saves__,
7427         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7428         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
7430 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
7432         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7434 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7436         PR other/51272
7437         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7438         (_ITM_deregisterTMCloneTable): Likewise.
7439         (__register_frame_info): Fix unused warning.
7440         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7441         pthread_default_stacksize_np): Likewise.
7442         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7444 2011-11-29  DJ Delorie  <dj@redhat.com>
7446         * config.host (rl78-*-elf): New case.
7447         * config/rl78: New directory for the Renesas RL78.
7449 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
7451         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
7452         formatting.
7454 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7456         PR other/51022
7457         * config/rs6000/t-savresfgpr: New file.
7458         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7459         $(srcdir)/config/rs6000/eabi.S.
7460         * config/rs6000/t-ppccomm-ldbl: Remove.
7461         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7462         tmake_file.
7463         (powerpc-*-eabispe*): Likewise.
7464         (powerpc-*-eabi*): Likewise.
7465         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7466         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7467         to tmake_file, remove rs6000/t-ppccomm-ldbl.
7468         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7469         tmake_file.
7470         (powerpc-*-eabisim*): Likewise.
7471         (powerpc-*-elf*): Likewise.
7472         (powerpc-*-eabialtivec*): Likewise.
7473         (powerpc-xilinx-eabi*): Likewise.
7474         (powerpc-*-rtems*): Likewise.
7475         (powerpcle-*-elf*): Likewise.
7476         (powerpcle-*-eabisim*): Likewise.
7477         (powerpcle-*-eabi*): Likewise.
7479 2011-11-27  Ian Lance Taylor  <iant@google.com>
7481         * generic-morestack.c (__splitstack_find): Check for NULL old
7482         stack value.
7483         (__splitstack_resetcontext): New function.
7484         (__splitstack_releasecontext): New function.
7485         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7487 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7489         * config/darwin-crt-tm.c: Correct comments, use correct licence.
7491 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7493         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7495 2011-11-26  Richard Henderson  <rth@redhat.com>
7497         * config/m68k/linux-atomic.c: New file.
7498         * config/m68k/t-linux: New file.
7499         * config.host (m68k-uclinux, m68k-linux): Use it.
7501 2011-11-26  Richard Henderson  <rth@redhat.com>
7503         * crtstuff.c (__TMC_LIST__): Mark used not unused.
7504         (__TMC_END__): Only declare if hidden is available; in the definition,
7505         if hidden is unavailable add a null record.
7506         (deregister_tm_clones, register_tm_clones): New.
7507         (__do_global_dtors_aux, frame_dummy): Use them.
7508         (__do_global_dtors, __do_global_ctors_1): Likewise.
7510 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
7512         * config/darwin-crt-tm.c: New file.
7513         * config.host (darwin): Build crttms.o crttme.o to provide
7514         startup and shutdown for tm clones.
7515         * config/t-darwin (crttms.o): New build rule.
7516         (crttme.o): Likewise.
7518 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
7520         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7521         et al.
7523 2011-11-21  Richard Henderson  <rth@redhat.com>
7525         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7526         (__TMC_LIST__, __TMC_END__): New.
7527         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7528         (__do_global_dtors): Likewise.
7529         (frame_dummy): Call _ITM_registerTMCloneTable.
7530         (__do_global_ctors_1): Likewise.
7532 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7534         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7535         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7536         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7537         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7538         * config/i386/t-darwin64: Remove.
7539         * config/sh/t-netbsd (LIB2ADD): Remove.
7541 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
7543         PR target/49313
7544         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7545         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7546         * config/avr/lib1funcs.S (wmov): New assembler macro.
7547         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7548         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7549         (__udivmod64): New function.
7550         (__negdi2): New function.
7552 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
7554         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7555         *-*-freebsd*aout*): Remove.
7557 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
7559         * static-object.mk (c_flags-$o): Save c_flags.
7560         ($(base)$(objext)): Use it.
7562 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
7564         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7566 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
7568         PR target/49868
7569         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7570         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7571         New functions.
7573 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7575         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7576         functions.
7577         (aeabi_uidivmod): Likewise.
7578         (umodsi3): Likewise.
7579         (divsi3): Likewise.
7580         (aeabi_idivmod): Likewise.
7581         (modsi3): Likewise.
7583 2011-11-16  Tristan Gingold  <gingold@adacore.com>
7585         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7587 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
7589         PR target/49868
7590         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
7591         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7593 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7595         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7596         tmake_file list.
7597         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7598         * config/pa/t-stublib64: Delete.
7600 2011-11-12  Richard Henderson  <rth@redhat.com>
7602         * config/rs6000/linux-unwind.h (frob_update_context): Properly
7603         cast the pointer argument to _Unwind_SetGRPtr.
7605 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7607         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7609 2011-11-09  Ian Lance Taylor  <iant@google.com>
7611         * generic-morestack.c: Include <string.h>.
7612         (uintptr_type): Define.
7613         (struct initial_sp): Add dont_block_signals field.  Reduce size of
7614         extra array by 1.
7615         (allocate_segment): Set prev field to NULL.  Don't set
7616         __morestack_current_segment or __morestack_segments.
7617         (__generic_morestack): Update current->prev and *pp after calling
7618         allocate_segment.
7619         (__morestack_block_signals): Don't do anything if
7620         dont_block_signals is set.
7621         (__morestack_unblock_signals): Likewise.
7622         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
7623         uintptr_type.
7624         (__splitstack_block_signals): New function.
7625         (enum __splitstack_content_offsets): Define.
7626         (__splitstack_getcontext, __splitstack_setcontext): New functions.
7627         (__splitstack_makecontext): New function.
7628         (__splitstack_block_signals_context): New function.
7629         (__splitstack_find_context): New function.
7630         * config/i386/morestack.S (__morestack_get_guard): New function.
7631         (__morestack_set_guard, __morestack_make_guard): New functions.
7632         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7634 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7636         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7637         (i[34567]86-*-mingw*): ... here.
7638         (x86_64-*-mingw*): ... here.
7640 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7642         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7644 2011-11-07  Nathan Sidwell  <nathan@acm.org>
7646         * libgcov.c (struct gcov_fn_buffer): New struct.
7647         (buffer_fn_data): New helper.
7648         (gcov_exit): Rework for new gcov data structures.
7650 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
7652         PR target/49313
7653         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7655 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7657         * config.host (tmake_file): Correct comment.
7658         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7659         t-libgcc-pic.
7660         (bfin*-uclinux*): Likewise.
7661         (bfin*-linux-uclibc*): Likewise.
7662         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7664         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7665         assigning.
7666         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7667         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7668         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7669         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7670         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7671         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7672         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7673         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7674         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7675         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7676         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7677         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7678         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7680         * config/bfin/t-elf: Remove.
7681         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7683 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7685         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7686         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7687         (lm32-*-elf*, lm32-*-rtems*): Split into ...
7688         (lm32-*-elf*): ... this.
7689         (lm32-*-rtems*): ... and this.
7690         Add to tmake_file.
7691         (m32r-*-rtems*): Add to tmake_file.
7692         (moxie-*-rtems*): Likewise.
7693         (sparc-*-rtems*): Likewise.
7694         Remove t-rtems from tmake_file.
7695         (sparc64-*-rtems*): Likewise.
7696         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7697         instead.
7699 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7701         PR bootstrap/50982
7702         * config/gthr-posix.h: Move ...
7703         * gthr-posix.h: ... here.
7704         * config/gthr-lynx.h: Reflect this.
7705         * config/gthr-vxworks.h: Likewise.
7706         * config/rs6000/gthr-aix.h: Likewise.
7707         * configure.ac (target_thread_file): Likewise.
7708         * configure: Regenerate.
7710 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7712         * config.host (arm*-*-rtemseabi*): New target.
7714 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7716         PR other/50991
7717         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7718         extra-parts.
7720 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
7722         * config.host (epiphany-*-elf*): New configuration.
7723         * config/epiphany: New Directory.
7725 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
7727         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7728         * config/avr/t-rtems: New.
7729         Filter out _exit from LIB1ASMFUNCS.
7731 2011-11-04  David S. Miller  <davem@davemloft.net>
7733         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7734         * configure: Rebuild.
7736 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7738         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7739         variable.
7741 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
7743         PR target/50931
7744         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7745         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7747 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
7749         PR target/50989
7750         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7752 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7754         * config/c6x/t-elf (LIB2ADDEH): Set.
7755         * config/c6x/t-c6x-elf: Remove.
7757 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7759         * config/i386/sol2-ci.S: Rename to ...
7760         * config/i386/crti.S: ... this.
7761         * config/i386/sol2-cn.S: Rename to ...
7762         * config/i386/crtn.S: ... this.
7763         * config/sparc/sol2-ci.S: Rename to ...
7764         * config/sparc/crti.S: ... this.
7765         * config/sparc/sol2-cn.S: Rename to ...
7766         * config/sparc/crtn.S: ... this.
7767         * config/t-sol2 (CUSTOM_CRTIN): Remove.
7768         (crti.o, crtn.o): Remove.
7770 2011-11-04  Tristan Gingold  <gingold@adacore.com>
7772         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7774 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7776         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7778 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
7780         * config.host (crisv32-*-none, cris-*-none): Remove.
7781         (crisv32-*-elf): Append to tmake_file, don't just set it.
7782         (cris-*-elf): Add missing t-fdpbit to tmake_file.
7784 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7786         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7787         (ecrtn$(objext)): Likewise.
7788         (ncrti$(objext)): Likewise.
7789         (ncrtn$(objext)): Likewise.
7791 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7793         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7795 2011-11-02  David S. Miller  <davem@davemloft.net>
7797         * configure.ac: Set host_address on sparc too.
7798         * configure: Regenerate.
7799         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7800         based upon host_address.
7801         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7803 2011-11-02  Jason Merrill  <jason@redhat.com>
7805         * config/rs6000/t-ppccomm: Add missing \.
7807 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7809         * gthr-single.h, gthr.h: New files.
7810         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7811         config/gthr-vxworks.h, config/i386/gthr-win32.h,
7812         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7813         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7814         * config/i386/gthr-win32.c: Include "gthr-win32.h".
7815         * configure.ac (thread_header): New variable.
7816         Set it depending on target_thread_file.
7817         (gthr-default.h): Link from $thread_header.
7818         * configure: Regenerate.
7819         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7821 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7823         * configure.ac (tm_file_): New variable.
7824         Determine from tm_file.
7825         (tm_file, tm_defines): Substitute.
7826         * configure: Regenerate.
7827         * mkheader.sh: New file.
7828         * Makefile.in (clean): Remove libgcc_tm.h.
7829         ($(objects)): Depend on libgcc_tm.h.
7830         (libgcc_tm_defines, libgcc_tm_file): New variables.
7831         (libgcc_tm.h, libgcc_tm.stamp): New targets.
7832         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7833         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7834         ($(extra-parts)): Depend on libgcc_tm.h.
7835         * config.host (tm_defines, tm_file): New variable.
7836         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7837         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7838         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7839         (avr-*-rtems*): Likewise.
7840         (avr-*-*): Likewise.
7841         (frv-*-elf): Likewise.
7842         (frv-*-*linux*): Likewise.
7843         (h8300-*-rtems*): Likewise.
7844         (h8300-*-elf*): Likewise.
7845         (i[34567]86-*-darwin*): Likewise.
7846         (x86_64-*-darwin*): Likewise.
7847         (rx-*-elf): Likewise.
7848         (tic6x-*-uclinux): Likewise.
7849         (tic6x-*-elf): Likewise.
7850         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7851         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7852         * config/i386/cygming-crtbegin.c: Likewise.
7853         * config/i386/cygming-crtend.c: Likewise.
7854         * config/ia64/fde-vms.c: Likewise.
7855         * config/ia64/unwind-ia64.c: Likewise.
7856         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7857         * config/rs6000/darwin-fallback.c: Likewise.
7858         * config/stormy16/lib2funcs.c: Likewise.
7859         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7860         * crtstuff.c: Likewise.
7861         * dfp-bit.h: Likewise.
7862         * emutls.c: Likewise.
7863         * fixed-bit.c: Likewise.
7864         * fp-bit.c: Likewise.
7865         * generic-morestack-thread.c: Likewise.
7866         * generic-morestack.c: Likewise.
7867         * libgcc2.c: Likewise.
7868         * libgcov.c: Likewise.
7869         * unwind-dw2-fde-dip.c: Likewise.
7870         * unwind-dw2-fde.c: Likewise.
7871         * unwind-dw2.c: Likewise.
7872         * unwind-sjlj.c: Likewise.
7874 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7876         * configure.ac: Include ../config/picflag.m4.
7877         (GCC_PICFLAG): Call it.
7878         Substitute.
7879         * configure: Regenerate.
7880         * Makefile.in (gcc_srcdir): Remove.
7881         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7882         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7883         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7884         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7885         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7886         Use $<.
7887         Remove comment.
7888         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7889         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7890         to refer to libgcc2.c.
7891         Use $<.
7892         * config/darwin-64.c: New file.
7893         * config/darwin-crt3.c: Remove comment.
7894         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7895         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7896         config/udivmodsi4.c: New files.
7897         * config/memcmp.c, config/memcpy.c, config/memmove.c,
7898         config/memset.c: New files.
7899         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7900         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7901         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7902         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7903         * config/t-openbsd-thread: New file.
7904         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7905         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7906         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7907         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7908         qrnnd.S.
7909         Adapt filename.
7910         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7911         to refer to gthr-posix.c.
7912         * config/alpha/t-vms (LIB2ADD): Set.
7913         * config/alpha/vms-gcc_shell_handler.c: New file.
7914         * config/arm/bpabi.c, config/arm/fp16.c,
7915         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7916         config/arm/unaligned-funcs.c: New files.
7917         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7918         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7919         * config/arm/t-linux: Likewise.
7920         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7921         * config/arm/t-netbsd: New file.
7922         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7923         * config/arm/t-symbian (LIB2ADD_ST): Set.
7924         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7925         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7926         * config/bfin/t-elf: New file.
7927         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7928         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7929         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7930         config/c6x/ltf.c: New files.
7931         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7932         (HOST_LIBGCC2_CFLAGS): Set.
7933         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7934         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7935         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7936         New files.
7937         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7938         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7939         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7940         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7941         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7942         files.
7943         * config/frv/t-frv (LIB2ADD): Set.
7944         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7945         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7946         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7947         config/h8300/popcounthi2.c: New files.
7948         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7949         * config/i386/gthr-win32.c: New file.
7950         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7951         * config/i386/t-cygwin: Likewise.
7952         * config/i386/t-darwin, config/i386/t-darwin64,
7953         config/i386/t-gthr-win32, config/i386/t-interix: New files.
7954         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7955         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7956         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7957         * config/ia64/quadlib.c: New file.
7958         * config/ia64/t-hpux (LIB2ADD): Set.
7959         * config/ia64/t-ia64: Add comment.
7960         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7961         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7962         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7963         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7964         * config/m32c/t-m32c (LIB2ADD): Set.
7965         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7966         * config/m32r/t-m32r: Likewise.
7967         * config/m68k/fpgnulib.c: New file.
7968         * config/m68k/t-floatlib (LIB2ADD): Set.
7969         (xfgnulib.c): New target.
7970         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7971         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7972         * config/mep/t-mep (LIB2ADD): Set.
7973         * config/microblaze/divsi3.asm: Rename to divsi3.S.
7974         * config/microblaze/moddi3.asm: Rename to moddi3.S.
7975         * config/microblaze/modsi3.asm: Rename to modsi3.S.
7976         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7977         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7978         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7979         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7980         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7981         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7982         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7983         New files.
7984         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7985         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7986         * config/pa/fptr.c, config/pa/lib2funcs.S,
7987         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7988         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7989         (LIB2ADD, LIB2ADD_ST): Set.
7990         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7991         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7992         Set.
7993         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7994         * config/pdp11/t-pdp11: New file.
7995         * config/picochip/libgccExtras/adddi3.S,
7996         config/picochip/libgccExtras/ashlsi3.S,
7997         config/picochip/libgccExtras/ashrsi3.S,
7998         config/picochip/libgccExtras/clzsi2.S,
7999         config/picochip/libgccExtras/cmpsi2.S,
8000         config/picochip/libgccExtras/divmod15.S,
8001         config/picochip/libgccExtras/divmodhi4.S,
8002         config/picochip/libgccExtras/divmodsi4.S,
8003         config/picochip/libgccExtras/lshrsi3.S,
8004         config/picochip/libgccExtras/parityhi2.S,
8005         config/picochip/libgccExtras/popcounthi2.S,
8006         config/picochip/libgccExtras/subdi3.S,
8007         config/picochip/libgccExtras/ucmpsi2.S,
8008         config/picochip/libgccExtras/udivmodhi4.S,
8009         config/picochip/libgccExtras/udivmodsi4.S: New files.
8010         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8011         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8012         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8013         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8014         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8015         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8016         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
8017         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8018         files.
8019         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8020         (HOST_LIBGCC2_CFLAGS): Set.
8021         * config/rs6000/t-darwin64: New file.
8022         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8023         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8024         * config/rs6000/t-ppccomm (LIB2ADD): Add
8025         $(srcdir)/config/rs6000/tramp.S.
8026         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8027         Add  $(srcdir)/config/rs6000/eabi.S.
8028         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8029         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8030         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8031         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8032         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8033         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8034         * config/rs6000/tramp.S: New file.
8035         * config/s390/t-tpf: Remove.
8036         * config/sh/linux-atomic.S: New file.
8037         * config/sh/t-linux (LIB2ADD): Set.
8038         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8039         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8040         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8041         to unwind-dw2.c.
8042         (HOST_LIBGCC2_CFLAGS): Set.
8043         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8044         * config/spu/divmodti4.c, config/spu/divv2df3.c,
8045         config/spu/float_disf.c, config/spu/float_unsdidf.c,
8046         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8047         config/spu/mfc_multi_tag_release.c,
8048         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8049         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8050         config/spu/multi3.c: New files.
8051         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8052         (HOST_LIBGCC2_CFLAGS): Set.
8053         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8054         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8055         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8056         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8057         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8058         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8059         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8060         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8061         config/stormy16/umodsi3.c: New files.
8062         * config/xtensa/lib2funcs.S: New file.
8063         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8064         * config/xtensa/t-xtensa (LIB2ADD): Set.
8065         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8066         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8067         Add t-freebsd-thread to tmake_file for posix threads.
8068         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8069         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8070         (*-*-lynxos*): Likewise.
8071         (*-*-netbsd*): Likewise.
8072         (*-*-openbsd*): Likewise.
8073         Add t-openbsd-thread to tmake_file for posix threads.
8074         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8075         (*-*-vxworks*): Set tmake_file.
8076         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8077         (alpha*-*-freebsd*): Likewise.
8078         (alpha*-*-netbsd*): Likewise.
8079         (alpha*-*-openbsd*): Likewise.
8080         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8081         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8082         (alpha*-dec-*vms*): Likewise.
8083         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8084         (bfin*-elf*): Add bfin/t-elf to tmake_file.
8085         (bfin*-uclinux*): Likewise.
8086         (bfin*-linux-uclibc*): Likewise.
8087         (crisv32-*-elf): Add cris/t-cris to tmake_file.
8088         (crisv32-*-none): Likewise.
8089         (cris-*-elf): Likewise.
8090         (cris-*-none): Likewise.
8091         (cris-*-linux*, crisv32-*-linux*): Likewise.
8092         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8093         tmake_file.
8094         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8095         tmake_file.
8096         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8097         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8098         (x86_64-*-elf*): Likewise.
8099         (i[34567]86-*-nto-qnx*): Likewise.
8100         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8101         win32 threads.
8102         (x86_64-*-mingw*): Likewise.
8103         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8104         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8105         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8106         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8107         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8108         tmake_file.
8109         (mipsisa64sr71k-*-elf*): Likewise.
8110         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8111         (mips-*-elf*, mipsel-*-elf*): Likewise.
8112         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8113         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8114         (mips*-*-rtems*): Likewise.
8115         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8116         to tmake_file.
8117         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8118         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8119         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8120         (spu-*-elf*): Likewise.
8121         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8123 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8125         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8126         $(srcdir) to refer to $(LIB1ASMSRC).
8127         Use $<.
8128         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8129         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8130         config/arm/lib1funcs.S: New files.
8131         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8132         * config/arm/t-arm: New file.
8133         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8134         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8135         config/arm/t-strongarm-elf: New files.
8136         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8137         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8138         * config/avr/lib1funcs.S: New file.
8139         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8140         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8141         * config/c6x/lib1funcs.S: New file.
8142         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8143         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8144         * config/frv/lib1funcs.S: New file.
8145         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8146         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8147         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8148         * config/ia64/__divxf3.asm: Rename to ...
8149         * config/ia64/__divxf3.S: ... this.
8150         Adapt lib1funcs.asm filename.
8151         * config/ia64/_fixtfdi.asm: Rename to ...
8152         * config/ia64/_fixtfdi.S: ... this.
8153         Adapt lib1funcs.asm filename.
8154         * config/ia64/_fixunstfdi.asm: Rename to ...
8155         * config/ia64/_fixunstfdi.S: ... this.
8156         Adapt lib1funcs.asm filename.
8157         * config/ia64/_floatditf.asm: Rename to ...
8158         * config/ia64/_floatditf.S: ... this.
8159         Adapt lib1funcs.asm filename.
8160         * config/ia64/lib1funcs.S: New file.
8161         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8162         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8163         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8164         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8165         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8166         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8167         * config/mep/lib1funcs.S: New file.
8168         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8169         * config/mips/mips16.S: New file.
8170         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8171         * config/pa/milli64.S: New file.
8172         * config/pa/t-linux, config/pa/t-linux64: New files.
8173         * config/picochip/lib1funcs.S: New file.
8174         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8175         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8176         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8177         * config/sh/t-netbsd: New file.
8178         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8179         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8180         * config/sh/t-sh64: New file.
8181         * config/sparc/lb1spc.S: New file.
8182         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8183         filename.
8184         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8185         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8186         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8187         config/xtensa/lib1funcs.S: New files.
8188         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8189         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8190         tmake_file.
8191         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8192         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8193         (arm*-*-linux*): Likewise.
8194         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8195         arm*-*-linux-*eabi, add arm/t-linux otherwise.
8196         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8197         (arm*-*-ecos-elf): Likewise.
8198         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8199         (arm*-*-rtems*): Likewise.
8200         (arm*-*-elf): Likewise.
8201         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8202         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8203         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8204         (bfin*-uclinux*): Likewise.
8205         (bfin*-linux-uclibc*): Likewise.
8206         (bfin*-rtems*): Likewise.
8207         (bfin*-*): Likewise.
8208         (fido-*-elf): Merge into m68k-*-elf*.
8209         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8210         (frv-*-*linux*): Add frv/t-frv to tmake_file.
8211         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8212         (h8300-*-elf*): Likewise.
8213         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8214         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8215         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8216         (i[34567]86-*-mingw*): Likewise.
8217         (x86_64-*-mingw*): Likewise.
8218         (i[34567]86-*-interix3*): Likewise.
8219         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8220         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8221         (m68k-*-elf*): Also handle fido-*-elf.
8222         Add m68k/t-floatlib to tmake_file.
8223         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8224         (m68k-*-linux*): Likewise.
8225         (m68k-*-rtems*): Likewise.
8226         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8227         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8228         sh64*-*-*.
8229         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8230         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8231         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8232         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8233         sh/t-netbsd to tmake_file.
8234         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8235         (sh-*-rtems*): Add sh/t-sh to tmake_file.
8236         (sh-wrs-vxworks): Likewise.
8237         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8238         *-leon[3-9]*.
8239         (v850*-*-*): Add v850/t-v850 to tmake_file.
8240         (vax-*-linux*): Add vax/t-linux to tmake_file.
8241         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8243 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8245         * crtstuff.c: New file.
8246         * Makefile.in (CRTSTUFF_CFLAGS): Define.
8247         (CRTSTUFF_T_CFLAGS): Define.
8248         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8249         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8250         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8251         crtstuff.c.
8252         Use $<.
8253         (crtbeginT.o): Use $(objext).
8254         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8255         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8256         (gcc-extra-parts): Remove.
8257         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8258         Set extra_parts.
8259         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8260         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8261         Add t-crtstuff-pic to tmake_file.
8262         (*-*-lynxos*): New case.
8263         Set tmake_file, extra_parts.
8264         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8265         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8266         *-*-netbsdelf[2-9]*.
8267         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8268         (*-*-rtems*): Set extra_parts.
8269         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8270         (*-*-uclinux*): New case.
8271         Set extra_parts.
8272         (*-*-vms*): New case.
8273         Set tmake_file, extra_parts.
8274         (*-*-elf): Set extra_parts.
8275         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8276         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8277         vms/t-vms64.
8278         Set extra_parts.
8279         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8280         Set extra_parts.
8281         (arm*-*-freebsd*): Add t-crtin to tmake_file.
8282         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8283         (arm-wrs-vxworks): Append to tmake_file.
8284         Set extra_parts.
8285         (arm*-*-uclinux*): Set extra_parts.
8286         (arm*-*-ecos-elf): Likewise.
8287         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8288         arm*-*-eabi*.
8289         (arm*-*-rtems*): Set extra_parts.
8290         (arm*-*-elf): Likewise.
8291         (avr-*-rtems*): Clear extra_parts.
8292         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8293         Set extra_parts.
8294         (bfin*-uclinux*): Likewise.
8295         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8296         (bfin*-rtems*): Append to tmake_file.
8297         Set extra_parts.
8298         (bfin*-*): Likewise.
8299         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8300         (crisv32-*-elf): ... this.
8301         (crisv32-*-none): ... this.
8302         (cris-*-elf, cris-*-none): New cases.
8303         Add cris/t-elfmulti to tmake_file.
8304         (fr30-*-elf): Append to tmake_file.
8305         Set extra_parts.
8306         (frv-*-elf): Append to tmake_file, add frv/t-frv.
8307         Set extra_parts.
8308         (h8300-*-rtems*): Append to tmake_file.
8309         Set extra_parts.
8310         (h8300-*-elf*): Likewise.
8311         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8312         Set extra_parts.
8313         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8314         Set extra_parts.
8315         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8316         (x86_64-*-elf*): Likewise.
8317         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8318         (x86_64-*-freebsd*): Likewise.
8319         (x86_64-*-netbsd*): Likewise.
8320         (i[34567]86-*-linux*): Likewise.
8321         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8322         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8323         (x86_64-*-linux*): Likewise.
8324         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8325         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8326         tmake_file.
8327         Set extra_parts.
8328         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8329         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8330         Append to extra_parts, remove crtbegin.o, crtend.o.
8331         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8332         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8333         crtend.o, crtbeginS.o, crtendS.o.
8334         (ia64*-*-linux*): Comment extra_parts.
8335         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8336         Set extra_parts.
8337         (iq2000*-*-elf*): Clear extra_parts.
8338         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8339         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8340         (m32r-*-elf*, m32r-*-rtems*): Split off ...
8341         (m32r-*-rtems*): ... this.
8342         Add m32r/t-m32r to tmake_file.
8343         (m68k-*-elf*): Add t-crtin to tmake_file.
8344         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8345         (mcore-*-elf): Likewise.
8346         (microblaze*-*-*): Set extra_parts.
8347         (mips*-sde-elf*): New case.
8348         Set tmake_file, extra_parts.
8349         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8350         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8351         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8352         tmake_file.
8353         Set extra_parts.
8354         (mipsisa64sr71k-*-elf*): Likewise.
8355         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8356         (mips-*-elf*, mipsel-*-elf*): Likewise.
8357         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8358         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8359         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
8360         (mips*-*-rtems*): Likewise.
8361         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8362         (moxie-*-*): Split into ...
8363         (moxie-*-elf, moxie-*-uclinux*): ... this.
8364         Add to extra_parts, remove crtbegin.o, crtend.o.
8365         (moxie-*-rtems*): New case.
8366         Set tmake_file.
8367         Clear extra_parts.
8368         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8369         Set extra_parts.
8370         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8371         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8372         tmake_file.
8373         Set extra_parts.
8374         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8375         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8376         Set extra_parts.
8377         (powerpc-*-eabisim*): Likewise.
8378         (powerpc-*-elf*): Likewise.
8379         (powerpc-*-eabialtivec*): Likewise.
8380         (powerpc-xilinx-eabi*): Likewise.
8381         (powerpc-*-eabi*): Likewise.
8382         (powerpc-*-rtems*): Likewise.
8383         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8384         tmake_file.
8385         Set extra_parts.
8386         (powerpc-*-lynxos*): Add to tmake_file.
8387         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8388         rs6000/t-crtstuff, t-crtstuff-pic.
8389         Set extra_parts.
8390         (powerpcle-*-eabisim*): Likewise.
8391         (powerpcle-*-eabi*): Likewise.
8392         (rx-*-elf): Remove extra_parts.
8393         (s390x-ibm-tpf*): Set extra_parts.
8394         (score-*-elf): Set extra_parts.
8395         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8396         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8397         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8398         (sh64l*-*-netbsd*): Split into ...
8399         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8400         Add t-crtstuff-pic to tmake_file.
8401         Set extra_parts.
8402         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8403         Set extra_parts.
8404         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8405         (sparc-*-elf*): Remove t-crtin from tmake_file.
8406         Add to extra_parts, remove crtbegin.o, crtend.o.
8407         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8408         (sparc64-*-linux*): Likewise.
8409         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8410         Add to extra_parts, remove crtbegin.o, crtend.o.
8411         (sparc64-*-elf*): Remove t-crtin from tmake_file.
8412         Add to extra_parts, remove crtbegin.o, crtend.o.
8413         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8414         Add to extra_parts, remove crtbegin.o, crtend.o.
8415         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8416         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8417         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8418         Set extra_parts.
8419         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8420         Set extra_parts.
8421         (tic6x-*-*): Change to ...
8422         (tic6x-*-elf): ... this.
8423         Set extra_parts.
8424         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8425         Set extra_parts.
8426         (am33_2.0-*-linux*): Add comment.
8427         (mep*-*-*): Add mep/t-mep to tmake_file.
8428         Set extra_parts.
8429         * config/alpha/t-vms: New file.
8430         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8431         * config/arm/crti.S, config/arm/crtn.S: New files.
8432         * config/bfin/crti.S, config/bfin/crtn.S: New files.
8433         * config/bfin/crtlibid.S: New file.
8434         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8435         * config/c6x/crti.S, config/c6x/crtn.S: New files.
8436         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8437         (crti.o, crtin.o): New rules.
8438         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8439         * config/c6x/t-uclinux: New file.
8440         * config/cris/t-elfmulti: New file.
8441         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8442         * config/fr30/crti.S, config/fr30/crtn.S: New files.
8443         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8444         * config/frv/t-frv: New file.
8445         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8446         * config/h8300/crti.S, config/h8300/crtn.S: New files.
8447         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8448         New files.
8449         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8450         refer to cygming-crtbegin.c, cygming-crtend.c.
8451         Use $<.
8452         * config/i386/t-nto: New file.
8453         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8454         * config/ia64/crti.S, config/ia64/crtn.S: New files.
8455         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8456         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8457         Use .S extension.
8458         Use $<.
8459         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8460         (crtinitS.o): New rule.
8461         * config/ia64/vms-crtinit.S: New file.
8462         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8463         * config/m32r/initfini.c: New file.
8464         * config/m32r/t-linux, config/m32r/t-m32r: New files.
8465         * config/m68k/crti.S, config/m68k/crtn.S: New files.
8466         * config/mcore/crti.S, config/mcore/crtn.S: New files.
8467         * config/mep/t-mep: New file.
8468         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8469         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8470         * config/mips/crti.S, config/mips/crtn.S: New files.
8471         * config/mips/t-crtstuff: New file.
8472         * config/mmix/crti.S, config/mmix/crtn.S: New files.
8473         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8474         (CUSTOM_CRTIN): Set.
8475         ($(T)crti.o, $(T)crtn.o): Remove $(T),
8476         dependencies.
8477         Use $(srcdir) to refer to crti.S, crtn.S.
8478         Use .S extension, $<.
8479         * config/moxie/crti.asm: Rename to ...
8480         * config/moxie/crti.S: ... this.
8481         * config/moxie/crtn.asm: Rename to ...
8482         * config/moxie/crtn.S: ... this.
8483         * config/moxie/t-moxie: Remove.
8484         * config/pa/stublib.c: New file.
8485         * config/pa/t-stublib, config/pa/t-stublib64: New files.
8486         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8487         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8488         * config/rs6000/t-crtstuff: New file.
8489         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8490         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8491         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8492         Make output file explicit.
8493         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8494         Make output file explicit.
8495         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8496         Make output file explicit.
8497         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8498         Make output file explicit.
8499         * config/score/crti.S, config/score/crtn.S: New files.
8500         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8501         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8502         files.
8503         * config/sh/t-sh, config/sh/t-superh: New files.
8504         * config/sparc/t-linux64: New file.
8505         * config/spu/cache.S, config/spu/cachemgr.c: New files.
8506         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8507         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8508         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8509         * config/t-crtin: Remove.
8510         * config/t-crtstuff-pic: New file.
8511         * config/t-sol2 (CUSTOM_CRTIN): Set.
8512         (crti.o, crtn.o): New rules.
8513         * config/vms/t-vms: New file.
8514         * config/vms/vms-ucrt0.c: New file.
8515         * config/xtensa/t-elf: New file.
8517 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8519         * Makefile.in (SHLIB_NM_FLAGS): Set.
8520         * mkmap-flat.awk, mkmap-symver.awk: New files.
8521         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8522         exceptions.
8523         * configure: Regenerate.
8524         * config/libgcc-glibc.ver: New file.
8525         * config/libgcc-libsystem.ver: New file.
8526         * config/t-libunwind (SHLIB_LC): Set.
8527         * config/t-linux: New file.
8528         * config/t-slibgcc (INSTALL_SHLIB): New.
8529         (SHLIB_INSTALL): Use it.
8530         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8531         to mkmap-symver.awk.
8532         (SHLIB_MAPFILES): Don't append, adapt pathname.
8533         (SHLIB_VERPFX): Set.
8534         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8535         to mkmap-symver.awk.
8536         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8537         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8538         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8539         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8540         to mkmap-flat.awk.
8541         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8542         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8543         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8544         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8545         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8546         * config/i386/libgcc-darwin.10.4.ver,
8547         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8548         New files.
8549         * config/i386/t-darwin: Remove.
8550         * config/i386/t-darwin64: Likewise.
8551         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8552         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8553         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8554         * config/i386/t-linux: New file.
8555         * config/i386/t-mingw32: New file.
8556         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8557         * config/ia64/t-glibc: Rename to ...
8558         * config/ia64/t-linux: ... this.
8559         (SHLIB_MAPFILES): Set.
8560         * config/ia64/t-glibc-libunwind: Rename to ...
8561         * config/ia64/t-linux-libunwind: ... this.
8562         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8563         * config/ia64/t-slibgcc-hpux: New file.
8564         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8565         * config/m68k/t-slibgcc-elf-ver: New file.
8566         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8567         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8568         to mkmap-flat.awk.
8569         * config/pa/t-slibgcc-hpux: New file.
8570         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8571         files.
8572         * config/rs6000/libgcc-darwin.10.4.ver,
8573         config/rs6000/libgcc-darwin.10.5.ver: New files.
8574         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8575         config/rs6000/libgcc-glibc.ver.
8576         * config/rs6000/libgcc-ppc64.ver: Rename to
8577         config/rs6000/libgcc-ibm-ldouble.ver.
8578         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8579         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8580         * config/rs6000/t-ldbl128: Rename to ...
8581         * config/rs6000/t-linux: ... this.
8582         (SHLIB_MAPFILES): Adapt filename.
8583         * config/rs6000/t-slibgcc-aix: New file.
8584         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8585         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8586         libgcc-excl.ver, libgcc-glibc.ver.
8587         (SHLIB_LINK, SHLIB_INSTALL): Remove.
8588         * config/sparc/libgcc-glibc.ver: New file.
8589         * config/sparc/t-linux: New file.
8590         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8591         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8592         t-slibgcc-elf-ver to tmake_file.
8593         Add t-slibgcc-nolc-override to tmake_file for posix threads on
8594         *-*-freebsd[34].
8595         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8596         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8597         t-slibgcc-elf-ver, t-linux to tmake_file.
8598         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8599         tmake_file.
8600         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8601         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8602         (alpha*-dec-*vms*): Likewise.
8603         (arm*-*-freebsd*): Append to tmake_file.
8604         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8605         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8606         arm*-*-linux-*eabi.
8607         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8608         tmake_file for arm*-*-symbianelf*.
8609         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8610         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8611         cris/t-linux.
8612         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8613         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8614         pa/t-slibgcc-dwarf-ver to tmake_file.
8615         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8616         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8617         (hppa*64*-*-hpux11*): Likewise.
8618         (hppa[12]*-*-hpux11*): Likewise.
8619         (x86_64-*-darwin*): Don't override tmake_file, but only keep
8620         i386/t-crtpc, i386/t-crtfm.
8621         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8622         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8623         to tmake_file.
8624         Add i386/t-cygwin to tmake_file.
8625         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8626         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8627         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8628         to tmake_file.
8629         Add i386/t-mingw32 to tmake_file.
8630         (x86_64-*-mingw*): Likewise.
8631         (ia64*-*-freebsd*): Append to tmake_file.
8632         (ia64*-*-linux*): Append to tmake_file.
8633         Replace ia64/t-glibc by ia64/t-linux.
8634         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8635         system libunwind.
8636         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8637         t-slibgcc-hpux to tmake_file.
8638         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8639         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8640         (m32rle-*-linux*): Likewise.
8641         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8642         sjlj exceptions.
8643         (microblaze*-linux*): New case.
8644         Append to tmake_file, add t-slibgcc-nolc-override.
8645         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8646         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8647         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8648         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8649         rs6000/t-slibgcc-aix to tmake_file.
8650         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8651         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8652         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8653         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8654         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8655         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8656         sh*-*-linux*.
8657         (sparc-*-linux*): Append to tmake_file for *-leon*.
8658         Add sparc/t-linux to tmake_file for non-Leon targets.
8659         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8660         (tic6x-*-uclinux): New case.
8661         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8662         (tic6x-*-*): Add c6x/t-elf to tmake_file.
8663         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8664         (am33_2.0-*-linux*): Append to tmake_file.
8665         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8666         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8667         x86_64-*-kfreebsd*-gnu.
8668         Add i386/t-linux to tmake_file.
8670 2011-10-28  Ian Lance Taylor  <iant@google.com>
8672         * config/i386/morestack.S: Correct CFI information to do proper
8673         returns throughout function.  In 32-bit mode, save %ebx so that it
8674         is restored on unwind.
8676 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
8678         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8679         case where B3 isn't the return register.
8681         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8682         logic for doubleword pops.
8684 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
8686         * config/rs6000/t-freebsd: Add wildcard.
8688 2011-10-21  Paul Brook  <paul@codesourcery.com>
8690         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8692 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
8693             Eric Botcazou  <ebotcazou@adacore.com>
8695         PR target/50737
8696         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8697         fs->signal_frame to 1.
8699 2011-10-07  Ian Lance Taylor  <iant@google.com>
8701         * generic-morestack-thread.c: #include <errno.h>.
8703 2011-10-07  Ian Lance Taylor  <iant@google.com>
8705         PR target/46093
8706         * generic-morestack.c (__generic_morestack): Make sure the segment
8707         is large enough for both the stack frame and the copied
8708         parameters.
8710 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8712         PR bootstrap/49804
8713         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8714         extra_parts.
8716 2011-09-28  Nick Clifton  <nickc@redhat.com>
8718         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8719         64-bit doubles are not enabled.
8720         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8721         and floatunsisf functions.
8723 2011-09-13  Paul Brook  <paul@codesourcery.com>
8725         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
8726         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8727         * unwind-arm-common.inc: New file.
8728         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8729         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8730         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8731         * config/c6x/libunwind.S: New file.
8732         * config/c6x/pr-support.c: New file.
8733         * config/c6x/unwind-c6x.c: New file.
8734         * config/c6x/unwind-c6x.h: New file.
8735         * config/c6x/t-c6x-elf: New file.
8737 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
8739         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8740         (ASM_DIVZERO): Ditto.
8741         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8743 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
8745         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8747 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
8749         PR target/50090
8750         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8751         instead of an assembly one.
8753 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
8755         PR bootstrap/50047
8756         * Makefile.in (install-unwind_h): Create
8757         $(gcc_objdir)/include/unwind.h atomically.
8759 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8761         * Makefile.in (install-unwind_h): Remove destination file first.
8763 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8765         * sync.c: New file.
8766         * config/mips/t-mips16: New file.
8767         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8768         (mips*-*-linux*): Likewise.
8769         (mips*-sde-elf*): Likewise.
8770         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8771         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8772         Add mips/t-mips16 to tmake_file.
8773         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8774         (mips-*-elf*): Likewise.
8775         (mips64-*-elf*): Likewise.
8776         (mips64orion-*-elf*): Likewise.
8777         (mips*-*-rtems*): Likewise.
8778         (mipstx39-*-elf*): Likewise.
8779         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8780         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8781         LIBGCC_SYNC_CFLAGS.
8782         Use $(srcdir) to refer to sync.c.
8783         Use $<.
8784         ($(libgcc-sync-funcs-o)): Likewise.
8785         ($(libgcc-sync-size-funcs-s-o)): Likewise.
8786         ($(libgcc-sync-funcs-s-o)): Likewise.
8788 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8790         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8791         t-libunwind.
8793 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
8795         PR other/48007
8796         * config/i386/value-unwind.h: New.
8798 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
8800         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8801         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8802         Add to tmake_file rather than overriding it.
8804 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8806         * config/t-softfp: Remove.
8807         * soft-fp: Moved from ../gcc/config.
8808         * soft-fp/README: Remove t-softfp reference.
8809         * soft-fp/t-softfp: Move to config/t-softfp.
8810         (softfp_machine_header): Remove.
8811         (softfp_file_list): Remove config subdir.
8812         (soft-fp-objects): New variable.
8813         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8814         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8815         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8816         * config/t-softfp-excl: New file.
8817         * config/t-softfp-sfdf: New file.
8818         * config/t-softfp-tf: New file.
8819         * config/no-sfp-machine.h: New file.
8820         * config/arm/sfp-machine.h: New file.
8821         * config/arm/t-softfp: New file.
8822         * config/c6x/sfp-machine.h: New file.
8823         * config/i386/32/t-fprules-softfp: Rename to ...
8824         * config/i386/32/t-softfp: ... this.
8825         (tifunctions, LIB2ADD): Remove.
8826         (softfp_int_modes): Override.
8827         * config/i386/64/t-softfp-compat (tf-functions): Remove config
8828         subdir.
8829         * config/i386/64/eqtf2.c: Likewise.
8830         * config/i386/64/getf2.c: Likewise.
8831         * config/i386/64/letf2.c: Likewise.
8832         * config/ia64/sft-machine.h: New file.
8833         * config/ia64/t-fprules-softfp: Rename to ...
8834         * config/ia64/t-softfp: ... this.
8835         * config/lm32/sfp-machine.h: New file.
8836         * config/moxie/t-moxie-softfp: Remove.
8837         * config/rs6000/ibm-ldouble-format: New file.
8838         * config/rs6000/ibm-ldouble.c: New file.
8839         * config/rs6000/libgcc-ppc-glibc.ver: New file
8840         * config/rs6000/libgcc-ppc64.ver: New file
8841         * config/rs6000/sfp-machine.h: New file.
8842         * config/rs6000/t-freebsd: New file.
8843         * config/rs6000/t-ibm-ldouble: New file.
8844         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8845         libgcc-ppc-glibc.ver.
8846         * config/rs6000/t-linux64: New file.
8847         * config/rs6000/t-ppccomm (LIB2ADD): Add
8848         $(srcdir)/config/rs6000/ibm-ldouble.c.
8849         * config/rs6000/t-ppccomm-ldbl: New file.
8850         * config/score/sfp-machine.h: New file.
8851         * config.host (sfp_machine_header): Explain.
8852         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8853         t-softfp to tmake_file.
8854         (arm*-*-uclinux*): Likewise.
8855         (arm*-*-ecos-elf): Likewise.
8856         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8857         (arm*-*-rtems*): Likewise.
8858         (arm*-*-elf): Likewise.
8859         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8860         in tmake_file.
8861         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8862         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8863         (lm32-*-uclinux*): Likewise.
8864         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8865         t-softfp-excl, t-softfp.
8866         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8867         (powerpc64-*-darwin*): Likewise.
8868         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8869         to tmake_file.
8870         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8871         tmake_file.
8872         (powerpc-*-eabisim*): Likewise.
8873         (powerpc-*-elf*): Likewise.
8874         (powerpc-*-eabialtivec*): Likewise.
8875         (powerpc-xilinx-eabi*): Likewise.
8876         (powerpc-*-rtems*): Likewise.
8877         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8878         t-softfp-excl, t-softfp to tmake_file.
8879         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8880         rs6000/t-ppccomm-ldbl to tmake_file.
8881         (powerpcle-*-elf*): Likewise.
8882         (powerpcle-*-eabisim*): Likewise.
8883         (powerpcle-*-eabi*): Likewise.
8884         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8885         rs6000/t-ibm-ldouble to tmake_file.
8886         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8887         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8888         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8889         (tic6x-*-*): Likewise.
8890         (i[34567]86-*-darwin*, x86_64-*-darwin*,
8891         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8892         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8893         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8894         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8895         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8896         t-softfp to tmake_file.
8897         * configure.ac (sfp_machine_header): Provide default if unset.
8898         Substitute.
8899         Link sfp-machine.h to config/$sfp_machine_header.
8900         * configure: Regenerate.
8902 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8904         * Makefile.in (double_type_size, long_double_type_size): Set.
8905         Remove $(fpbit-in-libgcc) support.
8906         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8907         (fpbit-src): New variable.
8908         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8909         Compile with -DFLOAT $(FPBIT_CFLAGS).
8910         Use $<.
8911         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8912         Compile with $(FPBIT_CFLAGS).
8913         Use $<.
8914         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8915         Compile with -DFLOAT $(TPBIT_CFLAGS).
8916         Use $<.
8917         * configure.ac (double_type_size, long_double_type_size):
8918         Determine and substitute.
8919         * configure: Regenerate.
8920         * fp-bit.c, fp-bit.h: New files.
8921         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8922         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8923         * config/mips/t-mips: New file.
8924         * config/mips/t-sdemtk: New file.
8925         * config/rs6000/ppc64-fp.c: New file.
8926         * config/rs6000/t-darwin (LIB2ADD): Add
8927         $(srcdir)/config/rs6000/ppc64-fp.c.
8928         * config/rs6000/t-ppc64-fp: New file.
8929         * config/rx/rx-lib.h: New file.
8930         * config/rx/t-rx (FPBIT): Set to true.
8931         ($(gcc_objdir)/fp-bit.c): Remove.
8932         (DPBIT): Set to true only with -m64bit-doubles.
8933         ($(gcc_objdir)/dp-bit.c): Remove.
8934         * config/sparc/t-softfp: Remove.
8935         * config/spu/t-elf: New file.
8936         * config/t-fdpbit, config/t-fpbit: New files.
8937         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8938         (mips*-*-*): Likewise.
8939         (arm-wrs-vxworks): Likewise.
8940         (arm*-*-freebsd*): Likewise.
8941         (avr-*-rtems*): Add t-fpbit to tmake_file.
8942         (avr-*-*): Likewise.
8943         (bfin*-elf*): Add t-fdpbit to tmake_file.
8944         (bfin*-uclinux*): Likewise.
8945         (bfin*-linux-uclibc*): Likewise.
8946         (bfin*-rtems*): New case.
8947         Add t-fdpbit to tmake_file.
8948         (bfin*-*): Add t-fdpbit to tmake_file.
8949         (crisv32-*-elf): Likewise.
8950         (cris-*-linux*): Likewise.
8951         (fr30-*-elf): Likewise.
8952         (frv-*-elf, frv-*-*linux*): Likewise.
8953         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8954         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8955         (m32r-*-elf*): Likewise.
8956         (m32rle-*-elf*): Likewise.
8957         (m32r-*-linux*): Likewise.
8958         (m32rle-*-linux*): Likewise.
8959         (mcore-*-elf): Add t-fdpbit to tmake_file.
8960         (microblaze*-*-*): Likewise.
8961         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8962         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8963         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8964         Fix typo.
8965         Add mips/t-tpbit to tmake-file.
8966         (mips*-*-linux*): Fix typo.
8967         (mips*-sde-elf*): New case
8968         Add mips/t-sdemtk unless using newlib.
8969         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8970         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8971         (mn10300-*-*): Likewise.
8972         (pdp11-*-*): Likewise.
8973         (picochip-*-*): Add t-fpbit to tmake_file.
8974         (powerpc-*-eabisimaltivec*): Likewise.
8975         (powerpc-*-eabisim*): Likewise.
8976         (powerpc-*-elf*): Likewise.
8977         (powerpc-*-eabialtivec*): Likewise.
8978         (powerpc-xilinx-eabi*): New case.
8979         Add t-fdpbit to tmake_file.
8980         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
8981         (powerpc-*-rtems*): Likewise.
8982         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8983         tmake_file.
8984         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8985         tmake_file.
8986         (powerpc-*-lynxos*): Likewise.
8987         (powerpcle-*-elf*): Likewise.
8988         (powerpcle-*-eabisim*): Likewise.
8989         (powerpcle-*-eabi*): Likewise.
8990         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8991         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8992         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8993         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8994         (rx-*-elf): Add t-fdpbit to tmake_file.
8995         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8996         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8997         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8998         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8999         sh*-*-netbsd*.
9000         (sh-*-rtems*): Add t-fdpbit to tmake_file.
9001         (sh-wrs-vxworks): Likewise.
9002         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9003         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9004         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9005         (sparc64-*-rtems*): ... new case.
9006         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9007         (spu-*-elf*): Likewise.
9008         Add spu/t-elf to tmake_file.
9009         (v850*-*-*): Add t-fdpbit to tmake_file.
9010         (xstormy16-*-elf): Likewise.
9011         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9012         (mep*-*-*): Likewise.
9014 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9016         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9017         variables.
9018         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9019         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9020         (install-unwind_h): New target.
9021         (all): Depend on it.
9022         * config.host (unwind_header): New variable.
9023         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9024         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9025         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9026         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9027         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9028         Set unwind_header.
9029         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9030         Set unwind_header.
9031         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9032         arm*-*-eabi*.
9033         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9034         Set unwind_header.
9035         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9036         (ia64*-*-freebsd*): Likewise.
9037         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9038         tmake_file.
9039         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9040         $with_system_libunwind.
9041         (ia64*-*-hpux*): Set tmake_file.
9042         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9043         (picochip-*-*): Set tmake_file.
9044         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9045         md_unwind_header.
9046         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9047         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9048         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9049         (xtensa*-*-elf*): Set tmake_file.
9050         (xtensa*-*-linux*): Likewise.
9051         * configure.ac: Include ../config/unwind_ipinfo.m4.
9052         Call GCC_CHECK_UNWIND_GETIPINFO.
9053         Link unwind.h to $unwind_header.
9054         * configure: Regenerate.
9055         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9056         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9057         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9058         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9059         * config/unwind-dw2-fde-darwin.c: New file.
9060         * config/arm/libunwind.S, config/arm/pr-support.c,
9061         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9062         config/arm/unwind-arm.h,: New files.
9063         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9064         config/ia64/t-eh-ia64, config/ia64/t-glibc,
9065         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9066         config/ia64/t-vms, config/ia64/unwind-ia64.c,
9067         config/ia64/unwind-ia64.h: New files.
9068         * config/picochip/t-picochip: New file.
9069         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9070         files.
9071         * config/rs6000/t-darwin (LIB2ADDEH): Set.
9072         * config/s390/t-tpf (LIB2ADDEH): Remove.
9073         * config/t-darwin (LIB2ADDEH): Set.
9074         * config/t-eh-dw2-dip: New file.
9075         * config/t-libunwind, config/t-libunwind-elf: New files.
9076         * config/t-sol2 (LIB2ADDEH): Remove.
9077         * config/xtensa/t-xtensa: New file.
9079 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
9081         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9082         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9083         long long to check rt_sigreturn syscall.
9085 2011-08-02  Alan Modra  <amodra@gmail.com>
9087         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9088         Restore for indirect call bcrtl from correct stack slot, and only
9089         if cfa+40 isn't valid.
9091 2011-08-01  Julian Brown  <julian@codesourcery.com>
9093         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9094         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9095         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9097 2011-08-01  Julian Brown  <julian@codesourcery.com>
9099         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9100         (libgcc-std.ver.in): Use above.
9101         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9102         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
9103         throughout file.
9104         * config/t-fixedpoint-gnu-prefix: New file.
9105         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9106         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9107         instead of __PFX__.
9109 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9111         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9112         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9113         for x86-64.  Properly check __x86_64__ and __LP64__.
9115 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
9117         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9118         version.
9119         (_FP_WS_TYPE): Likewise.
9120         (_FP_I_TYPE): Likewise.
9122 2011-07-28  Alan Modra  <amodra@gmail.com>
9124         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9125         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9126         in a plt call stub.  Do restore r2 if stopped on bctrl.
9128 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9130         * config.host (i[3456x]86-*-netware*): Remove.
9131         * config/i386/netware-crt0.c, config/i386/t-nwld,
9132         config/i386/t-slibgcc-nwld: Remove.
9134 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
9136         * config.host: Handle tic6x-*-*.
9137         * config/c6x/c6x-abi.h: New file.
9139 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9141         * config/i386/crtprec.c: New file.
9142         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9143         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9144         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9145         (x86_64-*-darwin*): Likewise.
9146         (i[34567]86-*-solaris2*: Likewise.
9148 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9150         * config/alpha/crtfastmath.c: New file.
9151         * config/i386/crtfastmath.c: New file.
9152         * config/ia64/crtfastmath.c: New file.
9153         * config/mips/crtfastmath.c: New file.
9154         * config/sparc/crtfastmath.c: New file.
9156         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9157         crtfastmath.c.
9158         Add -frandom-seed=gcc-crtfastmath.
9159         * config/alpha/t-crtfm: Remove.
9160         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9161         * config/ia64/t-ia64 (crtfastmath.o): Remove.
9163         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9164         (alpha*-dec-osf5.1*): Likewise.
9165         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9166         Add crtfastmath.o to extra_parts.
9167         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9168         Add crtfastmath.o to extra_parts.
9169         (x86_64-*-darwin*): Likewise.
9170         (x86_64-*-mingw*): Likewise.
9171         (ia64*-*-elf*): Add t-crtfm to tmake_file.
9172         (ia64*-*-freebsd*): Likewise.
9173         (ia64*-*-linux*): Likewise.
9174         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9175         Add crtfastmath.o to extra_parts.
9177 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9179         * config/darwin-crt3.o: New file.
9180         * config/rs6000/darwin-crt2.c: New file.
9181         * config/t-darwin: New file.
9182         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9183         (crt2.o): New rule.
9184         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9185         (powerpc-*-darwin*): Add crt2.o to extra_parts.
9186         (powerpc64-*-darwin*): Likewise.
9188 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9190         * config/i386/netware-crt0.c: New file.
9191         * config/i386/t-nwld: Rename to ...
9192         * config/i386/t-slibgcc-nwld: ... this.
9193         * config/i386/t-nwld: New file.
9194         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9195         tmake_file.
9196         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9197         extra_parts.
9199 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9201         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9202         i386/t-crtstuff.
9203         * configure: Regenerate.
9205 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9207         * dfp-bit.c, dfp-bit.h: New files.
9208         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9209         variables.
9210         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9211         ($(d64pbit-o)): Likewise.
9212         ($(d128pbit-o)): Likewise.
9213         * config/t-dfprules: New file.
9214         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9215         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9216         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9217         (x86_64-*-linux*): Likewise.
9218         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9219         (i[34567]86-*-cygwin*): Likewise.
9220         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
9221         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9223 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9225         * Makfile.in (LIBGCOV): New variable.
9226         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9227         * libgcov.c: New file.
9229 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9231         * fixed-bit.c, fixed-bit.h: New files.
9232         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9233         refer to fixed-bit.c.
9235 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
9237         * config.host (*local*): Remove.
9239 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9241         PR target/39150
9242         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9243         like i?86-*-solaris2.1[0-9]*.
9244         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9245         * configure.ac (i?86-*-solaris2*): Likewise.
9246         * configure: Regenerate.
9248 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
9250         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9251         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9252         md_unwind_header by splitting out of...
9253         (i[34567]86-*-linux*): ... this.
9254         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9255         Remove md_unwind_header by splitting out of...
9256         (x86_64-*-linux*): ... this.
9258 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
9260         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9262 2011-06-28  Nick Clifton  <nickc@redhat.com>
9264         * config.host: Recognize all V850 variants.
9266 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
9268         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9270 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9272         * shared-object.mk (c_flags-$o): Save c_flags.
9273         ($(base)$(objext)): Use it.
9274         ($(base)_s$(objext)): Likewise.
9276 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
9278         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9279         * libgcc-std.ver.in (GCC_4.7.0): New section.
9281 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
9283         PR target/49313
9284         PR target/29524
9285         * config/avr/t-avr: Fix line endings.
9286         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
9287         _parityXX2.
9289 2011-06-14  Olivier Hainque  <hainque@adacore.com>
9290             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9292         * config/mips/irix6-unwind.h: New file.
9293         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9295 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
9297         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9298         (sparc64_fallback_frame_state): Use it.
9299         (sparc64_frob_update_context): Further adjust context.
9300         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9301         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9302         * config/sparc/sol2-cn.S: Likewise.
9304 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9306         * enable-execute-stack-empty.c: New file.
9307         * enable-execute-stack-mprotect.c: New file.
9308         * config/i386/enable-execute-stack-mingw32.c: New file.
9309         * config.host (enable_execute_stack): New variable.
9310         Select appropriate variants.
9311         * configure.ac: Link enable-execute-stack.c to
9312         $enable_execute_stack.
9313         * configure: Regenerate.
9314         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9315         (lib2funcs): Remove _enable_execute_stack.
9317 2011-06-09  David S. Miller  <davem@davemloft.net>
9318             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9320         * config.host (sparc-*-linux*): Correct md_unwind_header
9321         filename.
9322         (s390x-ibm-tpf*): Fix typo.
9324 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9326         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9327         Add crtfastmath.o to extra_parts.
9328         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9329         mips/t-crtfm.
9330         * config/mips/t-crtfm: Remove.
9332 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9334         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9336 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9338         * config.host (sh*-*-linux*): Fix typo.
9340 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9342         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9343         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9344         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9345         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9346         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9347         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9348         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9349         Wrap in !__MINGW64__.
9350         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9351         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9352         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9353         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9354         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9355         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9356         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9357         Wrap in !__LP64__.
9358         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9359         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9360         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9361         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9362         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9363         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9364         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9365         * config/no-unwind.h: New file.
9366         * config.host (md_unwind_header): Document.
9367         Define.
9368         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9369         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9370         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9371         hppa[12]*-*-hpux11*): Set md_unwind_header.
9372         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9373         Set md_unwind_header.
9374         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9375         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9376         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9377         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9378         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9379         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9380         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9381         md_unwind_header.
9382         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9383         * configure: Regenerate.
9385 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9387         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9388         Set tmake_file, extra_parts.
9389         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9390         Remove O32 support.
9391         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9392         Remove O32 support.
9393         * config/mips/t-irix6: New file.
9394         * config/mips/t-slibgcc-irix: New file.
9396 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9398         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9399         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9401 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9403         * configure.ac (target_thread_file): Determine thread model.
9404         * configure: Regenerate.
9405         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9406         * config/alpha/t-alpha: New file.
9407         * config/alpha/t-crtfm: Use $<.
9408         * config/alpha/t-ieee: New file.
9409         * config/alpha/t-osf-pthread: New file.
9410         * config/alpha/t-slibgcc-osf: New file.
9411         * config/alpha/libgcc-osf5.ver: New file.
9413 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9415         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9416         tmake_file.
9417         Add crtfastmath.o to extra_parts.
9419 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9421         * config/gmon-sol2.c: Reindent.
9422         Cleanup comments.
9423         Remove, correct casts.
9424         Use STDERR_FILENO, NULL.
9425         (BASEADDRESS): Remove.
9426         (minbrk): Remove.
9427         (errno, sbrk): Remove declarations.
9428         (monstartup) [hp300]: Remove.
9429         (mcount): Remove.
9431 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9433         * Makefile.in (cpu_type): Define.
9434         * config.host (i[34567]86-*-rtems*): Handle it.
9435         (i[34567]86-*-solaris2*): Move body ...
9436         (*-*-solaris2*): ... here.
9437         New case, generalize.
9438         (sparc-*-elf*): Handle it.
9439         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9440         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9441         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9442         Fold into ...
9443         (sparc*-*-solaris2*): ... this.
9444         New case.
9445         (sparc64-*-elf*): Handle it.
9446         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9447         Merge ../gcc/config/i386/gmon-sol2.c.
9448         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9449         Use C comments.
9450         Merge ../gcc/config/i386/sol2-gc1.asm.
9451         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9452         Use C comments.
9453         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9454         Use C comments.
9455         * config/i386/t-crtfm (crtfastmath.o): Use $<.
9456         * config/i386/t-crtstuff: New file.
9457         * config/i386/t-softfp: New file.
9458         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9459         $(T)crti.o, $(T)crtn.o): Remove.
9460         (gcrt1.o): New rule.
9461         (TARGET_LIBGCC2_CFLAGS): Remove.
9462         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9463         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9464         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9465         * config/sparc/t-sol2: New file.
9466         * config/sparc/t-crtfm: Move to ...
9467         * config/t-crtfm: ... this.
9468         Use $(cpu_type), $<.
9469         * config/t-crtin: New file.
9470         * config/sparc/t-softfp: New file.
9471         * config/sparc/t-softmul: New file.
9472         * config/t-rtems: New file.
9473         * config/t-slibgcc: New file.
9474         * config/t-slibgcc-elf-ver: New file.
9475         * config/t-slibgcc-gld: New file.
9476         * config/t-slibgcc-sld: New file.
9477         * config/t-sol2: New file.
9478         * configure.ac: Include ../config/lib-ld.m4.
9479         Call AC_LIB_PROG_LD_GNU.
9480         Substitute cpu_type.
9481         * configure: Regenerate.
9483 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
9485         PR bootstrap/49173
9486         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9487         libgcc-std.ver in the build directory.
9488         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9489         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9491 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
9493         * libgcc-std.ver.in: New file.
9494         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9495         variables.
9496         (libgcc-std.ver): New rule.
9497         * config/t-gnu-prefix: New file.
9499 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9501         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9503 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9505         * config/i386/darwin-lib.h: New file.
9507 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9509         * config/arm/symbian-lib.h: New.
9511 2011-05-04  Chris Demetriou  <cgd@google.com>
9513         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9514         (__x86.get_pc_thunk.bx): ...this.
9515         (__morestack): Adjust for rename, remove undef of __i686.
9517 2011-05-03  Chris Demetriou  <cgd@google.com>
9519         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9521 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
9523         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9524         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9525         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9526         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9527         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9528         Remove cases.
9530 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
9532         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9533         Adjust copyright year.
9535 2011-03-07  Ian Lance Taylor  <iant@google.com>
9537         * generic-morestack.c (__splitstack_find): Adjust returned stack
9538         pointer to include all registers pushed by __morestack.
9540 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
9542         PR target/40125
9543         * configure.ac: Call ACX_NONCANONICAL_TARGET.
9544         (toolexecdir): Calculate and AC_SUBST.
9545         (toolexeclibdir): Likewise.
9546         * Makefile.in (target_noncanonical): Import.
9547         (toolexecdir): Likewise.
9548         (toolexeclibdir): Likewise.
9549         * configure: Regenerate.
9551 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
9553         PR target/46040
9554         * config/arm/bpabi.h: Rename to...
9555         * config/arm/bpabi-lib.h: ...this.
9557 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9559         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9560         appropriate.
9561         * configure: Regenerate.
9563 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
9565         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9566         __FLOAT_WORD_ORDER__.
9567         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9568         Delete.
9570 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9572         PR other/46202
9573         * Makefile.in (install-strip): New phony target.
9575 2010-11-07  Ian Lance Taylor  <iant@google.com>
9577         PR target/46089
9578         * config/i386/morestack.S (__morestack_large_model): New
9579         function.
9581 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
9583         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9584         Delete.
9585         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9587 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
9589         * config/arm/bpabi.h: New file.
9590         * config/frv/frv-abi.h: New file.
9592 2010-10-01  Ian Lance Taylor  <iant@google.com>
9594         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9595         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9597 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9599         PR target/45858
9600         * config.host: Add the missing `$'.
9602 2010-09-30  Michael Eager  <eager@eagercon.com>
9604         * config.host: Add microblaze*-*-*.
9605         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9606         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9607         udivsi3.asm,umodsi3.asm}:  New.
9609 2010-09-28  Ian Lance Taylor  <iant@google.com>
9611         * configure.ac: Adjust CFI test to test assembler directly rather
9612         than checking gcc preprocessor macro.
9613         * configure: Rebuild.
9615 2010-09-27  Ian Lance Taylor  <iant@google.com>
9617         * configure.ac: Test whether assembler supports CFI directives.
9618         * config.host: Only add t-stack and i386/t-stack-i386 to
9619         tmake_file if libgcc_cv_cfi is "yes".
9620         * configure: Rebuild.
9622 2010-09-27  Ian Lance Taylor  <iant@google.com>
9624         * generic-morestack.h: New file.
9625         * generic-morestack.c: New file.
9626         * generic-morestack-thread.c: New file.
9627         * config/i386/morestack.S: New file.
9628         * config/t-stack: New file.
9629         * config/i386/t-stack-i386: New file.
9630         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9631         i386/t-stack-i386 to tmake_file.
9633 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
9635         * Makefile.in (libgcc-extra-parts):  Check for static archives and
9636         invoke ranlib after installing them.
9637         (gcc-extra-parts): Likewise.
9638         (install-leaf): Likewise.
9640 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9642         * configure: Regenerated.
9644 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
9646         * configure: Regenerated.
9648 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
9649             Andrew Pinski  <pinskia@gmail.com>
9651         PR target/40959
9652         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
9654 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9656         PR target/45524
9657         * configure: Regenerated.
9659 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9661         * configure: Regenerate.
9663 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9665         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9666         64bit targets.
9667         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9668         for 64bit targets.
9670 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9671             Iain Sandoe  <iains@gcc.gnu.org>
9673         PR target/45476
9674         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9675         LIB2FUNCS_EXCLUDE functions.
9677 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9679         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9680         Include dfp.m4.
9681         * configure: Regenerate.
9683 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
9685         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9686         i386/t-freebsd to tmake_file.
9687         * config/i386/t-freebsd: New file.
9688         * config/i386/libgcc-bsd.ver: New file.
9690 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
9692         * config.host (powerpc*-eabispe*): Set tmake_file.
9693         (powerpc*-eabi*): Likewise.
9694         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9695         crtbeginS, crtendS, crtbeginT.
9697 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
9699         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9700         to tmake_file.  Add crtfastmath.o to extra_parts.
9701         * config/mips/t-crtfm: New.
9703 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
9705         * config.host (sparc64-*-rtems*): New target.
9707 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9709         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9710         assembler syntax.
9712 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
9714         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9716 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9718         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9719         alpha-dec-osf5.0* support.
9721 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
9723         * config.host: Add lm32-*-rtems*.
9725 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9726             Uros Bizjak  <ubizjak@gmail.com>
9728         PR target/39048
9729         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9730         like other remaining 32-bit x86 OSes.
9731         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9732         assembler syntax.
9733         * config/i386/libgcc-sol2.ver: New file.
9734         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9736 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
9738         PR c/43553
9739         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9740         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9741         is used and substitute set_use_emutls.
9742         * configure: Regenerated.
9744 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
9746         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9748 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9750         PR target/38085
9751         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9752         MULTILIB_CFLAGS.
9753         ($(T)gcrt1.o): Likewise.
9754         ($(T)crt1.o): Likewise.
9755         ($(T)crti.o): Likewise.
9756         ($(T)crtn.o): Likewise.
9758 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9760         PR other/42980
9761         * Makefile.in (install): Use $(MAKE) string in rule, for
9762         parallel make.
9764 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
9766         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9767         * config/mmix/t-mmix: New file.
9768         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9770 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
9772         PR java/41991
9773         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9774         SHLIB_MAPFILES.
9776 2010-01-04  Anthony Green  <green@moxielogic.com>
9778         * config/moxie/crti.asm, config/moxie/crtn.asm,
9779         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9780         config/moxie/t-moxie: New files.
9781         * config.host: Add t-moxie-softfp reference.
9783 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
9785         PR other/39888
9786         * config/t-slibgcc-darwin: Fix embedded rpaths for
9787         --enable-version-specific-runtime-libs, build extension stub
9788         libs exposing features available from current libgcc_s.
9790 2009-11-11  Jon Beniston  <jon@beniston.com>
9792         * config.host: Add lm32 targets.
9793         * config/lm32: New directory.
9794         * config/lm32/libgcc_lm32.h: New file.
9795         * config/lm32/_mulsi3.c: New file.
9796         * config/lm32/_udivmodsi4.c: New file.
9797         * config/lm32/_divsi3.c: New file.
9798         * config/lm32/_modsi3.c: New file.
9799         * config/lm32/_udivsi3.c: New file.
9800         * config/lm32/_umodsi3.c: New file.
9801         * config/lm32/_lshrsi3.S: New file.
9802         * config/lm32/_ashrsi3.S: New file.
9803         * config/lm32/_ashlsi3.S: New file.
9804         * config/lm32/crti.S: New file.
9805         * config/lm32/crtn.S: New file.
9806         * config/lm32/t-lm32: New file.
9807         * config/lm32/t-elf: New file.
9808         * config/lm32/t-uclinux: New file.
9810 2009-10-26  Nick Clifton  <nickc@redhat.com>
9812         * config.host: Add support for RX target.
9813         * config/rx: New directory.
9814         * config/rx/rx-abi-functions.c: New file. Supplementary
9815         functions for libgcc to support the RX ABI.
9816         * config/rx/rx-abi.h: New file.  Supplementary header file for
9817         libgcc RX ABI functions.
9818         * config/rx/t-rx: New file: Makefile fragment for building
9819         libgcc for the RX.
9821 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
9823         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9824         constraint of y0 to "g".
9826 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9828         * config.host: Include the s390 makefile fragments.
9829         * config/s390/32/_fixdfdi.c: New file.
9830         * config/s390/32/_fixsfdi.c: New file.
9831         * config/s390/32/_fixtfdi.c: New file.
9832         * config/s390/32/_fixunsdfdi.c: New file.
9833         * config/s390/32/_fixunssfdi.c: New file.
9834         * config/s390/32/_fixunstfdi.c: New file.
9835         * config/s390/32/t-floattodi: New file.
9836         * config/s390/libgcc-glibc.ver: New file.
9837         * config/s390/t-crtstuff: New file.
9838         * config/s390/t-linux: New file.
9839         * config/s390/t-tpf: New file.
9841 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9843         * configure.ac (AC_PREREQ): Bump to 2.64.
9845 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
9847         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9849 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9851         * configure: Regenerate.
9853 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
9855         * config.host (ia64-hp-*vms*): New target.
9856         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9857         with ia64-hp-*vms*.
9859 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9861         * configure.ac: Add snippet for maintainer-mode.
9862         * configure: Regenerate.
9863         * Makefile.in (AUTOCONF, configure_deps): New variables.
9864         ($(srcdir)/configure)): New rule, active only with maintainer
9865         mode turned on.
9867 2009-06-23  DJ Delorie  <dj@redhat.com>
9869         Add MeP port.
9870         * config.host: Add mep support.
9872 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
9874         * config.host: Add i386/${host_address}/t-fprules-softfp and
9875         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9877         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9878         for mingw targets.
9879         * config/i386/64/_multc3.c: Likewise.
9880         * config/i386/64/_powitf2.c: Likewise.
9881         * config/i386/64/eqtf2.c: Likewise.
9882         * config/i386/64/getf2.c: Likewise.
9883         * config/i386/64/letf2.c: Likewise.
9884         * config/i386/64/letf2.c: Likewise.
9885         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9886         unsigned long long for x64 mingw targets.
9887         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9888         (_FP_I_TYPE): Define as long long for x64 mingw target.
9890 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
9892         * config.host (vax-*-linux*): New.
9894 2009-05-31  Anthony Green  <green@moxielogic.com>
9896         * config.host: Add moxie support.
9897         * config/moxie/t-moxie: New file.
9899 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
9901         * config.host: Add i386/${host_address}/t-fprules-softfp and
9902         t-softfp to tmake_file for i[34567]86-*-cygwin*.
9904 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
9906         * config.host: Add i386/${host_address}/t-fprules-softfp to
9907         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9909 2009-04-09  Nick Clifton  <nickc@redhat.com>
9911         * config/ia64/tf-signs.c: Change copyright header to refer to
9912         version 3 of the GNU General Public License with version 3.1
9913         of the GCC Runtime Library Exception and to point readers at
9914         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9915         web page.
9916         * config/i386/32/tf-signs.c: Likewise.
9917         * config/libbid/_addsub_dd.c: Likewise.
9918         * config/libbid/_addsub_sd.c: Likewise.
9919         * config/libbid/_addsub_td.c: Likewise.
9920         * config/libbid/_dd_to_df.c: Likewise.
9921         * config/libbid/_dd_to_di.c: Likewise.
9922         * config/libbid/_dd_to_sd.c: Likewise.
9923         * config/libbid/_dd_to_sf.c: Likewise.
9924         * config/libbid/_dd_to_si.c: Likewise.
9925         * config/libbid/_dd_to_td.c: Likewise.
9926         * config/libbid/_dd_to_tf.c: Likewise.
9927         * config/libbid/_dd_to_udi.c: Likewise.
9928         * config/libbid/_dd_to_usi.c: Likewise.
9929         * config/libbid/_dd_to_xf.c: Likewise.
9930         * config/libbid/_df_to_dd.c: Likewise.
9931         * config/libbid/_df_to_sd.c: Likewise.
9932         * config/libbid/_df_to_td.c: Likewise.
9933         * config/libbid/_di_to_dd.c: Likewise.
9934         * config/libbid/_di_to_sd.c: Likewise.
9935         * config/libbid/_di_to_td.c: Likewise.
9936         * config/libbid/_div_dd.c: Likewise.
9937         * config/libbid/_div_sd.c: Likewise.
9938         * config/libbid/_div_td.c: Likewise.
9939         * config/libbid/_eq_dd.c: Likewise.
9940         * config/libbid/_eq_sd.c: Likewise.
9941         * config/libbid/_eq_td.c: Likewise.
9942         * config/libbid/_ge_dd.c: Likewise.
9943         * config/libbid/_ge_sd.c: Likewise.
9944         * config/libbid/_ge_td.c: Likewise.
9945         * config/libbid/_gt_dd.c: Likewise.
9946         * config/libbid/_gt_sd.c: Likewise.
9947         * config/libbid/_gt_td.c: Likewise.
9948         * config/libbid/_isinfd128.c: Likewise.
9949         * config/libbid/_isinfd32.c: Likewise.
9950         * config/libbid/_isinfd64.c: Likewise.
9951         * config/libbid/_le_dd.c: Likewise.
9952         * config/libbid/_le_sd.c: Likewise.
9953         * config/libbid/_le_td.c: Likewise.
9954         * config/libbid/_lt_dd.c: Likewise.
9955         * config/libbid/_lt_sd.c: Likewise.
9956         * config/libbid/_lt_td.c: Likewise.
9957         * config/libbid/_mul_dd.c: Likewise.
9958         * config/libbid/_mul_sd.c: Likewise.
9959         * config/libbid/_mul_td.c: Likewise.
9960         * config/libbid/_ne_dd.c: Likewise.
9961         * config/libbid/_ne_sd.c: Likewise.
9962         * config/libbid/_ne_td.c: Likewise.
9963         * config/libbid/_sd_to_dd.c: Likewise.
9964         * config/libbid/_sd_to_df.c: Likewise.
9965         * config/libbid/_sd_to_di.c: Likewise.
9966         * config/libbid/_sd_to_sf.c: Likewise.
9967         * config/libbid/_sd_to_si.c: Likewise.
9968         * config/libbid/_sd_to_td.c: Likewise.
9969         * config/libbid/_sd_to_tf.c: Likewise.
9970         * config/libbid/_sd_to_udi.c: Likewise.
9971         * config/libbid/_sd_to_usi.c: Likewise.
9972         * config/libbid/_sd_to_xf.c: Likewise.
9973         * config/libbid/_sf_to_dd.c: Likewise.
9974         * config/libbid/_sf_to_sd.c: Likewise.
9975         * config/libbid/_sf_to_td.c: Likewise.
9976         * config/libbid/_si_to_dd.c: Likewise.
9977         * config/libbid/_si_to_sd.c: Likewise.
9978         * config/libbid/_si_to_td.c: Likewise.
9979         * config/libbid/_td_to_dd.c: Likewise.
9980         * config/libbid/_td_to_df.c: Likewise.
9981         * config/libbid/_td_to_di.c: Likewise.
9982         * config/libbid/_td_to_sd.c: Likewise.
9983         * config/libbid/_td_to_sf.c: Likewise.
9984         * config/libbid/_td_to_si.c: Likewise.
9985         * config/libbid/_td_to_tf.c: Likewise.
9986         * config/libbid/_td_to_udi.c: Likewise.
9987         * config/libbid/_td_to_usi.c: Likewise.
9988         * config/libbid/_td_to_xf.c: Likewise.
9989         * config/libbid/_tf_to_dd.c: Likewise.
9990         * config/libbid/_tf_to_sd.c: Likewise.
9991         * config/libbid/_tf_to_td.c: Likewise.
9992         * config/libbid/_udi_to_dd.c: Likewise.
9993         * config/libbid/_udi_to_sd.c: Likewise.
9994         * config/libbid/_udi_to_td.c: Likewise.
9995         * config/libbid/_unord_dd.c: Likewise.
9996         * config/libbid/_unord_sd.c: Likewise.
9997         * config/libbid/_unord_td.c: Likewise.
9998         * config/libbid/_usi_to_dd.c: Likewise.
9999         * config/libbid/_usi_to_sd.c: Likewise.
10000         * config/libbid/_usi_to_td.c: Likewise.
10001         * config/libbid/_xf_to_dd.c: Likewise.
10002         * config/libbid/_xf_to_sd.c: Likewise.
10003         * config/libbid/_xf_to_td.c: Likewise.
10004         * config/libbid/bid128.c: Likewise.
10005         * config/libbid/bid128_2_str.h: Likewise.
10006         * config/libbid/bid128_2_str_macros.h: Likewise.
10007         * config/libbid/bid128_2_str_tables.c: Likewise.
10008         * config/libbid/bid128_add.c: Likewise.
10009         * config/libbid/bid128_compare.c: Likewise.
10010         * config/libbid/bid128_div.c: Likewise.
10011         * config/libbid/bid128_fma.c: Likewise.
10012         * config/libbid/bid128_logb.c: Likewise.
10013         * config/libbid/bid128_minmax.c: Likewise.
10014         * config/libbid/bid128_mul.c: Likewise.
10015         * config/libbid/bid128_next.c: Likewise.
10016         * config/libbid/bid128_noncomp.c: Likewise.
10017         * config/libbid/bid128_quantize.c: Likewise.
10018         * config/libbid/bid128_rem.c: Likewise.
10019         * config/libbid/bid128_round_integral.c: Likewise.
10020         * config/libbid/bid128_scalb.c: Likewise.
10021         * config/libbid/bid128_sqrt.c: Likewise.
10022         * config/libbid/bid128_string.c: Likewise.
10023         * config/libbid/bid128_to_int16.c: Likewise.
10024         * config/libbid/bid128_to_int32.c: Likewise.
10025         * config/libbid/bid128_to_int64.c: Likewise.
10026         * config/libbid/bid128_to_int8.c: Likewise.
10027         * config/libbid/bid128_to_uint16.c: Likewise.
10028         * config/libbid/bid128_to_uint32.c: Likewise.
10029         * config/libbid/bid128_to_uint64.c: Likewise.
10030         * config/libbid/bid128_to_uint8.c: Likewise.
10031         * config/libbid/bid32_to_bid128.c: Likewise.
10032         * config/libbid/bid32_to_bid64.c: Likewise.
10033         * config/libbid/bid64_add.c: Likewise.
10034         * config/libbid/bid64_compare.c: Likewise.
10035         * config/libbid/bid64_div.c: Likewise.
10036         * config/libbid/bid64_fma.c: Likewise.
10037         * config/libbid/bid64_logb.c: Likewise.
10038         * config/libbid/bid64_minmax.c: Likewise.
10039         * config/libbid/bid64_mul.c: Likewise.
10040         * config/libbid/bid64_next.c: Likewise.
10041         * config/libbid/bid64_noncomp.c: Likewise.
10042         * config/libbid/bid64_quantize.c: Likewise.
10043         * config/libbid/bid64_rem.c: Likewise.
10044         * config/libbid/bid64_round_integral.c: Likewise.
10045         * config/libbid/bid64_scalb.c: Likewise.
10046         * config/libbid/bid64_sqrt.c: Likewise.
10047         * config/libbid/bid64_string.c: Likewise.
10048         * config/libbid/bid64_to_bid128.c: Likewise.
10049         * config/libbid/bid64_to_int16.c: Likewise.
10050         * config/libbid/bid64_to_int32.c: Likewise.
10051         * config/libbid/bid64_to_int64.c: Likewise.
10052         * config/libbid/bid64_to_int8.c: Likewise.
10053         * config/libbid/bid64_to_uint16.c: Likewise.
10054         * config/libbid/bid64_to_uint32.c: Likewise.
10055         * config/libbid/bid64_to_uint64.c: Likewise.
10056         * config/libbid/bid64_to_uint8.c: Likewise.
10057         * config/libbid/bid_b2d.h: Likewise.
10058         * config/libbid/bid_binarydecimal.c: Likewise.
10059         * config/libbid/bid_conf.h: Likewise.
10060         * config/libbid/bid_convert_data.c: Likewise.
10061         * config/libbid/bid_decimal_data.c: Likewise.
10062         * config/libbid/bid_decimal_globals.c: Likewise.
10063         * config/libbid/bid_div_macros.h: Likewise.
10064         * config/libbid/bid_dpd.c: Likewise.
10065         * config/libbid/bid_flag_operations.c: Likewise.
10066         * config/libbid/bid_from_int.c: Likewise.
10067         * config/libbid/bid_functions.h: Likewise.
10068         * config/libbid/bid_gcc_intrinsics.h: Likewise.
10069         * config/libbid/bid_inline_add.h: Likewise.
10070         * config/libbid/bid_internal.h: Likewise.
10071         * config/libbid/bid_round.c: Likewise.
10072         * config/libbid/bid_sqrt_macros.h: Likewise.
10074 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
10076         * Makefile.in: Change copyright header to refer to version
10077         3 of the GNU General Public License and to point readers at the
10078         COPYING3 file and the FSF's license web page.
10079         * config.host: Likewise.
10081 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
10083         * config.host: Reorder and merge to match config.gcc change.
10085 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
10087         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10089 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
10091         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10092         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10093         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10094         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10096 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
10098         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10099         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10101 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
10103         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10104         ia64/t-softfp-compat to tmake_file.
10106         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10108         * config/ia64/__divxf3.asm: New.
10109         * config/ia64/_fixtfdi.asm: Likewise.
10110         * config/ia64/_fixunstfdi.asm: Likewise.
10111         * config/ia64/_floatditf.asm: Likewise.
10112         * config/ia64/t-fprules-softfp: Likewise.
10113         * config/ia64/t-softfp-compat: Likewise.
10114         * config/ia64/tf-signs.c: Likewise.
10116 2009-01-18  Ben Elliston  <bje@au.ibm.com>
10118         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10120 2009-01-16  Ben Elliston  <bje@au.ibm.com>
10122         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10123         to tmake_file.
10125 2009-01-13  Ben Elliston  <bje@au.ibm.com>
10127         * config/t-softfp: New file.
10128         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10129         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10131 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
10133         * config.host: Add m32r*-*-rtems*.
10135 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
10137         * config.host: Add m32c*-*-rtems*.
10139 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
10141         PR bootstrap/33100
10142         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10143         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10144         * configure: Regenerate.
10145         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10146         tmake_file here from gcc/config.gcc.
10147         Move extra_parts here from gcc/config.gcc.
10148         * config/i386/t-sol2: Move here from gcc/config/i386.
10149         Use gcc_srcdir instead of srcdir.
10151 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
10153         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10154         case.
10156 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
10158         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10160 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
10162         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10164 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
10166         Add picoChip port.
10167         * config.host: Add picochip-*-*.
10169 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
10171         * config.host: Match more processor names for Xtensa.
10173 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
10175         * config/i386/64/t-softfp-compat: Update comments.
10177 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
10179         * config/i386/64/_divtc3-compat.c: Moved to ...
10180         * config/i386/64/_divtc3.c: Here.
10182         * config/i386/64/_multc3-compat.c: Moved to ...
10183         * config/i386/64/_multc3.c: Here.
10185         * config/i386/64/_powitf2-compat.c: Moved to ...
10186         * config/i386/64/_powitf2.c: Here.
10188         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10189         .c suffix instead of -compat.c.
10191 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
10193         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10194         (_FP_MUL_MEAT_D): Ditto.
10195         (_FP_DIV_MEAT_S): Ditto.
10196         (_FP_DIV_MEAT_D): Ditto.
10198 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
10200         * Makefile.in: Add support for __sync_* libgcc functions.
10202 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
10204         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10206 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10208         PR boostrap/36702
10209         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10210         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
10212         * config/i386/64/t-fprules-softfp: Moved to ...
10213         * config/i386/64/t-softfp-compat: This.  New.
10215 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
10217         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10218         Initialize f with 0.0.
10220 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10222         PR target/36669
10223         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10225         * config/i386/64/_divtc3-compat.c: New.
10226         * config/i386/64/_multc3-compat.c: Likewise.
10227         * config/i386/64/_powitf2-compat.c: Likewise.
10228         * config/i386/64/eqtf2.c: Likewise.
10229         * config/i386/64/getf2.c: Likewise.
10230         * config/i386/64/letf2.c: Likewise.
10231         * config/i386/64/t-fprules-softfp: Likewise.
10233 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10235         * config.host: Add i386/${host_address}/t-fprules-softfp to
10236         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10237         i[34567]86-*-linux*, x86_64-*-linux*.
10239         * configure.ac: Set host_address to 64 or 32 for x86.
10240         * configure: Regenerated.
10242         * Makefile.in (config.status): Also depend on
10243         $(srcdir)/config.host.
10245         * config/i386/32/t-fprules-softfp: New.
10246         * config/i386/32/tf-signs.c: Likewise.
10248         * config/i386/64/sfp-machine.h: New. Moved from gcc.
10250 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10251             Uros Bizjak  <ubizjak@gmail.com>
10253         * config/i386/32/sfp-machine.h: New.
10255 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
10257         * config/rs6000/t-ppccomm: Remove rules that conflict with
10258         auto-generated rules.
10260 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10262         * configure.ac: sinclude override.m4.
10263         * configure: Regenerate.
10265 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
10267         * configure: Regenerate.
10269 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
10271         * Makefile.in (DECNUMINC): Remove
10272         -I$(MULTIBUILDTOP)../../libdecnumber.
10273         * gstdint.h: New.
10275 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
10277         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10278         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10279         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10280         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10281         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10282         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10283         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10284         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10285         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10286         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10287         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10288         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10289         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10290         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10292 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
10294         * config.host (sh2[lbe]*-*-linux*): Allow target.
10296 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
10298         * config/rs6000/t-ppccomm: Add build rules for new files.
10299         (LIB2ADD_ST): New variable.
10301 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
10303         PR target/34210
10304         PR target/35508
10305         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10306         * config/t-avr: New file. Build 16bit libgcc functions.
10308 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
10310         PR target/35401
10311         * config/t-slibgcc-darwin: Make install-leaf dependent on
10312         install-darwin-libgcc-stubs instead of install.
10314 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
10316         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10317         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10318         sh-*-rtemscoff*): Remove cases.
10320 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
10322         * Makefile.in (all): Use install-leaf rather than install.
10323         (install): Split most of the rule into...
10324         (install-leaf): ...this new one.
10326 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
10327             Paolo Bonzini  <bonzini@gnu.org>
10329         PR target/30572
10330         * Makefile.in: Use @shlib_slibdir@ substitution to get
10331         correct install name on darwin.
10332         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10334 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
10336         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10337         cris-*-elf and cris-*-none.
10338         (crisv32-*-linux*): Similar, as cris-*-linux*.
10340 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
10342         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10344 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
10346         PR regression/33926
10347         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10348         * configure: Regenerated.
10350 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10352         * Makefile.in (dfp-filenames): Replace decimal_globals,
10353         decimal_data, binarydecimal and convert_data with
10354         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10355         and bid_convert_data, respectively.
10357 2007-09-17  Chao-ying Fu  <fu@mips.com>
10358             Nigel Stephens  <nigel@mips.com>
10360         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10361         * Makefile.in (fixed_point): Define.
10362         Check if fixed_point is yes to build support functions.
10363         * configure.ac: Check for fixed_point support.
10364         * configure: Regenerated.
10365         * gen-fixed.sh: New file to generate lists of fixed-point labels,
10366         funcs, modes, from, to.
10368 2007-09-11  Janis Johnson  <janis187@us.ibm.com
10370         * Makefile.in (dfp-filenames): Add bid128_noncomp.
10372 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
10374         * Makefile.in (dfp-filenames): Remove decUtility, add
10375         decDouble, decPacked, decQuad, decSingle.
10377 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
10379         * config.host : Add x86_64-elf target.
10381 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10383         * configure.ac (set_have_cc_tls): Add a missing =.
10384         * configure: Regenerated.
10386 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10388         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10389         and x86_64-*-linux*.
10391         * config/t-tls: New file.
10393         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10395         * configure.ac: Include ../config/enable.m4 and
10396         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
10397         supports TLS and substitute set_have_cc_tls.
10398         * configure: Regenerated.
10400 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10402         * Makefile.in: Use libbid for DFP when BID is enabled.
10404 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
10406         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10407         extra_parts. Add config/i386/t-cygming to tmake_file.
10408         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10410 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
10411             Danny Smith  <dannysmith@users.sourceforge.net>
10413         PR target/29498
10414         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10415         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
10416         * config/i386/t-crtfm: Compile crtfastmath.o with
10417         -minline-all-stringops.
10419 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
10421         * config.host (sparc-wrs-vxworks): New target.
10423 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
10425         * config.host: Recognize fido.
10427 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
10429         * configure: Check host, not target, for decimal float support.
10431 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
10433         * config/i386/t-crtpc: New file.
10434         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10435         (x86_64-*-linux*): Ditto.
10437 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
10439         * config.host (x86_64-*-mingw*): New target.
10441 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
10442             H.J. Lu  <hongjiu.lu@intel.com>
10444         * Makefile.in (enable_decimal_float): New.
10445         (DECNUMINC): Add
10446         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10447         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10448         (decbits-filenames): This.
10449         (decbits-objects): New.
10450         (libgcc-objects): Add $(decbits-objects).
10452         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10453         Substitute enable_decimal_float.
10454         * configure: Regenerated.
10456 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
10458         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10460 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
10462         * Makefile.in (install-info): New dummy target.
10464 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
10466         * config.host (bfin*-linux-uclibc*): Set extra_parts.
10468 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
10470         * Makefile.in: Add install-html and install-pdf dummy
10471         targets.
10473 2007-02-05  Roger Sayle  <roger@eyesopen.com>
10474             Daniel Jacobowitz  <dan@codesourcery.com>
10476         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10477         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10478         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10480 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
10482         * Makefile.in (dec-filenames): Add decExcept.
10484 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
10486         PR bootstrap/30469
10487         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10488         -fprofile-use.
10490 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
10492         * configure.ac: Add --enable-version-specific-runtime-libs.
10493         Correct $slibdir default.
10494         * configure: Regenerated.
10496 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
10498         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10500 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
10502         PR target/30519
10503         * config.host (alpha*-*-linux*): Set extra_parts.
10505 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
10507         * config/sh/t-linux: New.
10508         * config.host (sh*-*-linux*): Set tmake_file.
10510 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
10512         * Makefile.in (install): Handle multilibs.
10514 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10516         * Makefile.in: Added .PHONY entry for documentation targets.
10518 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10520         * Makefile.in: Add empty info, html, dvi, pdf targets.
10522 2007-01-04  Mike Stump  <mrs@apple.com>
10524         * Makefile.in (MAKEINFO): Remove.
10525         (PERL): Likewise.
10527 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
10529         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10530         * configure: Regenerate.
10531         * Makefile.in (host_subdir): Substitute it.
10532         (gcc_objdir): Use it.
10534 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10536         * config.host (ia64*-*-linux*): Set tmake_file.
10538 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10540         * Makefile.in (version): Define.
10542 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
10543             Paolo Bonzini  <bonzini@gnu.org>
10545         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10546         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10547         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10548         config/sparc/t-crtfm, config/t-slibgcc-darwin,
10549         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10550         shared-object.mk, siditi-object.mk, static-object.mk: New files.
10551         * configure: Generated.
10553 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10555 Copying and distribution of this file, with or without modification,
10556 are permitted in any medium without royalty provided the copyright
10557 notice and this notice are preserved.