Adjust extension types to use allocator_traits
[official-gcc.git] / libgcc / ChangeLog
blobed0e900637719012dba26dcb10945f92578c447f
1 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
3         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
4         unsigned int.  Adjust callers.
5         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
6         unsigned int *.  Load relocation offset before function pointer.
7         Add barrier to ensure ordering.
9 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
11         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
12         Load PIC register after branch target.  Fix white space.
13         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
14         implementations.  Load PIC register after branch target.  Don't
15         clobber function pointer when it points to function descriptor.
16         Use nullification instead of branch in LINUX implementation.
18 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
20         * config/pa/fptr.c: Disable -Warray-bounds warning.
22 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
24         * config.in, configure: Re-rebuild with stock autoconf 2.69,
25         not the ubuntu modified 2.69.
27         PR target/91833
28         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
29         initialization if !HAVE_SYS_AUXV_H.
30         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
31         * config.in, configure: Rebuild.
33         PR target/91834
34         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
35         overlap the inputs.
37 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
39         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
40         CTR_EL0.IDC and CTR_EL0.DIC.
42 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
44         Revert:
45         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
46                 Mickaël Guêné <mickael.guene@st.com>
48         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
49         architecture.
51 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
53         * config/aarch64/lse-init.c: New file.
54         * config/aarch64/lse.S: New file.
55         * config/aarch64/t-lse: New file.
56         * config.host: Add t-lse to all aarch64 tuples.
58 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
59         Mickaël Guêné <mickael.guene@st.com>
61         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
62         architecture.
64 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
65         Mickaël Guêné <mickael.guene@st.com>
67         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
68         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
69         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
70         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
71         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
72         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
73         (__gnu_personality_sigframe_fdpic): New.
74         (get_eit_entry): Add FDPIC signal frame support.
76 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
77         Mickaël Guêné <mickael.guene@st.com>
79         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
80         (__kernel_dmb): Likewise.
81         (__fdpic_cmpxchg): New function.
82         (__fdpic_dmb): New function.
83         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
84         (gnu_Unwind_Find_got): New function.
85         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
86         * unwind-arm-common.inc (UCB_PR_GOT): New.
87         (funcdesc_t): New struct.
88         (get_eit_entry): Add FDPIC support.
89         (unwind_phase2): Likewise.
90         (unwind_phase2_forced): Likewise.
91         (__gnu_Unwind_RaiseException): Likewise.
92         (__gnu_Unwind_Resume): Likewise.
93         (__gnu_Unwind_Backtrace): Likewise.
94         * unwind-pe.h (read_encoded_value_with_base): Likewise.
96 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
97         Mickaël Guêné <mickael.guene@st.com>
99         * libgcc/crtstuff.c: Add support for FDPIC.
101 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
103         * config.host: Handle *-*-uclinuxfdpiceabi.
105 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
107         * config.host: Set cpu_type for bpf-*-* targets.
108         * config/bpf/t-bpf: Likewise.
109         * config/bpf/crtn.S: Likewise.
110         * config/bpf/crti.S: New file.
112 2019-09-06  Jim Wilson  <jimw@sifive.com>
114         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
115         (riscv*-*-freebsd*): Likewise.
117 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
119         * config.host: Remove references to spu.
120         * config/spu/: Remove directory.
122 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
124         PR target/91306
125         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
126         element type, instead of "sizeof" the element type.
127         (__DTOR_LIST__): Likewise.
128         (__TMC_LIST__): Likewise.
129         (__do_global_dtors_aux_fini_array_entry): Likewise.
130         (__frame_dummy_init_array_entry): Likewise.
131         (__CTOR_END__): Likewise.
132         (__DTOR_END__): Likweise.
133         (__FRAME_END__): Likewise.
134         (__TMC_END__): Likewise.
136 2019-08-20  Lili Cui  <lilicui@intel.com>
138         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
139         INTEL_COREI7_COOPERLAKE.
141 2019-07-31  Matt Thomas  <matt@3am-software.com>
142             Nick Hudson <nick@nthcliff.demon.co.uk>
143             Matthew Green <mrg@eterna.com.au>
144             Maya Rashish <coypu@sdf.org>
146         * config.host (hppa*-*-netbsd*): New case.
147         * config/pa/t-netbsd: New file.
149 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
151         * config/arm/cmse.c (cmse_check_address_range): Add
152         warn_unused_result attribute.
154 2019-07-22  Martin Liska  <mliska@suse.cz>
156         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
157         * config/pa/t-stublib: Likewise.
159 2019-07-22  Stafford Horne  <shorne@gmail.com>
161         PR target/90362
162         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
163         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
164         instructions are not available on every processor.  Change a
165         l.bnf to l.bf to fix logic issue.
167 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
169         * config.host: Remove reference to t-darwin8.
171 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
173         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
174         list.
175         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
176         mmacosx-version-min for crts to run across all system versions.
177         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
178         * config/t-darwin: Revise mmacosx-version-min for crts to run across
179         system versions >= 10.4.
181 2019-07-03  Martin Liska  <mliska@suse.cz>
183         * Makefile.in: Use topn_values instead of one_value names.
184         * libgcov-merge.c (__gcov_merge_single): Move to ...
185         (__gcov_merge_topn): ... this.
186         (merge_single_value_set): Move to ...
187         (merge_topn_values_set): ... this.
188         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
189         ...
190         (__gcov_topn_values_profiler_body): ... this.
191         (__gcov_one_value_profiler_v2): Move to ...
192         (__gcov_topn_values_profiler): ... this.
193         (__gcov_one_value_profiler_v2_atomic): Move to ...
194         (__gcov_topn_values_profiler_atomic): ... this.
195         (__gcov_indirect_call_profiler_v4): Remove.
196         * libgcov-util.c (__gcov_single_counter_op): Move to ...
197         (__gcov_topn_counter_op): ... this.
198         * libgcov.h (L_gcov_merge_single): Remove.
199         (L_gcov_merge_topn): New.
200         (__gcov_merge_single): Remove.
201         (__gcov_merge_topn): New.
202         (__gcov_one_value_profiler_v2): Move to ..
203         (__gcov_topn_values_profiler): ... this.
204         (__gcov_one_value_profiler_v2_atomic): Move to ...
205         (__gcov_topn_values_profiler_atomic): ... this.
207 2019-07-03  Martin Liska  <mliska@suse.cz>
209         * libgcov-merge.c (merge_single_value_set): Support N values.
210         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
212 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
214         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
215         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
216         * configure.ac: Add --disable-tm-clone-registry option.
217         * configure: Regenerate.
219 2019-06-27  Martin Liska  <mliska@suse.cz>
221         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
222         dead assignments.
223         * libgcov-util.c: Likewise.
225 2019-06-27  Martin Liska  <mliska@suse.cz>
227         * libgcov-util.c (gcov_profile_merge): Release allocated
228         memory.
229         (calculate_overlap): Likewise.
231 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
233         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
234         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
235         Build objects for the out of line save/restore register functions
236         so that they can be used for any supported Darwin version.
237         * config/t-darwin: Default the build Darwin version to Darwin8
238         (MacOS 10.4).
240 2019-06-25  Martin Liska  <mliska@suse.cz>
242         * libgcov-driver-system.c (replace_filename_variables): Do not
243         call strlen with NULL argument.
245 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
247         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
248         * config/gcn/unwind-gcn.c: New file.
250 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
251             Andrew Stubbs  <ams@codesourcery.com>
253         * configure: Regenerate.
254         * config/gcn/gthr-gcn.h: New.
256 2019-06-18  Tom de Vries  <tdevries@suse.de>
258         * config/nvptx/crt0.c (__main): Declare.
260 2019-06-17  Matthew Green  <mrg@eterna.com.au>
261             Maya Rashish  <coypu@sdf.org>
263         * config.host (aarch64*-*-netbsd*): New case.
265 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
267         * config/msp430/slli.S (__mspabi_sllll): New library function for
268         performing a logical left shift of a 64-bit value.
269         * config/msp430/srai.S (__mspabi_srall): New library function for
270         performing a arithmetic right shift of a 64-bit value.
271         * config/msp430/srll.S (__mspabi_srlll): New library function for
272         performing a logical right shift of a 64-bit value.
274 2019-06-14  Matt Thomas  <matt@3am-software.com>
275             Matthew Green  <mrg@eterna.com.au>
276             Nick Hudson  <skrll@netbsd.org>
277             Maya Rashish  <coypu@sdf.org>
279         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
280         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
281         functions to build.
282         * config/arm/t-netbsd-eabi: New file.
284 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
286         * config.host: Add PRU target.
287         * config/pru/asri.c: New file.
288         * config/pru/eqd.c: New file.
289         * config/pru/eqf.c: New file.
290         * config/pru/ged.c: New file.
291         * config/pru/gef.c: New file.
292         * config/pru/gtd.c: New file.
293         * config/pru/gtf.c: New file.
294         * config/pru/led.c: New file.
295         * config/pru/lef.c: New file.
296         * config/pru/lib2bitcountHI.c: New file.
297         * config/pru/lib2divHI.c: New file.
298         * config/pru/lib2divQI.c: New file.
299         * config/pru/lib2divSI.c: New file.
300         * config/pru/libgcc-eabi.ver: New file.
301         * config/pru/ltd.c: New file.
302         * config/pru/ltf.c: New file.
303         * config/pru/mpyll.S: New file.
304         * config/pru/pru-abi.h: New file.
305         * config/pru/pru-asm.h: New file.
306         * config/pru/pru-divmod.h: New file.
307         * config/pru/sfp-machine.h: New file.
308         * config/pru/t-pru: New file.
310 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
312         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
314 2019-06-10  Martin Liska  <mliska@suse.cz>
316         PR bootstrap/90808
317         * libgcov.h: Add ATTRIBUTE_UNUSED.
319 2019-06-10  Martin Liska  <mliska@suse.cz>
321         * Makefile.in: Add __gcov_one_value_profiler_v2,
322         __gcov_one_value_profiler_v2_atomic and
323         __gcov_indirect_call_profiler_v4.
324         * libgcov-merge.c (__gcov_merge_single): Change
325         function signature.
326         (merge_single_value_set): New.
327         * libgcov-profiler.c (__gcov_one_value_profiler_body):
328         Update functionality.
329         (__gcov_one_value_profiler): Remove.
330         (__gcov_one_value_profiler_v2): ... this.
331         (__gcov_one_value_profiler_atomic): Rename to ...
332         (__gcov_one_value_profiler_v2_atomic): this.
333         (__gcov_indirect_call_profiler_v3): Rename to ...
334         (__gcov_indirect_call_profiler_v4): ... this.
335         * libgcov.h (__gcov_one_value_profiler): Remove.
336         (__gcov_one_value_profiler_atomic): Remove.
337         (__gcov_one_value_profiler_v2_atomic): New.
338         (__gcov_indirect_call_profiler_v3): Remove.
339         (__gcov_one_value_profiler_v2): New.
340         (__gcov_indirect_call_profiler_v4): New.
341         (gcov_get_counter_ignore_scaling): New function.
343 2019-06-07  Martin Liska  <mliska@suse.cz>
345         * Makefile.in: Remove usage of
346         _gcov_merge_icall_topn.
347         * libgcov-driver.c (gcov_sort_n_vals): Remove.
348         (gcov_sort_icall_topn_counter): Likewise.
349         (gcov_sort_topn_counter_arrays): Likewise.
350         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
351         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
352         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
353         Likewise.
354         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
355         (struct indirect_call_tuple): Remove.
356         (__gcov_indirect_call_topn_profiler): Remove.
357         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
358         * libgcov.h (gcov_sort_n_vals): Remove.
359         (L_gcov_merge_icall_topn): Likewise.
360         (__gcov_merge_icall_topn): Likewise.
361         (__gcov_indirect_call_topn_profiler): Likewise.
363 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
365         * config/rs6000/t-darwin: Ensure that the unwinder is built with
366         altivec enabled.
368 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
370         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
371         section.
372         (__mspabi_slli): Likewise.
373         (__mspabi_slll_n): Likewise.
374         (__mspabi_slll): Likewise.
375         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
376         (__mspabi_srai): Likewise.
377         (__mspabi_sral_n): Likewise.
378         (__mspabi_sral): Likewise.
379         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
380         (__mspabi_srli): Likewise.
381         (__mspabi_srll_n): Likewise.
382         (__mspabi_srll): Likewise.
384 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
386         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
387         Add appropriate tm_file clause as well.
388         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
390 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
392         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
393         rather than .data/.bss so it can be accessed via gp-relative
394         addressing.
396 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
398         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
399         (CR2_REGNO): Rename to R_CR2.
400         (XER_REGNO): Rename to R_XER.
401         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
402         (VRSAVE_REGNO): Rename to R_VRSAVE.
403         (VSCR_REGNO): R_VSCR.
405 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
407         * config.host (rx-*-linux*): Add new case.
408         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
410 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
412         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
413         function.
414         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
415         aarch64_post_frob_eh_handler_addr): Add check for b-key.
416         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
417         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
418         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
419         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
420         string.
421         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
422         string.
423         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
425 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
427         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
428         Remove Solaris 9 and 10 support.
429         (sparc_is_sighandler): Likewise.
431 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
433         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
435 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
437         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
438         4_FP_W_TYPEs are used for IEEE quad precision.
439         * soft-fp/extendhftf2.c: Likewise.
440         * soft-fp/extendsftf2.c: Likewise.
441         * soft-fp/extendxftf2.c: Likewise.
442         * soft-fp/trunctfdf2.c: Likewise.
443         * soft-fp/trunctfhf2.c: Likewise.
444         * soft-fp/trunctfsf2.c: Likewise.
445         * soft-fp/trunctfxf2.c: Likewise.
446         * config/rs6000/ibm-ldouble.c: Likewise.
448 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
450         * config.host: Simplify various *-*-solaris2.1[0-9]* to
451         *-*-solaris2*.
452         * configure.ac: Likewise.
453         * configure: Regenerate.
455         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
456         Solaris 10 and Solaris 11 < snv_125 handling.
458 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
460         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
462 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
464         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
465         * config/i386/cpuinfo.h (enum processor_features): Add
466         FEATURE_AVX512BF16.
468 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
469             Bernd Edlinger  <bernd.edlinger@hotmail.de>
470             Jakub Jelinek  <jakub@redhat.com>
472         PR target/89093
473         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
474         * config/arm/unwind-arm.c: Likewise.
475         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
476         attribute for ARM.
478 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
480         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
481         (RT_SIGRETURN): Update.
482         (nds32_fallback_frame_state): Update.
484 2019-02-21  Martin Sebor  <msebor@redhat.com>
486         * libgcc2.h (__clear_cache): Correct signature.
487         * libgcc2.c (__clear_cache): Same.
489 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
491         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
492         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
494 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
496         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
497         regno instead of index to DWARF_ZERO_REG.
499 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
501         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
502         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
504 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
506         * config/alpha/t-linux: Add -mfp-rounding-mode=d
507         to HOST_LIBGCC2_CFLAGS.
509 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
511         PR libgcc/88931
512         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
514 2019-01-18  Martin Liska  <mliska@suse.cz>
516         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
517         to ...
518         (__gcov_indirect_call_profiler_v3): ... this.
519         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
520         (__gcov_indirect_call_profiler_v3): Likewise.
521         * Makefile.in: Bump function name.
523 2019-01-18  Martin Liska  <mliska@suse.cz>
525         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
526         (gcov_version): Use in gcov_error.
527         (merge_one_data): Likewise.
528         (dump_one_gcov): Likewise.
530 2019-01-18  Martin Liska  <mliska@suse.cz>
532         * libgcov-driver.c (gcov_version_string): New function.
533         (gcov_version): Convert version integer into string.
535 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
536             Kwok Cheung Yeung  <kcy@codesourcery.com>
537             Julian Brown  <julian@codesourcery.com>
538             Tom de Vries  <tom@codesourcery.com>
540         * config.host: Recognize amdgcn*-*-amdhsa.
541         * config/gcn/crt0.c: New file.
542         * config/gcn/lib2-divmod-hi.c: New file.
543         * config/gcn/lib2-divmod.c: New file.
544         * config/gcn/lib2-gcn.h: New file.
545         * config/gcn/sfp-machine.h: New file.
546         * config/gcn/t-amdgcn: New file.
548 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
550         PR other/16615
552         * config/c6x/libunwind.S: Mechanically replace "can not" with
553         "cannot".
554         * config/tilepro/atomic.h: Likewise.
555         * config/vxlib-tls.c: Likewise.
556         * generic-morestack-thread.c: Likewise.
557         * generic-morestack.c: Likewise.
558         * mkmap-symver.awk: Likewise.
560 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
562         Update copyright years.
564 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
566         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
567         to ignore -Waddress-of-packed-member.
569 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
571         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
572         parameter and corresponding code.
573         (ARM_FUNC_START): Likewise in both definitions.
574         Also update footer comment about condition that need to match with
575         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
576         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
577         defined.  Weakly define it in this case.
578         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
579         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
580         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
581         comment to keep condition in sync with the one in
582         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
584 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
586         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
587         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
589 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
591         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
592         and .cfi_endproc directives for VxWorks targets.
594 2018-12-05  Paul Koning  <ni1d@arrl.net>
596         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
598 2018-11-27  Alan Modra  <amodra@gmail.com>
600         * config/rs6000/morestack.S (__stack_split_initialize),
601         (__morestack_get_guard, __morestack_set_guard),
602         (__morestack_make_guard): Provide CFI covering these functions.
603         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
605 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
607         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
608         (sc_pt_regs_lr): Update for kernel.
609         (sc_pt_regs_tls): Update for kernel.
611 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
613         * config/csky/linux-unwind.h: Fix coding style.
615 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
617         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
618         (csky_fallback_frame_state): Modify the check of the
619         instructions to adapt to changes in the kernel
621 2018-11-09  Stafford Horne  <shorne@gmail.com>
622             Richard Henderson  <rth@twiddle.net>
624         * config.host: Add OpenRISC support.
625         * config/or1k/*: New.
627 2018-11-08  Kito Cheng  <kito@andestech.com>
629         * soft-fp/adddf3.c: Update from glibc.
630         * soft-fp/addsf3.c: Likewise.
631         * soft-fp/addtf3.c: Likewise.
632         * soft-fp/divdf3.c: Likewise.
633         * soft-fp/divsf3.c: Likewise.
634         * soft-fp/divtf3.c: Likewise.
635         * soft-fp/double.h: Likewise.
636         * soft-fp/eqdf2.c: Likewise.
637         * soft-fp/eqsf2.c: Likewise.
638         * soft-fp/eqtf2.c: Likewise.
639         * soft-fp/extenddftf2.c: Likewise.
640         * soft-fp/extended.h: Likewise.
641         * soft-fp/extendhftf2.c: Likewise.
642         * soft-fp/extendsfdf2.c: Likewise.
643         * soft-fp/extendsftf2.c: Likewise.
644         * soft-fp/extendxftf2.c: Likewise.
645         * soft-fp/fixdfdi.c: Likewise.
646         * soft-fp/fixdfsi.c: Likewise.
647         * soft-fp/fixdfti.c: Likewise.
648         * soft-fp/fixhfti.c: Likewise.
649         * soft-fp/fixsfdi.c: Likewise.
650         * soft-fp/fixsfsi.c: Likewise.
651         * soft-fp/fixsfti.c: Likewise.
652         * soft-fp/fixtfdi.c: Likewise.
653         * soft-fp/fixtfsi.c: Likewise.
654         * soft-fp/fixtfti.c: Likewise.
655         * soft-fp/fixunsdfdi.c: Likewise.
656         * soft-fp/fixunsdfsi.c: Likewise.
657         * soft-fp/fixunsdfti.c: Likewise.
658         * soft-fp/fixunshfti.c: Likewise.
659         * soft-fp/fixunssfdi.c: Likewise.
660         * soft-fp/fixunssfsi.c: Likewise.
661         * soft-fp/fixunssfti.c: Likewise.
662         * soft-fp/fixunstfdi.c: Likewise.
663         * soft-fp/fixunstfsi.c: Likewise.
664         * soft-fp/fixunstfti.c: Likewise.
665         * soft-fp/floatdidf.c: Likewise.
666         * soft-fp/floatdisf.c: Likewise.
667         * soft-fp/floatditf.c: Likewise.
668         * soft-fp/floatsidf.c: Likewise.
669         * soft-fp/floatsisf.c: Likewise.
670         * soft-fp/floatsitf.c: Likewise.
671         * soft-fp/floattidf.c: Likewise.
672         * soft-fp/floattihf.c: Likewise.
673         * soft-fp/floattisf.c: Likewise.
674         * soft-fp/floattitf.c: Likewise.
675         * soft-fp/floatundidf.c: Likewise.
676         * soft-fp/floatundisf.c: Likewise.
677         * soft-fp/floatunditf.c: Likewise.
678         * soft-fp/floatunsidf.c: Likewise.
679         * soft-fp/floatunsisf.c: Likewise.
680         * soft-fp/floatunsitf.c: Likewise.
681         * soft-fp/floatuntidf.c: Likewise.
682         * soft-fp/floatuntihf.c: Likewise.
683         * soft-fp/floatuntisf.c: Likewise.
684         * soft-fp/floatuntitf.c: Likewise.
685         * soft-fp/gedf2.c: Likewise.
686         * soft-fp/gesf2.c: Likewise.
687         * soft-fp/getf2.c: Likewise.
688         * soft-fp/half.h: Likewise.
689         * soft-fp/ledf2.c: Likewise.
690         * soft-fp/lesf2.c: Likewise.
691         * soft-fp/letf2.c: Likewise.
692         * soft-fp/muldf3.c: Likewise.
693         * soft-fp/mulsf3.c: Likewise.
694         * soft-fp/multf3.c: Likewise.
695         * soft-fp/negdf2.c: Likewise.
696         * soft-fp/negsf2.c: Likewise.
697         * soft-fp/negtf2.c: Likewise.
698         * soft-fp/op-1.h: Likewise.
699         * soft-fp/op-2.h: Likewise.
700         * soft-fp/op-4.h: Likewise.
701         * soft-fp/op-8.h: Likewise.
702         * soft-fp/op-common.h: Likewise.
703         * soft-fp/quad.h: Likewise.
704         * soft-fp/single.h: Likewise.
705         * soft-fp/soft-fp.h: Likewise.
706         * soft-fp/subdf3.c: Likewise.
707         * soft-fp/subsf3.c: Likewise.
708         * soft-fp/subtf3.c: Likewise.
709         * soft-fp/truncdfsf2.c: Likewise.
710         * soft-fp/trunctfdf2.c: Likewise.
711         * soft-fp/trunctfhf2.c: Likewise.
712         * soft-fp/trunctfsf2.c: Likewise.
713         * soft-fp/trunctfxf2.c: Likewise.
714         * soft-fp/unorddf2.c: Likewise.
715         * soft-fp/unordsf2.c: Likewise.
716         * soft-fp/unordtf2.c: Likewise.
718 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
720         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
721         * config/i386/cpuinfo.h (processor_types): Add znver2.
723 2018-11-01  Paul Koning  <ni1d@arrl.net>
725         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
726         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
728 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
730         PR bootstrap/82856
731         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
732         * configure: Regenerate.
734 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
736         * config/arc/lib1funcs.S (_muldi3): New function.
737         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
739 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
741         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
743 2018-10-25  Martin Liska  <mliska@suse.cz>
745         PR other/87735
746         * libgcov-profiler.c: Revert.
748 2018-10-24  Martin Liska  <mliska@suse.cz>
750         * libgcov-profiler.c: Start from 1 in order to distinguish
751         functions which were seen and these that were not.
753 2018-10-18  Paul Koning  <ni1d@arrl.net>
755         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
756         standard.
757         * divmod.c: Update references to __udivmodsi4.
758         * udivmod.c: Ditto.
759         * udivhi3.c: New file.
760         * udivmodhi4.c: New file.
761         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
763 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
765         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
767 2018-10-12  Olivier Hainque  <hainque@adacore.com>
769         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
770         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
772 2018-10-08  Paul Koning  <ni1d@arrl.net>
774         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
776 2018-10-04  Martin Liska  <mliska@suse.cz>
778         PR gcov-profile/84107
779         * libgcov-profiler.c (__gcov_indirect_call):
780         Change type to indirect_call_tuple.
781         (struct indirect_call_tuple): New struct.
782         (__gcov_indirect_call_topn_profiler): Change type.
783         (__gcov_indirect_call_profiler_v2): Use the new
784         variables.
785         * libgcov.h (struct indirect_call_tuple): New struct
786         definition.
788 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
790         * libgcc2.c (isnan): Use __builtin_isnan.
791         (isfinite): Use __builtin_isfinite.
792         (isinf): Use __builtin_isinf.
794 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
796         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
798 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
800         * config/vxcache.c: New file.  Provide __clear_cache, based on
801         the cacheTextUpdate VxWorks service.
802         * config/t-vxworks (LIB2ADD): Add vxcache.c.
803         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
804         * config/t-vxwoks7: Likewise.
806 2018-09-21  Martin Liska  <mliska@suse.cz>
808         * libgcov-driver.c (crc32_unsigned): Remove.
809         (gcov_histogram_insert): Likewise.
810         (gcov_compute_histogram): Likewise.
811         (compute_summary): Simplify rapidly.
812         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
813         (merge_summary): Rapidly simplify.
814         (dump_one_gcov): Ignore gcov_summary.
815         (gcov_do_dump): Do not handle program summary, it's not
816         used.
817         * libgcov-util.c (tag_summary): Remove.
818         (read_gcda_finalize): Fix coding style.
819         (read_gcda_file): Initialize curr_object_summary.
820         (compute_summary): Remove.
821         (calculate_overlap): Remove settings of run_max.
823 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
825         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
826         ucontext_t type instead.
827         (nds32_fallback_frame_state): Remove struct _sigframe statement.
829 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
831         * config/nds32/t-nds32-glibc: New file.
833 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
835         * configure.ac (solaris_ld_v2_maps): New test.
836         * configure: Regenerate.
837         * Makefile.in (solaris_ld_v2_maps): New variable.
838         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
839         if supported.
841 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
843         PR target/86951
844         * config/arm/lib1funcs.asm (speculation_barrier): New function.
845         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
846         to build.
848 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
850         * config/unwind-dw2-fde-darwin.c
851         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
852         * config/darwin10-unwind-find-enc-func.c: … to here.
853         * config/t-darwin: Build Darwin10 unwinder shim crt.
854         * libgcc/config.host: Add the Darwin10 unwinder shim.
856 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
858         * config.host: Add crtbegin.o and crtend.o for
859         powerpc-wrs-vxworks target.
861 2018-08-17  Jojo  <jijie_rong@c-sky.com>
862             Huibin Wang  <huibin_wang@c-sky.com>
863             Sandra Loosemore  <sandra@codesourcery.com>
864             Chung-Lin Tang  <cltang@codesourcery.com>
866         C-SKY port: libgcc
868         * config.host: Add C-SKY support.
869         * config/csky/*: New.
871 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
873         * config/nds32/t-nds32-isr: Rearrange object dependency.
874         * config/nds32/initfini.c: Add dwarf2 unwinding support.
875         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
876         and registers usage.
877         * config/nds32/isr-library/excp_isr.S: Ditto.
878         * config/nds32/isr-library/intr_isr.S: Ditto.
879         * config/nds32/isr-library/reset.S: Ditto.
880         * config/nds32/isr-library/restore_all.inc: Ditto.
881         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
882         * config/nds32/isr-library/restore_partial.inc: Ditto.
883         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
884         * config/nds32/isr-library/save_all.inc: Ditto.
885         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
886         * config/nds32/isr-library/save_partial.inc: Ditto.
887         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
888         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
890 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
892         * config/pa/linux-atomic.c: Update comment.
893         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
894         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
895         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
896         __ATOMIC_RELAXED for atomic loads.
897         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
898         unordered store to release lock.
899         (__sync_lock_release_8): Likewise.
900         (SYNC_LOCK_RELEASE_2): Remove define.
902 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
904         PR libgcc/86512
905         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
906         exponent goes negative. Update my email address.
907         * config/arm/ieee754-sf.S: Likewise.
909 2018-08-01  Martin Liska  <mliska@suse.cz>
911         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
912         check that  __gcov_indirect_call_callee is non-null.
914 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
916         * config/arm/ieee754-df.S: Fix comment for code working on
917         architectures >= 4.
918         * config/arm/ieee754-sf.S: Likewise.
920 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
922         PR libgcc/85334
923         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
924         Removed.
926 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
928         * configure: Regenerated.
930 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
932         * Makefile.in (install_leaf): Use enable_gcov instead of
933         enable_libgcov.
935 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
937         * configure.ac: Add --disable-gcov option.
938         * configure: Regenerate.
939         * Makefile.in: Honour @enable_gcov@.
941 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
943         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
944         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
945         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
946         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
947         __ARM_ARCH__.
948         * config/arm/ieee754-sf.S: Likewise.
949         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
951 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
953         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
954         longer supported.
955         * config/arm/ieee754-sf.S: Likewise.
957 2018-06-20  Than McIntosh  <thanm@google.com>
959         PR libgcc/86213
960         * generic-morestack.c (allocate_segment): Move calls to getenv and
961         getpagesize to __morestack_load_mmap.
962         (__morestack_load_mmap) Initialize static_pagesize and
963         use_guard_page here so as to avoid clobbering SSE regs during a
964         __morestack call.
966 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
968         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
969         support modules with -mno-gnu-attribute.
970         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
972 2018-06-07  Olivier Hainque  <hainque@adacore.com>
974         * config/t-vxworks (LIBGCC_INCLUDES): Add
975         -I$(MULTIBUILDTOP)../../gcc/include.
976         * config/t-vxworks7: Likewise. Reformat a bit to match
977         the t-vxworks layout.
979 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
981         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
983 2018-06-07  Martin Liska  <mliska@suse.cz>
985         * libgcov-driver.c: Rename cs_all to all and assign it from
986         all_prg.
988 2018-06-07  Martin Liska  <mliska@suse.cz>
990         PR bootstrap/86057
991         * libgcov-driver-system.c (replace_filename_variables): Use
992         memcpy instead of mempcpy.
993         (allocate_filename_struct): Do not allocate filename, allocate
994         prefix and set it.
995         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
996         here and properly copy content into it.
997         * libgcov-driver.c (struct gcov_filename): Remove max_length
998         field, change prefix from size_t into char *.
999         (compute_summary): Do not calculate longest filename.
1000         (gcov_do_dump): Release memory of gf.filename after each file.
1001         * libgcov-util.c (compute_summary): Use new signature of
1002         compute_summary.
1003         (calculate_overlap): Likewise.
1005 2018-06-05  Martin Liska  <mliska@suse.cz>
1007         PR gcov-profile/47618
1008         * libgcov-driver-system.c (replace_filename_variables): New
1009         function.
1010         (gcov_exit_open_gcda_file): Use it.
1012 2018-06-05  Martin Liska  <mliska@suse.cz>
1014         * libgcov-driver.c (gcov_compute_histogram): Remove usage
1015         of gcov_ctr_summary.
1016         (compute_summary): Do it just for a single summary.
1017         (merge_one_data): Likewise.
1018         (merge_summary): Simplify as we read just single summary.
1019         (dump_one_gcov): Pass proper argument.
1020         * libgcov-util.c (compute_one_gcov): Simplify as we have just
1021         single summary.
1022         (gcov_info_count_all_cold): Likewise.
1023         (calculate_overlap): Likewise.
1025 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
1026             Monk Chiang  <sh.chiang04@gmail.com>
1028         * config.host (nds32*-linux*): New.
1029         * config/nds32/linux-atomic.c: New file.
1030         * config/nds32/linux-unwind.h: New file.
1032 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
1034         PR target/85591
1035         * config/i386/cpuinfo.c (get_amd_cpu): Return
1036         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1038 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1040         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1042 2018-05-29  Martin Liska  <mliska@suse.cz>
1044         PR gcov-profile/85759
1045         * libgcov-driver-system.c (gcov_error): Introduce usage of
1046         GCOV_EXIT_AT_ERROR env. variable.
1047         * libgcov-driver.c (merge_one_data): Print error that we
1048         overwrite a gcov file with a different timestamp.
1050 2018-05-23  Kalamatee  <kalamatee@gmail.com>
1052         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1053         path to Lf$finfty.
1055 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
1056             Monk Chiang  <sh.chiang04@gmail.com>
1057             Jim Wilson <jimw@sifive.com>
1059         * config/riscv/save-restore.S: Add support for rv32e.
1061 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1063         * config/arm/libunwind.S: Update comment relating to armv5.
1065 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
1067         * config/arm/cmse.c (cmse_check_address_range): Replace
1068         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1070 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
1072         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1073         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1075 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
1077         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1078         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1080 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
1082         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1084 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
1085             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1087         PR libgcc/84292
1088         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1089         op_and_fetch to return the right result.
1091 2018-04-27  Alan Modra  <amodra@gmail.com>
1093         PR libgcc/85532
1094         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1095         -fno-asynchronous-unwind-tables.
1097 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1099         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1100         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1102 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1104         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1105         when including "config/i386/shadow-stack-unwind.h".
1107 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1109         * configure: Regenerated.
1111 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
1113         PR target/85456
1114         * config/rs6000/_powikf2.c: New file.  Add support for the
1115         __builtin_powil function when long double is IEEE 128-bit floating
1116         point.
1117         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1118         __powikf2 support.
1119         (__powikf2): Likewise.
1120         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1121         (__powikf2_hw): Likewise.
1122         (__powikf2): Likewise.
1123         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1124         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1125         (_powikf2-hw.c): Likewise.
1127 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1129         PR libgcc/85334
1130         * unwind-generic.h (_Unwind_Frames_Increment): New.
1131         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1132         Likewise.
1133         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1134         count with _Unwind_Frames_Increment.
1135         (_Unwind_ForcedUnwind_Phase2): Likewise.
1137 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1139         PR libgcc/85379
1140         * config/i386/morestack.S (__stack_split_initialize): Add
1141         _CET_ENDBR.
1143 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1145         * configure: Regenerated.
1147 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1149         PR jit/85384
1150         * configure: Regenerate.
1152 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
1154         PR target/84945
1155         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1156         -Wdangling-else warnings.  Mask shift counts to avoid
1157         -Wshift-count-negative and -Wshift-count-overflow false positives.
1159 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
1161         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1163 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1165         PR target/85100
1166         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1167         (XSTATE_FP): Likewise.
1168         (XSTATE_SSE): Likewise.
1169         (XSTATE_YMM): Likewise.
1170         (XSTATE_OPMASK): Likewise.
1171         (XSTATE_ZMM): Likewise.
1172         (XSTATE_HI_ZMM): Likewise.
1173         (XCR_AVX_ENABLED_MASK): Likewise.
1174         (XCR_AVX512F_ENABLED_MASK): Likewise.
1175         (get_available_features): Enable AVX and AVX512 features only
1176         if their states are supported by OSXSAVE.
1178 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1180         PR target/85025
1181         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1182         Fix a typo, tmp => 255.
1184 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
1186         PR target/84945
1187         * config/i386/cpuinfo.h (__cpu_features2): Declare.
1188         * config/i386/cpuinfo.c (__cpu_features2): New variable for
1189         ifndef SHARED only.
1190         (set_feature): Define.
1191         (get_available_features): Use set_feature macro.  Set __cpu_features2
1192         to the second word of features ifndef SHARED.
1194 2018-03-15  Julia Koval  <julia.koval@intel.com>
1196         * config/i386/cpuinfo.c (get_available_features): Add
1197         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1198         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1199         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1200         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1201         FEATURE_AVX512BITALG.
1203 2018-03-14  Julia Koval  <julia.koval@intel.com>
1205         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1206         icelake client and icelake server.
1208 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
1210         * config/pa/fptr.c (_dl_read_access_allowed): New.
1211         (__canonicalize_funcptr_for_compare): Use it.
1213 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
1215         PR debug/83917
1216         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1217         $asm_hidden_op if visibility ("hidden") attribute works.
1218         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1219         * config/i386/i386-asm.h: Don't include auto-host.h.
1220         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1221         PACKAGE_URL): Don't undefine.
1222         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1223         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1224         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1225         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1226         definition instead of hardcoded .hidden.
1227         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1228         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1229         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1230         (USE_GAS_CFI_DIRECTIVES): Don't define.
1231         * configure: Regenerated.
1232         * config.in: Likewise.
1234 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
1236         PR debug/83917
1237         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1238         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1239         inclusion of auto-target.h and auto-host.h.
1240         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1241         __GCC_HAVE_DWARF2_CFI_ASM.
1242         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1243         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1244         cfi_pop): Define.
1245         * config/i386/cygwin.S: Don't include auto-host.h here, just
1246         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1247         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1248         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1249         * config/i386/resms64fx.h: Add cfi_* directives.
1250         * config/i386/resms64x.h: Likewise.
1252 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
1254         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1255         .literal_position directive.
1256         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1258 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1260         PR target/84148
1261         * configure: Regenerate.
1263 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1265         PR target/84239
1266         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1267         Include cetintrin.h not x86intrin.h.
1269 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1271         PR target/84239
1272         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1273         Use new _get_ssp and _inc_ssp intrinsics.
1275 2018-02-02  Julia Koval  <julia.koval@intel.com>
1277         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1279 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
1281         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1282         option.
1283         (__divsi3): Use RF16 safe registers.
1284         (__modsi3): Likewise.
1286 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
1288         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1289         (__divsf3): Make NaN return value quiet.
1290         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1291         (__divdf3): Make NaN return value quiet.
1293 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1295         * config/rl78/anddi3.S: New assembly file.
1296         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1298 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1300         * config/rl78/umindi3.S: New assembly file.
1301         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1303 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1305         * config/rl78/smindi3.S: New assembly file.
1306         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1308 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1310         * config/rl78/smaxdi3.S: New assembly file.
1311         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1313 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1315         * config/rl78/umaxdi3.S: New assembly file.
1316         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1318 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
1320         PR lto/83452
1321         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1322         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1324 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
1326         * config/aarch64/value-unwind.h (aarch64_vg): New function.
1327         (DWARF_LAZY_REGISTER_VALUE): Define.
1328         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1329         to provide a fallback register value.
1331 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
1333         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1334         __ibm128, instead of trying to use long double.
1335         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1336         accomidate -mabi=ieeelongdouble multilibs.
1337         (CVT_IBM128_TO_FLOAT128): Likewise.
1338         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1339         the appropriate IBM extended double type.
1340         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1341         (__gcc_qsub): Likewise.
1342         (__gcc_qmul): Likewise.
1343         (__gcc_qdiv): Likewise.
1344         (pack_ldouble): Likewise.
1345         (__gcc_qneg): Likewise.
1346         (__gcc_qeq): Likewise.
1347         (__gcc_qne): Likewise.
1348         (__gcc_qge): Likewise.
1349         (__gcc_qle): Likewise.
1350         (__gcc_stoq): Likewise.
1351         (__gcc_dtoq): Likewise.
1352         (__gcc_itoq): Likewise.
1353         (__gcc_utoq): Likewise.
1354         (__gcc_qunord): Likewise.
1355         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1356         quad-float128.h for the definitions.
1357         (COPYSIGN): Use the f128 version instead of the q version.
1358         (INFINITY): Likewise.
1359         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1360         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1361         quad-float128.h for the definitions.
1362         (COPYSIGN): Use the f128 version instead of the q version.
1363         (INFINITY): Likewise.
1364         (FABS): Likewise.
1365         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1366         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1367         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1369 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1371         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1372         configuration.
1374 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
1376         Update copyright years.
1378 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
1380         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1381         * config/riscv/multi3.c: New file.
1382         * config/riscv/multi3.S: Remove.
1384 2017-12-08  Jim Wilson  <jimw@sifive.com>
1386         * config/riscv/div.S: Use FUNC_* macros.
1387         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1388         * config/riscv/save-restore.S: Likewise.
1389         * config/riscv/riscv-asm.h: New.
1391 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
1393         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1394         * config/rs6000/_divkc3.c (__divkc3): Likewise.
1396         PR libgcc/83112
1397         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1398         correct type for all ifunc resolvers to silence -Wattribute-alias
1399         warnings.  Eliminate the forward declaration of the resolver
1400         functions which is no longer needed.
1401         (__subkf3_resolve): Likewise.
1402         (__mulkf3_resolve): Likewise.
1403         (__divkf3_resolve): Likewise.
1404         (__negkf2_resolve): Likewise.
1405         (__eqkf2_resolve): Likewise.
1406         (__nekf2_resolve): Likewise.
1407         (__gekf2_resolve): Likewise.
1408         (__gtkf2_resolve): Likewise.
1409         (__lekf2_resolve): Likewise.
1410         (__ltkf2_resolve): Likewise.
1411         (__unordkf2_resolve): Likewise.
1412         (__extendsfkf2_resolve): Likewise.
1413         (__extenddfkf2_resolve): Likewise.
1414         (__trunckfsf2_resolve): Likewise.
1415         (__trunckfdf2_resolve): Likewise.
1416         (__fixkfsi_resolve): Likewise.
1417         (__fixkfdi_resolve): Likewise.
1418         (__fixunskfsi_resolve): Likewise.
1419         (__fixunskfdi_resolve): Likewise.
1420         (__floatsikf_resolve): Likewise.
1421         (__floatdikf_resolve): Likewise.
1422         (__floatunsikf_resolve): Likewise.
1423         (__floatundikf_resolve): Likewise.
1424         (__extendkftf2_resolve): Likewise.
1425         (__trunctfkf2_resolve): Likewise.
1427         PR libgcc/83103
1428         * config/rs6000/quad-float128.h (TF): Don't define if long double
1429         is IEEE 128-bit floating point.
1430         (TCtype): Define as either TCmode or KCmode, depending on whether
1431         long double is IEEE 128-bit floating point.
1432         (__mulkc3_sw): Add declarations for software/hardware versions of
1433         complex multiply/divide.
1434         (__divkc3_sw): Likewise.
1435         (__mulkc3_hw): Likewise.
1436         (__divkc3_hw): Likewise.
1437         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1438         handlers to switch between using software emulation and hardware
1439         float128 instructions, build the complex multiply/divide functions
1440         for both software and hardware support.
1441         * config/rs6000/_divkc3.c (_divkc3): Likewise.
1442         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1443         (__divkc3_resolve): Likewise.
1444         (__mulkc3): Likewise.
1445         (__divkc3): Likewise.
1446         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1447         (fp128_hw_src): Likewise.
1448         (fp128_hw_static_obj): Likewise.
1449         (fp128_hw_shared_obj): Likewise.
1450         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1451         _mulkc3.c and _divkc3.c, changing the function name.
1452         (_divkc3-hw.c): Likewise.
1453         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1454         and _divkc3-hw.c.
1456 2017-11-26  Julia Koval  <julia.koval@intel.com>
1458         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1459         * config/i386/cpuinfo.h (processor_subtypes): Add
1460         INTEL_COREI7_CANNONLAKE.
1462 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1464         PR bootstrap/83015
1465         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1466         parameter.
1467         * config/xtensa/unwind-dw2-xtensa.c: Likewise
1468         * config/ia64/unwind-ia64.c: Add frames parameter.
1469         * unwind-sjlj.c: Likewise.
1471 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1473         * config/i386/linux-unwind.h: Include
1474         config/i386/shadow-stack-unwind.h.
1475         * config/i386/shadow-stack-unwind.h: New file.
1476         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1477         pass it to _Unwind_Frames_Extra.
1478         * unwind-generic.h (_Unwind_Frames_Extra): New.
1479         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1480         parameter. Add local variable frames to count number of frames.
1481         (_Unwind_ForcedUnwind_Phase2): Likewise.
1482         (_Unwind_RaiseException): Add local variable frames to count
1483         number of frames, pass it to _Unwind_RaiseException_Phase2 and
1484         uw_install_context.
1485         (_Unwind_ForcedUnwind): Likewise.
1486         (_Unwind_Resume): Likewise.
1487         (_Unwind_Resume_or_Rethrow): Likewise.
1489 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1491         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1492         (CET_FLAGS): New.
1493         * config/i386/morestack.S: Include <cet.h>.
1494         (__morestack_large_model): Add _CET_ENDBR at function entrance.
1495         * config/i386/resms64.h: Include <cet.h>.
1496         * config/i386/resms64f.h: Likewise.
1497         * config/i386/resms64fx.h: Likewise.
1498         * config/i386/resms64x.h: Likewise.
1499         * config/i386/savms64.h: Likewise.
1500         * config/i386/savms64f.h: Likewise.
1501         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1502         (CRTSTUFF_T_CFLAGS): Likewise.
1503         * configure.ac: Include ../config/cet.m4.
1504         Set and substitute CET_FLAGS.
1505         * configure: Regenerated.
1507 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1509         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1510         renaming.
1511         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1512         * configure.ac (libgcc_cv_solaris_crts): Likewise.
1513         * configure: Regenerate.
1515 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1517         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1518         after "do {} while (0)".
1520 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1522         PR other/82784
1523         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1524         semicolon after "do {} while (0)".
1525         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1526         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1527         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1528         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1530 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
1532         PR libgcc/82635
1533         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1534         sysctl to determine whether we're in a trampoline.
1535         Keep the pattern matching method for systems without
1536         KERN_PROC_SIGTRAMP sysctl.
1538 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
1539             Vineet Gupta <vgupta@synopsys.com>
1541         * config.host (arc*-*-linux*): Set md_unwind_header variable.
1542         * config/arc/linux-unwind-reg.def: New file.
1543         * config/arc/linux-unwind-reg.h: Likewise.
1545 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
1547         * config/rl78/subdi3.S: New assembly file.
1548         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1550 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
1552         * config/rl78/adddi3.S: New assembly file.
1553         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1555 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
1557         PR target/82274
1558         * libgcc2.c (__mulvDI3): If both operands have
1559         the same highpart of -1 and the topmost bit of lowpart is 0,
1560         multiplication overflows even if both lowparts are 0.
1562 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
1564         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1566 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
1568         * config/microblaze/crti.S, config/microblaze/crtn.S,
1569         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1570         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1571         config/microblaze/mulsi3.S,
1572         config/microblaze/stack_overflow_exit.S,
1573         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1574         config/pa/milli64.S: Add .note.GNU-stack section.
1576 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
1578         * configure.ac: Add Check for HAVE_AS_AVX.
1579         * config.in: Regenerate.
1580         * configure: Likewise.
1581         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1582         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1583         Correct out-of-date comments.
1585 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
1587         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1588         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1590 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
1592         * config/i386/i386-asm.h (PASTE2): New macro.
1593         (ASMNAME): Modify to use PASTE2.
1594         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1595         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1596         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1597         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1598         * config/i386/resms64f.S: Likewise.
1599         * config/i386/resms64fx.S: Likewise.
1600         * config/i386/resms64x.S: Likewise.
1601         * config/i386/savms64.S: Likewise.
1602         * config/i386/savms64f.S: Likewise.
1603         * config/i386/avx_resms64.S: New file that only defines a macro and
1604         includes it's corresponding header file.
1605         * config/i386/avx_resms64f.S: Likewise.
1606         * config/i386/avx_resms64fx.S: Likewise.
1607         * config/i386/avx_resms64x.S: Likewise.
1608         * config/i386/avx_savms64.S: Likewise.
1609         * config/i386/avx_savms64f.S: Likewise.
1610         * config/i386/sse_resms64.S: Likewise.
1611         * config/i386/sse_resms64f.S: Likewise.
1612         * config/i386/sse_resms64fx.S: Likewise.
1613         * config/i386/sse_resms64x.S: Likewise.
1614         * config/i386/sse_savms64.S: Likewise.
1615         * config/i386/sse_savms64f.S: Likewise.
1616         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1618 2017-09-01  Olivier Hainque  <hainque@adacore.com>
1619         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1621 2017-08-31  Olivier Hainque  <hainque@adacore.com>
1623         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1624         match as powerpc-wrs-vxworks*.
1626 2017-08-07  Jonathan Yong  <10walls@gmail.com>
1628         * config.host (*-cygwin): Include file from mingw
1629         config/i386/enable-execute-stack-mingw32.c
1631 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
1632             Doug Rupp  <rupp@adacore.com>
1633             Olivier Hainque  <hainque@adacore.com>
1635         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1636         as well as arm-wrs-vxworks.
1637         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
1638         LIB2ADDEH.
1639         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1640         __exidx_start and __exidx_end for downloadable modules.
1642 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1644         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1645         * config/t-vxworks7: Likewise.
1647 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1649         * config/t-vxworks: Instead of redefining LIB2ADD,
1650         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1652 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1654         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1656 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
1658         PR testsuite/80759
1659         * config.host: include i386/t-msabi for darwin and solaris.
1660         * config/i386/i386-asm.h
1661         (ELFFN): Rename to FN_TYPE.
1662         (FN_SIZE): New macro.
1663         (FN_HIDDEN): Likewise.
1664         (ASMNAME): Likewise.
1665         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1666         .globl.
1667         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1668         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1669         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1670         .macro.
1671         * config/i386/resms64f.S: Likewise.
1672         * config/i386/resms64fx.S: Likewise.
1673         * config/i386/resms64x.S: Likewise.
1674         * config/i386/savms64.S: Likewise.
1675         * config/i386/savms64f.S: Likewise.
1677 2017-07-19  John Marino  <gnugcc@marino.st>
1679         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1681 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
1683         PR target/81193
1684         * configure.ac (PowerPC float128 hardware support): Test whether
1685         we can use __builtin_cpu_supports before enabling the ifunc
1686         handler.
1687         * configure: Regenerate.
1689 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
1691         * config.host: Remove uclibc from arc target spec.
1693 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
1695         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1697 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
1699         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1700         (have_ieee_hw_p): Delete function.
1701         (SW_OR_HW) Use __builtin_cpu_supports().
1703 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1705         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1707 2017-07-03  Olivier Hainque  <hainque@adacore.com>
1709         * config/t-vxworks7: New file, really.
1711 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1713         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1714         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1715         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1716         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1717         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1718         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1719         config/pa/linux-unwind.h (pa32_fallback_frame_state),
1720         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1721         config/sh/linux-unwind.h (sh_fallback_frame_state),
1722         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1723         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1724         ucontext_t instead of struct ucontext.
1726 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
1728         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1729         (x86_64-wrs-vxworks7): Likewise.
1731 2017-06-27  Olivier Hainque  <hainque@adacore.com>
1733         * config/t-vxworks7: New file.
1734         * config.host (*-*-vxworks7): Use it.
1736 2017-06-22  Matt Turner  <mattst88@gmail.com>
1738         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1739         skylake case.
1741 2017-06-21  Richard Biener  <rguenther@suse.de>
1743         PR gcov-profile/81080
1744         * configure.ac: Add AC_SYS_LARGEFILE.
1745         * libgcov.h: Include auto-target.h before tsystem.h to pick
1746         up _FILE_OFFSET_BITS which might differ for multilibs.
1747         * config.in: Regenerate.
1748         * configure: Likewise.
1750 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
1752         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1754 2017-06-09  Martin Liska  <mliska@suse.cz>
1756         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1757         Reset __gcov_indirect_call_callee to NULL.
1759 2017-06-08  Olivier Hainque  <hainque@adacore.com>
1761         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1762         the set of -I options, support for direct inclusions of net/uio.h
1763         by VxWorks header files via ioLib.h.
1765 2017-06-07  Tony Reix  <tony.reix@atos.net>
1766             Matthieu Sarter  <matthieu.sarter.external@atos.net>
1767             David Edelsohn  <dje.gcc@gmail.com>
1769         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1770         unconditionally.
1771         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
1772         AIX 7.2 support.
1774 2017-06-02  Olivier Hainque  <hainque@adacore.com>
1776         * config/vxlib.c (__gthread_once): Add missing value to
1777         return statement.
1779 2017-05-30  Olivier Hainque  <hainque@adacore.com>
1781         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1782         dollar sign before $(MULTIDIR).
1784 2017-05-26  Richard Henderson  <rth@redhat.com>
1786         PR libgcc/80037
1787         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1789 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
1791         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1792         _Unwind_SetIP available as functions for arm*-*-freebsd*.
1793         * config/arm/unwind-arm.c: Implement the above.
1795 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1797         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1798         section for a non-executable stack.
1800 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
1802         PR target/80600
1803         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1805 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
1807         * config.host: Add i386/t-msabi to i386/t-linux file list.
1808         * config/i386/i386-asm.h: New file.
1809         * config/i386/resms64.S: New file.
1810         * config/i386/resms64f.S: New file.
1811         * config/i386/resms64fx.S: New file.
1812         * config/i386/resms64x.S: New file.
1813         * config/i386/savms64.S: New file.
1814         * config/i386/savms64f.S: New file.
1815         * config/i386/t-msabi: New file.
1817 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
1819         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1820         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1822 2017-05-05  Joshua Conner  <joshconner@google.com>
1824         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1825         pc-relative indirect handling for fuchsia.
1826         * config/t-slibgcc-fuchsia: New file.
1827         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1828         x86_64-*-fuchsia*): Add definitions.
1830 2017-04-19  Martin Liska  <mliska@suse.cz>
1832         PR gcov-profile/80435
1833         * Makefile.in: Install gcov.h.
1834         * gcov.h: New file.
1835         * libgcov.h: Use the header and make __gcov_flush publicly
1836         visible.
1838 2017-04-18  Martin Liska  <mliska@suse.cz>
1840         PR gcov-profile/78783
1841         * libgcov-driver.c (gcov_get_filename): New function.
1843 2017-04-07  Jeff Law  <law@redhat.com>
1845         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1846         target makefile fragment.
1847         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1849 2017-04-07  Alan Modra  <amodra@gmail.com>
1851         PR target/45053
1852         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1854 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
1856         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1858 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
1860         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1862 2017-03-10  John Marino  <gnugcc@marino.st>
1864         * config/aarch64/freebsd-unwind.h: New file.
1865         * config.host: Add aarch64-*-freebsd unwinder.
1867 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1869         * config/rs6000/crtrestvr.s: Use .machine altivec.
1870         * config/rs6000/crtsavevr.s: Ditto.
1872 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1874         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1875         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1876         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1877         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1878         * configure: Regenerate.
1879         * config.in: Regenerate.
1881 2017-03-02  Jonathan Yong <10walls@gmail.com>
1883         * config/i386/gthr-win32.h: Define NOGDI before
1884         windows.h include to prevent w32api CC_NONE macro
1885         clash with libgfortran.
1887 2017-03-02  Jonathan Yong <10walls@gmail.com>
1889         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1891 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1893         * config/aarch64/value-unwind.h: New file.
1894         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1895         to tm_file.
1897 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1899         * config.host: Add RISC-V tuples.
1900         * config/riscv/atomic.c: New file.
1901         * config/riscv/crti.S: Likewise.
1902         * config/riscv/crtn.S: Likewise.
1903         * config/riscv/div.S: Likewise.
1904         * config/riscv/linux-unwind.h: Likewise.
1905         * config/riscv/muldi3.S: Likewise.
1906         * config/riscv/multi3.S: Likewise.
1907         * config/riscv/save-restore.S: Likewise.
1908         * config/riscv/sfp-machine.h: Likewise.
1909         * config/riscv/t-elf: Likewise.
1910         * config/riscv/t-elf32: Likewise.
1911         * config/riscv/t-elf64: Likewise.
1912         * config/riscv/t-softfp32: Likewise.
1913         * config/riscv/t-softfp64: Likewise.
1915 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1917         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1918         /* FALLTHRU */ comments.
1920 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1922         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1924 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1926         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1927         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1928         DW_CFA_GNU_window_save for AArch64 and LP64.
1930 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1932         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1934 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1936         * config/aarch64/aarch64-unwind.h: New file.
1937         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1938         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1939         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1940         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1941         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1942         (aarch64_post_extract_frame_addr): New function.
1943         (aarch64_post_frob_eh_handler_addr): New function.
1944         (aarch64_frob_update_context): New function.
1945         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1946         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1947         aarch64*-*-freebsd*):
1948         Initialize md_unwind_header to include aarch64-unwind.h.
1949         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1950         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1951         __aarch64__.
1952         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1953         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1954         (uw_frob_return_addr): New function.
1955         (uw_install_context): Use uw_frob_return_addr.
1957 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1959         PR other/79046
1960         * configure.ac: Add GCC_BASE_VER.
1961         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1962         version from BASE-VER file.
1963         * configure: Regenerated.
1965 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1967         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1968         libmul_f5.a): Filter archived prerequisites.
1970 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1972         * config/i386/cpuinfo.h (processor_features): Add
1973         FEATURE_AVX512VPOPCNTDQ.
1974         * config/i386/cpuinfo.c (get_available_features): Habdle new
1975         feature.
1977 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1979         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1980         payload if [__mips_nan2008].
1982 2017-01-04  Alan Modra  <amodra@gmail.com>
1984         * Makefile.in (configure_deps): Update.
1985         * configure: Regenerate.
1987 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1989         Update copyright years.
1991 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1993         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1994         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1995         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1997 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1999         * config/arc/gmon: Remove empty directory.
2001 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
2003         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2004         crtgend.
2005         (arc*-*-elf*): Likewise.
2006         * config/arc/t-arc: Remove old gmon lib targets.
2007         * config/arc/crtg.S: Remove.
2008         * config/arc/crtgend.S: Likewise.
2009         * config/arc/gmon/atomic.h: Likewise.
2010         * config/arc/gmon/auxreg.h: Likewise.
2011         * config/arc/gmon/dcache_linesz.S: Likewise.
2012         * config/arc/gmon/gmon.c: Likewise.
2013         * config/arc/gmon/machine-gmon.h: Likewise.
2014         * config/arc/gmon/mcount.c: Likewise.
2015         * config/arc/gmon/prof-freq-stub.S: Likewise.
2016         * config/arc/gmon/prof-freq.c: Likewise.
2017         * config/arc/gmon/profil.S: Likewise.
2018         * config/arc/gmon/sys/gmon.h: Likewise.
2019         * config/arc/gmon/sys/gmon_out.h: Likewise.
2020         * config/arc/t-arc-newlib: Likewise.
2021         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2023 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2025         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2027 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2029         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2030         R16 instead of push + pop.
2031         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2033 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
2035         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2036         tmake_file.
2038 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
2040         * config.host (arc*-*-linux-uclibc*): Use default extra
2041         objects. Include linux-android header.
2042         * config/arc/crti.S (_init): Declare symbol as function.
2043         (_fini): Likewise.
2045 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
2047         PR fortran/78379
2048         * config/i386/cpuinfo.c:  Move denums for processor vendors,
2049         processor type, processor subtypes and declaration of
2050         struct __processor_model into
2051         * config/i386/cpuinfo.h:  New header file.
2053 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2054             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2056         * config/arm/cmse_nonsecure_call.S: New.
2057         * config/arm/t-arm: Compile cmse_nonsecure_call.S
2059 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2060             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2062         * config/arm/t-arm (HAVE_CMSE): New.
2063         * config/arm/cmse.c: New.
2065 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2067         PR gcc/74748
2068         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2069         use generic linker version information on Blackfin.
2071         PR gcc/74748
2072         * libgcc/mkmap-symver.awk: add support for skip_underscore
2074 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
2075             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2077         PR target/67710
2078         *  config/t-darwin: Default builds to 10.5 codegen.
2080 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
2082         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2083         (_FP_NANSIGN_H): Likewise.
2084         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2085         (softfp_truncations): Add tfhf.
2086         (softfp_extras): Add required conversion functions.
2088 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2089             Matthew Wahab  <matthew.wahab@arm.com>
2091         * config/arm/fp16.c (binary64): New.
2092         (__gnu_d2h_internal): New.
2093         (__gnu_d2h_ieee): New.
2094         (__gnu_d2h_alternative): New.
2096 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2097             Matthew Wahab  <matthew.wahab@arm.com>
2099         * config/arm/fp16.c (struct format): New.
2100         (binary32): New.
2101         (__gnu_float2h_internal): New.  Body moved from
2102         __gnu_f2h_internal and generalize.
2103         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2104         Call it with binary32.
2106 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2108         * soft-fp/extendhftf2.c: Update from glibc.
2109         * soft-fp/fixhfti.c: Likewise.
2110         * soft-fp/fixunshfti.c: Likewise.
2111         * soft-fp/floattihf.c: Likewise.
2112         * soft-fp/floatuntihf.c: Likewise.
2113         * soft-fp/half.h: Likewise.
2114         * soft-fp/trunctfhf2.c: Likewise.
2116 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
2118         PR libgcc/77813
2119         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2120         __TMC_END__ behind a passthrough asm.
2122 2016-11-18  Walter Lee  <walt@tilera.com>
2124         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2126 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
2128         * config/i386/cpuinfo.c (processor_features): Add
2129         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2131 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
2133         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2134         (__ARC_NORM__): Use instead ARC_OPTFPE.
2135         * config/arc/fp-hack.h: Likewise.
2136         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2137         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2139 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
2141         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2142         * config/nvptx/mgomp.c: New file.
2143         * config/nvptx/t-nvptx: Add mgomp.c
2145 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
2147         PR libgcc/68468
2148         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2150 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
2152         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2153         of checking for cpus.
2154         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2155         (__modsi3, __clzsi2): Likewise.
2157 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2159         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2160         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2161         * config/i386/t-cpuinfo-static: New.
2163 2016-11-03  Martin Liska  <mliska@suse.cz>
2165         * libgcov-profiler.c (__gcov_time_profiler): Remove.
2166         (__gcov_time_profiler_atomic): Likewise.
2168 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2170         PR libgcc/78067
2171         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2172         count_leading_zeros.
2174 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
2176         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2177         * libgcc2.c (__divmoddi4): New function.
2178         * libgcc2.h (__divmoddi4): Declare.
2179         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2180         and __PFX_divmodti4.
2182 2016-10-24  Florian Weimer  <fweimer@redhat.com>
2184         PR libgcc/78064
2185         * unwind-c.c: Include auto-target.h.
2187 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
2189         * config/pa/pa64-hpux-lib.h: New file.
2190         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2191         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2192         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2193         hppa*64*-*-hpux11*.
2195 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
2197         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2198         definition.
2199         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2200         definition.
2201         * config/xtensa/t-windowed (LIB2ADDEH): Use
2202         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2203         or xtensa/t-linux.
2205 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
2207         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2208         __ieee754_sqrt): New functions.
2209         (__divdf3): Add implementation with new FPU instructions under
2210         #if XCHAL_HAVE_DFP_DIV.
2211         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2212         __ieee754_sqrtf): New functions.
2213         (__divsf3): Add implementation with new FPU instructions under
2214         #if XCHAL_HAVE_FP_DIV.
2215         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2216         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2218 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2220         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2221         equivalent.
2222         * config/tilepro/atomic.c: Likewise and stop casting model to
2223         enum memmodel.
2225 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
2227         PR target/77586
2228         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2229         soft-fp.
2231 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
2233         * config.host: Add support for aarch64-*-freebsd*.
2235 2016-10-05  Andreas Schwab  <schwab@suse.de>
2237         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2238         (.section .init_array): Don't call __do_jv_register_classes.
2239         (.section .init): Likewise.
2241 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
2243         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2244         (__JCR_LIST__): Remove.
2245         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2246         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2247         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2248         * config/ia64/crtend.S (__JCR_END__): Remove.
2249         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2250         conditionals.
2251         (__JCR_LIST__, __JCR_END__): Remove.
2252         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2253         (__do_global_ctors_1): Likewise.
2255 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
2257         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2258         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2260 2016-09-27  Martin Liska  <mliska@suse.cz>
2262         PR gcov-profile/7970
2263         PR gcov-profile/16855
2264         PR gcov-profile/44779
2265         * libgcov-driver.c (__gcov_init): Do not register a atexit
2266         handler.
2267         (__gcov_exit): Rename from gcov_exit.
2268         * libgcov.h (__gcov_exit): Declare.
2270 2016-09-27  Martin Liska  <mliska@suse.cz>
2272         PR bootstrap/77749
2273         * Makefile.in: Remove _gcov_merge_delta.
2274         * libgcov-merge.c (void __gcov_merge_delta): Remove.
2275         * libgcov-util.c (__gcov_delta_counter_op): Remove.
2276         * libgcov.h: Remove declaration of __gcov_merge_delta.
2278 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
2280         * configure.ac: Do not create links, only substitute the filenames.
2281         * configure: Regenerate.
2282         * Makefile.in: Assign the substitution results to variables.
2283         (LIBGCC_LINKS): Define.
2284         (enable-execute-stack.c): New rule.
2285         (unwind.h): Likewise.
2286         (md-unwind-support.h): Likewise.
2287         (sfp-machine.h): Likewise.
2288         (gthr-default.h): Likewise.
2289         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2290         unwind.h as prerequisite of install-unwind_h-forbuild.
2292 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
2294         PR libgcc/71744
2295         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2296         is not the primary registry and atomics are available.
2297         (any_objects_registered): New variable.
2298         (__register_frame_info_bases, __register_frame_info_table_bases):
2299         Atomically store 1 to any_objects_registered after registering first
2300         unwind info.
2301         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2303 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
2305         PR target/63250
2306         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2307         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2308         (HFtype): Likewise.
2309         (HCtype): Likewise.
2310         (__divhc3): Likewise.
2311         (__mulhc3): Likewise.
2312         * libgcc2.c: Support _mulhc3 and _divhc3.
2314 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2316         PR libgcc/77519
2317         * libgcc2.c (NOTRUNC): Invert settings.
2319 2016-09-06  Martin Liska  <mliska@suse.cz>
2321         PR gcov-profile/77378
2322         PR gcov-profile/77466
2323         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2324         conditionaly enable/disable *_atomic functions.
2326 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
2328         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2329         where not already enabled.
2331 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2333         * config/mips/linux-unwind.h: Use sys/syscall.h.
2335 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2337         PR libgcc/77265
2338         * soft-fp/adddf3.c: Update from glibc.
2339         * soft-fp/addsf3.c: Likewise.
2340         * soft-fp/addtf3.c: Likewise.
2341         * soft-fp/divdf3.c: Likewise.
2342         * soft-fp/divsf3.c: Likewise.
2343         * soft-fp/divtf3.c: Likewise.
2344         * soft-fp/double.h: Likewise.
2345         * soft-fp/eqdf2.c: Likewise.
2346         * soft-fp/eqsf2.c: Likewise.
2347         * soft-fp/eqtf2.c: Likewise.
2348         * soft-fp/extenddftf2.c: Likewise.
2349         * soft-fp/extended.h: Likewise.
2350         * soft-fp/extendsfdf2.c: Likewise.
2351         * soft-fp/extendsftf2.c: Likewise.
2352         * soft-fp/extendxftf2.c: Likewise.
2353         * soft-fp/fixdfdi.c: Likewise.
2354         * soft-fp/fixdfsi.c: Likewise.
2355         * soft-fp/fixdfti.c: Likewise.
2356         * soft-fp/fixsfdi.c: Likewise.
2357         * soft-fp/fixsfsi.c: Likewise.
2358         * soft-fp/fixsfti.c: Likewise.
2359         * soft-fp/fixtfdi.c: Likewise.
2360         * soft-fp/fixtfsi.c: Likewise.
2361         * soft-fp/fixtfti.c: Likewise.
2362         * soft-fp/fixunsdfdi.c: Likewise.
2363         * soft-fp/fixunsdfsi.c: Likewise.
2364         * soft-fp/fixunsdfti.c: Likewise.
2365         * soft-fp/fixunssfdi.c: Likewise.
2366         * soft-fp/fixunssfsi.c: Likewise.
2367         * soft-fp/fixunssfti.c: Likewise.
2368         * soft-fp/fixunstfdi.c: Likewise.
2369         * soft-fp/fixunstfsi.c: Likewise.
2370         * soft-fp/fixunstfti.c: Likewise.
2371         * soft-fp/floatdidf.c: Likewise.
2372         * soft-fp/floatdisf.c: Likewise.
2373         * soft-fp/floatditf.c: Likewise.
2374         * soft-fp/floatsidf.c: Likewise.
2375         * soft-fp/floatsisf.c: Likewise.
2376         * soft-fp/floatsitf.c: Likewise.
2377         * soft-fp/floattidf.c: Likewise.
2378         * soft-fp/floattisf.c: Likewise.
2379         * soft-fp/floattitf.c: Likewise.
2380         * soft-fp/floatundidf.c: Likewise.
2381         * soft-fp/floatundisf.c: Likewise.
2382         * soft-fp/floatunditf.c: Likewise.
2383         * soft-fp/floatunsidf.c: Likewise.
2384         * soft-fp/floatunsisf.c: Likewise.
2385         * soft-fp/floatunsitf.c: Likewise.
2386         * soft-fp/floatuntidf.c: Likewise.
2387         * soft-fp/floatuntisf.c: Likewise.
2388         * soft-fp/floatuntitf.c: Likewise.
2389         * soft-fp/gedf2.c: Likewise.
2390         * soft-fp/gesf2.c: Likewise.
2391         * soft-fp/getf2.c: Likewise.
2392         * soft-fp/ledf2.c: Likewise.
2393         * soft-fp/lesf2.c: Likewise.
2394         * soft-fp/letf2.c: Likewise.
2395         * soft-fp/muldf3.c: Likewise.
2396         * soft-fp/mulsf3.c: Likewise.
2397         * soft-fp/multf3.c: Likewise.
2398         * soft-fp/negdf2.c: Likewise.
2399         * soft-fp/negsf2.c: Likewise.
2400         * soft-fp/negtf2.c: Likewise.
2401         * soft-fp/op-1.h: Likewise.
2402         * soft-fp/op-2.h: Likewise.
2403         * soft-fp/op-4.h: Likewise.
2404         * soft-fp/op-8.h: Likewise.
2405         * soft-fp/op-common.h: Likewise.
2406         * soft-fp/quad.h: Likewise.
2407         * soft-fp/single.h: Likewise.
2408         * soft-fp/soft-fp.h: Likewise.
2409         * soft-fp/subdf3.c: Likewise.
2410         * soft-fp/subsf3.c: Likewise.
2411         * soft-fp/subtf3.c: Likewise.
2412         * soft-fp/truncdfsf2.c: Likewise.
2413         * soft-fp/trunctfdf2.c: Likewise.
2414         * soft-fp/trunctfsf2.c: Likewise.
2415         * soft-fp/trunctfxf2.c: Likewise.
2416         * soft-fp/unorddf2.c: Likewise.
2417         * soft-fp/unordsf2.c: Likewise.
2418         * soft-fp/unordtf2.c: Likewise.
2420 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
2422         PR gcov-profile/67097
2423         * libgcov-util.c (gcov_profile_merge): Skip missing files.
2425 2016-08-10  Martin Liska  <mliska@suse.cz>
2427         PR gcov-profile/58306
2428         * Makefile.in: New functions (modules) are added.
2429         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2430         function.
2431         (__gcov_pow2_profiler_atomic): New function.
2432         (__gcov_one_value_profiler_body): New argument is instroduced.
2433         (__gcov_one_value_profiler): Call with the new argument.
2434         (__gcov_one_value_profiler_atomic): Likewise.
2435         (__gcov_indirect_call_profiler_v2): Likewise.
2436         (__gcov_time_profiler_atomic): New function.
2437         (__gcov_average_profiler_atomic): Likewise.
2438         (__gcov_ior_profiler_atomic): Likewise.
2439         * libgcov.h: Declare the aforementioned functions.
2441 2016-08-09  Martin Liska  <mliska@suse.cz>
2443         * libgcov-util.c: Fix typo and GNU coding style.
2445 2016-08-09  Martin Liska  <mliska@suse.cz>
2447         * Makefile.in: Remove __gcov_indirect_call_profiler.
2448         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2449         function.
2450         * libgcov.h: And the declaration of the function.
2452 2016-08-09  Martin Liska  <mliska@suse.cz>
2454         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2455         power of two.
2457 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2459         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2460         * config/rs6000/_mulkc3.c: Likewise.
2462 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
2464         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2465         zero_reg as previous call to __umulhisi3 already cleared it.
2467 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
2469         PR target/59833
2470         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2472 2016-07-19  Nick Clifton  <nickc@redhat.com>
2474         * config.host (m32r): Add m32r/t-m32r to tmake_file.
2475         Add crtinit.o and crtfini.o to extra_parts.
2477 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2479         * config/rs6000/_divkc3.c: New.
2480         * config/rs6000/_mulkc3.c: New.
2481         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2482         and _divkc3.
2483         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2484         fp128_ppc_funcs.
2486 2016-07-11  Hale Wang  <hale.wang@arm.com>
2487             Andre Vieira  <andre.simoesdiasvieira@arm.com>
2489         * config/arm/lib1funcs.S: Add new wrapper.
2491 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2493         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2495 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2497         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2498         and ARMv5t* rather than for a fixed list of architectures.
2500 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2502         * config/arm/bpabi-v6m.S: Clarify what architectures is the
2503         implementation suitable for.
2504         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2505         for all Thumb-1 only targets.
2506         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2507         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2508         __ARM_ARCH_6M__.
2509         (EQUIV): Likewise.
2510         (ARM_FUNC_ALIAS): Likewise.
2511         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2512         version.
2513         (modsi3): Likewise.
2514         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2515         (clzdi2): Likewise.
2516         (ctzsi2): Likewise.
2517         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2518         __ARM_ARCH_6M__ in guard for checking whether it is defined.
2519         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2520         __ARM_ARCH_6M__ and add comment to indicate the connection between
2521         this condition and the one in gcc/config/arm/elf.h.
2522         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2523         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2524         * config/arm/t-softfp: Likewise.
2526 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2528         * libgcc2.c (SYMBOL__MAIN): Remove checks for
2529         CTOR_LISTS_DEFINED_EXTERNALLY.
2531 2016-06-28  Walter Lee  <walt@tilera.com>
2533         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2534         asm/unistd.h.
2535         (SPR_CMPEXCH_VALUE): Define for tilegx.
2536         (__NR_FAST_cmpxchg): Define for tilepro.
2537         (__NR_FAST_atomic_update): Define for tilepro.
2538         (__NR_FAST_cmpxchg64): Define for tilepro.
2540 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
2542         * config.host: Add suport for arm*-*-phoenix* targets.
2544 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2546         * config.host: Remove support for mep-*.
2547         * config/mep/lib1funcs.S: Remove.
2548         * config/mep/lib2funcs.c: Remove.
2549         * config/mep/t-mep: Remove.
2550         * config/mep/tramp.c: Remove.
2552 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2554         * config.host: Remove support for avr-rtems.
2555         * config/avr/t-rtems: Remove.
2557 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2559         * config.host: Remove m32r-rtems support.
2561 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2563         * config.host: Remove h8300-rtems support.
2565 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2567         * config.host: Remove support for knetbsd.
2569 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2571         * config.host: Remove support for openbsd 2 and 3.
2573 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2575         * config.host: Remove interix support.
2576         * config/i386/t-interix: Remove.
2578 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
2580         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2581         least-significant bit in function pointer for fixup.
2583 2016-06-05  Aaron Conole  <aconole@redhat.com>
2584             Nathan Sidwell  <nathan@acm.org>
2586         PR libgcc/71400
2587         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2588         (get_gcov_error_file): Check __gcov_error_file before trying to
2589         initialize it.
2590         (gcov_error): Always use get_gcov_error_file.
2592 2016-06-02  Aaron Conole  <aconole@redhat.com>
2594         * libgcov-driver-system.c (__gcov_error_file): New.
2595         (get_gcov_error_file): New.
2596         (gcov_error): Use and set __gcov_error_file.
2597         (gcov_error_exit): New.
2598         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2600 2016-05-26  Nathan Sidwell  <nathan@acm.org>
2602         * config/nvptx/free.asm: Delete.
2603         * config/nvptx/malloc.asm: Delete.
2604         * config/nvptx/realloc.c: Delete.
2605         * t-nvptx: Update.
2607 2016-05-25  Nathan Sidwell  <nathan@acm.org>
2609         * config/nvptx/crt0.s: Delete.
2610         * config/nvptx/crt0.c: New.
2611         * t-nvptx: Update.
2613 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
2615         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2616         dw2/seh configuration.
2617         [x86_64-*-mingw*]: Likewise.
2619 2016-05-10  Joel Sherrill <joel@rtems.org>
2621         PR libgcc/70720
2622         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2623         targets so the same extra_parts are built.  Also have tmake_file add
2624         on to its value rather than override.
2626 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
2628         * config.host: Remove SH5 support.
2629         * configure: Likewise.
2631 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
2633         * config/sh/crt1.S: Remove SH5 support.
2634         * config/sh/crti.S: Likewise.
2635         * config/sh/crtn.S: Likewise.
2636         * config/sh/lib1funcs-4-300.S: Likewise.
2637         * config/sh/lib1funcs-Os-4-200.S: Likewise.
2638         * config/sh/lib1funcs.S: Likewise.
2639         * config/sh/linux-unwind.h: Likewise.
2640         * config/sh/t-sh64: Delete.
2642 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
2644         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2646 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
2647             Joern Rennecke  <joern.rennecke@embecosm.com>
2649         * config/arc/crttls.S: New file.
2650         * config/arc/t-arc: New rule.
2651         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2653 2016-04-25  Nick Clifton  <nickc@redhat.com>
2655         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2656         (__mspabi_cmpd): Likewise.
2657         * config/msp430/floathidf.c (__floathidf): Likewise.
2658         * config/msp430/floathisf.c (__floathisf): Likewise
2659         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2660         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2661         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2662         second parameter.
2663         (__ashrsi3): Likewise.
2665 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
2667         * config/m68k/linux-atomic.c: Do not include unistd.h
2669 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
2671         * config/arm/ieee754-df.S: Fix typos in comments.
2673 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
2675         PR target/70381
2676         * configure.ac (powerpc*-*-linux*): Rework tests to build
2677         __float128 emulation routines to not depend on using #pragma GCC
2678         target to enable -mfloat128.
2679         * configure: Regnerate.
2681 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
2683         PR target/67172
2684         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2685         __MINGW32__ is defined.
2687 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
2689         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2691 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
2693         PR libgcc/70363
2694         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2695         built with an assembler that does not support ISA 3.0
2696         instructions, rename __extendkftf2_sw to __extendkftf2.
2698 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2700         PR target/38239
2701         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2702         call-clobbered registers.
2703         (internal_mcount): Remove __i386__ handling.
2705 2016-02-26  Joel Sherrill <joel@rtems.org>
2707         * config.host: Add x86_64-*-rtems*.
2709 2016-02-26  Joel Sherrill <joel@rtems.org>
2711         * libgcc/config.host: Add aarch64-*-rtems*.
2713 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2714             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2716         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2717         union of u64 and double.
2718         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2719         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2720         value.
2721         (FP_ROUNDMODE): Update the usage of _fpscr.
2723 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
2725         PR driver/68463
2726         * Makefile.in (crtoffloadtable$(objext)): New rule.
2727         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2728         enable_offload_targets is not empty.
2729         * configure: Regenerate.
2730         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2731         crtoffloadtable.
2733 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
2735         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2736         .literal_position before the function.
2737         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2738         Likewise.
2740 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
2742         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2743         * config/s390/morestack.S: New file.
2744         * config/s390/t-stack-s390: New file.
2745         * generic-morestack.c (__splitstack_find): Add s390-specific code.
2747 2016-02-12  Walter Lee  <walt@tilera.com>
2749         * config.host (tilegx*-*-linux*): remove ti from
2750         softfp_int_modes for 32-bit configs.
2752 2016-02-10  Ian Lance Taylor  <iant@google.com>
2754         PR go/68562
2755         * config/i386/morestack.S (__stack_split_initialize): Align
2756         stack.
2758 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
2760         PR bootstrap/69611
2761         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2762         __FLOAT128__ to compile only for __float128 capable targets.
2764 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
2766         PR target/69444
2767         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2768         instead of ___NO_FPRS__.
2770 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
2771             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2772             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2774         * config/rs6000/float128-sed: New files to convert TF names to KF
2775         names for PowerPC IEEE 128-bit floating point support.
2776         * config/rs6000/float128-sed-hw: Likewise.
2778         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2779         floating point hardware support.
2781         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2782         128-bit floating point software emulation or use ISA 3.0 hardware
2783         support if it is available.
2785         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2786         floating point.
2788         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2789         floating point to IBM extended double.
2791         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2792         double to IEEE 128-bit floating point.
2794         * config/rs6000/t-float128: New Makefile fragments to enable
2795         building __float128 emulation support.
2796         * config/rs6000/t-float128-hw: Likewise.
2798         * config/rs6000/sfp-exceptions.c: New file to provide exception
2799         support for IEEE 128-bit floating point.
2801         * config/rs6000/floattikf.c: New files for converting between IEEE
2802         128-bit floating point and signed/unsigned 128-bit integers.
2803         * config/rs6000/fixunskfti.c: Likewise.
2804         * config/rs6000/fixkfti.c: Likewise.
2805         * config/rs6000/floatuntikf.c: Likewise.
2807         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2808         when building on 64-bit systems, or when VSX is enabled.
2809         (_FP_W_TYPE): Likewise.
2810         (_FP_WS_TYPE): Likewise.
2811         (_FP_I_TYPE): Likewise.
2812         (TItype): Define on 64-bit systems.
2813         (UTItype): Likewise.
2814         (TI_BITS): Likewise.
2815         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2816         (_FP_MUL_MEAT_Q): Likewise.
2817         (_FP_DIV_MEAT_D): Likewise.
2818         (_FP_DIV_MEAT_Q): Likewise.
2819         (_FP_NANFRAC_D): Likewise.
2820         (_FP_NANFRAC_Q): Likewise.
2821         (ISA_BIT): Add exception support if we are being compiled on a
2822         machine with hardware floating point support to build the IEEE
2823         128-bit emulation functions.
2824         (FP_EX_INVALID): Likewise.
2825         (FP_EX_OVERFLOW): Likewise.
2826         (FP_EX_UNDERFLOW): Likewise.
2827         (FP_EX_DIVZERO): Likewise.
2828         (FP_EX_INEXACT): Likewise.
2829         (FP_EX_ALL): Likewise.
2830         (__sfp_handle_exceptions): Likewise.
2831         (FP_HANDLE_EXCEPTIONS): Likewise.
2832         (FP_RND_NEAREST): Likewise.
2833         (FP_RND_ZERO): Likewise.
2834         (FP_RND_PINF): Likewise.
2835         (FP_RND_MINF): Likewise.
2836         (FP_RND_MASK): Likewise.
2837         (_FP_DECL_EX): Likewise.
2838         (FP_INIT_ROUNDMODE): Likewise.
2839         (FP_ROUNDMODE): Likewise.
2841         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2842         VSX code, enable IEEE 128-bit floating point.  If the compiler can
2843         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2844         floating point hardware instructions and it supports declaring
2845         functions with the ifunc attribute, enable ifunc functions to
2846         switch between software and hardware support.
2847         * configure.ac (powerpc*-*-linux*): Likewise.
2848         * configure: Regenerate.
2850 2016-01-15  Nick Clifton  <nickc@redhat.com>
2852         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2853         dependency as the source file to be compiled.
2854         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2855         (lib2hw_mul_f5.o): Likewise.
2857 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2859         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2860         * libgcc/config/rs6000/fixkfti.c: Likewise.
2861         * libgcc/config/rs6000/fixunskfti.c: Likewise.
2862         * libgcc/config/rs6000/float128-hw.c: Likewise.
2863         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2864         * libgcc/config/rs6000/float128-sed: Likewise.
2865         * libgcc/config/rs6000/floattikf.c: Likewise.
2866         * libgcc/config/rs6000/floatuntikf.c: Likewise.
2867         * libgcc/config/rs6000/quad-float128.h: Likewise.
2868         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2869         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2870         * libgcc/config/rs6000/t-float128: Likewise.
2871         * libgcc/config/rs6000/t-float128-hw: Likewise.
2872         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2873         * libgcc/config.host: Likewise.
2874         * libgcc/configure: Likewise.
2875         * libgcc/configure.ac: Likewise.
2877 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2878             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2879             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2881         * config/rs6000/sfp-exceptions.c: New file to provide exception
2882         support for IEEE 128-bit floating point.
2884         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2885         floating point hardware support.
2887         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2888         point conversions.
2889         * config/rs6000/fixunskfti.c: Likewise.
2890         * config/rs6000/fixkfti.c: Likewise.
2891         * config/rs6000/floatuntikf.c: Likewise.
2892         * config/rs6000/extendkftf2-sw.c: Likewise.
2893         * config/rs6000/trunctfkf2-sw.c: Likewise.
2895         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2896         128-bit floating point software emulation or use ISA 3.0 hardware
2897         support if it is available.
2899         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2900         floating point.
2902         * config/rs6000/t-float128: New Makefile fragments to enable
2903         building __float128 emulation support.
2904         * config/rs6000/t-float128-hw: Likewise.
2906         * config/rs6000/float128-sed: New file to convert TF names to KF
2907         names for PowerPC IEEE 128-bit floating point support.
2909         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2910         when building on 64-bit systems, or when VSX is enabled.
2911         (_FP_W_TYPE): Likewise.
2912         (_FP_WS_TYPE): Likewise.
2913         (_FP_I_TYPE): Likewise.
2914         (TItype): Define on 64-bit systems.
2915         (UTItype): Likewise.
2916         (TI_BITS): Likewise.
2917         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2918         (_FP_MUL_MEAT_Q): Likewise.
2919         (_FP_DIV_MEAT_D): Likewise.
2920         (_FP_DIV_MEAT_Q): Likewise.
2921         (_FP_NANFRAC_D): Likewise.
2922         (_FP_NANFRAC_Q): Likewise.
2923         (ISA_BIT): Add exception support if we are being compiled on a
2924         machine with hardware floating point support to build the IEEE
2925         128-bit emulation functions.
2926         (FP_EX_INVALID): Likewise.
2927         (FP_EX_OVERFLOW): Likewise.
2928         (FP_EX_UNDERFLOW): Likewise.
2929         (FP_EX_DIVZERO): Likewise.
2930         (FP_EX_INEXACT): Likewise.
2931         (FP_EX_ALL): Likewise.
2932         (__sfp_handle_exceptions): Likewise.
2933         (FP_HANDLE_EXCEPTIONS): Likewise.
2934         (FP_RND_NEAREST): Likewise.
2935         (FP_RND_ZERO): Likewise.
2936         (FP_RND_PINF): Likewise.
2937         (FP_RND_MINF): Likewise.
2938         (FP_RND_MASK): Likewise.
2939         (_FP_DECL_EX): Likewise.
2940         (FP_INIT_ROUNDMODE): Likewise.
2941         (FP_ROUNDMODE): Likewise.
2943         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2944         compiler can do __float128.
2945         * configure: Regenerate.
2947         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2948         VSX code, enable IEEE 128-bit floating point.
2950 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2952         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2953         specificities.
2955 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2957         Update copyright years.
2959 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2961         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2962         soft-fp targets.
2964 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2966         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2967         instead of abort to avoid dependency on stdlib.h.
2969 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2971         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2972         to initialize call to __dl_fixup once.
2974 2015-12-04  Nick Clifton  <nickc@redhat.com>
2976         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2977         Allow for the second argument being negative.
2978         * config.host (extra_parts): Define for MSP430.  Create separate
2979         libraries for each of the hardware multiply formats.
2980         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2981         that are needed.
2982         * config/msp430/lib2mul.c: Likewise.
2983         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2984         Add rules to build hardware multiply libraries.
2985         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2986         __mspabi_divul function.
2987         (__mspabi_divllu): New stub function.
2989 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2991         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2992         fixup values if saved GOT address doesn't match runtime address.
2993         (fixup_branch_offset): Reorder list.
2995 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2997         * Makefile.in (VTV_CFLAGS): New variable.
2998         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2999         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3000         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3001         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3002         to extra_parts if $enable_vtable_verify = yes.
3004 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3006         PR target/68059
3007         * config/arm/linux-atomic-64bit.c (__write): Rename to...
3008         (write): ...this and fix the return type.
3010 2015-11-19  DJ Delorie  <dj@redhat.com>
3012         * config/msp430/lib2hw_mul.S: Fix alignment.
3014 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
3016         * config/nvptx/reduction.c: New.
3017         * config/nvptx/t-nvptx (LIB2ADD): Add it.
3019 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
3021         * config/rs6000/on_exit.c: New file.
3022         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3023         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3025 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
3027         * config/arc/dp-hack.h: Add support for ARCHS.
3028         * config/arc/ieee-754/divdf3.S: Likewise.
3029         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3030         * config/arc/ieee-754/muldf3.S: Likewise.
3031         * config/arc/ieee-754/mulsf3.S: Likewise
3032         * config/arc/lib1funcs.S: Likewise
3033         * config/arc/gmon/dcache_linesz.S: Don't read the build register
3034         for ARCv2 cores.
3035         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3036         for ARCv2 cores.
3037         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3038         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3039         cores.
3041 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3043         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3044         value.
3045         * config/ia64/crtend.S: Likewise.
3047 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3049         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3050         __CHAR_BIT__ instead of BITS_PER_UNIT.
3051         * fixed-bit.h: Likewise.
3052         * fp-bit.h: Likewise.
3053         * libgcc2.c (__popcountSI2): Likewise.
3054         (__popcountDI2): Likewise.
3055         * libgcc2.h: Likewise.
3056         * libgcov.h: Likewise.
3058 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
3060         * config/rs6000/atexit.c: New file.
3061         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3062         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3063         * config/rs6000/cxa_finalize.c
3064         (catomic_compare_and_exchange_bool_acq): Negate return value.
3066 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3068         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3069         (processor_subtypes): Add znver1.
3070         (get_amd_cpu): Detect znver1.
3072 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
3074         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3075         Include crtfastmath.o.
3077 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
3079         PR libgcc/66883
3080         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3082 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
3084         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3085         * config/rl78/divmodsi.S: Update return register to r8.
3086         * config/rl78/divmodhi.S: Update return register to r8,r9.
3087         Branch to main_loop_done_himode to pop registers before return.
3089 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3091         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3092         (__cpu_indicator_init): Fix model selection for AMD CPUs.
3094 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
3096         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3098 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
3100         * config.host (xtensa*-*-uclinux*): New configuration.
3102 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
3104         * config/i386/cpuinfo.c (processor_features): Add
3105         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3107 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3109         * soft-fp/adddf3.c: Update from glibc.
3110         * soft-fp/addsf3.c: Likewise.
3111         * soft-fp/addtf3.c: Likewise.
3112         * soft-fp/divdf3.c: Likewise.
3113         * soft-fp/divsf3.c: Likewise.
3114         * soft-fp/divtf3.c: Likewise.
3115         * soft-fp/double.h: Likewise.
3116         * soft-fp/eqdf2.c: Likewise.
3117         * soft-fp/eqsf2.c: Likewise.
3118         * soft-fp/eqtf2.c: Likewise.
3119         * soft-fp/extenddftf2.c: Likewise.
3120         * soft-fp/extended.h: Likewise.
3121         * soft-fp/extendsfdf2.c: Likewise.
3122         * soft-fp/extendsftf2.c: Likewise.
3123         * soft-fp/extendxftf2.c: Likewise.
3124         * soft-fp/fixdfdi.c: Likewise.
3125         * soft-fp/fixdfsi.c: Likewise.
3126         * soft-fp/fixdfti.c: Likewise.
3127         * soft-fp/fixsfdi.c: Likewise.
3128         * soft-fp/fixsfsi.c: Likewise.
3129         * soft-fp/fixsfti.c: Likewise.
3130         * soft-fp/fixtfdi.c: Likewise.
3131         * soft-fp/fixtfsi.c: Likewise.
3132         * soft-fp/fixtfti.c: Likewise.
3133         * soft-fp/fixunsdfdi.c: Likewise.
3134         * soft-fp/fixunsdfsi.c: Likewise.
3135         * soft-fp/fixunsdfti.c: Likewise.
3136         * soft-fp/fixunssfdi.c: Likewise.
3137         * soft-fp/fixunssfsi.c: Likewise.
3138         * soft-fp/fixunssfti.c: Likewise.
3139         * soft-fp/fixunstfdi.c: Likewise.
3140         * soft-fp/fixunstfsi.c: Likewise.
3141         * soft-fp/fixunstfti.c: Likewise.
3142         * soft-fp/floatdidf.c: Likewise.
3143         * soft-fp/floatdisf.c: Likewise.
3144         * soft-fp/floatditf.c: Likewise.
3145         * soft-fp/floatsidf.c: Likewise.
3146         * soft-fp/floatsisf.c: Likewise.
3147         * soft-fp/floatsitf.c: Likewise.
3148         * soft-fp/floattidf.c: Likewise.
3149         * soft-fp/floattisf.c: Likewise.
3150         * soft-fp/floattitf.c: Likewise.
3151         * soft-fp/floatundidf.c: Likewise.
3152         * soft-fp/floatundisf.c: Likewise.
3153         * soft-fp/floatunditf.c: Likewise.
3154         * soft-fp/floatunsidf.c: Likewise.
3155         * soft-fp/floatunsisf.c: Likewise.
3156         * soft-fp/floatunsitf.c: Likewise.
3157         * soft-fp/floatuntidf.c: Likewise.
3158         * soft-fp/floatuntisf.c: Likewise.
3159         * soft-fp/floatuntitf.c: Likewise.
3160         * soft-fp/gedf2.c: Likewise.
3161         * soft-fp/gesf2.c: Likewise.
3162         * soft-fp/getf2.c: Likewise.
3163         * soft-fp/ledf2.c: Likewise.
3164         * soft-fp/lesf2.c: Likewise.
3165         * soft-fp/letf2.c: Likewise.
3166         * soft-fp/muldf3.c: Likewise.
3167         * soft-fp/mulsf3.c: Likewise.
3168         * soft-fp/multf3.c: Likewise.
3169         * soft-fp/negdf2.c: Likewise.
3170         * soft-fp/negsf2.c: Likewise.
3171         * soft-fp/negtf2.c: Likewise.
3172         * soft-fp/op-1.h: Likewise.
3173         * soft-fp/op-2.h: Likewise.
3174         * soft-fp/op-4.h: Likewise.
3175         * soft-fp/op-8.h: Likewise.
3176         * soft-fp/op-common.h: Likewise.
3177         * soft-fp/quad.h: Likewise.
3178         * soft-fp/single.h: Likewise.
3179         * soft-fp/soft-fp.h: Likewise.
3180         * soft-fp/subdf3.c: Likewise.
3181         * soft-fp/subsf3.c: Likewise.
3182         * soft-fp/subtf3.c: Likewise.
3183         * soft-fp/truncdfsf2.c: Likewise.
3184         * soft-fp/trunctfdf2.c: Likewise.
3185         * soft-fp/trunctfsf2.c: Likewise.
3186         * soft-fp/trunctfxf2.c: Likewise.
3187         * soft-fp/unorddf2.c: Likewise.
3188         * soft-fp/unordsf2.c: Likewise.
3189         * soft-fp/unordtf2.c: Likewise.
3191 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
3193         PR libgcc/67624
3194         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3196 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3198         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3199         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3200         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3201         messages.
3202         (internal_mcount): Likewise.
3203         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3204         crt_compile, add CRTSTUFF_T_CFLAGS_S.
3206 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3208         * configure.ac (libgcc_cv_solaris_crts): New test.
3209         * configure: Regenerate.
3210         * config.in: Regenerate.
3211         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3212         * config/gmon-sol2.c: Rename to ...
3213         * config/sol2/gmon.c: ... this.
3214         Include auto-target.h.
3215         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3216         * config/t-sol2: Rename to ...
3217         * config/sol2/t-sol2: ... this.
3218         (gmon.o): Reflect renaming.
3219         (crtp.o, crtpg.o): New rules.
3220         * config.host (*-*-solaris2*): Reflect renaming.
3221         Use system CRTs if present.
3222         Remove default CRT case.
3224 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
3226         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3227         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3228         __kernel_cmpxchg2.
3229         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3230         (__sync_val_compare_and_swap_##WIDTH): Likewise.
3231         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3232         (__sync_lock_test_and_set_##WIDTH): Likewise.
3233         (__sync_lock_release_##WIDTH): Likewise.
3234         (__sync_fetch_and_##OP##_4): Change result to match type of
3235         __kernel_cmpxchg.
3236         (__sync_##OP##_and_fetch_4): Likewise.
3237         (__sync_val_compare_and_swap_4): Likewise.
3238         (__sync_bool_compare_and_swap_4): likewise.
3239         (__sync_lock_test_and_set_4): Likewise.
3240         (__sync_lock_release_4): Likewise.
3241         (FETCH_AND_OP_2): Add long long variants.
3242         (OP_AND_FETCH_2): Likewise.
3243         (COMPARE_AND_SWAP_2 ): Likewise.
3244         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3245         (SYNC_LOCK_RELEASE_2): Likewise.
3246         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3248 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
3250         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3251         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3252         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3253         (get_available_features): Habdle new features.
3255 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
3257         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3258         memory layout. Deal correctly with BSS region larger than 32K.
3259         Handle a watchdog reset like a power-on reset. Clean up unused
3260         code.
3262 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
3263             David Edelsohn  <dje.gcc@gmail.com>
3265         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3266         * config/rs6000/crtdbase.S: New file.
3267         * config/rs6000/t-aix-cxa: Build crtdbase.o.
3269 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
3271         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3272         Add support for call0 ABI.
3274 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
3276         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3278 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3280         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3281         (__GTHREAD_HAS_COND): Likewise.
3282         (__gthread_t): Likewise.
3283         (__gthread_cond_t): Likewise.
3284         (__gthread_time_t): Likewise.
3285         (__GTHREAD_MUTEX_INIT): Likewise.
3286         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3287         (__GTHREAD_COND_INIT): Likewise.
3288         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3289         (__GTHREAD_TIME_INIT): Likewise.
3290         (__gthread_create): Likewise.
3291         (__gthread_join): Likewise.
3292         (__gthread_detach): Likewise.
3293         (__gthread_equal): Likewise.
3294         (__gthread_self): Likewise.
3295         (__gthread_yield): Likewise.
3296         (__gthread_cond_broadcast): Likewise.
3297         (__gthread_cond_signal): Likewise.
3298         (__gthread_cond_wait): Likewise.
3299         (__gthread_cond_timedwait): Likewise.
3300         (__gthread_cond_wait_recursive): Likewise.
3301         (__gthread_cond_destroy): Likewise.
3302         (rtems_gxx_once): Delete.
3303         (rtems_gxx_key_create): Likewise.
3304         (rtems_gxx_key_delete): Likewise.
3305         (rtems_gxx_getspecific): Likewise.
3306         (rtems_gxx_setspecific): Likewise.
3307         (rtems_gxx_mutex_init): Likewise.
3308         (rtems_gxx_mutex_destroy): Likewise.
3309         (rtems_gxx_mutex_lock): Likewise.
3310         (rtems_gxx_mutex_trylock): Likewise.
3311         (rtems_gxx_mutex_unlock): Likewise.
3312         (rtems_gxx_recursive_mutex_init): Likewise.
3313         (rtems_gxx_recursive_mutex_lock): Likewise.
3314         (rtems_gxx_recursive_mutex_trylock): Likewise.
3315         (rtems_gxx_recursive_mutex_unlock): Likewise.
3316         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3317         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3318         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3319         (__gthread_once): Likewise.
3320         (__gthread_key_create): Likewise.
3321         (__gthread_key_delete): Likewise.
3322         (__gthread_getspecific): Likewise.
3323         (__gthread_setspecific): Likewise.
3324         (__gthread_key_t): Use <pthread.h> type.
3325         (__gthread_once_t): Likewise
3326         (__gthread_mutex_t): Use <sys/lock.h> type.
3327         (__gthread_recursive_mutex_t): Likewise
3328         (__gthread_mutex_lock): Use <sys/lock.h> function.
3329         (__gthread_mutex_trylock): Likewise.
3330         (__gthread_mutex_timedlock): Likewise.
3331         (__gthread_mutex_unlock): Likewise.
3332         (__gthread_mutex_destroy): Likewise.
3333         (__gthread_recursive_mutex_lock): Likewise.
3334         (__gthread_recursive_mutex_trylock): Likewise.
3335         (__gthread_recursive_mutex_timedlock): Likewise.
3336         (__gthread_recursive_mutex_unlock): Likewise.
3337         (__gthread_recursive_mutex_destroy): Likewise.
3339 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3341         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3342         context->sp instead of context->cfa.
3344 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3346         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3347         with unwind-dw2-fde-dip.
3349 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3351         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3352         CALL12 followed by series of ENTRY to spill windowed registers.
3353         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3354         instead of making linux spill syscall.
3356 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
3358         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3359         (get_intel_cpu): Likewise.
3361 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3363         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3364         (get_intel_cpu): Add Knights Landing support.
3366 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
3368         PR target/66954
3369         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3370         (get_available_features): Handle FEATURE_PCLMUL.
3372 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
3374         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3375         Broadwell.
3377 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
3379         PR target/66954
3380         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3381         (get_available_features): Handle FEATURE_AES.
3383 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
3385         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3386         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3388 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
3390         * offloadstuff.c: Constify host data.
3392 2015-07-17  Jan Beulich  <jbeulich@suse.com>
3394         * config/t-softfp: Split up "else ifneq".
3396 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
3397             Cesar Philippidis  <cesar@codesourcery.com>
3398             Chung-Lin Tang  <cltang@codesourcery.com>
3400         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3401         for __nios2_arch__ level.
3403 2015-07-13  John Marino  <gnugcc@marino.st>
3405         * config/i386/t-dragonfly: New.
3407 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
3409         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3410         better match light-weight syscall argument order.
3411         (__kernel_cmpxchg2): Likewise.
3412         Adjust callers.
3414 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3416         * config.host: Support i[34567]86-*-elfiamcu target.
3417         * config/t-softfp-sfdftf: New file.
3418         * config/i386/32/t-iamcu: Likewise.
3419         * configure: Regenerated.
3421 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
3423         libgcc/config/arm/
3424         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3426 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3428         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3430 2015-05-27  John Marino  <gnugcc@marino.st>
3432         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3433         md_unwind_header
3434         * config/i386/freebsd-unwind.h: New.
3436 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
3438         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3439         i386/t-crtfm to tmake_file.
3440         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3441         (set_fast_math): Use set_fast_math_sse for SSE targets.
3442         * config/i386/t-crtfm: Remove.
3444 2015-05-21  Alan Modra  <amodra@gmail.com>
3446         PR libgcc/66225
3447         * config/rs6000/morestack.S: Remove ".abiversion 1".
3449 2015-05-20  Alan Modra  <amodra@gmail.com>
3451         * config/rs6000/morestack.S: New.
3452         * config/rs6000/t-stack-rs6000: New.
3453         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3454         to tmake_file.
3455         * generic-morestack.c: Don't build for powerpc 32-bit.
3457 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
3459         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3460         Remove useless endif/ifneq ($(enable_shared),yes) pair.
3462 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
3464         * config.host: FT32 target added.
3465         * config/ft32/*: New files for FT32 target.
3467 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
3469         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3470         New macros.
3471         * config/arm/ieee754-df.S: Add CFI directives.
3472         * config/arm/ieee754-sf.S: Add CFI directives.
3474 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
3476         * configure.ac: Include config/sjlj.m4.
3477         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3478         * config.in: Regenerate.
3479         * configure: Likewise.
3480         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3482 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
3484         * libgcov-util.c: Add space between string literal and macro name.
3486 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
3487             Chris Jones  <chrisj@nvidia.com>
3488             Joshua Conner  <jconner@nvidia.com>
3490         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3491         (arm*-*-uclinux*): Likewise.
3492         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3493         * config/arm/crtfastmath.c: New file.
3495 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
3497         * Makefile.in (real_host_noncanonical): New variable.
3498         (libsubdir): Use it.
3499         * configure.ac (real_host_noncanonical): Compute.  Remove special
3500         case for intelmicemul.
3501         * configure: Regenerate.
3503 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3505         * config/frv/elf-lib.h: New file.
3506         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3507         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3508         to tm_file.
3510 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3512         * config/frv/frvbengin.c: Do not include defaults.h
3513         * config/frv/frvend.c: Ditto.
3515 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
3517         * config.host: Add h8300-*-linux
3518         * config/h8300/t-linux: New file.
3519         * config/h8300/lib1funs.s: Change symbol prefix.
3520         * config/h8300/sfp-machine.h: 64bit double support.
3522 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
3523             Szabolcs Nagy  <szabolcs.nagy@arm.com>
3525         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3526         Linux if target provides dl_iterate_phdr.
3528 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
3530         PR target/65612
3531         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3532         * config/i386/cpuinfo.c (__cpu_model): Initialize.
3533         (__cpu_indicator_init@GCC_4.8.0): New.
3534         (__cpu_model@GCC_4.8.0): Likewise.
3535         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3536         -DUSE_ELF_SYMVER.
3538 2015-04-16  Nick Clifton  <nickc@redhat.com>
3540         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3541         and __modhi3 functions.
3542         * config/rl78/divmodso.S: Add G14 and G13 versions of the
3543         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3545 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
3547         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3548         do-while loop as macro body to avoid warnings.
3550 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
3551             Iain Sandoe  <iain@codesourcery.com>
3553         PR target/65351
3554         * configure: Regenerate.
3556 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
3557             Iain Sandoe  <iain@codesourcery.com>
3559         PR target/65351
3560         * configure: Regenerate.
3562 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
3564         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3566 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
3568         Implement call0 ABI for xtensa
3569         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3570         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3571         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3572         use ret in call0 ABI.
3573         * config/xtensa/t-windowed: New file.
3574         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3575         * libgcc/configure: Regenerated.
3576         * libgcc/configure.ac: Check if xtensa target is configured for
3577         windowed ABI and thus needs to use custom unwind code.
3579 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
3581         PR libgcc/64885
3582         * gthr-single.h: Use __unused__ attribute instead of unused.
3583         * config/gthr-vxworks.h: Likewise.
3584         * config/i386/gthr-win32.h: Likewise.
3586 2015-02-27  Kai Tietz  <ktietz@redhat.com>
3588         PR target/65038
3589         * config.in: Regenerated.
3590         * configure: Likewise.
3591         * configure.ac (AC_HEADER_STDC): Added explicit.
3592         (AC_CHECK_HEADERS): Check for default headers  plus
3593         for ftw.h header.
3594         * libgcov-util.c (gcov_read_profile_dir): Disable use
3595         of ftw-function, if header is not found.
3596         (ftw_read_file): Likewise.
3598 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
3600         PR target/65181
3601         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3602         -Dinhibit_libc.
3604 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
3606         * config/arm/bpabi.S (test_div_by_zero): Make label names
3607         consistent between thumb2 and arm mode cases.  Separate the
3608         signed comparison on the high word of the numerator from the
3609         unsigned comparison on the low word.
3610         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3611         signed comparison.
3613 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3615         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3616         and <string.h>.
3617         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3619 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
3621         PR gcov-profile/61889
3622         * libgcov-driver-system.c: undefine clashing macro for mkdir.
3624 2015-02-02  Nick Clifton  <nickc@redhat.com>
3626         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3627         rounding up the fraction.
3629 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
3631         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3632         oldval and newval to const void *.  Fix typo.
3633         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3634         (FETCH_AND_OP_WORD): Likewise.
3635         (OP_AND_FETCH_WORD): Likewise.
3636         (COMPARE_AND_SWAP_2): Likewise.
3637         (__sync_val_compare_and_swap_4): Likewise.
3638         (__sync_lock_test_and_set_4): Likewise.
3639         (SYNC_LOCK_RELEASE_2): Likewise.
3640         Remove support for long long atomic operations.
3642 2015-01-27  Caroline Tice  <cmtice@google.com>
3644         Committing VTV Cywin/Ming patch for Patrick Wollgast
3645         * Makefile.in: Move rules to build vtv_*.o out of the check
3646         for CUSTOM_CRTSTUFF.
3647         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3648         i[34567]86-*-mingw*)
3649          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3650         enable_vtable_verify.
3652 2015-01-27  Nick Clifton  <nickc@redhat.com>
3654         * config/rl78/cmpsi2.S: Use function start and end macros.
3655         (__gcc_bcmp): New function.
3656         * config/rl78/lshrsi3.S: Use function start and end macros.
3657         * config/rl78/mulsi3.S: Add support for G10.
3658         (__mulqi3): New function for G10.
3659         * config/rl78/signbit.S: Use function start and end macros.
3660         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3661         fpmath-sf.S.
3662         (LIB2FUNCS_EXCLUDE): Define.
3663         (LIB2FUNCS_ST): Define.
3664         * config/rl78/trampoline.S: Use function start and end macros.
3665         * config/rl78/vregs.h (START_FUNC): New macro.
3666         (START_ANOTHER_FUNC): New macro.
3667         (END_FUNC): New macro.
3668         (END_ANOTHER_FUNC): New macro.
3669         * config/rl78/bit-count.S: New file.  Contains assembler
3670         implementations of the bit counting functions: ___clzhi2,
3671         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3672         __paritysi2, __popcounthi2 and __popcountsi2.
3673         * config/rl78/fpbit-sf.S: New file.  Contains assembler
3674         implementationas of the math functions: __negsf2, __cmpsf2,
3675         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3676         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
3677         * config/rl78/fpmath-sf.S: New file.  Contains assembler
3678         implementations of the math functions: __subsf3, __addsf3,
3679         __mulsf3 and __divsf3
3681 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3683         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3684         Add i386/elf-lib.h to tm_file.
3685         * config/i386/elf-lib.h: Fix comment.
3686         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3687         && __sun__ && __svr4__]: Remove workaround.
3689 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3691         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3692         FEATURE_BMI2.
3693         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3695 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
3697         * config/i386/cpuinfo.c (processor_subtypes): Add
3698         INTEL_COREI7_BROADWELL.
3699         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3700         model numbers.
3702 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
3704         * config/i386/elf-lib.h: New file.
3705         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3706         Wrap definition in #ifdef __i386__.
3707         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3708         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3709         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3710         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3711         to tm_file.
3713 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
3715         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3716         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3718 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
3720         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3721         Update rt_sigframe format and address for current Nios II
3722         Linux conventions.
3724 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3726         * config.host (arm*-*-freebsd*): Add new configuration for
3727         arm*-*-freebsd*.
3728         * config/arm/freebsd-atomic.c: New file.
3729         * config/arm/t-freebsd: Likewise.
3730         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3731         'PC-relative indirect' OS's.
3733 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
3735         * config.host: Add Visium support.
3736         * config/visium: New directory.
3738 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
3740         Update copyright years.
3742 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
3744         * config.host: Support mipsisa32r6 and mipsisa64r6.
3745         * config/mips/mips16.S: Do not build for R6.
3747 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
3749         * config/sh/crt.h: New.
3750         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3751         symbols.
3752         * config/sh/crt1.S: Likewise.
3754 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
3756         PR libgcc/63832
3757         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3758         func_ptr *dtor_list temporary variable to avoid "array subscript
3759         is above array bounds" warnings.
3761 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
3763         * Makefile.in (with_aix_soname): Define.
3764         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3765         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3766         * configure: Recreate.
3768 2014-12-05  Olivier Hainque  <hainque@adacore.com>
3770         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3771         now provided by defaults.h.
3773 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
3775         PR target/55351
3776         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3777         whether it's defined.
3779 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
3781         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3782         * config/i386/cpuinfo.c (get_available_features): Detect it.
3784 2014-11-27  Tony Wang  <tony.wang@arm.com>
3786         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3787         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3788         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3790 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
3792         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3794 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
3796         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3797         instead.
3799 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3800             John David Anglin  <danglin@gcc.gnu.org>
3802         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3803         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
3804         (OP_AND_FETCH_2): Likewise.
3805         (COMPARE_AND_SWAP_2): Likewise.
3806         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3807         (SYNC_LOCK_RELEASE_2): Likewise.
3808         (SUBWORD_SYNC_OP): Remove.
3809         (SUBWORD_VAL_CAS): Likewise.
3810         (SUBWORD_BOOL_CAS): Likewise.
3811         (FETCH_AND_OP_WORD): Update.
3812         Consistently use signed types.
3814 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
3815             Thomas Schwinge  <thomas@codesourcery.com>
3816             Ilya Verbin  <ilya.verbin@intel.com>
3817             Andrey Turetskiy  <andrey.turetskiy@intel.com>
3819         * Makefile.in (crtoffloadbegin$(objext)): New rule.
3820         (crtoffloadend$(objext)): Likewise.
3821         * configure: Regenerate.
3822         * configure.ac (accel_dir_suffix): Compute new variable.
3823         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3824         if enable_offload_targets is not empty.
3825         * offloadstuff.c: New file.
3827 2014-11-13  Nick Clifton  <nickc@redhat.com>
3829         * config/rl78/divmodhi.S: Add support for the G10 architecture.
3830         Use START_FUNC and END_FUNC macros to enable linker garbage
3831         collection.
3832         * config/rl78/divmodqi.S: Likewise.
3833         * config/rl78/divmodsi.S: Likewise.
3834         * config/rl78/mulsi3.S: Likewise.
3835         * config/rl78/lib2div.c: Remove G10 functions.
3836         * config/rl78/lib2muls.c: Likewise.
3837         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3838         * config/rl78/vregs.h (START_FUNC): New macro.
3839         (END_FUNC): New macro.
3841 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
3843         * config/mips/mips16.S: Set .module when supported.  Update O32
3844         FP64 calling convention and use for FPXX when possible.  Add FPXX
3845         calling convention fallback case.
3847 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
3849         * config.host: Handle nvptx-*-*.
3850         * shared-object.mk (as-flags-$o): Define.
3851         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3852         -xassembler-with-cpp.
3853         * static-object.mk: Identical changes.
3854         * config/nvptx/t-nvptx: New file.
3855         * config/nvptx/crt0.s: New file.
3856         * config/nvptx/free.asm: New file.
3857         * config/nvptx/malloc.asm: New file.
3858         * config/nvptx/realloc.c: New file.
3860 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3862         * Makefile.in (libgcc.map.in): New target.
3863         (libgcc.map): Use libgcc.map.in.
3864         * config/t-softfp (softfp_compat): New variable to be set by
3865         users.
3866         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3867         variables.
3868         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3869         directory.
3870         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3871         that use compat symbols and disable all code unless [SHARED].
3872         * config/t-softfp-compat: New file.
3873         * find-symver.awk: New file.
3874         * configure.ac (--with-glibc-version): New configure option.
3875         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3876         * configure: Regenerate.
3877         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3878         soft-float and e500.
3880 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3882         * config/t-hardfp (hardfp_exclusions): Document new variable for
3883         user to define.
3884         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3885         * config/t-softfp (softfp_extras): Document new variable for user
3886         to define.
3887         (softfp_func_list): Add functions from $(softfp_extras).
3888         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3889         * config.host (powerpc*-*-linux*): For e500v1, use
3890         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3891         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3892         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3894 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3896         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3897         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3898         memory read accesses are ok.
3900 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3902         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3903         * configure: Regenerate.
3904         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3905         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3906         of soft-fp for 32-bit classic hard float.  Do not use
3907         t-softfp-excl for soft float.
3909 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3911         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3912         configurations.
3913         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3914         Remove variables.
3916 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3918         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3919         introduced with 2014-10-21 trunk r216525.
3921 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3922             Vidya Praveen  <vidya.praveen@atmel.com>
3923             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3924             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3925             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3927         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3928         order.
3930         Updated library functions for AVRTINY arch.
3931         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3932         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3933         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3934         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3935         wsubi/wadi macors.
3936         (__mulsi3_helper): Update stack, preserve callee saved regs and
3937         argument from stack. Restore callee save registers.
3938         (__mulpsi3): Likewise.
3939         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3940         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3941         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3942         AVRTINY.
3943         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3944         (__do_copy_data): Added new definition for AVRTINY.
3945         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3946         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3947         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3948         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3949         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3950         macors.
3951         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3952         AVRTINY.
3954         Fix broken long multiplication on tiny arch.
3956 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3958         * soft-fp/double.h: Update from glibc.
3959         * soft-fp/eqdf2.c: Likewise.
3960         * soft-fp/eqsf2.c: Likewise.
3961         * soft-fp/eqtf2.c: Likewise.
3962         * soft-fp/extenddftf2.c: Likewise.
3963         * soft-fp/extended.h: Likewise.
3964         * soft-fp/extendsfdf2.c: Likewise.
3965         * soft-fp/extendsftf2.c: Likewise.
3966         * soft-fp/extendxftf2.c: Likewise.
3967         * soft-fp/gedf2.c: Likewise.
3968         * soft-fp/gesf2.c: Likewise.
3969         * soft-fp/getf2.c: Likewise.
3970         * soft-fp/ledf2.c: Likewise.
3971         * soft-fp/lesf2.c: Likewise.
3972         * soft-fp/letf2.c: Likewise.
3973         * soft-fp/op-1.h: Likewise.
3974         * soft-fp/op-2.h: Likewise.
3975         * soft-fp/op-4.h: Likewise.
3976         * soft-fp/op-8.h: Likewise.
3977         * soft-fp/op-common.h: Likewise.
3978         * soft-fp/quad.h: Likewise.
3979         * soft-fp/single.h: Likewise.
3980         * soft-fp/soft-fp.h: Likewise.
3981         * soft-fp/unorddf2.c: Likewise.
3982         * soft-fp/unordsf2.c: Likewise.
3983         * soft-fp/unordtf2.c: Likewise.
3984         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3985         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3986         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3987         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3988         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3989         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3990         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3991         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3992         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3993         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3995 2014-10-08  Rong Xu  <xur@google.com>
3997         * libgcov-util.c (read_gcda_file): Fix format.
3998         (find_match_gcov_info): Ditto.
3999         (calculate_2_entries): New.
4000         (compute_one_gcov): Ditto.
4001         (gcov_info_count_all_cold): Ditto.
4002         (gcov_info_count_all_zero): Ditto.
4003         (extract_file_basename): Ditto.
4004         (get_file_basename): Ditto.
4005         (set_flag): Ditto.
4006         (matched_gcov_info): Ditto.
4007         (calculate_overlap): Ditto.
4008         (gcov_profile_overlap): Ditto.
4009         * libgcov-driver.c (compute_summary): Make
4010         it avavilable for external calls.
4012 2014-10-06  Rong Xu  <xur@google.com>
4014         * Makefile.in: Ditto.
4015         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4016         (gcov_sort_icall_topn_counter): Ditto.
4017         (gcov_sort_topn_counter_arrays): Ditto.
4018         (dump_one_gcov): Sort indirect_call topn counters.
4019         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4020         function.
4021         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4022         utility function.
4023         (__gcov_indirect_call_topn_profiler): New profiler function.
4024         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4025         * libgcov.h: New decls.
4027 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
4029         * config.host: Remove support for score-*.
4031 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4033         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4034         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4035         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4036         __LIBGCC_XF_MANT_DIG__.
4037         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4038         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4039         __LIBGCC_TF_MANT_DIG__.
4040         * libgcc2.c (NOTRUNC): Define in terms of
4041         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4042         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4044 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4046         PR target/63312
4047         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4048         New macros.
4050 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
4052         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4053         override USE_PT_GNU_EH_FRAME.
4054         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4055         check USE_EH_FRAME_REGISTRY_ALWAYS against
4056         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4057         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4058         variable for substituted force_explicit_eh_registry.
4059         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4060         * configure.ac (explicit-exception-frame-registration):
4061         New AC_ARG_ENABLE.
4062         * configure: Regenerate.
4064 2014-09-19  Olivier Hainque  <hainque@adacore.com>
4066         * config.host (powerpc-wrs-vxworksmils): New configuration,
4067         same as vxworksae.
4069 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4071         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4073 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4075         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4076         bits not set bits as indicating trapping exceptions.
4078 2014-09-17  Nathan sidwell  <nathan@acm.org>
4080         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4081         (LIBGCOV_DRIVER): ... here.
4082         * libgcov-driver.c (gcov_master): New.
4083         (gcov_exit): Remove from master chain.
4084         (__gcov_init): Add to master chain if version compatible.  Don't
4085         clear the version.
4086         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4087         (gcov_reset_int): Clear master chain, if compatible.
4088         (gcov_dump_int): New internal interface.  Dump master chain, if
4089         compatible.
4090         (gcov_dump): Alias for gcov_dump_int.
4091         * libgcov.h (struct gcov_root): Add next and prev fields.
4092         (struct gcov_master): New struct.
4093         (__gcov_master): New.
4094         (gcov_dump_int): Declare.
4096 2014-09-17  Olivier Hainque  <hainque@adacore.com>
4098         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4099         and crtbegin.o + crtend.o to extra_parts.
4101 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4103         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4104         __LIBGCC_HAS_SF_MODE__.
4105         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4106         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4107         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4108         * config/libbid/bid_gcc_intrinsics.h
4109         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4110         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4111         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4112         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4113         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4114         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4116 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
4118         PR target/63223
4119         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4120         and R24 as needed.  Make work for all devices and .text locations.
4121         (__do_global_ctors, __do_global_dtors): Use word addresses.
4122         (__tablejump__, __tablejump_elpm__): Remove functions.
4123         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4124         Add _tablejump2.
4125         (XICALL, XIJMP): New macros.
4127 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4128         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4130         * config.host (aarch64*): Include crtfastmath.o and
4131         t-crtfm.
4132         * config/aarch64/crtfastmath.c: New file.
4134 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
4136         * config.host: Remove picochip support.
4137         * config/picochip/adddi3.S: Remove.
4138         * config/picochip/ashlsi3.S: Remove.
4139         * config/picochip/ashlsi3.c: Remove.
4140         * config/picochip/ashrsi3.S: Remove.
4141         * config/picochip/ashrsi3.c: Remove.
4142         * config/picochip/clzsi2.S: Remove.
4143         * config/picochip/cmpsi2.S: Remove.
4144         * config/picochip/divmod15.S: Remove.
4145         * config/picochip/divmodhi4.S: Remove.
4146         * config/picochip/divmodsi4.S: Remove.
4147         * config/picochip/lib1funcs.S: Remove.
4148         * config/picochip/longjmp.S: Remove.
4149         * config/picochip/lshrsi3.S: Remove.
4150         * config/picochip/lshrsi3.c: Remove.
4151         * config/picochip/parityhi2.S: Remove.
4152         * config/picochip/popcounthi2.S: Remove.
4153         * config/picochip/setjmp.S: Remove.
4154         * config/picochip/subdi3.S: Remove.
4155         * config/picochip/t-picochip: Remove.
4156         * config/picochip/ucmpsi2.S: Remove.
4157         * config/picochip/udivmodhi4.S: Remove.
4158         * config/picochip/udivmodsi4.S: Remove.
4160 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4162         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4163         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4164         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4165         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4166         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
4167         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4168         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
4169         defined and LIBGCC2_HAS_DF_MODE is defined.
4170         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
4171         defined and LIBGCC2_HAS_XF_MODE is defined.
4172         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
4173         defined and LIBGCC2_HAS_TF_MODE is defined.
4175 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4177         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4178         and ROUND_TOWARDS_ZERO conditionals.
4180 2014-09-07  Nathan sidwell  <nathan@acm.org>
4182         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4183         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
4185 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
4187         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4188         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4189         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4190         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4191         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4192         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4193         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4194         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4195         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4196         (DWARF_FRAME_REGISTERS): Change all uses to
4197         __LIBGCC_DWARF_FRAME_REGISTERS__.
4198         (EH_RETURN_STACKADJ_RTX): Change all uses to
4199         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4200         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4201         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
4202         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4203         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4204         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4205         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4206         to __LIBGCC_EH_FRAME_SECTION_NAME__.
4207         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4208         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4209         __LIBGCC_STACK_POINTER_REGNUM__.
4210         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4211         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4212         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4213         to __LIBGCC_STACK_POINTER_REGNUM__.
4214         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4215         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4216         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4217         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4218         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4219         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4220         (STACK_POINTER_REGNUM): Change all uses to
4221         __LIBGCC_STACK_POINTER_REGNUM__.
4222         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4223         use to __LIBGCC_STACK_POINTER_REGNUM__.
4224         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4225         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4226         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4227         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4228         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4229         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4230         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4231         to __LIBGCC_STACK_POINTER_REGNUM__.
4232         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4233         Remove conditional definition.
4234         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4235         __LIBGCC_TEXT_SECTION_ASM_OP__.
4236         (EH_FRAME_SECTION_NAME): Change all uses to
4237         __LIBGCC_EH_FRAME_SECTION_NAME__.
4238         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4239         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4240         (CTORS_SECTION_ASM_OP): Change all uses to
4241         __LIBGCC_CTORS_SECTION_ASM_OP__.
4242         (DTORS_SECTION_ASM_OP): Change all uses to
4243         __LIBGCC_DTORS_SECTION_ASM_OP__.
4244         (JCR_SECTION_NAME): Change all uses to
4245         __LIBGCC_JCR_SECTION_NAME__.
4246         (INIT_SECTION_ASM_OP): Change all uses to
4247         __LIBGCC_INIT_SECTION_ASM_OP__.
4248         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4249         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4250         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4251         __LIBGCC_STACK_GROWS_DOWNWARD__.
4252         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4253         __LIBGCC_INIT_SECTION_ASM_OP__.
4254         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4255         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4256         (EH_FRAME_SECTION_NAME): Change all uses to
4257         __LIBGCC_EH_FRAME_SECTION_NAME__.
4258         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4259         definitions.  Change all uses to
4260         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4261         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4262         __LIBGCC_STACK_GROWS_DOWNWARD__.
4263         (DWARF_FRAME_REGISTERS): Change all uses to
4264         __LIBGCC_DWARF_FRAME_REGISTERS__.
4265         (EH_RETURN_STACKADJ_RTX): Change all uses to
4266         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4267         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4268         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4269         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4270         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4271         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4273 2014-09-02  Nathan sidwell  <nathan@acm.org>
4275         * libgcov-interface.c (STRONG_ALIAS): New.
4276         (__gcov_flush): Call __gcov_reset_int.
4277         (__gcov_reset): Strong alias for ...
4278         (__gcov_reset_ing): ... this renamed hidden version.
4279         * libgcov.h (__gcov_reset_int): New declaration.
4281 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
4283         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4284         call from here...
4285         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4286         (__dso_handle): Define on Cygwin.
4287         * config/i386/t-cygming (crtbeginS.o): New rule.
4288         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4290         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4291         declaration syntax.
4293 2014-08-13  Steve Ellcey  <sellcey@mips.com>
4295         * crtstuff.c: Undef caddr_t.
4297 2014-08-12  Steve Ellcey  <sellcey@mips.com>
4299         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
4301 2014-08-07  Nathan Sidwell  <nathan@acm.org>
4303         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4304         (LIBGCOV_DRIVER): ... to here.
4305         * libgcov.h (gcov_do_dump): New #define.
4306         (struct gcov_root): New.
4307         (__gcov_root): New declaration.
4308         (__gcov_dump_one): Declare.
4309         * libgcov-driver.c (gcov_list, gcov_dump_complete,
4310         run_accounted): Delete.
4311         (gcov_compute_histogram): Add LIST argument, adjust.
4312         (compute_summary): Adjust gcov_compute_histogram call.
4313         (gcov_do_dump): Not hidden, static in libgcov.
4314         (gcov_clear): Move  to interface.c.
4315         (__gcov_dump_one): New, broken out of ...
4316         (gcov_exit): ... here.  Make static.
4317         (__gcov_root): New.
4318         (__gcov_init): Adjust.
4319         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4320         declarations.
4321         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4322         (gcov_clear): Moved from driver.c.   Add LIST argument.
4323         (__gcov_reset): Adjust for changed interfaces.
4324         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4326 2014-08-04  Rohit  <rohitarulraj@freescale.com>
4328         PR target/60102
4329         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4330         based on change in SPE high register numbers and 3 HTM registers.
4332 2014-08-01  Nathan Sidwell  <nathan@acm.org>
4334         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4335         LIBGCOV_INTERFACE): Reformat.
4336         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4337         IN_GCOV_TOOL.
4338         * libgcov-interface.c: Reformat some comments.
4339         (__gcov_flush_mx): Add declaration.  Tidy up definition.
4341 2014-07-31  Alan Modra  <amodra@gmail.com>
4342             Peter Bergner  <bergner@vnet.ibm.com>
4344         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4345         (pack_ldouble): New function.
4346         (__gcc_qadd): Use it.
4347         (__gcc_qmul): Likewise.
4348         (__gcc_qdiv): Likewise.
4349         (__gcc_qneg): Likewise.
4350         (__gcc_stoq): Likewise.
4351         (__gcc_dtoq): Likewise.
4353 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
4355         * config/s390/tpf-unwind.h: Include <stdbool.h>.
4356         (__tpf_eh_return): Add original return address as second parameter.
4357         Handle cases where unwinder routines were called directly, instead
4358         of from within the C++ library.
4360 2014-07-29  Nathan Sidwell  <nathan@acm.org>
4362         * libgcov.h: Move renaming of entry points to lib gcov specific
4363         portion.
4364         (gcov_do_dump): New rename.
4365         (gcov_rewrite): Remove inline, make HIDDEN.
4366         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4367         (gcov_exit_compute_summary): Rename to ...
4368         (compute_summary): ... here.  Add LIST argument.
4369         (gcov_exit_merge_gcda): Rename to ...
4370         (merge_one_data): ... here.
4371         (gcov_exit_write_gcda): Rename to ...
4372         (write_one_data): ... here.
4373         (gcov_exit_merge_summary): Rename to ...
4374         (merge_summary): Add RUN_COUNTED argument.
4375         (gcov_exit_dump_gcov): Rename to ...
4376         (dump_one_gcov): Add RUN_COUNTED argument.
4377         (gcov_do_dump): New function, broken out of ...
4378         (gcov_exit): ... here.  Call it.
4380 2014-07-27  Anthony Green  <green@moxielogic.com>
4382         * config.host: Add moxiebox configuration suppport.
4384 2014-07-27  Nathan Sidwell  <nathan@acm.org>
4386         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4387         (struct gcov_filename): ... here.  Include buffer and max length
4388         fields.
4389         (gcov_max_filename): Remove.
4390         (gi_filename): Remove.
4391         (gcov_exit_compute_summary): Compute max filename here.
4392         (gcov_exit_merge_gcda): Add filename parm, adjust.
4393         (gcov_exit_merge_summary): Likewise.
4394         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4395         (gcov_exit): Likewise.
4396         (__gcov_init): Don't calculate max length here.
4397         * libgcov_util.c (max_filename_len): Remove.
4398         (read_gcda_file): Don't calculate max length here.
4399         (gcov_read_profile_dir): Don't propagate here.
4400         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4401         struct gcov_filename changes.
4402         (gcov_exit_open_gcda_file): Likewise.
4404 2014-07-25  Nathan Sidwell  <nathan@acm.org>
4406         * libgcov-driver.c (set_gcov_dump_complete,
4407         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4408         functions polluting user's namespace.
4409         (gcov_exit): Set variable directly.
4410         (gcov_clear): Reset variable directly.
4411         * libgcov-interface.c (get_gcov_dymp_complete,
4412         reset_gov_dump_complete): Remove declarations.
4413         (__gcov_reset, __gcov_dump): Don't call them.
4415 2014-07-24  DJ Delorie  <dj@redhat.com>
4417         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4418         (__gcc_deregister_frame): Move logic to detect deregister function
4419         to ...
4420         (__gcc_register_frame): here, so it's consistent with the register
4421         logic.
4423 2014-07-23  Nathan Sidwell  <nathan@acm.org>
4425         * libgcov-driver.c (set_gcov_list): Remove.
4426         (gcov_list): Make non-static in GCOV_TOOL.
4427         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4429 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
4431         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4432         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4433         Don't use SYNC_LOCK_RELEASE for int type.
4435 2014-07-14  Richard Biener  <rguenther@suse.de>
4437         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4439 2014-07-11  Rong Xu  <xur@google.com>
4441         * libgcov-util.c (gcov_max_filename): Fix declartion.
4443 2014-07-10  Rong Xu  <xur@google.com>
4445         Add gcov-tool: an offline gcda profile processing tool
4446         Support.
4447         * libgcov-driver.c (gcov_max_filename): Make available
4448         to gcov-tool.
4449         * libgcov-merge.c (__gcov_merge_add): Replace
4450         gcov_read_counter() with a Macro.
4451         (__gcov_merge_ior): Ditto.
4452         (__gcov_merge_time_profile): Ditto.
4453         (__gcov_merge_single): Ditto.
4454         (__gcov_merge_delta): Ditto.
4455         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4456         in the utility functions.
4457         (set_fn_ctrs): Utility function for reading gcda files to in-memory
4458         gcov_list object link lists.
4459         (tag_function): Ditto.
4460         (tag_blocks): Ditto.
4461         (tag_arcs): Ditto.
4462         (tag_lines): Ditto.
4463         (tag_counters): Ditto.
4464         (tag_summary): Ditto.
4465         (read_gcda_finalize): Ditto.
4466         (read_gcda_file): Ditto.
4467         (ftw_read_file): Ditto.
4468         (read_profile_dir_init): Ditto.
4469         (gcov_read_profile_dir): Ditto.
4470         (gcov_read_counter_mem): Ditto.
4471         (gcov_get_merge_weight): Ditto.
4472         (merge_wrapper): A wrapper function that calls merging handler.
4473         (gcov_merge): Merge two gcov_info objects with weights.
4474         (find_match_gcov_info): Find the matched gcov_info in the list.
4475         (gcov_profile_merge): Merge two gcov_info object lists.
4476         (__gcov_add_counter_op): Process edge profile counter values.
4477         (__gcov_ior_counter_op): Process IOR profile counter values.
4478         (__gcov_delta_counter_op): Process delta profile counter values.
4479         (__gcov_single_counter_op): Process single  profile counter values.
4480         (fp_scale): Callback function for float-point scaling.
4481         (int_scale): Callback function for integer fraction scaling.
4482         (gcov_profile_scale): Scaling profile counters.
4483         (gcov_profile_normalize): Normalize profile counters.
4484         * libgcov.h: Add headers and functions for gcov-tool use.
4485         (gcov_get_counter): New.
4486         (gcov_get_counter_target): Ditto.
4487         (struct gcov_info): Make the functions field mutable in gcov-tool
4488         compilation.
4490 2014-06-23  Kai Tietz  <ktietz@redhat.com>
4492         PR libgcc/61585
4493         * unwind-seh.c (_Unwind_GetGR): Check for proper
4494         index range.
4495         (_Unwind_SetGR): Likewise.
4497 2014-05-22  Nick Clifton  <nickc@redhat.com>
4499         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4500         -mhwmult=none.
4502 2014-05-22  Teresa Johnson  <tejohnson@google.com>
4504         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4505         include.
4507 2014-05-20  John Marino  <gnugcc@marino.st>
4509         * config.host (*-*-dragonfly*): New target.
4510         * crtstuff.c: Make dl_iterate_support generic on *bsd.
4511         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4512         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4513         * config/i386/dragonfly-unwind.h: New.
4515 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
4517         PR libgcc/60166
4518         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4519         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4521 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4523         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4524         implementation.
4526 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
4528         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4530 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4532         PR libgcc/61097
4533         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4534         if --enable-shared.
4536 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4538         Work around for current cygwin32 build problems.
4539         * config/i386/cygming-crtbegin.c (__register_frame_info,
4540         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4541         functions only for 64-bit systems.
4543 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4545         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4546         (sigill_caught, sigill_hdlr): Remove.
4548 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4550         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4551         check.
4552         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4553         Solaris 9 single-threaded support.
4554         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4555         Solaris 9 single-threaded support.  Add call_user_handler code
4556         sequences.
4557         (sparc_is_sighandler): Likewise.
4559 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4561         * config.host: Append t-floattodi to tmake_file depending on
4562         host_address.
4564 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
4566         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4568 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
4570         PR libgcc/60472
4571         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4572         variable to avoid "array subscript is above array bounds" warnings.
4573         Use __builtin_expect when checking *jcr_list for NULL.
4575 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4577         PR libgcc/59339
4578         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4579         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4580         vtv_*.o to extra_parts if enable_vtable_verify.
4582 2014-03-06  Nick Clifton  <nickc@redhat.com>
4584         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4585         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4587 2014-02-28  Joey Ye  <joey.ye@arm.com>
4589         PR libgcc/60166
4590         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4591         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4592         Set to zero.
4594 2014-02-24  Walter Lee  <walt@tilera.com>
4596         * config.host: Support "tilegx*" and "tilepro*" triplets.
4597         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4598         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4600 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
4601             Chung-Lin Tang  <cltang@codesourcery.com>
4603         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4604         * config/nios2/crti.S: Remove .file directive.
4605         * config/nios2/crtn.S: Likewise.
4607 2014-02-18  Kai Tietz  <ktietz@redhat.com>
4608         Jonathan Schleifer  <js@webkeks.org>
4610         PR objc/56870
4611         * unwind-seh.c (_GCC_specific_handler): Pass proper
4612         value to unwind-handler.
4614 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4616         * soft-fp/adddf3.c: Update from glibc.
4617         * soft-fp/addsf3.c: Likewise.
4618         * soft-fp/addtf3.c: Likewise.
4619         * soft-fp/divdf3.c: Likewise.
4620         * soft-fp/divsf3.c: Likewise.
4621         * soft-fp/divtf3.c: Likewise.
4622         * soft-fp/double.h: Likewise.
4623         * soft-fp/eqdf2.c: Likewise.
4624         * soft-fp/eqsf2.c: Likewise.
4625         * soft-fp/eqtf2.c: Likewise.
4626         * soft-fp/extenddftf2.c: Likewise.
4627         * soft-fp/extended.h: Likewise.
4628         * soft-fp/extendsfdf2.c: Likewise.
4629         * soft-fp/extendsftf2.c: Likewise.
4630         * soft-fp/extendxftf2.c: Likewise.
4631         * soft-fp/fixdfdi.c: Likewise.
4632         * soft-fp/fixdfsi.c: Likewise.
4633         * soft-fp/fixdfti.c: Likewise.
4634         * soft-fp/fixsfdi.c: Likewise.
4635         * soft-fp/fixsfsi.c: Likewise.
4636         * soft-fp/fixsfti.c: Likewise.
4637         * soft-fp/fixtfdi.c: Likewise.
4638         * soft-fp/fixtfsi.c: Likewise.
4639         * soft-fp/fixtfti.c: Likewise.
4640         * soft-fp/fixunsdfdi.c: Likewise.
4641         * soft-fp/fixunsdfsi.c: Likewise.
4642         * soft-fp/fixunsdfti.c: Likewise.
4643         * soft-fp/fixunssfdi.c: Likewise.
4644         * soft-fp/fixunssfsi.c: Likewise.
4645         * soft-fp/fixunssfti.c: Likewise.
4646         * soft-fp/fixunstfdi.c: Likewise.
4647         * soft-fp/fixunstfsi.c: Likewise.
4648         * soft-fp/fixunstfti.c: Likewise.
4649         * soft-fp/floatdidf.c: Likewise.
4650         * soft-fp/floatdisf.c: Likewise.
4651         * soft-fp/floatditf.c: Likewise.
4652         * soft-fp/floatsidf.c: Likewise.
4653         * soft-fp/floatsisf.c: Likewise.
4654         * soft-fp/floatsitf.c: Likewise.
4655         * soft-fp/floattidf.c: Likewise.
4656         * soft-fp/floattisf.c: Likewise.
4657         * soft-fp/floattitf.c: Likewise.
4658         * soft-fp/floatundidf.c: Likewise.
4659         * soft-fp/floatundisf.c: Likewise.
4660         * soft-fp/floatunditf.c: Likewise.
4661         * soft-fp/floatunsidf.c: Likewise.
4662         * soft-fp/floatunsisf.c: Likewise.
4663         * soft-fp/floatunsitf.c: Likewise.
4664         * soft-fp/floatuntidf.c: Likewise.
4665         * soft-fp/floatuntisf.c: Likewise.
4666         * soft-fp/floatuntitf.c: Likewise.
4667         * soft-fp/gedf2.c: Likewise.
4668         * soft-fp/gesf2.c: Likewise.
4669         * soft-fp/getf2.c: Likewise.
4670         * soft-fp/ledf2.c: Likewise.
4671         * soft-fp/lesf2.c: Likewise.
4672         * soft-fp/letf2.c: Likewise.
4673         * soft-fp/muldf3.c: Likewise.
4674         * soft-fp/mulsf3.c: Likewise.
4675         * soft-fp/multf3.c: Likewise.
4676         * soft-fp/negdf2.c: Likewise.
4677         * soft-fp/negsf2.c: Likewise.
4678         * soft-fp/negtf2.c: Likewise.
4679         * soft-fp/op-1.h: Likewise.
4680         * soft-fp/op-2.h: Likewise.
4681         * soft-fp/op-4.h: Likewise.
4682         * soft-fp/op-8.h: Likewise.
4683         * soft-fp/op-common.h: Likewise.
4684         * soft-fp/quad.h: Likewise.
4685         * soft-fp/single.h: Likewise.
4686         * soft-fp/soft-fp.h: Likewise.
4687         * soft-fp/subdf3.c: Likewise.
4688         * soft-fp/subsf3.c: Likewise.
4689         * soft-fp/subtf3.c: Likewise.
4690         * soft-fp/truncdfsf2.c: Likewise.
4691         * soft-fp/trunctfdf2.c: Likewise.
4692         * soft-fp/trunctfsf2.c: Likewise.
4693         * soft-fp/trunctfxf2.c: Likewise.
4694         * soft-fp/unorddf2.c: Likewise.
4695         * soft-fp/unordsf2.c: Likewise.
4696         * soft-fp/unordtf2.c: Likewise.
4697         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4698         macro.
4699         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4700         Likewise.
4701         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4702         Likewise.
4703         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4704         Likewise.
4705         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4706         Likewise.
4707         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4708         Likewise.
4709         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4710         Likewise.
4711         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4712         Likewise.
4713         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4714         Likewise.
4715         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4716         Likewise.
4717         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4718         Likewise.
4719         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4720         Likewise.
4721         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4722         Likewise.
4723         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4724         Likewise.
4725         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4726         Likewise.
4727         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4728         Likewise.
4730 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4732         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4733         cannot be represented.
4734         * config/s390/32/_fixsfdi.c: Likewise.
4735         * config/s390/32/_fixtfdi.c: Likewise.
4736         * config/s390/32/_fixunsdfdi.c: Likewise.
4737         * config/s390/32/_fixunssfdi.c: Likewise.
4738         * config/s390/32/_fixunstfdi.c: Likewise.
4740 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
4742         * configure.ac (libgcc_cv_mips_hard_float): New.
4743         * configure: Regenerate.
4744         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4745         t-softfp-sfdf for hard-float targets.
4746         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4747         (softfp_float_modes, softfp_int_modes, softfp_extensions)
4748         (softfp_truncations, softfp_exclude_libgcc2): New.
4749         * config/t-hardfp: New file.
4750         * config/t-hardfp-sfdf: Likewise.
4751         * config/hardfp.c: Likewise.
4753 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4755         * config.host: Include t-floattodi also for s390x.
4756         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4757         * config/s390/32/_fixsfdi.c: Likewise.
4758         * config/s390/32/_fixtfdi.c: Likewise.
4759         * config/s390/32/_fixunsdfdi.c: Likewise.
4760         * config/s390/32/_fixunssfdi.c: Likewise.
4761         * config/s390/32/_fixunstfdi.c: Likewise.
4763 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4765         PR target/59788
4766         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4767         (install-libgcc-unwind-map-forbuild): New target.
4768         (all): Depend on install-libgcc-unwind-map-forbuild.
4769         (install-libgcc-unwind-map): New target.
4770         (install): Depend on install-libgcc-unwind-map.
4772 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
4774         * config/nios2/crti.S (_init): Initialize GOT pointer from
4775         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4777 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
4779         * configure.ac: Check __mips64 when setting host_address.
4780         * configure: Regenerate.
4781         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4782         mips/t-mips64 and t-softfp.
4783         (mips*-*-linux*): Don't add mips/t-tpbit.
4784         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4785         (DPBIT, DPBIT_CFLAGS): Delete.
4786         * config/mips/sfp-machine.h: New file.
4787         * config/mips/t-mips64: Likewise.
4788         * config/mips/t-softfp-tf: Likewise.
4789         * config/mips/t-tpbit: Delete.
4791 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4793         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4794         as long long.
4796 2014-01-25  Walter Lee  <walt@tilera.com>
4798         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
4799         config.h or system.h.
4800         (bool) Define.
4802 2014-01-25  Walter Lee  <walt@tilera.com>
4804         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4805         (post_atomic_barrier): Ditto.
4806         (__fetch_and_do): New macro.
4807         (__atomic_fetch_and_do): Use __fetch_and_do.
4808         (__sync_fetch_and_do): New macro.
4809         (__sync_fetch_and_add_4): New function.
4810         (__sync_fetch_and_sub_4): New function.
4811         (__sync_fetch_and_or_4): New function.
4812         (__sync_fetch_and_and_4): New function.
4813         (__sync_fetch_and_xor_4): New function.
4814         (__sync_fetch_and_nand_4): New function.
4815         (__sync_fetch_and_add_8): New function.
4816         (__sync_fetch_and_sub_8): New function.
4817         (__sync_fetch_and_or_8): New function.
4818         (__sync_fetch_and_and_8): New function.
4819         (__sync_fetch_and_xor_8): New function.
4820         (__sync_fetch_and_nand_8): New function.
4821         (__do_and_fetch): New macro.
4822         (__atomic_do_and_fetch): Use __do_and_fetch.
4823         (__sync_do_and_fetch): New macro.
4824         (__sync_add_and_fetch_4): New function.
4825         (__sync_sub_and_fetch_4): New function.
4826         (__sync_or_and_fetch_4): New function.
4827         (__sync_and_and_fetch_4): New function.
4828         (__sync_xor_and_fetch_4): New function.
4829         (__sync_nand_and_fetch_4): New function.
4830         (__sync_add_and_fetch_8): New function.
4831         (__sync_sub_and_fetch_8): New function.
4832         (__sync_or_and_fetch_8): New function.
4833         (__sync_and_and_fetch_8): New function.
4834         (__sync_xor_and_fetch_8): New function.
4835         (__sync_nand_and_fetch_8): New function.
4836         (__sync_exchange_methods): New macro.
4837         (__sync_val_compare_and_swap_4): New function.
4838         (__sync_bool_compare_and_swap_4): New function.
4839         (__sync_lock_test_and_test_4): New function.
4840         (__sync_val_compare_and_swap_8): New function.
4841         (__sync_bool_compare_and_swap_8): New function.
4842         (__sync_lock_test_and_test_8): New function.
4843         (__subword_cmpxchg_body): New macro.
4844         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4845         (__atomic_compare_exchange_2): Ditto.
4846         (__sync_subword_cmpxchg): New macro.
4847         (__sync_val_compare_and_swap_1): New function.
4848         (__sync_bool_compare_and_swap_1): New function.
4849         (__sync_val_compare_and_swap_2): New function.
4850         (__sync_bool_compare_and_swap_2): New function.
4851         (__atomic_subword): Rename to ...
4852         (__subword): ... New name.
4853         (__atomic_subword_fetch): Use __subword.
4854         (__sync_subword_fetch): New macro.
4855         (__sync_fetch_and_add_1): New function.
4856         (__sync_fetch_and_sub_1): New function.
4857         (__sync_fetch_and_or_1): New function.
4858         (__sync_fetch_and_and_1): New function.
4859         (__sync_fetch_and_xor_1): New function.
4860         (__sync_fetch_and_nand_1): New function.
4861         (__sync_fetch_and_add_2): New function.
4862         (__sync_fetch_and_sub_2): New function.
4863         (__sync_fetch_and_or_2): New function.
4864         (__sync_fetch_and_and_2): New function.
4865         (__sync_fetch_and_xor_2): New function.
4866         (__sync_fetch_and_nand_2): New function.
4867         (__sync_add_and_fetch_1): New function.
4868         (__sync_sub_and_fetch_1): New function.
4869         (__sync_or_and_fetch_1): New function.
4870         (__sync_and_and_fetch_1): New function.
4871         (__sync_xor_and_fetch_1): New function.
4872         (__sync_nand_and_fetch_1): New function.
4873         (__sync_add_and_fetch_2): New function.
4874         (__sync_sub_and_fetch_2): New function.
4875         (__sync_or_and_fetch_2): New function.
4876         (__sync_and_and_fetch_2): New function.
4877         (__sync_xor_and_fetch_2): New function.
4878         (__sync_nand_and_fetch_2): New function.
4879         (__atomic_subword_lock): Use __subword.
4880         (__sync_subword_lock): New macro.
4881         (__sync_lock_test_and_set_1): New function.
4882         (__sync_lock_test_and_set_2): New function.
4884 2014-01-25  Walter Lee  <walt@tilera.com>
4886         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4887         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4888         (__atomic_subword): Ditto.
4890 2014-01-25  Walter Lee  <walt@tilera.com>
4892         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4893         a prefix op argument.
4894         (__atomic_nand_fetch_4): Add prefix op.
4895         (__atomic_nand_fetch_8): Ditto.
4897 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4899         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4901 2014-01-09  Rong Xu  <xur@google.com>
4903         * libgcov-driver.c (this_prg): make it local to save
4904         bss space.
4905         (gcov_exit_compute_summary): Ditto.
4906         (gcov_exit_merge_gcda): Ditto.
4907         (gcov_exit_merge_summary): Ditto.
4908         (gcov_exit_dump_gcov): Ditto.
4910 2014-01-08  Rong Xu  <xur@google.com>
4912         * libgcov-driver.c: Use libgcov.h.
4913         (buffer_fn_data): Use xmalloc instead of malloc.
4914         (gcov_exit_merge_gcda): Ditto.
4915         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4916         * libgcov.h: New common header files for libgcov-*.h.
4917         * libgcov-interface.c: Use libgcov.h
4918         * libgcov-merge.c: Ditto.
4919         * libgcov-profiler.c: Ditto.
4920         * Makefile.in: Add dependence to libgcov.h
4922 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4924         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4925         case of small numerator and finite nonzero result.
4927 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4929         Update copyright years
4931 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4933         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4934         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4935         config/arc/dp-hack.h, config/arc/fp-hack.h,
4936         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4937         config/arc/ieee-754/arc600-dsp/divdf3.S,
4938         config/arc/ieee-754/arc600-dsp/divsf3.S,
4939         config/arc/ieee-754/arc600-dsp/muldf3.S,
4940         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4941         config/arc/ieee-754/arc600-mul64/divdf3.S,
4942         config/arc/ieee-754/arc600-mul64/divsf3.S,
4943         config/arc/ieee-754/arc600-mul64/muldf3.S,
4944         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4945         config/arc/ieee-754/arc600/divsf3.S,
4946         config/arc/ieee-754/arc600/mulsf3.S,
4947         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4948         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4949         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4950         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4951         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4952         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4953         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4954         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4955         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4956         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4957         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4958         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4959         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4960         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4961         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4962         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4963         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4964         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4965         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4966         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4967         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4968         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4969         vtv_start_preinit.c: Use the standard form for the copyright notice.
4971 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4972             Chung-Lin Tang  <cltang@codesourcery.com>
4973             Based on patches from Altera Corporation
4975         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4976         * config/nios2/lib2-nios2.h: New file.
4977         * config/nios2/lib2-divmod-hi.c: New file.
4978         * config/nios2/linux-unwind.h: New file.
4979         * config/nios2/lib2-divmod.c: New file.
4980         * config/nios2/linux-atomic.c: New file.
4981         * config/nios2/t-nios2: New file.
4982         * config/nios2/crti.asm: New file.
4983         * config/nios2/t-linux: New file.
4984         * config/nios2/lib2-divtable.c: New file.
4985         * config/nios2/lib2-mul.c: New file.
4986         * config/nios2/tramp.c: New file.
4987         * config/nios2/crtn.asm: New file.
4989 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4991         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4992         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4993         from cpuid.h to check vendor signatures.
4995 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4997         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4998         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4999         (get_amd_cpu): Likewise.
5001 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
5003         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5004         Haswell.
5006 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5007             H.J. Lu  <hongjiu.lu@intel.com>
5009         PR target/59422
5010         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
5011         and AMD_JAGUAR.
5012         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5013         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5014         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
5015         FEATURE_XOP and FEATURE_FMA.
5016         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5017         AMDFAM15H_BDVER3.
5018         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5019         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5020         FEATURE_FMA4 and FEATURE_XOP.
5022 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
5024         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5025         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5026         (get_intel_cpu): Updated.
5028 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
5030         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5032 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
5034         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5035         instructions when __SSE_MATH__ is defined.
5037 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
5039         * config.host (microblaze-*-rtems*): New.
5041 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
5043         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5044         architectures that do not have hardware divide instruction.
5045         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5047 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
5049         * longlong.h: Delete (moved to include/).
5051 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5053         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5054         of normal number and qNaN to not raise an inexact exception.
5056 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
5058         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5060 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
5062         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5063         for correct opcodes on BE.
5065 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
5067         * soft-fp/op-4.h: Update from glibc.
5069 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
5071         * libgcc2.c (__udivmoddi4): Define new implementation when
5072         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5073         divide instructions.
5075 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
5077         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5079 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5081         * config/t-softfp (soft-fp-objects-base): New variable.
5082         (soft-fp-objects): Use it.
5084 2013-11-23  David Edelson  <dje.gcc@gmail.com>
5085             Andrew Dixie  <andrewd@gentrack.com>
5087         PR target/33704
5088         * config/rs6000/aixinitfini.c: New file.
5089         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5090         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5091         symbols.
5093 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
5095         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5097 2013-11-18  Jan Hubicka  <jh@suse.cz>
5099         * libgcov-driver.c (run_accounted): Make global level static.
5100         (gcov_exit_merge_summary): Silence warning; do not clear
5101         run_accounted here.
5102         (gcov_exit): Clear it here.
5104         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5105         run_accounted.
5107         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5108         (all_prg, crc32): Remove static vars.
5109         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5110         all_prg.
5111         (gcov_exit_merge_gcda): Add crc32 parameter.
5112         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5113         do not account run if it was already accounted.
5114         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5115         (gcov_exit): Initialize all_prg; update.
5117 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
5119         * configure: Regenerate.
5121 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5122             Alan Modra  <amodra@gmail.com>
5124         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5125         (frob_update_context): Use it.
5127 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5128             Alan Modra  <amodra@gmail.com>
5130         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5131         (trampoline_initial): Provide ELFv2 variant.
5132         (__trampoline_setup): Likewise.
5134         * config/rs6000/linux-unwind.h (frob_update_context): Do not
5135         check for AIX indirect function call sequence if _CALL_ELF == 2.
5137 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5138             Alan Modra  <amodra@gmail.com>
5140         * config/rs6000/linux-unwind.h (get_regs): Do not support
5141         old kernel versions if _CALL_ELF == 2.
5142         (frob_update_context): Do not support PLT stub variants only
5143         generated by old linkers if _CALL_ELF == 2.
5145 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5146             Alan Modra  <amodra@gmail.com>
5148         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5149         location of CR save area for 64-bit little-endian systems.
5151 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5153         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5154         in tmake_file.
5155         * config/arm/t-vxworks: Delete.
5157 2013-11-10  Kai Tietz  <ktietz@redhat.com>
5159         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5160         Increment load-count on use of LIBGCC_SONAME DLL.
5161         (hmod_libgcc): New static variable to hold handle of
5162         LIBGCC_SONAME DLL.
5163         (__gcc_deregister_frame): Decrement load-count of
5164         LIBGCC_SONAME DLL.
5166 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
5168         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5169         availability.
5170         * configure: Regenerate
5172 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
5174         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5175         FP_EX_DENORM.  Store result to volatile location after SSE division
5176         to close interrupt window.  Remove unneeded fwait after x87
5177         division since interrupt window will be closed by emitted fstp.
5178         Rewrite FP_EX_INEXACT handling.
5180 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
5182         * soft-fp/README: Update.
5183         * soft-fp/adddf3.c: Update from glibc.
5184         * soft-fp/addsf3.c: Likewise.
5185         * soft-fp/addtf3.c: Likewise.
5186         * soft-fp/divdf3.c: Likewise.
5187         * soft-fp/divsf3.c: Likewise.
5188         * soft-fp/divtf3.c: Likewise.
5189         * soft-fp/double.h: Likewise.
5190         * soft-fp/eqdf2.c: Likewise.
5191         * soft-fp/eqsf2.c: Likewise.
5192         * soft-fp/eqtf2.c: Likewise.
5193         * soft-fp/extenddftf2.c: Likewise.
5194         * soft-fp/extended.h: Likewise.
5195         * soft-fp/extendsfdf2.c: Likewise.
5196         * soft-fp/extendsftf2.c: Likewise.
5197         * soft-fp/extendxftf2.c: Likewise.
5198         * soft-fp/fixdfdi.c: Likewise.
5199         * soft-fp/fixdfsi.c: Likewise.
5200         * soft-fp/fixdfti.c: Likewise.
5201         * soft-fp/fixsfdi.c: Likewise.
5202         * soft-fp/fixsfsi.c: Likewise.
5203         * soft-fp/fixsfti.c: Likewise.
5204         * soft-fp/fixtfdi.c: Likewise.
5205         * soft-fp/fixtfsi.c: Likewise.
5206         * soft-fp/fixtfti.c: Likewise.
5207         * soft-fp/fixunsdfdi.c: Likewise.
5208         * soft-fp/fixunsdfsi.c: Likewise.
5209         * soft-fp/fixunsdfti.c: Likewise.
5210         * soft-fp/fixunssfdi.c: Likewise.
5211         * soft-fp/fixunssfsi.c: Likewise.
5212         * soft-fp/fixunssfti.c: Likewise.
5213         * soft-fp/fixunstfdi.c: Likewise.
5214         * soft-fp/fixunstfsi.c: Likewise.
5215         * soft-fp/fixunstfti.c: Likewise.
5216         * soft-fp/floatdidf.c: Likewise.
5217         * soft-fp/floatdisf.c: Likewise.
5218         * soft-fp/floatditf.c: Likewise.
5219         * soft-fp/floatsidf.c: Likewise.
5220         * soft-fp/floatsisf.c: Likewise.
5221         * soft-fp/floatsitf.c: Likewise.
5222         * soft-fp/floattidf.c: Likewise.
5223         * soft-fp/floattisf.c: Likewise.
5224         * soft-fp/floattitf.c: Likewise.
5225         * soft-fp/floatundidf.c: Likewise.
5226         * soft-fp/floatundisf.c: Likewise.
5227         * soft-fp/floatunditf.c: Likewise.
5228         * soft-fp/floatunsidf.c: Likewise.
5229         * soft-fp/floatunsisf.c: Likewise.
5230         * soft-fp/floatunsitf.c: Likewise.
5231         * soft-fp/floatuntidf.c: Likewise.
5232         * soft-fp/floatuntisf.c: Likewise.
5233         * soft-fp/floatuntitf.c: Likewise.
5234         * soft-fp/gedf2.c: Likewise.
5235         * soft-fp/gesf2.c: Likewise.
5236         * soft-fp/getf2.c: Likewise.
5237         * soft-fp/ledf2.c: Likewise.
5238         * soft-fp/lesf2.c: Likewise.
5239         * soft-fp/letf2.c: Likewise.
5240         * soft-fp/muldf3.c: Likewise.
5241         * soft-fp/mulsf3.c: Likewise.
5242         * soft-fp/multf3.c: Likewise.
5243         * soft-fp/negdf2.c: Likewise.
5244         * soft-fp/negsf2.c: Likewise.
5245         * soft-fp/negtf2.c: Likewise.
5246         * soft-fp/op-1.h: Likewise.
5247         * soft-fp/op-2.h: Likewise.
5248         * soft-fp/op-4.h: Likewise.
5249         * soft-fp/op-8.h: Likewise.
5250         * soft-fp/op-common.h: Likewise.
5251         * soft-fp/quad.h: Likewise.
5252         * soft-fp/single.h: Likewise.
5253         * soft-fp/soft-fp.h: Likewise.
5254         * soft-fp/subdf3.c: Likewise.
5255         * soft-fp/subsf3.c: Likewise.
5256         * soft-fp/subtf3.c: Likewise.
5257         * soft-fp/truncdfsf2.c: Likewise.
5258         * soft-fp/trunctfdf2.c: Likewise.
5259         * soft-fp/trunctfsf2.c: Likewise.
5260         * soft-fp/trunctfxf2.c: Likewise.
5261         * soft-fp/unorddf2.c: Likewise.
5262         * soft-fp/unordsf2.c: Likewise.
5263         * soft-fp/unordtf2.c: Likewise.
5265 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
5267         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5268         (_FP_MUL_MEAT_D): Ditto.
5269         (_FP_DIV_MEAT_S): Ditto.
5270         (_FP_DIV_MEAT_D): Ditto.
5271         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5272         t-softfp-sfdf and t-softfp to tmake_file.
5274 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
5276         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5277         * config/i386/crtprec.c: Ditto.
5279 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
5280             Shiva Chen  <shiva0217@gmail.com>
5282         * config.host (nds32*-elf*): Add nds32 target.
5283         * config/nds32 : New directory and files.
5285 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
5287         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
5288         * config.host (cpu_type) <Setting default>: Add entry for
5289         crisv32-*-*.
5290         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5291         <crisv32-*-linux*>: Adjust.
5292         * longlong.h: Wrap the whole CRIS section in a single
5293         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
5294         and sub_ddmmss.
5295         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5296         defined.
5297         [__CRIS__] (__umulsidi3): Define.
5298         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5299         * config/cris/sfp-machine.h: New file.
5300         * config/cris/umulsidi3.S: New file.
5301         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5302         * config/cris/arit.c (SIGNMULT): New macro.
5303         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5304         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5305         saving 3 out of originally 33 cycles from the fastest
5306         path, 3 out of 54 from the medium path and one from the longest
5307         path.  Improve comments.
5309 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
5311         * sync.c: Remove static aliases and define each function directly
5312         under its real name.
5314 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
5316         * config.host (hppa*64*-*-linux*): Define extra_parts.
5317         (hppa*-*-linux*): Likewise.
5319 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
5321         * config/arc/crtgend.S: Add 2013 to Copyright years.
5322         * config/arc/gmon/atomic.h: Likewise.
5323         * config/arc/gmon/auxreg.h: Likewise.
5324         * config/arc/gmon/sys/gmon_out.h: Likewise.
5325         * config/arc/gmon/sys/gmon.h: Likewise.
5326         * config/arc/gmon/prof-freq.c: Likewise.
5327         * config/arc/gmon/mcount.c: Likewise.
5328         * config/arc/gmon/prof-freq-stub.S: Likewise.
5329         * config/arc/gmon/gmon.c: Likewise.
5330         * config/arc/gmon/machine-gmon.h: Likewise.
5331         * config/arc/gmon/profil.S: Likewise.
5332         * config/arc/gmon/dcache_linesz.S: Likewise.
5333         * config/arc/crtg.S: Likewise.
5334         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5335         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5336         * config/arc/ieee-754/adddf3.S: Likewise.
5337         * config/arc/ieee-754/truncdfsf2.S: Likewise.
5338         * config/arc/ieee-754/fixsfsi.S: Likewise.
5339         * config/arc/ieee-754/gtsf2.S: Likewise.
5340         * config/arc/ieee-754/floatsisf.S: Likewise.
5341         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5342         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5343         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5344         * config/arc/ieee-754/fixdfsi.S: Likewise.
5345         * config/arc/ieee-754/addsf3.S: Likewise.
5346         * config/arc/ieee-754/gesf2.S: Likewise.
5347         * config/arc/ieee-754/floatsidf.S: Likewise.
5348         * config/arc/ieee-754/extendsfdf2.S: Likewise.
5349         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5350         * config/arc/ieee-754/gtdf2.S: Likewise.
5351         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5352         * config/arc/ieee-754/uneqdf2.S: Likewise.
5353         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5354         * config/arc/ieee-754/uneqsf2.S: Likewise.
5355         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5356         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5357         * config/arc/ieee-754/eqdf2.S: Likewise.
5358         * config/arc/ieee-754/ordsf2.S: Likewise.
5359         * config/arc/ieee-754/divsf3.S: Likewise.
5360         * config/arc/ieee-754/divdf3.S: Likewise.
5361         * config/arc/ieee-754/floatunsidf.S: Likewise.
5362         * config/arc/ieee-754/orddf2.S: Likewise.
5363         * config/arc/ieee-754/eqsf2.S: Likewise.
5364         * config/arc/ieee-754/gedf2.S: Likewise.
5365         * config/arc/crtn.S: Likewise.
5366         * config/arc/crti.S: Likewise.
5367         * config/arc/t-arc700-uClibc: Likewise.
5368         * config/arc/asm.h: Likewise.
5369         * config/arc/libgcc-excl.ver: Likewise.
5370         * config/arc/t-arc-newlib: Likewise.
5371         * config/arc/divtab-arc700.c: Likewise.
5372         * config/arc/initfini.c: Likewise.
5373         * config/arc/fp-hack.h: Likewise.
5375 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5376             Diego Novillo  <dnovillo@google.com>
5378         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5379         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5380         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5381         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5383 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5384             Brendan Kehoe  <brendan@zen.org>
5385             Simon Cook  <simon.cook@embecosm.com>
5387         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5388         * config/arc: New directory.
5389         * longlong.h [__arc__] (umul_ppmm): Remove.
5390         [__arc__] (__umulsidi3): Define.
5391         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5392         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5394 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
5396         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5397         CreateSemaphoreA.
5398         * config/i386/gthr-win32.h: Likewise.
5400 2013-09-16  DJ Delorie  <dj@redhat.com>
5402         * config/rl78/vregs.h: Add G10 register definitions.
5403         * config/rl78/lib2mul.c: Enable for RL78/G10.
5404         * config/rl78/lib2div.c: Likewise.
5405         * config/rl78/lshrsi3.S: Use vregs.h.
5406         * config/rl78/cmpsi2.S: Likewise.
5407         * config/rl78/trampoline.S: Likewise.
5408         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
5410 2013-09-14  DJ Delorie  <dj@redhat.com>
5411             Nick Clifton  <nickc@redhat.com>
5413         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5414         * config/rl78/vregs.h: New.
5415         * config/rl78/signbit.S: New file.  Implements signbit function.
5416         * config/rl78/divmodsi.S: New.
5417         * config/rl78/divmodhi.S: New.
5418         * config/rl78/divmodqi.S: New.
5419         * config/rl78/t-rl78: Build them here...
5420         * config/rl78/lib2div.c: ...but not here.
5422 2013-09-12  DJ Delorie  <dj@redhat.com>
5424         * config.host (msp*-*-elf): New.
5425         * config/msp430/: New port.
5427 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
5429         PR gcov-profile/58127
5430         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5431         __thread var for emulated TLS.
5432         (__gcov_indirect_call_counters): Likewise.
5434 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
5435             Catherine Moore  <clm@codesourcery.com>
5436             Richard Sandiford  <rdsandiford@googlemail.com>
5438         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5439         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5440         (CALL_STUB_NO_RET): Likewise.
5441         (CALL_STUB_RET): Likewise.
5442         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5443         __mips16_ret call/return stub symbols.
5444         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5445         to tmake_file.
5447 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
5449         * config.host <mips*-*-linux*>: Remove a stray comment.
5451 2013-08-10  Jan Hubicka  <jh@suse.cz>
5453         Work around binutils PR14342
5454         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5455         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5456         (L_gcov_indirect_call_profiler_v2): New.
5458 2013-08-06  Jan Hubicka  <jh@suse.cz>
5460         * libgcov.c (__gcov_indirect_call_callee,
5461         __gcov_indirect_call_counters): New global vars.
5462         (__gcov_indirect_call_profiler): replace by ...
5463         (__gcov_indirect_call_profiler_v2) ... this one.
5465 2013-08-06  Caroline Tice  <cmtice@google.com>
5467         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5468         vtv_start_preinit.o and vtv_end_preinit.o.
5469         * configure.ac: Add code to check/set enable_vtable_verify.
5470         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5471         true.
5472         * vtv_start_preinit.c: New file.
5473         * vtv_end_preinit.c: New file.
5474         * vtv_start.c: New file.
5475         * vtv_end.c: New file.
5476         * configure: Regenerated.
5478 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
5480         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5481         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5482         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5483         GPL-3.0-with-GCC-exception.
5485 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
5487         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5488         ISA and up.
5490 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5492         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5493         mapping for FPRs when creating the fallback framestate.
5495 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
5497         PR target/57516
5498         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5499         (__round_s2_const, __round_u2_const)
5500         (__round_s4_const, __round_u4_const, __round_x8):
5501         Saturate result if addition result cannot be represented.
5503 2013-07-15  Matthias Klose  <doko@ubuntu.com>
5505         * libgcc2.c: Don't include <limits.h>.
5507 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
5509         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5511 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
5513         PR target/29776
5514         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5516 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
5518         PR middle-end/36041
5519         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5520         Define.
5521         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5522         instead of table lookups.
5523         (__popcountDI2): Likewise.
5525 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
5527         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5528         correctly.
5530 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5532         PR other/53317
5533         * soft-fp/adddf3.c: Update from glibc.
5534         * soft-fp/addsf3.c: Likewise.
5535         * soft-fp/addtf3.c: Likewise.
5536         * soft-fp/divdf3.c: Likewise.
5537         * soft-fp/divsf3.c: Likewise.
5538         * soft-fp/divtf3.c: Likewise.
5539         * soft-fp/double.h: Likewise.
5540         * soft-fp/eqdf2.c: Likewise.
5541         * soft-fp/eqsf2.c: Likewise.
5542         * soft-fp/eqtf2.c: Likewise.
5543         * soft-fp/extenddftf2.c: Likewise.
5544         * soft-fp/extended.h: Likewise.
5545         * soft-fp/extendsfdf2.c: Likewise.
5546         * soft-fp/extendsftf2.c: Likewise.
5547         * soft-fp/fixdfdi.c: Likewise.
5548         * soft-fp/fixdfsi.c: Likewise.
5549         * soft-fp/fixsfdi.c: Likewise.
5550         * soft-fp/fixsfsi.c: Likewise.
5551         * soft-fp/fixtfdi.c: Likewise.
5552         * soft-fp/fixtfsi.c: Likewise.
5553         * soft-fp/fixunsdfdi.c: Likewise.
5554         * soft-fp/fixunsdfsi.c: Likewise.
5555         * soft-fp/fixunssfdi.c: Likewise.
5556         * soft-fp/fixunssfsi.c: Likewise.
5557         * soft-fp/fixunstfdi.c: Likewise.
5558         * soft-fp/fixunstfsi.c: Likewise.
5559         * soft-fp/floatdidf.c: Likewise.
5560         * soft-fp/floatdisf.c: Likewise.
5561         * soft-fp/floatditf.c: Likewise.
5562         * soft-fp/floatsidf.c: Likewise.
5563         * soft-fp/floatsisf.c: Likewise.
5564         * soft-fp/floatsitf.c: Likewise.
5565         * soft-fp/floatundidf.c: Likewise.
5566         * soft-fp/floatundisf.c: Likewise.
5567         * soft-fp/floatunditf.c: Likewise.
5568         * soft-fp/floatunsidf.c: Likewise.
5569         * soft-fp/floatunsisf.c: Likewise.
5570         * soft-fp/floatunsitf.c: Likewise.
5571         * soft-fp/gedf2.c: Likewise.
5572         * soft-fp/gesf2.c: Likewise.
5573         * soft-fp/getf2.c: Likewise.
5574         * soft-fp/ledf2.c: Likewise.
5575         * soft-fp/lesf2.c: Likewise.
5576         * soft-fp/letf2.c: Likewise.
5577         * soft-fp/muldf3.c: Likewise.
5578         * soft-fp/mulsf3.c: Likewise.
5579         * soft-fp/multf3.c: Likewise.
5580         * soft-fp/negdf2.c: Likewise.
5581         * soft-fp/negsf2.c: Likewise.
5582         * soft-fp/negtf2.c: Likewise.
5583         * soft-fp/op-1.h: Likewise.
5584         * soft-fp/op-2.h: Likewise.
5585         * soft-fp/op-4.h: Likewise.
5586         * soft-fp/op-8.h: Likewise.
5587         * soft-fp/op-common.h: Likewise.
5588         * soft-fp/quad.h: Likewise.
5589         * soft-fp/single.h: Likewise.
5590         * soft-fp/soft-fp.h: Likewise.
5591         * soft-fp/subdf3.c: Likewise.
5592         * soft-fp/subsf3.c: Likewise.
5593         * soft-fp/subtf3.c: Likewise.
5594         * soft-fp/truncdfsf2.c: Likewise.
5595         * soft-fp/trunctfdf2.c: Likewise.
5596         * soft-fp/trunctfsf2.c: Likewise.
5597         * soft-fp/unorddf2.c: Likewise.
5598         * soft-fp/unordsf2.c: Likewise.
5599         * soft-fp/unordtf2.c: Likewise.
5600         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5601         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5602         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5603         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5604         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5605         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5606         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5607         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5608         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5609         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5610         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5611         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5613 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
5615         * config/mips/lib2funcs.c: New file.
5616         * config/mips/t-mips (LIB2ADD_ST): Add it.
5618 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
5620         PR target/6526
5621         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5622         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
5624 2013-06-08  Walter Lee  <walt@tilera.com>
5626         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5627         Replace int64_t with long long.  Add __extension__ where
5628         appropriate.
5629         * config/tilepro/atomic.c: Include config.h.
5631 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
5633         * config.host (arm-wrs-vxworks): Configure with other soft float.
5635 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
5637         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5638         (mips64r5900el-*-elf*): New configurations.
5640 2013-06-04  Alan Modra  <amodra@gmail.com>
5642         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5644 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
5646         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5648 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
5650         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5651         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5652         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5654 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5656         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5657         (powerpc-wrs-vxworks): Likewise.
5659 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5661         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5662         signal frames as well.
5663         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5664         STACK_BIAS to the CFA offset.
5666 2013-05-17  Richard Henderson  <rth@redhat.com>
5668         PR target/49146
5669         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5670         (execute_cfa_program): Use it when storing to fs->regs.
5672 2013-05-08  Kai Tietz  <ktietz@redhat.com>
5674         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5675         (__deregister_frame_info): Likewise.
5677 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
5679         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5680         NaN's payload.
5682         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5684 2013-04-25  Alan Modra  <amodra@gmail.com>
5686         * config.host: Match little-endian powerpc-linux.
5688 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
5690         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5691         as 'unsigned long long' instead of 'unsigned long'.
5692         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5693         'signed long'.
5695 2013-04-10  Julian Brown  <julian@codesourcery.com>
5697         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5698         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5699         unsigned char/unsigned short.
5700         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5702 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5704         PR other/55274
5705         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5707 2013-04-04  Meador Inge  <meadori@codesourcery.com>
5709         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5710         computing the location of the link register.
5711         (aeabi_uldivmod): Ditto.
5713 2013-03-27  Kai Tietz  <ktietz@redhat.com>
5715         * config.host: Add support for cygwin x64 target.
5716         * configure: Regenerated.
5718 2013-03-26  Walter Lee  <walt@tilera.com>
5720         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5721         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5723 2013-03-25  Kai Tietz  <ktietz@redhat.com>
5725         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5727 2013-03-20  Robert Mason  <rbmj@verizon.net>
5729         * config/vxlib-tls.c (__gthread_get_tsd_data,)
5730         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5731         (__gthread_leave_tsd_dtor_context): Add prototypes.
5732         (tls_delete_hook): Update.
5734 2013-03-20  Catherine Moore  <clm@codesourcery.com>
5735             Joseph Myers  <joseph@codesourcery.com>
5736             Chao-ying Fu  <fu@mips.com>
5738         * config/mips/mips16.S:  Don't build for microMIPS.
5739         * config/mips/linux-unwind.h: Handle microMIPS frame.
5740         * config/mips/crtn.S (fini, init): New labels.
5742 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
5744         PR tree-optimization/53265
5745         * unwind-dw2.c (execute_cfa_program): Avoid
5746         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5747         on targets with DWARF_FRAME_REGISTERS < 32.
5749 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
5751         PR target/49880
5752         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5753         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5755 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
5757         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5758         sandybridge processors.
5760 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
5762         PR target/56529
5763         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5764         inclusion list.
5766 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5768         * config/microblaze/crti.S: Setup stack protection at entry
5770 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
5772         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5773         (__rotldi3): Shift bytewise if applicable.
5775 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
5777         * config/aarch64/sync-cache.c
5778         (__aarch64_sync_cache_range): Silence warnings.
5780 2013-02-25  Catherine Moore  <clm@codesourcery.com>
5782         Revert:
5783         2013-02-24  Catherine Moore  <clm@codesourcery.com>
5784             Joseph Myers  <joseph@codesourcery.com>
5785             Chao-ying Fu  <fu@mips.com>
5787         * config/mips/mips16.S:  Don't build for microMIPS.
5788         * config/mips/linux-unwind.h: Handle microMIPS frame.
5789         * config/mips/crtn.S (fini, init): New labels.
5791 2013-02-24  Catherine Moore  <clm@codesourcery.com>
5792             Joseph Myers  <joseph@codesourcery.com>
5793             Chao-ying Fu  <fu@mips.com>
5795         * config/mips/mips16.S:  Don't build for microMIPS.
5796         * config/mips/linux-unwind.h: Handle microMIPS frame.
5797         * config/mips/crtn.S (fini, init): New labels.
5799 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5800         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5801         as dividend.
5803 2013-02-16  Alan Modra  <amodra@gmail.com>
5805         PR target/55431
5806         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5807         (ppc_fallback_frame_state): Always set up save locations for fp
5808         and altivec.  Don't bother with non-callee-saved regs, r0-r13
5809         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5811 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
5813         PR target/54222
5814         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5815         _ssmulHA, _ssmulSA.
5816         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5817         _ssmulha3, _usmulusa3, _ssmulsa3.
5818         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5819         (__muldi3): XCALL __muldi3_6 instead of rcall.
5820         (__umulsidi3, __mulsidi3): New functions.
5821         (do_prologue_saves, do_epilogue_restores): New .macros.
5822         (__divdi3_moddi3): Use them.
5823         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5824         (__usmulusa3, __ssmulsa3): New functions.
5826 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
5827             Jack Howarth  <howarth@bromo.med.uc.edu>
5828             Patrick Marlier  <patrick.marlier@gmail.com>
5830         PR libitm/55693
5831         * config/darwin-crt-tm.c: Remove dummy functions hack.
5833 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
5835         PR target/54222
5836         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5837         * config/avr/lib2-object.mk: New iterator to build objects from it.
5838         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5839         lib2funcs.c.
5840         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5841         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5842         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5843         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5844         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5845         * config/avr/lib1funcs-fixed.S: Implement them.
5847 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
5849         Update copyright years.
5851 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
5853         PR target/54601
5854         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5855         Add crtcxa to extra_parts.
5856         * config/rs6000/exit.h: New file.
5857         * config/rs6000/cxa_atexit.c: New file.
5858         * config/rs6000/cxa_finalize.c: New file.
5859         * config/rs6000/crtcxa.c: New file.
5860         * config/rs6000/t-aix-cxa: New file.
5861         * config/rs6000/libgcc-aix-cxa.ver: New file.
5863 2013-01-31  Nick Clifton  <nickc@redhat.com>
5865         * config/v850/lib1funcs.S: Add support for e3v5 architecture
5866         variant.
5868 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5870         PR target/54222
5871         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5872         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5873         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5874         _divQQ,  _divHQ,  _divHA,  _divSA,
5875         _divUQQ, _divUHQ, _divUHA, _divUSA.
5877 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5879         * config.host(microblaze*-linux*): tmake_file: Remove
5880         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5881         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5882         to exclude functions from being built with libgcc.c and use
5883         the microblaze assembly.
5885 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5887         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5888         extra_parts.
5890 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5892         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5893         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5894         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5895         alignment operation.
5897 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5899         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5900         loop start address for cache clearing.
5902 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5904         * config/avr/lib1funcs.S: Remove trailing blanks.
5905         * config/avr/lib1funcs-fixed.S: Ditto.
5907 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5909         * config/avr/avr-lib.h: Add GPL copyright notice.
5911 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5913         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5914         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5915         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5916         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5918 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5920         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5921         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5923 2013-01-04  Nick Clifton  <nickc@redhat.com>
5925         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5926         the CALLT instruction is supported.
5928 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5930         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5931         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5933 2012-12-13  John Tytgat  <John@bass-software.com>
5935         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5936         is 25.
5938 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5940         PR libgcc/55451
5941         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5942         undefined signed overflows.
5944 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5946         PR target/55344
5947         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5949 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5951         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5952         (FP_TRAPPING_EXCEPTIONS): Define.
5953         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5954         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5956 2012-12-04  Richard Henderson  <rth@redhat.com>
5958         PR bootstrap/55571
5959         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5961 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5963         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5964         (FP_EX_SHIFT): Define.
5965         (FP_TRAPPING_EXCEPTIONS): Define.
5967 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5969         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5970         (FP_ROUNDMODE): Use FP_RND_MASK.
5971         * config/aarch64/sfp-exceptions.c: New.
5972         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5973         Use __sfp_handle_exceptions.
5975 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5977         * config.host: (arm*-*-freebsd*): Remove.
5978         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5979         (arm*-*-elf*): Remove.
5980         (arm*-*-wince-pe*): Remove.
5981         * arm/unwind-arm.c (struct fpa_reg): Delete.
5982         (struct fpa_regs): Delete.
5983         (phase1_vrs): Remove fpa element.
5984         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5985         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5986         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5987         * ieee754-sf.S (floatundisf): Remove FPA support.
5988         (floatdisf): Likewise.
5989         * ieee75f-df.S (floatundidf): Likewise.
5990         (floatdidf): Likewise.
5992 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5994         PR target/55445
5995         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5996         * unwind-generic.h: Likewise.
5997         * unwind-seh.c: Likewise.
5999 2012-11-28  Richard Henderson  <rth@redhat.com>
6001         PR libgcc/48076
6002         * emutls.c (__emutls_get_address): Avoid race condition between
6003         obj->loc.offset read and emutls_key initialization.
6005 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
6007         Adjust decimal point of signed accum mode to GCC default.
6009         PR target/54222
6010         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6011         _divqq_helper.
6012         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6013         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6014         (__mulha3, __mulsa3)
6015         (__divqq3, __divha3, __divsa3): Adjust to new position of
6016         decimal point of signed accum types.
6018         (__mulusa3_round): New function.
6019         (__mulusa3): Use it.
6020         (__divqq_helper): New function.
6021         (__udivuqq3): Use it.
6023 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
6025         PR bootstrap/55370
6026         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6028 2012-11-18  Teresa Johnson  <tejohnson@google.com>
6030         PR bootstrap/55051
6031         * libgcov.c (gcov_exit): Remove merged program summary
6032         comparison unless !GCOV_LOCKED.
6034 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6036         * soft-fp: Updated from glibc upstream.
6038 2012-11-06  Ian Lance Taylor  <iant@google.com>
6040         * generic-morestack.c (__generic_morestack): Align the returned
6041         stack pointer to a 32 byte boundary.
6042         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6043         increment the return address until we have decided that we don't
6044         have a varargs function.
6045         (__morestack) [32-bit]: Align stack correctly when calling C
6046         functions.
6047         (__morestack) [64-bit]: Likewise.
6049 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6051         * configure: Regenerate.
6053 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
6055         PR target/55175
6056         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6057         * config/i386/sfp-machine.h: Guard exception handling
6058         code with _SOFT_FLOAT.
6059         * config/i386/32/sfp-machine.h: Guard rounding handling
6060         code with _SOFT_FLOAT.
6061         * config/i386/64/sfp-machine.h: Ditto.
6063 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
6065         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6066         as extra_parts.
6068 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
6070         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6071         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
6072         when appropriate.  Correct structure element types.
6073         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6074         -minline-all-stringops from compile flags.
6076 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6078         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6080 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6082         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6084 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6086         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6087         tmake_file.
6089 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
6090             Jim MacArthur  <jim.macarthur@arm.com>
6091             Marcus Shawcroft  <marcus.shawcroft@arm.com>
6092             Nigel Stephens  <nigel.stephens@arm.com>
6093             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6094             Richard Earnshaw  <rearnsha@arm.com>
6095             Sofiane Naci  <sofiane.naci@arm.com>
6096             Stephen Thomas  <stephen.thomas@arm.com>
6097             Tejas Belagod  <tejas.belagod@arm.com>
6098             Yufeng Zhang  <yufeng.zhang@arm.com>
6100         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6101         * config/aarch64/crti.S: New file.
6102         * config/aarch64/crtn.S: New file.
6103         * config/aarch64/linux-unwind.h: New file.
6104         * config/aarch64/sfp-machine.h: New file.
6105         * config/aarch64/sync-cache.c: New file.
6106         * config/aarch64/t-aarch64: New file.
6107         * config/aarch64/t-softfp: New file.
6109 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
6111         * config/mmix/crti.S: Mark program and data addresses using PRELD.
6112         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
6113         no-longer-needed LDBU insns.
6115 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6117         * config.host
6118         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6119         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6121 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6123         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6125 2012-10-15  Matthias Klose  <doko@ubuntu.com>
6127         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6129 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
6131         * configure: Regenerate.
6132         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6134 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6136         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6137         instructions for 64bit targets only.
6139 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6141         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6142         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6143         * config/i386/32/sfp-machine.h: ... here.
6144         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6145         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6146         New defines.
6148 2012-10-07  Matthias Klose  <doko@ubuntu.com>
6150         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6151         as unused.
6152         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6154 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
6156         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6157         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6158         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6159         (ElfW): Likewise.
6161 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
6163         PR other/53889
6164         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6165         Fix parameter names.
6167 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
6169         PR target/33135
6170         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6171         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6172         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6174 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
6176         PR target/50457
6177         * config/sh/linux-atomic.S: Delete.
6178         * config/sh/linux-atomic.c: New.
6179         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6180         linux-atomic.c.  Add cflags to disable warnings.
6182 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6184         PR other/53889
6185         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6186         function.
6187         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6188         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6189         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6190         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6191         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6192         Likewise.
6193         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6194         Likewise.
6195         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6196         Likewise.
6197         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6198         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6200 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
6202         * config.host (hppa-*-openbsd*): New target.
6203         * config/pa/t-openbsd: New file.
6205 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
6207         PR target/54222
6208         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6209         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6210         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6211         (__divsa3): Use __negsi2 to negate r_quoL.
6212         * config/avr/lib1funcs.S (FALIAS): New macro.
6213         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6214         (__negsi2): ...this new function.
6215         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6216         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6217         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6218         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6219         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6220         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6222 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
6224         PR target/54089
6225         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6226         (lshrsi3): Reimplement as lshrsi3_r0.
6228 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
6230         PR target/46191
6231         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6232         of libgcc.a.
6234 2012-09-07  Teresa Johnson  <tejohnson@google.com>
6236         PR gcov-profile/54487
6237         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6238         differences.
6240 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
6242         PR target/54461
6243         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6244         not configured --with-avrlibc=no.
6245         * config/avr/t-avrlibc: New file.
6246         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6247         (DPBIT_FUNCS): Ditto.
6248         (TPBIT_FUNCS): Ditto.
6250 2012-09-04  Teresa Johnson  <tejohnson@google.com>
6252         * libgcov.c (struct gcov_summary_buffer): New structure.
6253         (gcov_histogram_insert): New function.
6254         (gcov_compute_histogram): Ditto.
6255         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6256         histograms during summary merging.
6258 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
6260         * config.host (x86_64-*-openbsd*): New target.
6262 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
6264         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6265         attribute.
6267 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6269         PR target/54222
6270         * config/avr/t-avr (conv_X): Rename to func_X.
6272 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6274         PR target/54222
6275         * config/avr/lib1funcs-fixed.S: New file.
6276         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
6277         after they are used.
6278         (neg2, neg4): New macros.
6279         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6280         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6281         (__umulhisi3): Speed up MUL variant if there is enough flash.
6282         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6283         avr-modes.def.
6284         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6285         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6286         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6287         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6288         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6289         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6290         (LIB2FUNCS_EXCLUDE): Add supported functions.
6292 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
6294         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6295         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6296         libgcc-s-objects.
6297         * fixed-obj.mk: Only expand dependency if $o is not in
6298         LIB2FUNCS_EXCLUDE.
6300 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
6302         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6304 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
6306         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6307         depend on --enable-shared.
6308         ($(lib1asmfuncs-o)): Use %.vis files independent of
6309         --enable-shared.
6310         * static-object.mk ($(base)$(objext), $(base).vis)
6311         ($(base)_s$(objext)): Use same rules for visibility handling as in
6312         shared-object.mk.
6314 2012-08-21  Ian Lance Taylor  <iant@google.com>
6316         * config/i386/morestack.S (__morestack_non_split): Increase amount
6317         of space allocated for non-split code stack.
6319 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
6321         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6322         even if inhibit_libc.
6324 2012-08-17  Julian Brown  <julian@codesourcery.com>
6326         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6327         -fexceptions -fnon-call-exceptions if not defined.
6328         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6329         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6331 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
6333         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6334         type.
6336 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
6338         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6339         rs6000/t-slibgcc-aix.
6341 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6343         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6345 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6347         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6349 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
6351         PR driver/54171
6352         * Makefile.in (version): Replace top_srcdir with srcdir.
6354 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
6356         * Makefile.in (version): set to BASE-VER file from gcc directory.
6358 2012-08-01  Nick Clifton  <nickc@redhat.com>
6360         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6361         Implements __clrsb for an HImode argument.
6363 2012-07-31  Nick Clifton  <nickc@redhat.com>
6365         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6366         Implements __clrsb for an HImode argument.
6367         * config/stormy16/clrsbhi2.c: New file:
6368         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6370 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
6372         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6374 2012-07-19  Tristan Gingold  <gingold@adacore.com>
6375             Richard Henderson  <rth@redhat.com>
6377         * unwind-seh.c: New file.
6378         * unwind-generic.h: Include windows.h for SEH.
6379         (_Unwind_Exception): Use 6 private fields for SEH.
6380         (_GCC_specific_handler): Declare.
6381         * unwind-c.c (__gcc_personality_seh0): New function.
6382         Adjust for SEH.
6383         * config/i386/libgcc-cygming.ver: New file.
6384         * config/i386/t-seh-eh: New file.
6385         * config.host (x86_64-*-mingw*): Default to seh.
6387 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
6389         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6391 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
6393         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6394         __builtin_expect when checking for exceptions.
6395         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6397 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6399         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6400         function declaration.
6401         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6402         (FP_RND_MASK): New.
6403         * config/ia64/sfp-exceptions.c: New.
6404         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6406 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6408         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6409         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6410         * config/i386/64/sfp-machine: ... (delete here) ...
6411         * config/i386/sfp-machine.h: ... to here.
6412         (FP_EX_MASK): Remove.
6413         (FP_RND_MASK): New.
6414         (FP_INIT_ROUNDMODE): Declare asm as volatile.
6416 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
6418         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6419         * config/i386/libgcc-sol2.ver: Ditto.
6420         * config/i386/libgcc-glibc.ver: Ditto.
6422 2012-06-11  Roland McGrath  <mcgrathr@google.com>
6424         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6425         If __GLIBC__ is defined, refer to __pthread_key_create instead of
6426         pthread_cancel.
6428 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
6430         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6431         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6432         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6433         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6434         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6435         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6436         * config/i386/64/sfp-machine: ... (delete here) ...
6437         * config/i386/sfp-machine.h: ... to here.
6438         (FP_EX_MASK): New.
6439         (__sfp_handle_exceptions): New function declaration.
6440         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6441         * config/i386/sfp-exceptions.c: New.
6442         * config/i386/t-softfp: New.
6443         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6444         i386/t-softfp to tmake_file.
6446 2012-06-03  David S. Miller  <davem@davemloft.net>
6448         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6449         change.
6451 2012-05-31  David S. Miller  <davem@davemloft.net>
6453         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6454         multiply and divide instructions on 32-bit when V9.
6455         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6457 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
6459         * config/arm/ieee754-df.S: Fix typos.
6460         * config/arm/ieee754-sf.S: Fix typos.
6461         * config/c6x/libunwind.S: Fix typos.
6462         * config/epiphany/udivsi3-float.c: Fix typos.
6463         * config/microblaze/muldi3_hard.S: Fix typos.
6464         * config/picochip/adddi3.S: Fix typos.
6465         * config/picochip/ashlsi3.S: Fix typos.
6466         * config/picochip/ashrsi3.S: Fix typos.
6467         * config/picochip/clzsi2.S: Fix typos.
6468         * config/picochip/cmpsi2.S: Fix typos.
6469         * config/picochip/divmod15.S: Fix typos.
6470         * config/picochip/divmodhi4.S: Fix typos.
6471         * config/picochip/divmodsi4.S: Fix typos.
6472         * config/picochip/longjmp.S: Fix typos.
6473         * config/picochip/lshrsi3.S: Fix typos.
6474         * config/picochip/parityhi2.S: Fix typos.
6475         * config/picochip/popcounthi2.S: Fix typos.
6476         * config/picochip/setjmp.S: Fix typos.
6477         * config/picochip/subdi3.S: Fix typos.
6478         * config/picochip/ucmpsi2.S: Fix typos.
6479         * config/picochip/udivmodhi4.S: Fix typos.
6480         * config/picochip/udivmodsi4.S: Fix typos.
6481         * config/spu/divv2df3.c: Fix typos.
6482         * config/spu/mfc_multi_tag_release.c: Fix typos.
6483         * config/spu/mfc_tag_release.c: Fix typos.
6484         * configure.ac: Fix typos.
6485         * configure: Regenerate.
6487 2012-05-25  Ian Lance Taylor  <iant@google.com>
6489         * config/i386/morestack.S (__morestack_non_split): Check whether
6490         caller is varargs and needs %bp to hold the stack frame on return.
6492 2012-05-25  Olivier Hainque  <hainque@adacore.com>
6494         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6495         sequence in the non pic case on VxWorks.
6497 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6499         * Makefile.in: Move dependency on install-unwind_h from
6500         "install-leaf" to "install".
6502 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6504         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6505         Use a separate command for stamp removals.
6507 2012-05-21  Andrew Pinski  <apinski@cavium.com>
6509         PR bootstrap/53183
6510         * configure.ac: Define the default includes to being none.
6511         * configure: Regenerate.
6513 2012-05-16  Olivier Hainque  <hainque@adacore.com>
6515         * Makefile.in (install-unwind_h): Rename into ...
6516         (install-unwind_h-forbuild): New target.
6517         (all): Use it instead of the former install-unwind_h.
6518         (install-unwind_h): Reinstate, copy to user install destination
6519         for include files, not to the internal gcc object directory one.
6520         (install-leaf): Depend on it.
6522 2012-05-15  Olivier Hainque  <hainque@adacore.com>
6524         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6525         register numbers. LR_REGNO replaces R_LR.
6526         (ucontext_for): New, helper for ...
6527         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6528         and 5.3 of ...
6529         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6531 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6533         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6534         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6535         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6536         i386/t-cpuinfo ...
6537         (i[34567]86-*-*, x86_64-*-*): ... here.
6539         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6540         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6542         * config/i386/i386-cpuinfo.c: Rename to ...
6543         * config/i386/cpuinfo.c: ... this.
6544         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6546         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6547         (libgcc_cv_init_priority): New test.
6548         * configure: Regenerate.
6549         * config.in: New file.
6550         * Makefile.in (clean): Rename config.h to auto-target.h.
6551         (config.h): Likewise.
6552         (stamp-h): Likewise.
6554         * config/i386/cpuinfo.c (auto-target.h): Include.
6555         (CONSTRUCTOR_PRIORITY): Define.
6556         (__cpu_indicator_init): Use it.
6558 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6560         * longlong.h: Use a URL instead of an FSF postal address.
6561         Replace spaces with tab.
6563 2012-05-08  Teresa Johnson  <tejohnson@google.com>
6565         * libgcov.c (gcov_clear, __gcov_reset): New functions.
6566         (__gcov_dump): Ditto.
6567         (gcov_dump_complete): New global variable.
6568         (gcov_exit): Export hidden to enable use in L_gcov_dump.
6569         (__gcov_flush): Outline functionality now in gcov_clear.
6570         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6572 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
6574         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6575         (mips*-*-linux*): Include mips/t-tpbit when long double is
6576         16 bytes long.
6578 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
6580         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6581         (get_available_features): New argument. Check for AVX2.
6582         (__cpu_indicator_init): Modify call to get_available_features.
6584 2012-04-25  Alan Modra  <amodra@gmail.com>
6586         * config/rs6000/crtsavevr.S: New file.
6587         * config/rs6000/crtrestvr.S: New file.
6588         * config/rs6000/t-savresfgpr: Build the above.
6589         * config/rs6000/t-netbsd: Likewise.
6591 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6593         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6595 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6597         * libgcc/config/i386/i386-cpuinfo.c: New file.
6598         * libgcc/config/i386/t-cpuinfo: New file.
6599         * libgcc/config.host: Include t-cpuinfo.
6600         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6602 2012-04-24  Chao-ying Fu  <fu@mips.com>
6604         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6606 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
6608         struct siginfo vs. siginfo_t
6610         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6611         siginfo_t instead of struct siginfo.
6612         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6613         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6614         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6615         (ia64_handle_unwabi): Likewise.
6616         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6617         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6618         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6619         (sh_fallback_frame_state): Likewise.
6620         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6621         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6623 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
6625         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6626         system call number.
6628 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
6630         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6631         if it hasn't been previously saved.
6633 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
6635         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6636         only for glibc.
6638 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
6640         PR target/52737
6641         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6642         instead of __AVR_HAVE_8BIT_SP__.
6644 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6646         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6647         (unw_table_entry): Use unw_word instead of unsigned long.
6648         (_Unwind_FindTableEntry): Likewise.
6649         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6650         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6651         (_Unwind_FindTableEntry): Likewise.
6652         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6653         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6654         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6655         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6656         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6657         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6658         (uw_init_context_1, uw_install_context): Likewise.
6659         (unw_word): Move to unwind-ia64.h
6661 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6663         * config/vms/vms-ucrt0.c: Update copyright years.
6664         Add a sanity check.
6665         (___gcc_main_flags): Declare.
6666         (__main): Check flags to remap argv and exit code.
6667         * config.host (*-*-*vms*): Adjust extra_parts.
6668         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6669         (crt0.o): Add.
6671 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
6673         * arm/lib1funcs.asm (ctzsi2): New function.
6674         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6675         * arm/t-linux (LIB1ASMFUNCS): Likewise.
6676         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6677         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6678         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6679         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6681 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
6683         * config.host: Add bits to support powerpc64-*-freebsd*.
6684         * config/rs6000/freebsd-unwind.h: New file.
6685         * config/rs6000/t-freebsd64: New file.
6687 2012-03-20  Richard Guenther  <rguenther@suse.de>
6689         PR gcov-profile/52627
6690         * libgcov.c (init_mx): Fix mutex name.
6692 2012-03-16  Tristan Gingold  <gingold@adacore.com>
6694         * config/ia64/vms-unwind.h: Remove ulong (and replace
6695         it by unw_reg where used).  Define unw_reg with __int64.
6697 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6699         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6700         Solaris 8 handling.
6701         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6702         Solaris 8 handling.
6703         (sparc_is_sighandler): Likewise.
6705 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
6707         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6708         <= saved reg size.
6710 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6712         * config/arm/crtn.S: Fix typo.
6714 2012-03-13  Richard Guenther  <rguenther@suse.de>
6716         * libgcov.c: Remove stdio.h include and NULL un-define.
6718 2012-03-13  Richard Guenther  <rguenther@suse.de>
6720         PR target/52569
6721         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6723 2012-03-13  Richard Guenther  <rguenther@suse.de>
6725         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6727 2012-03-13  Richard Guenther  <rguenther@suse.de>
6729         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6730         and __gthread_mutex_init_function definitions.
6732 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6734         * config.host (mips*-*-openbsd*): Remove.
6736 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6738         * config.host: Remove alpha*-dec-osf5.1* handling.
6739         * config/alpha/gthr-posix.c: Remove.
6740         * config/alpha/libgcc-osf5.ver: Remove.
6741         * config/alpha/osf5-unwind.h: Remove.
6742         * config/alpha/t-osf-pthread: Remove.
6743         * config/alpha/t-slibgcc-osf: Remove.
6744         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6745         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6746         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6747         * mkmap-flat.awk: Remove osf_export handling.
6749 2012-03-12  Richard Guenther  <rguenther@suse.de>
6751         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6752         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6753         (__gthread_mutex_init_function): New function.
6754         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6756         PR gcov/49484
6757         * libgcov.c: Include gthr.h.
6758         (__gcov_flush_mx): New global variable.
6759         (init_mx, init_mx_once): New functions.
6760         (__gcov_flush): Protect self with a mutex.
6761         (__gcov_fork): Re-initialize mutex after forking.
6762         * unwind-dw2-fde.c: Change condition under which to use
6763         __GTHREAD_MUTEX_INIT_FUNCTION.
6765 2012-03-12  Tristan Gingold  <gingold@adacore.com>
6767         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6768         * config/ia64/t-vms: Likewise.
6770 2012-03-11  Michael Hope  <michael.hope@linaro.org>
6772         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6773         for Thumb-2.
6775 2012-03-07  Walter Lee  <walt@tilera.com>
6777         * config/tilepro/atomic.c: Rename "atomic_" prefix to
6778         "arch_atomic_".
6779         (atomic_xor): Rename and move definition to
6780         config/tilepro/atomic.h.
6781         (atomic_nand): Ditto.
6782         * config/tilepro/atomic.h: Rename "atomic_" prefix to
6783         "arch_atomic_".
6784         (arch_atomic_xor): Move from config/tilepro/atomic.c.
6785         (arch_atomic_nand): Ditto.
6787 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6789         PR target/52507
6790         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6792 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6794         PR target/52505
6795         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6796         from RAM.
6798 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6800         PR target/52461
6801         PR target/52508
6802         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6803         if RAMPZ affects reading from RAM.
6804         (__tablejump_elpm__): Ditto.
6805         (.xload): Ditto.
6806         (__movmemx_hi): Ditto.
6807         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6808         (__do_global_dtors): Ditto.
6809         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6810         (__movmemx_hi): Ditto.
6812 2012-03-05  Richard Henderson  <rth@redhat.com>
6814         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6815         [ARM] (count_trailing_zeros): Use the builtin.
6817 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6819         * soft-fp: Imported from glibc upstream.
6821 2012-02-28  Kai Tietz  <ktietz@redhat.com>
6823         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6824         for mingw-targets as attribute gcc_struct.
6826 2012-02-28  Ian Lance Taylor  <iant@google.com>
6828         * generic-morestack.c (__splitstack_releasecontext): Correct call
6829         to __morestack_release_segments.
6831 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6833         PR target/52390
6834         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6835         for __linux__ when removing signals from __morestack_fullmask.
6837 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
6839         PR target/52261
6840         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6842 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6844         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6845         instead of HAVE_INITFINI_ARRAY.
6846         * config/ia64/crtend.S: Likewise.
6848 2012-02-20  Kai Tietz  <ktietz@redhat.com>
6850         PR libstdc++/52300
6851         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6853         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6854         to w32-unwind.h header.
6856 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6858         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6859         (mips*-*-linux*): Remove t-slibgcc-libgcc.
6860         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6861         * config/mips/mips16.S (__mips16_rdhwr): Delete.
6863 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6865         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6867 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6869         PR libitm/52220
6870         * config/darwin-crt-tm.c: Correct typo.
6872 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6873             Patrick Marlier  <patrick.marlier@gmail.com>
6875         PR libitm/52220
6876         * config/darwin-crt-tm.c: Generate dummy functions.
6878 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6879             Patrick Marlier  <patrick.marlier@gmail.com>
6881         PR libitm/52042
6882         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6883         (__doTMRegistrations): Call it.
6884         (__doTMdeRegistrations): Likewise.
6886 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6887             Anatoly Sokolov  <aesok@post.ru>
6888             Eric Weddington  <eric.weddington@atmel.com>
6890         PR target/52261
6891         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6892         (__epilogue_restores__): Ditto.
6894 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6896         PR target/51921
6897         PR target/52205
6898         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6899         Solaris 11 and slightly reformat.
6900         (sparc_is_sighandler): Likewise.
6902 2012-02-14  Walter Lee  <walt@tilera.com>
6904         * config.host: Handle tilegx and tilepro.
6905         * config/tilegx/sfp-machine.h: New file.
6906         * config/tilegx/sfp-machine32.h: New file.
6907         * config/tilegx/sfp-machine64.h: New file.
6908         * config/tilegx/t-crtstuff: New file.
6909         * config/tilegx/t-softfp: New file.
6910         * config/tilegx/t-tilegx: New file.
6911         * config/tilepro/atomic.c: New file.
6912         * config/tilepro/atomic.h: New file.
6913         * config/tilepro/linux-unwind.h: New file.
6914         * config/tilepro/sfp-machine.h: New file.
6915         * config/tilepro/softdivide.c: New file.
6916         * config/tilepro/softmpy.S: New file.
6917         * config/tilepro/t-crtstuff: New file.
6918         * config/tilepro/t-tilepro: New file.
6920 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6922         PR libstdc++/51296
6923         PR libstdc++/51906
6924         * gthr-posix.h: Allow static initializer macros to be disabled.
6925         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6927 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6929         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6930         Add t-slibgcc-libgcc to tmake_file.
6931         * config/mips/libgcc-mips16.ver: Revert previous patch.
6932         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6934 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6935             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6937         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6938         * config/cr16/crti.S: New file.
6939         * config/cr16/crtlibid.S: New file.
6940         * config/cr16/crtn.S: New file.
6941         * config/cr16/lib1funcs.S: New file.
6942         * config/cr16/t-cr16: New file.
6943         * config/cr16/t-crtlibid: New file.
6944         * config/cr16/unwind-dw2.h: New file.
6945         * config/cr16/unwind-cr16.c: New file.
6946         * config/cr16/divmodhi3.c: New file.
6948 2012-01-25  Alan Modra  <amodra@gmail.com>
6950         * config/rs6000/t-linux64: Delete.  Move..
6951         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6952         * config/rs6000/t-linux: ..and libgcc flags to here.
6954 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6956         * config.host (i[34567]86-*-interix3*):
6957         Change triplet to i[34567]86-*-interix[3-9]*.
6958         * configure: Regenerate.
6960 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6961             Richard Sandiford  <rdsandiford@googlemail.com>
6963         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6964         * config/mips/mips16.S (__mips16_rdhwr): New function.
6965         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6967 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6969         * libgcov.c (__gcov_init): Ignore objects with no functions.
6971 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6973         PR target/49868
6974         Extend __pgmx semantics to linearize memory.
6975         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6976         * config/avr/lib1funcs.S (__xload_1): New function.
6977         (__movmemx_qi, __movmemx_hi): New functions.
6978         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6979         semantics.
6981 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6983         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6984         purported sigacthandler address isn't null before dereferencing it.
6985         (sparc_is_sighandler): Likewise.
6987 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6989         PR ada/41929
6990         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6991         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6992         (sparc_is_sighandler): Likewise.
6993         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6995 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6997         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6998         compatibility thunks...
6999         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7000         (crtbeginS.o, crtendS.o): ... and these to ...
7001         * config/ia64/t-ia64-elf: ... this new file.
7002         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7003         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7005 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7007         * configure: Regenerate.
7008         * config/s390/t-crtstuff: Remove -fPIC.
7010 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7012         PR bootstrap/51006
7013         * enable-execute-stack-mprotect.c (getpagesize): Do not define
7014         for NetBSD.
7016 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7018         PR target/51345
7019         * config/avr/lib1funcs.S: Remove FIXME comments.
7020         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7022 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7024         Implement light-weight DImode support.
7025         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7026         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7027         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7028         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7030 2011-12-30  Nathan Sidwell  <nathan@acm.org>
7032         * libgcov.c (gcov_crc32): Remove global var.
7033         (free_fn_data): New function.
7034         (buffer_fn_data): Pass in filename, more robust error recovery.
7035         (crc32_unsigned): New function.
7036         (gcov_exit): More robust detection of new program. More robust
7037         error recovery.
7038         (__gcov_init): Do not update program's crc here.
7040 2011-12-21  Tristan Gingold  <gingold@adacore.com>
7042         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7044 2011-12-21  Ian Lance Taylor  <iant@google.com>
7046         * config/i386/morestack.S: Simplify CFI opcodes throughout.
7048 2011-12-20  Ian Lance Taylor  <iant@google.com>
7050         * config/i386/morestack.S (__morestack_non_split): If there is
7051         enough stack space already, don't split.  Ask for more stack space
7052         than we required.
7054 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7056         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7057         `sys/sdt.h'.
7058         (_Unwind_DebugHook): New function.
7059         (uw_restore_core_regs): New define.
7060         (unwind_phase2): Use uw_restore_core_regs instead of
7061         restore_core_regs.
7062         (unwind_phase2_forced): Likewise.
7063         (__gnu_Unwind_Resume): Likewise.
7065 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
7067         * config/alpha/linux-unwind.h: Update copyright years.
7068         (MD_FROB_UPDATE_CONTEXT): New define.
7069         (alpha_frob_update_context): New function.
7071 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
7073         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7074         tmake_file rather replacing it.
7076 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
7078         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7079         function is not used for PPC64.
7080         (save_world): Amend comments.  Update the VRsave mask to reflect the
7081         saved regs.
7082         (rest_world): Update comments, do not  clobber r10, do not use r8.
7083         (eh_rest_world_r10): Amend comments, do not use r8.
7084         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7085         no longer used, move restore of CR and target address to the end of
7086         the routine.
7088 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
7090         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7091         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7093 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
7095         PR target/49313
7096         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7097         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7099 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
7101         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7103 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
7105         PR target/49313
7106         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7107         * config/avr/lib1funcs.S (__muldi3): New function.
7109 2011-12-06  Andrew Pinski  <apinski@cavium.com>
7111         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7112         size of func_ptr.
7113         (__frame_dummy_init_array_entry): Likewise.
7115 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
7117         Forward-port from gcc-4_6-branch r181936 2011-12-02.
7119         PR target/51345
7120         PR target/51002
7121         * config/avr/lib1funcs.S (__prologue_saves__,
7122         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7123         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
7125 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
7127         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7129 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7131         PR other/51272
7132         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7133         (_ITM_deregisterTMCloneTable): Likewise.
7134         (__register_frame_info): Fix unused warning.
7135         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7136         pthread_default_stacksize_np): Likewise.
7137         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7139 2011-11-29  DJ Delorie  <dj@redhat.com>
7141         * config.host (rl78-*-elf): New case.
7142         * config/rl78: New directory for the Renesas RL78.
7144 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
7146         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
7147         formatting.
7149 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7151         PR other/51022
7152         * config/rs6000/t-savresfgpr: New file.
7153         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7154         $(srcdir)/config/rs6000/eabi.S.
7155         * config/rs6000/t-ppccomm-ldbl: Remove.
7156         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7157         tmake_file.
7158         (powerpc-*-eabispe*): Likewise.
7159         (powerpc-*-eabi*): Likewise.
7160         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7161         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7162         to tmake_file, remove rs6000/t-ppccomm-ldbl.
7163         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7164         tmake_file.
7165         (powerpc-*-eabisim*): Likewise.
7166         (powerpc-*-elf*): Likewise.
7167         (powerpc-*-eabialtivec*): Likewise.
7168         (powerpc-xilinx-eabi*): Likewise.
7169         (powerpc-*-rtems*): Likewise.
7170         (powerpcle-*-elf*): Likewise.
7171         (powerpcle-*-eabisim*): Likewise.
7172         (powerpcle-*-eabi*): Likewise.
7174 2011-11-27  Ian Lance Taylor  <iant@google.com>
7176         * generic-morestack.c (__splitstack_find): Check for NULL old
7177         stack value.
7178         (__splitstack_resetcontext): New function.
7179         (__splitstack_releasecontext): New function.
7180         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7182 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7184         * config/darwin-crt-tm.c: Correct comments, use correct licence.
7186 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7188         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7190 2011-11-26  Richard Henderson  <rth@redhat.com>
7192         * config/m68k/linux-atomic.c: New file.
7193         * config/m68k/t-linux: New file.
7194         * config.host (m68k-uclinux, m68k-linux): Use it.
7196 2011-11-26  Richard Henderson  <rth@redhat.com>
7198         * crtstuff.c (__TMC_LIST__): Mark used not unused.
7199         (__TMC_END__): Only declare if hidden is available; in the definition,
7200         if hidden is unavailable add a null record.
7201         (deregister_tm_clones, register_tm_clones): New.
7202         (__do_global_dtors_aux, frame_dummy): Use them.
7203         (__do_global_dtors, __do_global_ctors_1): Likewise.
7205 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
7207         * config/darwin-crt-tm.c: New file.
7208         * config.host (darwin): Build crttms.o crttme.o to provide
7209         startup and shutdown for tm clones.
7210         * config/t-darwin (crttms.o): New build rule.
7211         (crttme.o): Likewise.
7213 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
7215         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7216         et al.
7218 2011-11-21  Richard Henderson  <rth@redhat.com>
7220         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7221         (__TMC_LIST__, __TMC_END__): New.
7222         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7223         (__do_global_dtors): Likewise.
7224         (frame_dummy): Call _ITM_registerTMCloneTable.
7225         (__do_global_ctors_1): Likewise.
7227 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7229         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7230         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7231         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7232         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7233         * config/i386/t-darwin64: Remove.
7234         * config/sh/t-netbsd (LIB2ADD): Remove.
7236 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
7238         PR target/49313
7239         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7240         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7241         * config/avr/lib1funcs.S (wmov): New assembler macro.
7242         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7243         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7244         (__udivmod64): New function.
7245         (__negdi2): New function.
7247 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
7249         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7250         *-*-freebsd*aout*): Remove.
7252 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
7254         * static-object.mk (c_flags-$o): Save c_flags.
7255         ($(base)$(objext)): Use it.
7257 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
7259         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7261 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
7263         PR target/49868
7264         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7265         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7266         New functions.
7268 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7270         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7271         functions.
7272         (aeabi_uidivmod): Likewise.
7273         (umodsi3): Likewise.
7274         (divsi3): Likewise.
7275         (aeabi_idivmod): Likewise.
7276         (modsi3): Likewise.
7278 2011-11-16  Tristan Gingold  <gingold@adacore.com>
7280         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7282 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
7284         PR target/49868
7285         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
7286         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7288 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7290         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7291         tmake_file list.
7292         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7293         * config/pa/t-stublib64: Delete.
7295 2011-11-12  Richard Henderson  <rth@redhat.com>
7297         * config/rs6000/linux-unwind.h (frob_update_context): Properly
7298         cast the pointer argument to _Unwind_SetGRPtr.
7300 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7302         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7304 2011-11-09  Ian Lance Taylor  <iant@google.com>
7306         * generic-morestack.c: Include <string.h>.
7307         (uintptr_type): Define.
7308         (struct initial_sp): Add dont_block_signals field.  Reduce size of
7309         extra array by 1.
7310         (allocate_segment): Set prev field to NULL.  Don't set
7311         __morestack_current_segment or __morestack_segments.
7312         (__generic_morestack): Update current->prev and *pp after calling
7313         allocate_segment.
7314         (__morestack_block_signals): Don't do anything if
7315         dont_block_signals is set.
7316         (__morestack_unblock_signals): Likewise.
7317         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
7318         uintptr_type.
7319         (__splitstack_block_signals): New function.
7320         (enum __splitstack_content_offsets): Define.
7321         (__splitstack_getcontext, __splitstack_setcontext): New functions.
7322         (__splitstack_makecontext): New function.
7323         (__splitstack_block_signals_context): New function.
7324         (__splitstack_find_context): New function.
7325         * config/i386/morestack.S (__morestack_get_guard): New function.
7326         (__morestack_set_guard, __morestack_make_guard): New functions.
7327         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7329 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7331         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7332         (i[34567]86-*-mingw*): ... here.
7333         (x86_64-*-mingw*): ... here.
7335 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7337         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7339 2011-11-07  Nathan Sidwell  <nathan@acm.org>
7341         * libgcov.c (struct gcov_fn_buffer): New struct.
7342         (buffer_fn_data): New helper.
7343         (gcov_exit): Rework for new gcov data structures.
7345 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
7347         PR target/49313
7348         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7350 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7352         * config.host (tmake_file): Correct comment.
7353         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7354         t-libgcc-pic.
7355         (bfin*-uclinux*): Likewise.
7356         (bfin*-linux-uclibc*): Likewise.
7357         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7359         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7360         assigning.
7361         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7362         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7363         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7364         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7365         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7366         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7367         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7368         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7369         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7370         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7371         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7372         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7373         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7375         * config/bfin/t-elf: Remove.
7376         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7378 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7380         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7381         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7382         (lm32-*-elf*, lm32-*-rtems*): Split into ...
7383         (lm32-*-elf*): ... this.
7384         (lm32-*-rtems*): ... and this.
7385         Add to tmake_file.
7386         (m32r-*-rtems*): Add to tmake_file.
7387         (moxie-*-rtems*): Likewise.
7388         (sparc-*-rtems*): Likewise.
7389         Remove t-rtems from tmake_file.
7390         (sparc64-*-rtems*): Likewise.
7391         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7392         instead.
7394 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7396         PR bootstrap/50982
7397         * config/gthr-posix.h: Move ...
7398         * gthr-posix.h: ... here.
7399         * config/gthr-lynx.h: Reflect this.
7400         * config/gthr-vxworks.h: Likewise.
7401         * config/rs6000/gthr-aix.h: Likewise.
7402         * configure.ac (target_thread_file): Likewise.
7403         * configure: Regenerate.
7405 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7407         * config.host (arm*-*-rtemseabi*): New target.
7409 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7411         PR other/50991
7412         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7413         extra-parts.
7415 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
7417         * config.host (epiphany-*-elf*): New configuration.
7418         * config/epiphany: New Directory.
7420 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
7422         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7423         * config/avr/t-rtems: New.
7424         Filter out _exit from LIB1ASMFUNCS.
7426 2011-11-04  David S. Miller  <davem@davemloft.net>
7428         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7429         * configure: Rebuild.
7431 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7433         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7434         variable.
7436 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
7438         PR target/50931
7439         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7440         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7442 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
7444         PR target/50989
7445         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7447 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7449         * config/c6x/t-elf (LIB2ADDEH): Set.
7450         * config/c6x/t-c6x-elf: Remove.
7452 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7454         * config/i386/sol2-ci.S: Rename to ...
7455         * config/i386/crti.S: ... this.
7456         * config/i386/sol2-cn.S: Rename to ...
7457         * config/i386/crtn.S: ... this.
7458         * config/sparc/sol2-ci.S: Rename to ...
7459         * config/sparc/crti.S: ... this.
7460         * config/sparc/sol2-cn.S: Rename to ...
7461         * config/sparc/crtn.S: ... this.
7462         * config/t-sol2 (CUSTOM_CRTIN): Remove.
7463         (crti.o, crtn.o): Remove.
7465 2011-11-04  Tristan Gingold  <gingold@adacore.com>
7467         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7469 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7471         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7473 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
7475         * config.host (crisv32-*-none, cris-*-none): Remove.
7476         (crisv32-*-elf): Append to tmake_file, don't just set it.
7477         (cris-*-elf): Add missing t-fdpbit to tmake_file.
7479 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7481         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7482         (ecrtn$(objext)): Likewise.
7483         (ncrti$(objext)): Likewise.
7484         (ncrtn$(objext)): Likewise.
7486 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7488         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7490 2011-11-02  David S. Miller  <davem@davemloft.net>
7492         * configure.ac: Set host_address on sparc too.
7493         * configure: Regenerate.
7494         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7495         based upon host_address.
7496         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7498 2011-11-02  Jason Merrill  <jason@redhat.com>
7500         * config/rs6000/t-ppccomm: Add missing \.
7502 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7504         * gthr-single.h, gthr.h: New files.
7505         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7506         config/gthr-vxworks.h, config/i386/gthr-win32.h,
7507         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7508         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7509         * config/i386/gthr-win32.c: Include "gthr-win32.h".
7510         * configure.ac (thread_header): New variable.
7511         Set it depending on target_thread_file.
7512         (gthr-default.h): Link from $thread_header.
7513         * configure: Regenerate.
7514         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7516 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7518         * configure.ac (tm_file_): New variable.
7519         Determine from tm_file.
7520         (tm_file, tm_defines): Substitute.
7521         * configure: Regenerate.
7522         * mkheader.sh: New file.
7523         * Makefile.in (clean): Remove libgcc_tm.h.
7524         ($(objects)): Depend on libgcc_tm.h.
7525         (libgcc_tm_defines, libgcc_tm_file): New variables.
7526         (libgcc_tm.h, libgcc_tm.stamp): New targets.
7527         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7528         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7529         ($(extra-parts)): Depend on libgcc_tm.h.
7530         * config.host (tm_defines, tm_file): New variable.
7531         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7532         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7533         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7534         (avr-*-rtems*): Likewise.
7535         (avr-*-*): Likewise.
7536         (frv-*-elf): Likewise.
7537         (frv-*-*linux*): Likewise.
7538         (h8300-*-rtems*): Likewise.
7539         (h8300-*-elf*): Likewise.
7540         (i[34567]86-*-darwin*): Likewise.
7541         (x86_64-*-darwin*): Likewise.
7542         (rx-*-elf): Likewise.
7543         (tic6x-*-uclinux): Likewise.
7544         (tic6x-*-elf): Likewise.
7545         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7546         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7547         * config/i386/cygming-crtbegin.c: Likewise.
7548         * config/i386/cygming-crtend.c: Likewise.
7549         * config/ia64/fde-vms.c: Likewise.
7550         * config/ia64/unwind-ia64.c: Likewise.
7551         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7552         * config/rs6000/darwin-fallback.c: Likewise.
7553         * config/stormy16/lib2funcs.c: Likewise.
7554         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7555         * crtstuff.c: Likewise.
7556         * dfp-bit.h: Likewise.
7557         * emutls.c: Likewise.
7558         * fixed-bit.c: Likewise.
7559         * fp-bit.c: Likewise.
7560         * generic-morestack-thread.c: Likewise.
7561         * generic-morestack.c: Likewise.
7562         * libgcc2.c: Likewise.
7563         * libgcov.c: Likewise.
7564         * unwind-dw2-fde-dip.c: Likewise.
7565         * unwind-dw2-fde.c: Likewise.
7566         * unwind-dw2.c: Likewise.
7567         * unwind-sjlj.c: Likewise.
7569 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7571         * configure.ac: Include ../config/picflag.m4.
7572         (GCC_PICFLAG): Call it.
7573         Substitute.
7574         * configure: Regenerate.
7575         * Makefile.in (gcc_srcdir): Remove.
7576         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7577         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7578         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7579         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7580         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7581         Use $<.
7582         Remove comment.
7583         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7584         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7585         to refer to libgcc2.c.
7586         Use $<.
7587         * config/darwin-64.c: New file.
7588         * config/darwin-crt3.c: Remove comment.
7589         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7590         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7591         config/udivmodsi4.c: New files.
7592         * config/memcmp.c, config/memcpy.c, config/memmove.c,
7593         config/memset.c: New files.
7594         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7595         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7596         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7597         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7598         * config/t-openbsd-thread: New file.
7599         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7600         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7601         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7602         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7603         qrnnd.S.
7604         Adapt filename.
7605         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7606         to refer to gthr-posix.c.
7607         * config/alpha/t-vms (LIB2ADD): Set.
7608         * config/alpha/vms-gcc_shell_handler.c: New file.
7609         * config/arm/bpabi.c, config/arm/fp16.c,
7610         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7611         config/arm/unaligned-funcs.c: New files.
7612         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7613         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7614         * config/arm/t-linux: Likewise.
7615         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7616         * config/arm/t-netbsd: New file.
7617         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7618         * config/arm/t-symbian (LIB2ADD_ST): Set.
7619         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7620         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7621         * config/bfin/t-elf: New file.
7622         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7623         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7624         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7625         config/c6x/ltf.c: New files.
7626         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7627         (HOST_LIBGCC2_CFLAGS): Set.
7628         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7629         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7630         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7631         New files.
7632         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7633         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7634         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7635         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7636         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7637         files.
7638         * config/frv/t-frv (LIB2ADD): Set.
7639         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7640         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7641         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7642         config/h8300/popcounthi2.c: New files.
7643         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7644         * config/i386/gthr-win32.c: New file.
7645         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7646         * config/i386/t-cygwin: Likewise.
7647         * config/i386/t-darwin, config/i386/t-darwin64,
7648         config/i386/t-gthr-win32, config/i386/t-interix: New files.
7649         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7650         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7651         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7652         * config/ia64/quadlib.c: New file.
7653         * config/ia64/t-hpux (LIB2ADD): Set.
7654         * config/ia64/t-ia64: Add comment.
7655         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7656         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7657         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7658         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7659         * config/m32c/t-m32c (LIB2ADD): Set.
7660         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7661         * config/m32r/t-m32r: Likewise.
7662         * config/m68k/fpgnulib.c: New file.
7663         * config/m68k/t-floatlib (LIB2ADD): Set.
7664         (xfgnulib.c): New target.
7665         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7666         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7667         * config/mep/t-mep (LIB2ADD): Set.
7668         * config/microblaze/divsi3.asm: Rename to divsi3.S.
7669         * config/microblaze/moddi3.asm: Rename to moddi3.S.
7670         * config/microblaze/modsi3.asm: Rename to modsi3.S.
7671         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7672         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7673         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7674         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7675         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7676         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7677         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7678         New files.
7679         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7680         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7681         * config/pa/fptr.c, config/pa/lib2funcs.S,
7682         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7683         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7684         (LIB2ADD, LIB2ADD_ST): Set.
7685         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7686         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7687         Set.
7688         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7689         * config/pdp11/t-pdp11: New file.
7690         * config/picochip/libgccExtras/adddi3.S,
7691         config/picochip/libgccExtras/ashlsi3.S,
7692         config/picochip/libgccExtras/ashrsi3.S,
7693         config/picochip/libgccExtras/clzsi2.S,
7694         config/picochip/libgccExtras/cmpsi2.S,
7695         config/picochip/libgccExtras/divmod15.S,
7696         config/picochip/libgccExtras/divmodhi4.S,
7697         config/picochip/libgccExtras/divmodsi4.S,
7698         config/picochip/libgccExtras/lshrsi3.S,
7699         config/picochip/libgccExtras/parityhi2.S,
7700         config/picochip/libgccExtras/popcounthi2.S,
7701         config/picochip/libgccExtras/subdi3.S,
7702         config/picochip/libgccExtras/ucmpsi2.S,
7703         config/picochip/libgccExtras/udivmodhi4.S,
7704         config/picochip/libgccExtras/udivmodsi4.S: New files.
7705         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7706         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7707         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7708         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7709         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7710         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7711         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
7712         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7713         files.
7714         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7715         (HOST_LIBGCC2_CFLAGS): Set.
7716         * config/rs6000/t-darwin64: New file.
7717         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7718         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7719         * config/rs6000/t-ppccomm (LIB2ADD): Add
7720         $(srcdir)/config/rs6000/tramp.S.
7721         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7722         Add  $(srcdir)/config/rs6000/eabi.S.
7723         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7724         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7725         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7726         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7727         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7728         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7729         * config/rs6000/tramp.S: New file.
7730         * config/s390/t-tpf: Remove.
7731         * config/sh/linux-atomic.S: New file.
7732         * config/sh/t-linux (LIB2ADD): Set.
7733         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7734         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7735         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7736         to unwind-dw2.c.
7737         (HOST_LIBGCC2_CFLAGS): Set.
7738         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7739         * config/spu/divmodti4.c, config/spu/divv2df3.c,
7740         config/spu/float_disf.c, config/spu/float_unsdidf.c,
7741         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7742         config/spu/mfc_multi_tag_release.c,
7743         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7744         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7745         config/spu/multi3.c: New files.
7746         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7747         (HOST_LIBGCC2_CFLAGS): Set.
7748         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7749         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7750         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7751         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7752         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7753         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7754         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7755         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7756         config/stormy16/umodsi3.c: New files.
7757         * config/xtensa/lib2funcs.S: New file.
7758         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7759         * config/xtensa/t-xtensa (LIB2ADD): Set.
7760         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7761         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7762         Add t-freebsd-thread to tmake_file for posix threads.
7763         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7764         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7765         (*-*-lynxos*): Likewise.
7766         (*-*-netbsd*): Likewise.
7767         (*-*-openbsd*): Likewise.
7768         Add t-openbsd-thread to tmake_file for posix threads.
7769         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7770         (*-*-vxworks*): Set tmake_file.
7771         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7772         (alpha*-*-freebsd*): Likewise.
7773         (alpha*-*-netbsd*): Likewise.
7774         (alpha*-*-openbsd*): Likewise.
7775         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7776         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7777         (alpha*-dec-*vms*): Likewise.
7778         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7779         (bfin*-elf*): Add bfin/t-elf to tmake_file.
7780         (bfin*-uclinux*): Likewise.
7781         (bfin*-linux-uclibc*): Likewise.
7782         (crisv32-*-elf): Add cris/t-cris to tmake_file.
7783         (crisv32-*-none): Likewise.
7784         (cris-*-elf): Likewise.
7785         (cris-*-none): Likewise.
7786         (cris-*-linux*, crisv32-*-linux*): Likewise.
7787         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7788         tmake_file.
7789         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7790         tmake_file.
7791         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7792         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7793         (x86_64-*-elf*): Likewise.
7794         (i[34567]86-*-nto-qnx*): Likewise.
7795         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7796         win32 threads.
7797         (x86_64-*-mingw*): Likewise.
7798         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7799         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7800         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7801         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7802         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7803         tmake_file.
7804         (mipsisa64sr71k-*-elf*): Likewise.
7805         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7806         (mips-*-elf*, mipsel-*-elf*): Likewise.
7807         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7808         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7809         (mips*-*-rtems*): Likewise.
7810         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7811         to tmake_file.
7812         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7813         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7814         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7815         (spu-*-elf*): Likewise.
7816         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7818 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7820         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7821         $(srcdir) to refer to $(LIB1ASMSRC).
7822         Use $<.
7823         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7824         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7825         config/arm/lib1funcs.S: New files.
7826         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7827         * config/arm/t-arm: New file.
7828         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7829         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7830         config/arm/t-strongarm-elf: New files.
7831         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7832         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7833         * config/avr/lib1funcs.S: New file.
7834         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7835         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7836         * config/c6x/lib1funcs.S: New file.
7837         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7838         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7839         * config/frv/lib1funcs.S: New file.
7840         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7841         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7842         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7843         * config/ia64/__divxf3.asm: Rename to ...
7844         * config/ia64/__divxf3.S: ... this.
7845         Adapt lib1funcs.asm filename.
7846         * config/ia64/_fixtfdi.asm: Rename to ...
7847         * config/ia64/_fixtfdi.S: ... this.
7848         Adapt lib1funcs.asm filename.
7849         * config/ia64/_fixunstfdi.asm: Rename to ...
7850         * config/ia64/_fixunstfdi.S: ... this.
7851         Adapt lib1funcs.asm filename.
7852         * config/ia64/_floatditf.asm: Rename to ...
7853         * config/ia64/_floatditf.S: ... this.
7854         Adapt lib1funcs.asm filename.
7855         * config/ia64/lib1funcs.S: New file.
7856         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7857         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7858         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7859         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7860         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7861         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7862         * config/mep/lib1funcs.S: New file.
7863         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7864         * config/mips/mips16.S: New file.
7865         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7866         * config/pa/milli64.S: New file.
7867         * config/pa/t-linux, config/pa/t-linux64: New files.
7868         * config/picochip/lib1funcs.S: New file.
7869         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7870         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7871         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7872         * config/sh/t-netbsd: New file.
7873         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7874         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7875         * config/sh/t-sh64: New file.
7876         * config/sparc/lb1spc.S: New file.
7877         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7878         filename.
7879         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7880         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7881         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7882         config/xtensa/lib1funcs.S: New files.
7883         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7884         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7885         tmake_file.
7886         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7887         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7888         (arm*-*-linux*): Likewise.
7889         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7890         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7891         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7892         (arm*-*-ecos-elf): Likewise.
7893         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7894         (arm*-*-rtems*): Likewise.
7895         (arm*-*-elf): Likewise.
7896         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7897         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7898         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7899         (bfin*-uclinux*): Likewise.
7900         (bfin*-linux-uclibc*): Likewise.
7901         (bfin*-rtems*): Likewise.
7902         (bfin*-*): Likewise.
7903         (fido-*-elf): Merge into m68k-*-elf*.
7904         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7905         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7906         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7907         (h8300-*-elf*): Likewise.
7908         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7909         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7910         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7911         (i[34567]86-*-mingw*): Likewise.
7912         (x86_64-*-mingw*): Likewise.
7913         (i[34567]86-*-interix3*): Likewise.
7914         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7915         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7916         (m68k-*-elf*): Also handle fido-*-elf.
7917         Add m68k/t-floatlib to tmake_file.
7918         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7919         (m68k-*-linux*): Likewise.
7920         (m68k-*-rtems*): Likewise.
7921         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7922         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7923         sh64*-*-*.
7924         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7925         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7926         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7927         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7928         sh/t-netbsd to tmake_file.
7929         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7930         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7931         (sh-wrs-vxworks): Likewise.
7932         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7933         *-leon[3-9]*.
7934         (v850*-*-*): Add v850/t-v850 to tmake_file.
7935         (vax-*-linux*): Add vax/t-linux to tmake_file.
7936         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7938 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7940         * crtstuff.c: New file.
7941         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7942         (CRTSTUFF_T_CFLAGS): Define.
7943         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7944         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7945         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7946         crtstuff.c.
7947         Use $<.
7948         (crtbeginT.o): Use $(objext).
7949         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7950         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7951         (gcc-extra-parts): Remove.
7952         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7953         Set extra_parts.
7954         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7955         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7956         Add t-crtstuff-pic to tmake_file.
7957         (*-*-lynxos*): New case.
7958         Set tmake_file, extra_parts.
7959         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7960         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7961         *-*-netbsdelf[2-9]*.
7962         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7963         (*-*-rtems*): Set extra_parts.
7964         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7965         (*-*-uclinux*): New case.
7966         Set extra_parts.
7967         (*-*-vms*): New case.
7968         Set tmake_file, extra_parts.
7969         (*-*-elf): Set extra_parts.
7970         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7971         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7972         vms/t-vms64.
7973         Set extra_parts.
7974         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7975         Set extra_parts.
7976         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7977         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7978         (arm-wrs-vxworks): Append to tmake_file.
7979         Set extra_parts.
7980         (arm*-*-uclinux*): Set extra_parts.
7981         (arm*-*-ecos-elf): Likewise.
7982         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7983         arm*-*-eabi*.
7984         (arm*-*-rtems*): Set extra_parts.
7985         (arm*-*-elf): Likewise.
7986         (avr-*-rtems*): Clear extra_parts.
7987         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7988         Set extra_parts.
7989         (bfin*-uclinux*): Likewise.
7990         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7991         (bfin*-rtems*): Append to tmake_file.
7992         Set extra_parts.
7993         (bfin*-*): Likewise.
7994         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7995         (crisv32-*-elf): ... this.
7996         (crisv32-*-none): ... this.
7997         (cris-*-elf, cris-*-none): New cases.
7998         Add cris/t-elfmulti to tmake_file.
7999         (fr30-*-elf): Append to tmake_file.
8000         Set extra_parts.
8001         (frv-*-elf): Append to tmake_file, add frv/t-frv.
8002         Set extra_parts.
8003         (h8300-*-rtems*): Append to tmake_file.
8004         Set extra_parts.
8005         (h8300-*-elf*): Likewise.
8006         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8007         Set extra_parts.
8008         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8009         Set extra_parts.
8010         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8011         (x86_64-*-elf*): Likewise.
8012         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8013         (x86_64-*-freebsd*): Likewise.
8014         (x86_64-*-netbsd*): Likewise.
8015         (i[34567]86-*-linux*): Likewise.
8016         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8017         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8018         (x86_64-*-linux*): Likewise.
8019         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8020         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8021         tmake_file.
8022         Set extra_parts.
8023         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8024         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8025         Append to extra_parts, remove crtbegin.o, crtend.o.
8026         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8027         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8028         crtend.o, crtbeginS.o, crtendS.o.
8029         (ia64*-*-linux*): Comment extra_parts.
8030         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8031         Set extra_parts.
8032         (iq2000*-*-elf*): Clear extra_parts.
8033         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8034         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8035         (m32r-*-elf*, m32r-*-rtems*): Split off ...
8036         (m32r-*-rtems*): ... this.
8037         Add m32r/t-m32r to tmake_file.
8038         (m68k-*-elf*): Add t-crtin to tmake_file.
8039         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8040         (mcore-*-elf): Likewise.
8041         (microblaze*-*-*): Set extra_parts.
8042         (mips*-sde-elf*): New case.
8043         Set tmake_file, extra_parts.
8044         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8045         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8046         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8047         tmake_file.
8048         Set extra_parts.
8049         (mipsisa64sr71k-*-elf*): Likewise.
8050         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8051         (mips-*-elf*, mipsel-*-elf*): Likewise.
8052         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8053         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8054         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
8055         (mips*-*-rtems*): Likewise.
8056         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8057         (moxie-*-*): Split into ...
8058         (moxie-*-elf, moxie-*-uclinux*): ... this.
8059         Add to extra_parts, remove crtbegin.o, crtend.o.
8060         (moxie-*-rtems*): New case.
8061         Set tmake_file.
8062         Clear extra_parts.
8063         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8064         Set extra_parts.
8065         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8066         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8067         tmake_file.
8068         Set extra_parts.
8069         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8070         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8071         Set extra_parts.
8072         (powerpc-*-eabisim*): Likewise.
8073         (powerpc-*-elf*): Likewise.
8074         (powerpc-*-eabialtivec*): Likewise.
8075         (powerpc-xilinx-eabi*): Likewise.
8076         (powerpc-*-eabi*): Likewise.
8077         (powerpc-*-rtems*): Likewise.
8078         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8079         tmake_file.
8080         Set extra_parts.
8081         (powerpc-*-lynxos*): Add to tmake_file.
8082         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8083         rs6000/t-crtstuff, t-crtstuff-pic.
8084         Set extra_parts.
8085         (powerpcle-*-eabisim*): Likewise.
8086         (powerpcle-*-eabi*): Likewise.
8087         (rx-*-elf): Remove extra_parts.
8088         (s390x-ibm-tpf*): Set extra_parts.
8089         (score-*-elf): Set extra_parts.
8090         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8091         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8092         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8093         (sh64l*-*-netbsd*): Split into ...
8094         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8095         Add t-crtstuff-pic to tmake_file.
8096         Set extra_parts.
8097         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8098         Set extra_parts.
8099         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8100         (sparc-*-elf*): Remove t-crtin from tmake_file.
8101         Add to extra_parts, remove crtbegin.o, crtend.o.
8102         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8103         (sparc64-*-linux*): Likewise.
8104         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8105         Add to extra_parts, remove crtbegin.o, crtend.o.
8106         (sparc64-*-elf*): Remove t-crtin from tmake_file.
8107         Add to extra_parts, remove crtbegin.o, crtend.o.
8108         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8109         Add to extra_parts, remove crtbegin.o, crtend.o.
8110         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8111         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8112         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8113         Set extra_parts.
8114         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8115         Set extra_parts.
8116         (tic6x-*-*): Change to ...
8117         (tic6x-*-elf): ... this.
8118         Set extra_parts.
8119         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8120         Set extra_parts.
8121         (am33_2.0-*-linux*): Add comment.
8122         (mep*-*-*): Add mep/t-mep to tmake_file.
8123         Set extra_parts.
8124         * config/alpha/t-vms: New file.
8125         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8126         * config/arm/crti.S, config/arm/crtn.S: New files.
8127         * config/bfin/crti.S, config/bfin/crtn.S: New files.
8128         * config/bfin/crtlibid.S: New file.
8129         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8130         * config/c6x/crti.S, config/c6x/crtn.S: New files.
8131         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8132         (crti.o, crtin.o): New rules.
8133         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8134         * config/c6x/t-uclinux: New file.
8135         * config/cris/t-elfmulti: New file.
8136         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8137         * config/fr30/crti.S, config/fr30/crtn.S: New files.
8138         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8139         * config/frv/t-frv: New file.
8140         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8141         * config/h8300/crti.S, config/h8300/crtn.S: New files.
8142         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8143         New files.
8144         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8145         refer to cygming-crtbegin.c, cygming-crtend.c.
8146         Use $<.
8147         * config/i386/t-nto: New file.
8148         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8149         * config/ia64/crti.S, config/ia64/crtn.S: New files.
8150         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8151         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8152         Use .S extension.
8153         Use $<.
8154         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8155         (crtinitS.o): New rule.
8156         * config/ia64/vms-crtinit.S: New file.
8157         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8158         * config/m32r/initfini.c: New file.
8159         * config/m32r/t-linux, config/m32r/t-m32r: New files.
8160         * config/m68k/crti.S, config/m68k/crtn.S: New files.
8161         * config/mcore/crti.S, config/mcore/crtn.S: New files.
8162         * config/mep/t-mep: New file.
8163         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8164         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8165         * config/mips/crti.S, config/mips/crtn.S: New files.
8166         * config/mips/t-crtstuff: New file.
8167         * config/mmix/crti.S, config/mmix/crtn.S: New files.
8168         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8169         (CUSTOM_CRTIN): Set.
8170         ($(T)crti.o, $(T)crtn.o): Remove $(T),
8171         dependencies.
8172         Use $(srcdir) to refer to crti.S, crtn.S.
8173         Use .S extension, $<.
8174         * config/moxie/crti.asm: Rename to ...
8175         * config/moxie/crti.S: ... this.
8176         * config/moxie/crtn.asm: Rename to ...
8177         * config/moxie/crtn.S: ... this.
8178         * config/moxie/t-moxie: Remove.
8179         * config/pa/stublib.c: New file.
8180         * config/pa/t-stublib, config/pa/t-stublib64: New files.
8181         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8182         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8183         * config/rs6000/t-crtstuff: New file.
8184         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8185         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8186         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8187         Make output file explicit.
8188         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8189         Make output file explicit.
8190         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8191         Make output file explicit.
8192         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8193         Make output file explicit.
8194         * config/score/crti.S, config/score/crtn.S: New files.
8195         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8196         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8197         files.
8198         * config/sh/t-sh, config/sh/t-superh: New files.
8199         * config/sparc/t-linux64: New file.
8200         * config/spu/cache.S, config/spu/cachemgr.c: New files.
8201         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8202         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8203         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8204         * config/t-crtin: Remove.
8205         * config/t-crtstuff-pic: New file.
8206         * config/t-sol2 (CUSTOM_CRTIN): Set.
8207         (crti.o, crtn.o): New rules.
8208         * config/vms/t-vms: New file.
8209         * config/vms/vms-ucrt0.c: New file.
8210         * config/xtensa/t-elf: New file.
8212 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8214         * Makefile.in (SHLIB_NM_FLAGS): Set.
8215         * mkmap-flat.awk, mkmap-symver.awk: New files.
8216         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8217         exceptions.
8218         * configure: Regenerate.
8219         * config/libgcc-glibc.ver: New file.
8220         * config/libgcc-libsystem.ver: New file.
8221         * config/t-libunwind (SHLIB_LC): Set.
8222         * config/t-linux: New file.
8223         * config/t-slibgcc (INSTALL_SHLIB): New.
8224         (SHLIB_INSTALL): Use it.
8225         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8226         to mkmap-symver.awk.
8227         (SHLIB_MAPFILES): Don't append, adapt pathname.
8228         (SHLIB_VERPFX): Set.
8229         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8230         to mkmap-symver.awk.
8231         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8232         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8233         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8234         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8235         to mkmap-flat.awk.
8236         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8237         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8238         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8239         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8240         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8241         * config/i386/libgcc-darwin.10.4.ver,
8242         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8243         New files.
8244         * config/i386/t-darwin: Remove.
8245         * config/i386/t-darwin64: Likewise.
8246         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8247         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8248         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8249         * config/i386/t-linux: New file.
8250         * config/i386/t-mingw32: New file.
8251         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8252         * config/ia64/t-glibc: Rename to ...
8253         * config/ia64/t-linux: ... this.
8254         (SHLIB_MAPFILES): Set.
8255         * config/ia64/t-glibc-libunwind: Rename to ...
8256         * config/ia64/t-linux-libunwind: ... this.
8257         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8258         * config/ia64/t-slibgcc-hpux: New file.
8259         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8260         * config/m68k/t-slibgcc-elf-ver: New file.
8261         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8262         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8263         to mkmap-flat.awk.
8264         * config/pa/t-slibgcc-hpux: New file.
8265         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8266         files.
8267         * config/rs6000/libgcc-darwin.10.4.ver,
8268         config/rs6000/libgcc-darwin.10.5.ver: New files.
8269         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8270         config/rs6000/libgcc-glibc.ver.
8271         * config/rs6000/libgcc-ppc64.ver: Rename to
8272         config/rs6000/libgcc-ibm-ldouble.ver.
8273         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8274         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8275         * config/rs6000/t-ldbl128: Rename to ...
8276         * config/rs6000/t-linux: ... this.
8277         (SHLIB_MAPFILES): Adapt filename.
8278         * config/rs6000/t-slibgcc-aix: New file.
8279         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8280         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8281         libgcc-excl.ver, libgcc-glibc.ver.
8282         (SHLIB_LINK, SHLIB_INSTALL): Remove.
8283         * config/sparc/libgcc-glibc.ver: New file.
8284         * config/sparc/t-linux: New file.
8285         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8286         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8287         t-slibgcc-elf-ver to tmake_file.
8288         Add t-slibgcc-nolc-override to tmake_file for posix threads on
8289         *-*-freebsd[34].
8290         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8291         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8292         t-slibgcc-elf-ver, t-linux to tmake_file.
8293         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8294         tmake_file.
8295         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8296         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8297         (alpha*-dec-*vms*): Likewise.
8298         (arm*-*-freebsd*): Append to tmake_file.
8299         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8300         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8301         arm*-*-linux-*eabi.
8302         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8303         tmake_file for arm*-*-symbianelf*.
8304         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8305         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8306         cris/t-linux.
8307         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8308         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8309         pa/t-slibgcc-dwarf-ver to tmake_file.
8310         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8311         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8312         (hppa*64*-*-hpux11*): Likewise.
8313         (hppa[12]*-*-hpux11*): Likewise.
8314         (x86_64-*-darwin*): Don't override tmake_file, but only keep
8315         i386/t-crtpc, i386/t-crtfm.
8316         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8317         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8318         to tmake_file.
8319         Add i386/t-cygwin to tmake_file.
8320         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8321         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8322         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8323         to tmake_file.
8324         Add i386/t-mingw32 to tmake_file.
8325         (x86_64-*-mingw*): Likewise.
8326         (ia64*-*-freebsd*): Append to tmake_file.
8327         (ia64*-*-linux*): Append to tmake_file.
8328         Replace ia64/t-glibc by ia64/t-linux.
8329         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8330         system libunwind.
8331         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8332         t-slibgcc-hpux to tmake_file.
8333         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8334         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8335         (m32rle-*-linux*): Likewise.
8336         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8337         sjlj exceptions.
8338         (microblaze*-linux*): New case.
8339         Append to tmake_file, add t-slibgcc-nolc-override.
8340         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8341         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8342         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8343         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8344         rs6000/t-slibgcc-aix to tmake_file.
8345         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8346         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8347         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8348         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8349         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8350         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8351         sh*-*-linux*.
8352         (sparc-*-linux*): Append to tmake_file for *-leon*.
8353         Add sparc/t-linux to tmake_file for non-Leon targets.
8354         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8355         (tic6x-*-uclinux): New case.
8356         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8357         (tic6x-*-*): Add c6x/t-elf to tmake_file.
8358         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8359         (am33_2.0-*-linux*): Append to tmake_file.
8360         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8361         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8362         x86_64-*-kfreebsd*-gnu.
8363         Add i386/t-linux to tmake_file.
8365 2011-10-28  Ian Lance Taylor  <iant@google.com>
8367         * config/i386/morestack.S: Correct CFI information to do proper
8368         returns throughout function.  In 32-bit mode, save %ebx so that it
8369         is restored on unwind.
8371 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
8373         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8374         case where B3 isn't the return register.
8376         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8377         logic for doubleword pops.
8379 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
8381         * config/rs6000/t-freebsd: Add wildcard.
8383 2011-10-21  Paul Brook  <paul@codesourcery.com>
8385         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8387 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
8388             Eric Botcazou  <ebotcazou@adacore.com>
8390         PR target/50737
8391         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8392         fs->signal_frame to 1.
8394 2011-10-07  Ian Lance Taylor  <iant@google.com>
8396         * generic-morestack-thread.c: #include <errno.h>.
8398 2011-10-07  Ian Lance Taylor  <iant@google.com>
8400         PR target/46093
8401         * generic-morestack.c (__generic_morestack): Make sure the segment
8402         is large enough for both the stack frame and the copied
8403         parameters.
8405 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8407         PR bootstrap/49804
8408         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8409         extra_parts.
8411 2011-09-28  Nick Clifton  <nickc@redhat.com>
8413         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8414         64-bit doubles are not enabled.
8415         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8416         and floatunsisf functions.
8418 2011-09-13  Paul Brook  <paul@codesourcery.com>
8420         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
8421         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8422         * unwind-arm-common.inc: New file.
8423         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8424         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8425         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8426         * config/c6x/libunwind.S: New file.
8427         * config/c6x/pr-support.c: New file.
8428         * config/c6x/unwind-c6x.c: New file.
8429         * config/c6x/unwind-c6x.h: New file.
8430         * config/c6x/t-c6x-elf: New file.
8432 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
8434         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8435         (ASM_DIVZERO): Ditto.
8436         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8438 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
8440         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8442 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
8444         PR target/50090
8445         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8446         instead of an assembly one.
8448 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
8450         PR bootstrap/50047
8451         * Makefile.in (install-unwind_h): Create
8452         $(gcc_objdir)/include/unwind.h atomically.
8454 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8456         * Makefile.in (install-unwind_h): Remove destination file first.
8458 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8460         * sync.c: New file.
8461         * config/mips/t-mips16: New file.
8462         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8463         (mips*-*-linux*): Likewise.
8464         (mips*-sde-elf*): Likewise.
8465         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8466         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8467         Add mips/t-mips16 to tmake_file.
8468         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8469         (mips-*-elf*): Likewise.
8470         (mips64-*-elf*): Likewise.
8471         (mips64orion-*-elf*): Likewise.
8472         (mips*-*-rtems*): Likewise.
8473         (mipstx39-*-elf*): Likewise.
8474         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8475         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8476         LIBGCC_SYNC_CFLAGS.
8477         Use $(srcdir) to refer to sync.c.
8478         Use $<.
8479         ($(libgcc-sync-funcs-o)): Likewise.
8480         ($(libgcc-sync-size-funcs-s-o)): Likewise.
8481         ($(libgcc-sync-funcs-s-o)): Likewise.
8483 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8485         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8486         t-libunwind.
8488 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
8490         PR other/48007
8491         * config/i386/value-unwind.h: New.
8493 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
8495         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8496         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8497         Add to tmake_file rather than overriding it.
8499 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8501         * config/t-softfp: Remove.
8502         * soft-fp: Moved from ../gcc/config.
8503         * soft-fp/README: Remove t-softfp reference.
8504         * soft-fp/t-softfp: Move to config/t-softfp.
8505         (softfp_machine_header): Remove.
8506         (softfp_file_list): Remove config subdir.
8507         (soft-fp-objects): New variable.
8508         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8509         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8510         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8511         * config/t-softfp-excl: New file.
8512         * config/t-softfp-sfdf: New file.
8513         * config/t-softfp-tf: New file.
8514         * config/no-sfp-machine.h: New file.
8515         * config/arm/sfp-machine.h: New file.
8516         * config/arm/t-softfp: New file.
8517         * config/c6x/sfp-machine.h: New file.
8518         * config/i386/32/t-fprules-softfp: Rename to ...
8519         * config/i386/32/t-softfp: ... this.
8520         (tifunctions, LIB2ADD): Remove.
8521         (softfp_int_modes): Override.
8522         * config/i386/64/t-softfp-compat (tf-functions): Remove config
8523         subdir.
8524         * config/i386/64/eqtf2.c: Likewise.
8525         * config/i386/64/getf2.c: Likewise.
8526         * config/i386/64/letf2.c: Likewise.
8527         * config/ia64/sft-machine.h: New file.
8528         * config/ia64/t-fprules-softfp: Rename to ...
8529         * config/ia64/t-softfp: ... this.
8530         * config/lm32/sfp-machine.h: New file.
8531         * config/moxie/t-moxie-softfp: Remove.
8532         * config/rs6000/ibm-ldouble-format: New file.
8533         * config/rs6000/ibm-ldouble.c: New file.
8534         * config/rs6000/libgcc-ppc-glibc.ver: New file
8535         * config/rs6000/libgcc-ppc64.ver: New file
8536         * config/rs6000/sfp-machine.h: New file.
8537         * config/rs6000/t-freebsd: New file.
8538         * config/rs6000/t-ibm-ldouble: New file.
8539         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8540         libgcc-ppc-glibc.ver.
8541         * config/rs6000/t-linux64: New file.
8542         * config/rs6000/t-ppccomm (LIB2ADD): Add
8543         $(srcdir)/config/rs6000/ibm-ldouble.c.
8544         * config/rs6000/t-ppccomm-ldbl: New file.
8545         * config/score/sfp-machine.h: New file.
8546         * config.host (sfp_machine_header): Explain.
8547         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8548         t-softfp to tmake_file.
8549         (arm*-*-uclinux*): Likewise.
8550         (arm*-*-ecos-elf): Likewise.
8551         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8552         (arm*-*-rtems*): Likewise.
8553         (arm*-*-elf): Likewise.
8554         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8555         in tmake_file.
8556         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8557         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8558         (lm32-*-uclinux*): Likewise.
8559         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8560         t-softfp-excl, t-softfp.
8561         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8562         (powerpc64-*-darwin*): Likewise.
8563         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8564         to tmake_file.
8565         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8566         tmake_file.
8567         (powerpc-*-eabisim*): Likewise.
8568         (powerpc-*-elf*): Likewise.
8569         (powerpc-*-eabialtivec*): Likewise.
8570         (powerpc-xilinx-eabi*): Likewise.
8571         (powerpc-*-rtems*): Likewise.
8572         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8573         t-softfp-excl, t-softfp to tmake_file.
8574         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8575         rs6000/t-ppccomm-ldbl to tmake_file.
8576         (powerpcle-*-elf*): Likewise.
8577         (powerpcle-*-eabisim*): Likewise.
8578         (powerpcle-*-eabi*): Likewise.
8579         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8580         rs6000/t-ibm-ldouble to tmake_file.
8581         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8582         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8583         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8584         (tic6x-*-*): Likewise.
8585         (i[34567]86-*-darwin*, x86_64-*-darwin*,
8586         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8587         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8588         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8589         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8590         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8591         t-softfp to tmake_file.
8592         * configure.ac (sfp_machine_header): Provide default if unset.
8593         Substitute.
8594         Link sfp-machine.h to config/$sfp_machine_header.
8595         * configure: Regenerate.
8597 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8599         * Makefile.in (double_type_size, long_double_type_size): Set.
8600         Remove $(fpbit-in-libgcc) support.
8601         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8602         (fpbit-src): New variable.
8603         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8604         Compile with -DFLOAT $(FPBIT_CFLAGS).
8605         Use $<.
8606         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8607         Compile with $(FPBIT_CFLAGS).
8608         Use $<.
8609         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8610         Compile with -DFLOAT $(TPBIT_CFLAGS).
8611         Use $<.
8612         * configure.ac (double_type_size, long_double_type_size):
8613         Determine and substitute.
8614         * configure: Regenerate.
8615         * fp-bit.c, fp-bit.h: New files.
8616         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8617         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8618         * config/mips/t-mips: New file.
8619         * config/mips/t-sdemtk: New file.
8620         * config/rs6000/ppc64-fp.c: New file.
8621         * config/rs6000/t-darwin (LIB2ADD): Add
8622         $(srcdir)/config/rs6000/ppc64-fp.c.
8623         * config/rs6000/t-ppc64-fp: New file.
8624         * config/rx/rx-lib.h: New file.
8625         * config/rx/t-rx (FPBIT): Set to true.
8626         ($(gcc_objdir)/fp-bit.c): Remove.
8627         (DPBIT): Set to true only with -m64bit-doubles.
8628         ($(gcc_objdir)/dp-bit.c): Remove.
8629         * config/sparc/t-softfp: Remove.
8630         * config/spu/t-elf: New file.
8631         * config/t-fdpbit, config/t-fpbit: New files.
8632         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8633         (mips*-*-*): Likewise.
8634         (arm-wrs-vxworks): Likewise.
8635         (arm*-*-freebsd*): Likewise.
8636         (avr-*-rtems*): Add t-fpbit to tmake_file.
8637         (avr-*-*): Likewise.
8638         (bfin*-elf*): Add t-fdpbit to tmake_file.
8639         (bfin*-uclinux*): Likewise.
8640         (bfin*-linux-uclibc*): Likewise.
8641         (bfin*-rtems*): New case.
8642         Add t-fdpbit to tmake_file.
8643         (bfin*-*): Add t-fdpbit to tmake_file.
8644         (crisv32-*-elf): Likewise.
8645         (cris-*-linux*): Likewise.
8646         (fr30-*-elf): Likewise.
8647         (frv-*-elf, frv-*-*linux*): Likewise.
8648         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8649         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8650         (m32r-*-elf*): Likewise.
8651         (m32rle-*-elf*): Likewise.
8652         (m32r-*-linux*): Likewise.
8653         (m32rle-*-linux*): Likewise.
8654         (mcore-*-elf): Add t-fdpbit to tmake_file.
8655         (microblaze*-*-*): Likewise.
8656         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8657         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8658         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8659         Fix typo.
8660         Add mips/t-tpbit to tmake-file.
8661         (mips*-*-linux*): Fix typo.
8662         (mips*-sde-elf*): New case
8663         Add mips/t-sdemtk unless using newlib.
8664         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8665         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8666         (mn10300-*-*): Likewise.
8667         (pdp11-*-*): Likewise.
8668         (picochip-*-*): Add t-fpbit to tmake_file.
8669         (powerpc-*-eabisimaltivec*): Likewise.
8670         (powerpc-*-eabisim*): Likewise.
8671         (powerpc-*-elf*): Likewise.
8672         (powerpc-*-eabialtivec*): Likewise.
8673         (powerpc-xilinx-eabi*): New case.
8674         Add t-fdpbit to tmake_file.
8675         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
8676         (powerpc-*-rtems*): Likewise.
8677         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8678         tmake_file.
8679         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8680         tmake_file.
8681         (powerpc-*-lynxos*): Likewise.
8682         (powerpcle-*-elf*): Likewise.
8683         (powerpcle-*-eabisim*): Likewise.
8684         (powerpcle-*-eabi*): Likewise.
8685         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8686         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8687         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8688         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8689         (rx-*-elf): Add t-fdpbit to tmake_file.
8690         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8691         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8692         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8693         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8694         sh*-*-netbsd*.
8695         (sh-*-rtems*): Add t-fdpbit to tmake_file.
8696         (sh-wrs-vxworks): Likewise.
8697         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8698         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8699         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8700         (sparc64-*-rtems*): ... new case.
8701         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8702         (spu-*-elf*): Likewise.
8703         Add spu/t-elf to tmake_file.
8704         (v850*-*-*): Add t-fdpbit to tmake_file.
8705         (xstormy16-*-elf): Likewise.
8706         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8707         (mep*-*-*): Likewise.
8709 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8711         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8712         variables.
8713         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8714         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8715         (install-unwind_h): New target.
8716         (all): Depend on it.
8717         * config.host (unwind_header): New variable.
8718         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8719         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8720         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8721         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8722         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8723         Set unwind_header.
8724         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8725         Set unwind_header.
8726         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8727         arm*-*-eabi*.
8728         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8729         Set unwind_header.
8730         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8731         (ia64*-*-freebsd*): Likewise.
8732         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8733         tmake_file.
8734         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8735         $with_system_libunwind.
8736         (ia64*-*-hpux*): Set tmake_file.
8737         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8738         (picochip-*-*): Set tmake_file.
8739         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8740         md_unwind_header.
8741         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8742         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8743         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8744         (xtensa*-*-elf*): Set tmake_file.
8745         (xtensa*-*-linux*): Likewise.
8746         * configure.ac: Include ../config/unwind_ipinfo.m4.
8747         Call GCC_CHECK_UNWIND_GETIPINFO.
8748         Link unwind.h to $unwind_header.
8749         * configure: Regenerate.
8750         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8751         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8752         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8753         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8754         * config/unwind-dw2-fde-darwin.c: New file.
8755         * config/arm/libunwind.S, config/arm/pr-support.c,
8756         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8757         config/arm/unwind-arm.h,: New files.
8758         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8759         config/ia64/t-eh-ia64, config/ia64/t-glibc,
8760         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8761         config/ia64/t-vms, config/ia64/unwind-ia64.c,
8762         config/ia64/unwind-ia64.h: New files.
8763         * config/picochip/t-picochip: New file.
8764         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8765         files.
8766         * config/rs6000/t-darwin (LIB2ADDEH): Set.
8767         * config/s390/t-tpf (LIB2ADDEH): Remove.
8768         * config/t-darwin (LIB2ADDEH): Set.
8769         * config/t-eh-dw2-dip: New file.
8770         * config/t-libunwind, config/t-libunwind-elf: New files.
8771         * config/t-sol2 (LIB2ADDEH): Remove.
8772         * config/xtensa/t-xtensa: New file.
8774 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
8776         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8777         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8778         long long to check rt_sigreturn syscall.
8780 2011-08-02  Alan Modra  <amodra@gmail.com>
8782         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8783         Restore for indirect call bcrtl from correct stack slot, and only
8784         if cfa+40 isn't valid.
8786 2011-08-01  Julian Brown  <julian@codesourcery.com>
8788         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8789         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8790         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8792 2011-08-01  Julian Brown  <julian@codesourcery.com>
8794         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8795         (libgcc-std.ver.in): Use above.
8796         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8797         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
8798         throughout file.
8799         * config/t-fixedpoint-gnu-prefix: New file.
8800         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8801         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8802         instead of __PFX__.
8804 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8806         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8807         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8808         for x86-64.  Properly check __x86_64__ and __LP64__.
8810 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8812         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8813         version.
8814         (_FP_WS_TYPE): Likewise.
8815         (_FP_I_TYPE): Likewise.
8817 2011-07-28  Alan Modra  <amodra@gmail.com>
8819         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8820         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8821         in a plt call stub.  Do restore r2 if stopped on bctrl.
8823 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8825         * config.host (i[3456x]86-*-netware*): Remove.
8826         * config/i386/netware-crt0.c, config/i386/t-nwld,
8827         config/i386/t-slibgcc-nwld: Remove.
8829 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
8831         * config.host: Handle tic6x-*-*.
8832         * config/c6x/c6x-abi.h: New file.
8834 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8836         * config/i386/crtprec.c: New file.
8837         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8838         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8839         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8840         (x86_64-*-darwin*): Likewise.
8841         (i[34567]86-*-solaris2*: Likewise.
8843 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8845         * config/alpha/crtfastmath.c: New file.
8846         * config/i386/crtfastmath.c: New file.
8847         * config/ia64/crtfastmath.c: New file.
8848         * config/mips/crtfastmath.c: New file.
8849         * config/sparc/crtfastmath.c: New file.
8851         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8852         crtfastmath.c.
8853         Add -frandom-seed=gcc-crtfastmath.
8854         * config/alpha/t-crtfm: Remove.
8855         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8856         * config/ia64/t-ia64 (crtfastmath.o): Remove.
8858         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8859         (alpha*-dec-osf5.1*): Likewise.
8860         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8861         Add crtfastmath.o to extra_parts.
8862         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8863         Add crtfastmath.o to extra_parts.
8864         (x86_64-*-darwin*): Likewise.
8865         (x86_64-*-mingw*): Likewise.
8866         (ia64*-*-elf*): Add t-crtfm to tmake_file.
8867         (ia64*-*-freebsd*): Likewise.
8868         (ia64*-*-linux*): Likewise.
8869         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8870         Add crtfastmath.o to extra_parts.
8872 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8874         * config/darwin-crt3.o: New file.
8875         * config/rs6000/darwin-crt2.c: New file.
8876         * config/t-darwin: New file.
8877         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8878         (crt2.o): New rule.
8879         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8880         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8881         (powerpc64-*-darwin*): Likewise.
8883 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8885         * config/i386/netware-crt0.c: New file.
8886         * config/i386/t-nwld: Rename to ...
8887         * config/i386/t-slibgcc-nwld: ... this.
8888         * config/i386/t-nwld: New file.
8889         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8890         tmake_file.
8891         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8892         extra_parts.
8894 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8896         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8897         i386/t-crtstuff.
8898         * configure: Regenerate.
8900 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8902         * dfp-bit.c, dfp-bit.h: New files.
8903         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8904         variables.
8905         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8906         ($(d64pbit-o)): Likewise.
8907         ($(d128pbit-o)): Likewise.
8908         * config/t-dfprules: New file.
8909         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8910         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8911         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8912         (x86_64-*-linux*): Likewise.
8913         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8914         (i[34567]86-*-cygwin*): Likewise.
8915         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8916         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8918 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8920         * Makfile.in (LIBGCOV): New variable.
8921         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8922         * libgcov.c: New file.
8924 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8926         * fixed-bit.c, fixed-bit.h: New files.
8927         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8928         refer to fixed-bit.c.
8930 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8932         * config.host (*local*): Remove.
8934 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8936         PR target/39150
8937         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8938         like i?86-*-solaris2.1[0-9]*.
8939         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8940         * configure.ac (i?86-*-solaris2*): Likewise.
8941         * configure: Regenerate.
8943 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8945         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8946         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8947         md_unwind_header by splitting out of...
8948         (i[34567]86-*-linux*): ... this.
8949         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8950         Remove md_unwind_header by splitting out of...
8951         (x86_64-*-linux*): ... this.
8953 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8955         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8957 2011-06-28  Nick Clifton  <nickc@redhat.com>
8959         * config.host: Recognize all V850 variants.
8961 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8963         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8965 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8967         * shared-object.mk (c_flags-$o): Save c_flags.
8968         ($(base)$(objext)): Use it.
8969         ($(base)_s$(objext)): Likewise.
8971 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8973         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8974         * libgcc-std.ver.in (GCC_4.7.0): New section.
8976 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8978         PR target/49313
8979         PR target/29524
8980         * config/avr/t-avr: Fix line endings.
8981         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8982         _parityXX2.
8984 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8985             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8987         * config/mips/irix6-unwind.h: New file.
8988         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8990 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8992         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8993         (sparc64_fallback_frame_state): Use it.
8994         (sparc64_frob_update_context): Further adjust context.
8995         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8996         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8997         * config/sparc/sol2-cn.S: Likewise.
8999 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9001         * enable-execute-stack-empty.c: New file.
9002         * enable-execute-stack-mprotect.c: New file.
9003         * config/i386/enable-execute-stack-mingw32.c: New file.
9004         * config.host (enable_execute_stack): New variable.
9005         Select appropriate variants.
9006         * configure.ac: Link enable-execute-stack.c to
9007         $enable_execute_stack.
9008         * configure: Regenerate.
9009         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9010         (lib2funcs): Remove _enable_execute_stack.
9012 2011-06-09  David S. Miller  <davem@davemloft.net>
9013             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9015         * config.host (sparc-*-linux*): Correct md_unwind_header
9016         filename.
9017         (s390x-ibm-tpf*): Fix typo.
9019 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9021         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9022         Add crtfastmath.o to extra_parts.
9023         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9024         mips/t-crtfm.
9025         * config/mips/t-crtfm: Remove.
9027 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9029         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9031 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9033         * config.host (sh*-*-linux*): Fix typo.
9035 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9037         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9038         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9039         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9040         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9041         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9042         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9043         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9044         Wrap in !__MINGW64__.
9045         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9046         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9047         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9048         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9049         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9050         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9051         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9052         Wrap in !__LP64__.
9053         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9054         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9055         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9056         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9057         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9058         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9059         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9060         * config/no-unwind.h: New file.
9061         * config.host (md_unwind_header): Document.
9062         Define.
9063         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9064         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9065         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9066         hppa[12]*-*-hpux11*): Set md_unwind_header.
9067         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9068         Set md_unwind_header.
9069         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9070         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9071         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9072         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9073         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9074         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9075         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9076         md_unwind_header.
9077         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9078         * configure: Regenerate.
9080 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9082         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9083         Set tmake_file, extra_parts.
9084         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9085         Remove O32 support.
9086         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9087         Remove O32 support.
9088         * config/mips/t-irix6: New file.
9089         * config/mips/t-slibgcc-irix: New file.
9091 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9093         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9094         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9096 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9098         * configure.ac (target_thread_file): Determine thread model.
9099         * configure: Regenerate.
9100         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9101         * config/alpha/t-alpha: New file.
9102         * config/alpha/t-crtfm: Use $<.
9103         * config/alpha/t-ieee: New file.
9104         * config/alpha/t-osf-pthread: New file.
9105         * config/alpha/t-slibgcc-osf: New file.
9106         * config/alpha/libgcc-osf5.ver: New file.
9108 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9110         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9111         tmake_file.
9112         Add crtfastmath.o to extra_parts.
9114 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9116         * config/gmon-sol2.c: Reindent.
9117         Cleanup comments.
9118         Remove, correct casts.
9119         Use STDERR_FILENO, NULL.
9120         (BASEADDRESS): Remove.
9121         (minbrk): Remove.
9122         (errno, sbrk): Remove declarations.
9123         (monstartup) [hp300]: Remove.
9124         (mcount): Remove.
9126 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9128         * Makefile.in (cpu_type): Define.
9129         * config.host (i[34567]86-*-rtems*): Handle it.
9130         (i[34567]86-*-solaris2*): Move body ...
9131         (*-*-solaris2*): ... here.
9132         New case, generalize.
9133         (sparc-*-elf*): Handle it.
9134         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9135         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9136         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9137         Fold into ...
9138         (sparc*-*-solaris2*): ... this.
9139         New case.
9140         (sparc64-*-elf*): Handle it.
9141         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9142         Merge ../gcc/config/i386/gmon-sol2.c.
9143         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9144         Use C comments.
9145         Merge ../gcc/config/i386/sol2-gc1.asm.
9146         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9147         Use C comments.
9148         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9149         Use C comments.
9150         * config/i386/t-crtfm (crtfastmath.o): Use $<.
9151         * config/i386/t-crtstuff: New file.
9152         * config/i386/t-softfp: New file.
9153         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9154         $(T)crti.o, $(T)crtn.o): Remove.
9155         (gcrt1.o): New rule.
9156         (TARGET_LIBGCC2_CFLAGS): Remove.
9157         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9158         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9159         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9160         * config/sparc/t-sol2: New file.
9161         * config/sparc/t-crtfm: Move to ...
9162         * config/t-crtfm: ... this.
9163         Use $(cpu_type), $<.
9164         * config/t-crtin: New file.
9165         * config/sparc/t-softfp: New file.
9166         * config/sparc/t-softmul: New file.
9167         * config/t-rtems: New file.
9168         * config/t-slibgcc: New file.
9169         * config/t-slibgcc-elf-ver: New file.
9170         * config/t-slibgcc-gld: New file.
9171         * config/t-slibgcc-sld: New file.
9172         * config/t-sol2: New file.
9173         * configure.ac: Include ../config/lib-ld.m4.
9174         Call AC_LIB_PROG_LD_GNU.
9175         Substitute cpu_type.
9176         * configure: Regenerate.
9178 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
9180         PR bootstrap/49173
9181         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9182         libgcc-std.ver in the build directory.
9183         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9184         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9186 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
9188         * libgcc-std.ver.in: New file.
9189         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9190         variables.
9191         (libgcc-std.ver): New rule.
9192         * config/t-gnu-prefix: New file.
9194 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9196         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9198 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9200         * config/i386/darwin-lib.h: New file.
9202 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9204         * config/arm/symbian-lib.h: New.
9206 2011-05-04  Chris Demetriou  <cgd@google.com>
9208         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9209         (__x86.get_pc_thunk.bx): ...this.
9210         (__morestack): Adjust for rename, remove undef of __i686.
9212 2011-05-03  Chris Demetriou  <cgd@google.com>
9214         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9216 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
9218         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9219         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9220         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9221         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9222         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9223         Remove cases.
9225 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
9227         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9228         Adjust copyright year.
9230 2011-03-07  Ian Lance Taylor  <iant@google.com>
9232         * generic-morestack.c (__splitstack_find): Adjust returned stack
9233         pointer to include all registers pushed by __morestack.
9235 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
9237         PR target/40125
9238         * configure.ac: Call ACX_NONCANONICAL_TARGET.
9239         (toolexecdir): Calculate and AC_SUBST.
9240         (toolexeclibdir): Likewise.
9241         * Makefile.in (target_noncanonical): Import.
9242         (toolexecdir): Likewise.
9243         (toolexeclibdir): Likewise.
9244         * configure: Regenerate.
9246 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
9248         PR target/46040
9249         * config/arm/bpabi.h: Rename to...
9250         * config/arm/bpabi-lib.h: ...this.
9252 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9254         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9255         appropriate.
9256         * configure: Regenerate.
9258 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
9260         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9261         __FLOAT_WORD_ORDER__.
9262         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9263         Delete.
9265 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9267         PR other/46202
9268         * Makefile.in (install-strip): New phony target.
9270 2010-11-07  Ian Lance Taylor  <iant@google.com>
9272         PR target/46089
9273         * config/i386/morestack.S (__morestack_large_model): New
9274         function.
9276 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
9278         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9279         Delete.
9280         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9282 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
9284         * config/arm/bpabi.h: New file.
9285         * config/frv/frv-abi.h: New file.
9287 2010-10-01  Ian Lance Taylor  <iant@google.com>
9289         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9290         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9292 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9294         PR target/45858
9295         * config.host: Add the missing `$'.
9297 2010-09-30  Michael Eager  <eager@eagercon.com>
9299         * config.host: Add microblaze*-*-*.
9300         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9301         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9302         udivsi3.asm,umodsi3.asm}:  New.
9304 2010-09-28  Ian Lance Taylor  <iant@google.com>
9306         * configure.ac: Adjust CFI test to test assembler directly rather
9307         than checking gcc preprocessor macro.
9308         * configure: Rebuild.
9310 2010-09-27  Ian Lance Taylor  <iant@google.com>
9312         * configure.ac: Test whether assembler supports CFI directives.
9313         * config.host: Only add t-stack and i386/t-stack-i386 to
9314         tmake_file if libgcc_cv_cfi is "yes".
9315         * configure: Rebuild.
9317 2010-09-27  Ian Lance Taylor  <iant@google.com>
9319         * generic-morestack.h: New file.
9320         * generic-morestack.c: New file.
9321         * generic-morestack-thread.c: New file.
9322         * config/i386/morestack.S: New file.
9323         * config/t-stack: New file.
9324         * config/i386/t-stack-i386: New file.
9325         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9326         i386/t-stack-i386 to tmake_file.
9328 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
9330         * Makefile.in (libgcc-extra-parts):  Check for static archives and
9331         invoke ranlib after installing them.
9332         (gcc-extra-parts): Likewise.
9333         (install-leaf): Likewise.
9335 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9337         * configure: Regenerated.
9339 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
9341         * configure: Regenerated.
9343 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
9344             Andrew Pinski  <pinskia@gmail.com>
9346         PR target/40959
9347         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
9349 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9351         PR target/45524
9352         * configure: Regenerated.
9354 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9356         * configure: Regenerate.
9358 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9360         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9361         64bit targets.
9362         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9363         for 64bit targets.
9365 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9366             Iain Sandoe  <iains@gcc.gnu.org>
9368         PR target/45476
9369         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9370         LIB2FUNCS_EXCLUDE functions.
9372 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9374         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9375         Include dfp.m4.
9376         * configure: Regenerate.
9378 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
9380         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9381         i386/t-freebsd to tmake_file.
9382         * config/i386/t-freebsd: New file.
9383         * config/i386/libgcc-bsd.ver: New file.
9385 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
9387         * config.host (powerpc*-eabispe*): Set tmake_file.
9388         (powerpc*-eabi*): Likewise.
9389         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9390         crtbeginS, crtendS, crtbeginT.
9392 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
9394         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9395         to tmake_file.  Add crtfastmath.o to extra_parts.
9396         * config/mips/t-crtfm: New.
9398 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
9400         * config.host (sparc64-*-rtems*): New target.
9402 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9404         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9405         assembler syntax.
9407 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
9409         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9411 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9413         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9414         alpha-dec-osf5.0* support.
9416 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
9418         * config.host: Add lm32-*-rtems*.
9420 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9421             Uros Bizjak  <ubizjak@gmail.com>
9423         PR target/39048
9424         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9425         like other remaining 32-bit x86 OSes.
9426         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9427         assembler syntax.
9428         * config/i386/libgcc-sol2.ver: New file.
9429         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9431 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
9433         PR c/43553
9434         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9435         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9436         is used and substitute set_use_emutls.
9437         * configure: Regenerated.
9439 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
9441         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9443 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9445         PR target/38085
9446         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9447         MULTILIB_CFLAGS.
9448         ($(T)gcrt1.o): Likewise.
9449         ($(T)crt1.o): Likewise.
9450         ($(T)crti.o): Likewise.
9451         ($(T)crtn.o): Likewise.
9453 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9455         PR other/42980
9456         * Makefile.in (install): Use $(MAKE) string in rule, for
9457         parallel make.
9459 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
9461         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9462         * config/mmix/t-mmix: New file.
9463         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9465 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
9467         PR java/41991
9468         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9469         SHLIB_MAPFILES.
9471 2010-01-04  Anthony Green  <green@moxielogic.com>
9473         * config/moxie/crti.asm, config/moxie/crtn.asm,
9474         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9475         config/moxie/t-moxie: New files.
9476         * config.host: Add t-moxie-softfp reference.
9478 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
9480         PR other/39888
9481         * config/t-slibgcc-darwin: Fix embedded rpaths for
9482         --enable-version-specific-runtime-libs, build extension stub
9483         libs exposing features available from current libgcc_s.
9485 2009-11-11  Jon Beniston  <jon@beniston.com>
9487         * config.host: Add lm32 targets.
9488         * config/lm32: New directory.
9489         * config/lm32/libgcc_lm32.h: New file.
9490         * config/lm32/_mulsi3.c: New file.
9491         * config/lm32/_udivmodsi4.c: New file.
9492         * config/lm32/_divsi3.c: New file.
9493         * config/lm32/_modsi3.c: New file.
9494         * config/lm32/_udivsi3.c: New file.
9495         * config/lm32/_umodsi3.c: New file.
9496         * config/lm32/_lshrsi3.S: New file.
9497         * config/lm32/_ashrsi3.S: New file.
9498         * config/lm32/_ashlsi3.S: New file.
9499         * config/lm32/crti.S: New file.
9500         * config/lm32/crtn.S: New file.
9501         * config/lm32/t-lm32: New file.
9502         * config/lm32/t-elf: New file.
9503         * config/lm32/t-uclinux: New file.
9505 2009-10-26  Nick Clifton  <nickc@redhat.com>
9507         * config.host: Add support for RX target.
9508         * config/rx: New directory.
9509         * config/rx/rx-abi-functions.c: New file. Supplementary
9510         functions for libgcc to support the RX ABI.
9511         * config/rx/rx-abi.h: New file.  Supplementary header file for
9512         libgcc RX ABI functions.
9513         * config/rx/t-rx: New file: Makefile fragment for building
9514         libgcc for the RX.
9516 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
9518         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9519         constraint of y0 to "g".
9521 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9523         * config.host: Include the s390 makefile fragments.
9524         * config/s390/32/_fixdfdi.c: New file.
9525         * config/s390/32/_fixsfdi.c: New file.
9526         * config/s390/32/_fixtfdi.c: New file.
9527         * config/s390/32/_fixunsdfdi.c: New file.
9528         * config/s390/32/_fixunssfdi.c: New file.
9529         * config/s390/32/_fixunstfdi.c: New file.
9530         * config/s390/32/t-floattodi: New file.
9531         * config/s390/libgcc-glibc.ver: New file.
9532         * config/s390/t-crtstuff: New file.
9533         * config/s390/t-linux: New file.
9534         * config/s390/t-tpf: New file.
9536 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9538         * configure.ac (AC_PREREQ): Bump to 2.64.
9540 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
9542         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9544 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9546         * configure: Regenerate.
9548 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
9550         * config.host (ia64-hp-*vms*): New target.
9551         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9552         with ia64-hp-*vms*.
9554 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9556         * configure.ac: Add snippet for maintainer-mode.
9557         * configure: Regenerate.
9558         * Makefile.in (AUTOCONF, configure_deps): New variables.
9559         ($(srcdir)/configure)): New rule, active only with maintainer
9560         mode turned on.
9562 2009-06-23  DJ Delorie  <dj@redhat.com>
9564         Add MeP port.
9565         * config.host: Add mep support.
9567 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
9569         * config.host: Add i386/${host_address}/t-fprules-softfp and
9570         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9572         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9573         for mingw targets.
9574         * config/i386/64/_multc3.c: Likewise.
9575         * config/i386/64/_powitf2.c: Likewise.
9576         * config/i386/64/eqtf2.c: Likewise.
9577         * config/i386/64/getf2.c: Likewise.
9578         * config/i386/64/letf2.c: Likewise.
9579         * config/i386/64/letf2.c: Likewise.
9580         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9581         unsigned long long for x64 mingw targets.
9582         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9583         (_FP_I_TYPE): Define as long long for x64 mingw target.
9585 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
9587         * config.host (vax-*-linux*): New.
9589 2009-05-31  Anthony Green  <green@moxielogic.com>
9591         * config.host: Add moxie support.
9592         * config/moxie/t-moxie: New file.
9594 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
9596         * config.host: Add i386/${host_address}/t-fprules-softfp and
9597         t-softfp to tmake_file for i[34567]86-*-cygwin*.
9599 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
9601         * config.host: Add i386/${host_address}/t-fprules-softfp to
9602         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9604 2009-04-09  Nick Clifton  <nickc@redhat.com>
9606         * config/ia64/tf-signs.c: Change copyright header to refer to
9607         version 3 of the GNU General Public License with version 3.1
9608         of the GCC Runtime Library Exception and to point readers at
9609         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9610         web page.
9611         * config/i386/32/tf-signs.c: Likewise.
9612         * config/libbid/_addsub_dd.c: Likewise.
9613         * config/libbid/_addsub_sd.c: Likewise.
9614         * config/libbid/_addsub_td.c: Likewise.
9615         * config/libbid/_dd_to_df.c: Likewise.
9616         * config/libbid/_dd_to_di.c: Likewise.
9617         * config/libbid/_dd_to_sd.c: Likewise.
9618         * config/libbid/_dd_to_sf.c: Likewise.
9619         * config/libbid/_dd_to_si.c: Likewise.
9620         * config/libbid/_dd_to_td.c: Likewise.
9621         * config/libbid/_dd_to_tf.c: Likewise.
9622         * config/libbid/_dd_to_udi.c: Likewise.
9623         * config/libbid/_dd_to_usi.c: Likewise.
9624         * config/libbid/_dd_to_xf.c: Likewise.
9625         * config/libbid/_df_to_dd.c: Likewise.
9626         * config/libbid/_df_to_sd.c: Likewise.
9627         * config/libbid/_df_to_td.c: Likewise.
9628         * config/libbid/_di_to_dd.c: Likewise.
9629         * config/libbid/_di_to_sd.c: Likewise.
9630         * config/libbid/_di_to_td.c: Likewise.
9631         * config/libbid/_div_dd.c: Likewise.
9632         * config/libbid/_div_sd.c: Likewise.
9633         * config/libbid/_div_td.c: Likewise.
9634         * config/libbid/_eq_dd.c: Likewise.
9635         * config/libbid/_eq_sd.c: Likewise.
9636         * config/libbid/_eq_td.c: Likewise.
9637         * config/libbid/_ge_dd.c: Likewise.
9638         * config/libbid/_ge_sd.c: Likewise.
9639         * config/libbid/_ge_td.c: Likewise.
9640         * config/libbid/_gt_dd.c: Likewise.
9641         * config/libbid/_gt_sd.c: Likewise.
9642         * config/libbid/_gt_td.c: Likewise.
9643         * config/libbid/_isinfd128.c: Likewise.
9644         * config/libbid/_isinfd32.c: Likewise.
9645         * config/libbid/_isinfd64.c: Likewise.
9646         * config/libbid/_le_dd.c: Likewise.
9647         * config/libbid/_le_sd.c: Likewise.
9648         * config/libbid/_le_td.c: Likewise.
9649         * config/libbid/_lt_dd.c: Likewise.
9650         * config/libbid/_lt_sd.c: Likewise.
9651         * config/libbid/_lt_td.c: Likewise.
9652         * config/libbid/_mul_dd.c: Likewise.
9653         * config/libbid/_mul_sd.c: Likewise.
9654         * config/libbid/_mul_td.c: Likewise.
9655         * config/libbid/_ne_dd.c: Likewise.
9656         * config/libbid/_ne_sd.c: Likewise.
9657         * config/libbid/_ne_td.c: Likewise.
9658         * config/libbid/_sd_to_dd.c: Likewise.
9659         * config/libbid/_sd_to_df.c: Likewise.
9660         * config/libbid/_sd_to_di.c: Likewise.
9661         * config/libbid/_sd_to_sf.c: Likewise.
9662         * config/libbid/_sd_to_si.c: Likewise.
9663         * config/libbid/_sd_to_td.c: Likewise.
9664         * config/libbid/_sd_to_tf.c: Likewise.
9665         * config/libbid/_sd_to_udi.c: Likewise.
9666         * config/libbid/_sd_to_usi.c: Likewise.
9667         * config/libbid/_sd_to_xf.c: Likewise.
9668         * config/libbid/_sf_to_dd.c: Likewise.
9669         * config/libbid/_sf_to_sd.c: Likewise.
9670         * config/libbid/_sf_to_td.c: Likewise.
9671         * config/libbid/_si_to_dd.c: Likewise.
9672         * config/libbid/_si_to_sd.c: Likewise.
9673         * config/libbid/_si_to_td.c: Likewise.
9674         * config/libbid/_td_to_dd.c: Likewise.
9675         * config/libbid/_td_to_df.c: Likewise.
9676         * config/libbid/_td_to_di.c: Likewise.
9677         * config/libbid/_td_to_sd.c: Likewise.
9678         * config/libbid/_td_to_sf.c: Likewise.
9679         * config/libbid/_td_to_si.c: Likewise.
9680         * config/libbid/_td_to_tf.c: Likewise.
9681         * config/libbid/_td_to_udi.c: Likewise.
9682         * config/libbid/_td_to_usi.c: Likewise.
9683         * config/libbid/_td_to_xf.c: Likewise.
9684         * config/libbid/_tf_to_dd.c: Likewise.
9685         * config/libbid/_tf_to_sd.c: Likewise.
9686         * config/libbid/_tf_to_td.c: Likewise.
9687         * config/libbid/_udi_to_dd.c: Likewise.
9688         * config/libbid/_udi_to_sd.c: Likewise.
9689         * config/libbid/_udi_to_td.c: Likewise.
9690         * config/libbid/_unord_dd.c: Likewise.
9691         * config/libbid/_unord_sd.c: Likewise.
9692         * config/libbid/_unord_td.c: Likewise.
9693         * config/libbid/_usi_to_dd.c: Likewise.
9694         * config/libbid/_usi_to_sd.c: Likewise.
9695         * config/libbid/_usi_to_td.c: Likewise.
9696         * config/libbid/_xf_to_dd.c: Likewise.
9697         * config/libbid/_xf_to_sd.c: Likewise.
9698         * config/libbid/_xf_to_td.c: Likewise.
9699         * config/libbid/bid128.c: Likewise.
9700         * config/libbid/bid128_2_str.h: Likewise.
9701         * config/libbid/bid128_2_str_macros.h: Likewise.
9702         * config/libbid/bid128_2_str_tables.c: Likewise.
9703         * config/libbid/bid128_add.c: Likewise.
9704         * config/libbid/bid128_compare.c: Likewise.
9705         * config/libbid/bid128_div.c: Likewise.
9706         * config/libbid/bid128_fma.c: Likewise.
9707         * config/libbid/bid128_logb.c: Likewise.
9708         * config/libbid/bid128_minmax.c: Likewise.
9709         * config/libbid/bid128_mul.c: Likewise.
9710         * config/libbid/bid128_next.c: Likewise.
9711         * config/libbid/bid128_noncomp.c: Likewise.
9712         * config/libbid/bid128_quantize.c: Likewise.
9713         * config/libbid/bid128_rem.c: Likewise.
9714         * config/libbid/bid128_round_integral.c: Likewise.
9715         * config/libbid/bid128_scalb.c: Likewise.
9716         * config/libbid/bid128_sqrt.c: Likewise.
9717         * config/libbid/bid128_string.c: Likewise.
9718         * config/libbid/bid128_to_int16.c: Likewise.
9719         * config/libbid/bid128_to_int32.c: Likewise.
9720         * config/libbid/bid128_to_int64.c: Likewise.
9721         * config/libbid/bid128_to_int8.c: Likewise.
9722         * config/libbid/bid128_to_uint16.c: Likewise.
9723         * config/libbid/bid128_to_uint32.c: Likewise.
9724         * config/libbid/bid128_to_uint64.c: Likewise.
9725         * config/libbid/bid128_to_uint8.c: Likewise.
9726         * config/libbid/bid32_to_bid128.c: Likewise.
9727         * config/libbid/bid32_to_bid64.c: Likewise.
9728         * config/libbid/bid64_add.c: Likewise.
9729         * config/libbid/bid64_compare.c: Likewise.
9730         * config/libbid/bid64_div.c: Likewise.
9731         * config/libbid/bid64_fma.c: Likewise.
9732         * config/libbid/bid64_logb.c: Likewise.
9733         * config/libbid/bid64_minmax.c: Likewise.
9734         * config/libbid/bid64_mul.c: Likewise.
9735         * config/libbid/bid64_next.c: Likewise.
9736         * config/libbid/bid64_noncomp.c: Likewise.
9737         * config/libbid/bid64_quantize.c: Likewise.
9738         * config/libbid/bid64_rem.c: Likewise.
9739         * config/libbid/bid64_round_integral.c: Likewise.
9740         * config/libbid/bid64_scalb.c: Likewise.
9741         * config/libbid/bid64_sqrt.c: Likewise.
9742         * config/libbid/bid64_string.c: Likewise.
9743         * config/libbid/bid64_to_bid128.c: Likewise.
9744         * config/libbid/bid64_to_int16.c: Likewise.
9745         * config/libbid/bid64_to_int32.c: Likewise.
9746         * config/libbid/bid64_to_int64.c: Likewise.
9747         * config/libbid/bid64_to_int8.c: Likewise.
9748         * config/libbid/bid64_to_uint16.c: Likewise.
9749         * config/libbid/bid64_to_uint32.c: Likewise.
9750         * config/libbid/bid64_to_uint64.c: Likewise.
9751         * config/libbid/bid64_to_uint8.c: Likewise.
9752         * config/libbid/bid_b2d.h: Likewise.
9753         * config/libbid/bid_binarydecimal.c: Likewise.
9754         * config/libbid/bid_conf.h: Likewise.
9755         * config/libbid/bid_convert_data.c: Likewise.
9756         * config/libbid/bid_decimal_data.c: Likewise.
9757         * config/libbid/bid_decimal_globals.c: Likewise.
9758         * config/libbid/bid_div_macros.h: Likewise.
9759         * config/libbid/bid_dpd.c: Likewise.
9760         * config/libbid/bid_flag_operations.c: Likewise.
9761         * config/libbid/bid_from_int.c: Likewise.
9762         * config/libbid/bid_functions.h: Likewise.
9763         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9764         * config/libbid/bid_inline_add.h: Likewise.
9765         * config/libbid/bid_internal.h: Likewise.
9766         * config/libbid/bid_round.c: Likewise.
9767         * config/libbid/bid_sqrt_macros.h: Likewise.
9769 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
9771         * Makefile.in: Change copyright header to refer to version
9772         3 of the GNU General Public License and to point readers at the
9773         COPYING3 file and the FSF's license web page.
9774         * config.host: Likewise.
9776 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
9778         * config.host: Reorder and merge to match config.gcc change.
9780 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
9782         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9784 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
9786         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9787         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9788         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9789         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9791 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
9793         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9794         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9796 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
9798         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9799         ia64/t-softfp-compat to tmake_file.
9801         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9803         * config/ia64/__divxf3.asm: New.
9804         * config/ia64/_fixtfdi.asm: Likewise.
9805         * config/ia64/_fixunstfdi.asm: Likewise.
9806         * config/ia64/_floatditf.asm: Likewise.
9807         * config/ia64/t-fprules-softfp: Likewise.
9808         * config/ia64/t-softfp-compat: Likewise.
9809         * config/ia64/tf-signs.c: Likewise.
9811 2009-01-18  Ben Elliston  <bje@au.ibm.com>
9813         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9815 2009-01-16  Ben Elliston  <bje@au.ibm.com>
9817         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9818         to tmake_file.
9820 2009-01-13  Ben Elliston  <bje@au.ibm.com>
9822         * config/t-softfp: New file.
9823         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9824         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9826 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
9828         * config.host: Add m32r*-*-rtems*.
9830 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
9832         * config.host: Add m32c*-*-rtems*.
9834 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9836         PR bootstrap/33100
9837         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9838         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9839         * configure: Regenerate.
9840         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9841         tmake_file here from gcc/config.gcc.
9842         Move extra_parts here from gcc/config.gcc.
9843         * config/i386/t-sol2: Move here from gcc/config/i386.
9844         Use gcc_srcdir instead of srcdir.
9846 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
9848         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9849         case.
9851 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
9853         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9855 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
9857         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9859 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
9861         Add picoChip port.
9862         * config.host: Add picochip-*-*.
9864 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
9866         * config.host: Match more processor names for Xtensa.
9868 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9870         * config/i386/64/t-softfp-compat: Update comments.
9872 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9874         * config/i386/64/_divtc3-compat.c: Moved to ...
9875         * config/i386/64/_divtc3.c: Here.
9877         * config/i386/64/_multc3-compat.c: Moved to ...
9878         * config/i386/64/_multc3.c: Here.
9880         * config/i386/64/_powitf2-compat.c: Moved to ...
9881         * config/i386/64/_powitf2.c: Here.
9883         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9884         .c suffix instead of -compat.c.
9886 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9888         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9889         (_FP_MUL_MEAT_D): Ditto.
9890         (_FP_DIV_MEAT_S): Ditto.
9891         (_FP_DIV_MEAT_D): Ditto.
9893 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9895         * Makefile.in: Add support for __sync_* libgcc functions.
9897 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9899         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9901 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9903         PR boostrap/36702
9904         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9905         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9907         * config/i386/64/t-fprules-softfp: Moved to ...
9908         * config/i386/64/t-softfp-compat: This.  New.
9910 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9912         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9913         Initialize f with 0.0.
9915 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9917         PR target/36669
9918         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9920         * config/i386/64/_divtc3-compat.c: New.
9921         * config/i386/64/_multc3-compat.c: Likewise.
9922         * config/i386/64/_powitf2-compat.c: Likewise.
9923         * config/i386/64/eqtf2.c: Likewise.
9924         * config/i386/64/getf2.c: Likewise.
9925         * config/i386/64/letf2.c: Likewise.
9926         * config/i386/64/t-fprules-softfp: Likewise.
9928 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9930         * config.host: Add i386/${host_address}/t-fprules-softfp to
9931         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9932         i[34567]86-*-linux*, x86_64-*-linux*.
9934         * configure.ac: Set host_address to 64 or 32 for x86.
9935         * configure: Regenerated.
9937         * Makefile.in (config.status): Also depend on
9938         $(srcdir)/config.host.
9940         * config/i386/32/t-fprules-softfp: New.
9941         * config/i386/32/tf-signs.c: Likewise.
9943         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9945 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9946             Uros Bizjak  <ubizjak@gmail.com>
9948         * config/i386/32/sfp-machine.h: New.
9950 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9952         * config/rs6000/t-ppccomm: Remove rules that conflict with
9953         auto-generated rules.
9955 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9957         * configure.ac: sinclude override.m4.
9958         * configure: Regenerate.
9960 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9962         * configure: Regenerate.
9964 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9966         * Makefile.in (DECNUMINC): Remove
9967         -I$(MULTIBUILDTOP)../../libdecnumber.
9968         * gstdint.h: New.
9970 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9972         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9973         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9974         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9975         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9976         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9977         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9978         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9979         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9980         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9981         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9982         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9983         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9984         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9985         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9987 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9989         * config.host (sh2[lbe]*-*-linux*): Allow target.
9991 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9993         * config/rs6000/t-ppccomm: Add build rules for new files.
9994         (LIB2ADD_ST): New variable.
9996 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9998         PR target/34210
9999         PR target/35508
10000         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10001         * config/t-avr: New file. Build 16bit libgcc functions.
10003 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
10005         PR target/35401
10006         * config/t-slibgcc-darwin: Make install-leaf dependent on
10007         install-darwin-libgcc-stubs instead of install.
10009 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
10011         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10012         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10013         sh-*-rtemscoff*): Remove cases.
10015 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
10017         * Makefile.in (all): Use install-leaf rather than install.
10018         (install): Split most of the rule into...
10019         (install-leaf): ...this new one.
10021 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
10022             Paolo Bonzini  <bonzini@gnu.org>
10024         PR target/30572
10025         * Makefile.in: Use @shlib_slibdir@ substitution to get
10026         correct install name on darwin.
10027         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10029 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
10031         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10032         cris-*-elf and cris-*-none.
10033         (crisv32-*-linux*): Similar, as cris-*-linux*.
10035 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
10037         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10039 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
10041         PR regression/33926
10042         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10043         * configure: Regenerated.
10045 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10047         * Makefile.in (dfp-filenames): Replace decimal_globals,
10048         decimal_data, binarydecimal and convert_data with
10049         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10050         and bid_convert_data, respectively.
10052 2007-09-17  Chao-ying Fu  <fu@mips.com>
10053             Nigel Stephens  <nigel@mips.com>
10055         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10056         * Makefile.in (fixed_point): Define.
10057         Check if fixed_point is yes to build support functions.
10058         * configure.ac: Check for fixed_point support.
10059         * configure: Regenerated.
10060         * gen-fixed.sh: New file to generate lists of fixed-point labels,
10061         funcs, modes, from, to.
10063 2007-09-11  Janis Johnson  <janis187@us.ibm.com
10065         * Makefile.in (dfp-filenames): Add bid128_noncomp.
10067 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
10069         * Makefile.in (dfp-filenames): Remove decUtility, add
10070         decDouble, decPacked, decQuad, decSingle.
10072 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
10074         * config.host : Add x86_64-elf target.
10076 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10078         * configure.ac (set_have_cc_tls): Add a missing =.
10079         * configure: Regenerated.
10081 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10083         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10084         and x86_64-*-linux*.
10086         * config/t-tls: New file.
10088         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10090         * configure.ac: Include ../config/enable.m4 and
10091         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
10092         supports TLS and substitute set_have_cc_tls.
10093         * configure: Regenerated.
10095 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10097         * Makefile.in: Use libbid for DFP when BID is enabled.
10099 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
10101         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10102         extra_parts. Add config/i386/t-cygming to tmake_file.
10103         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10105 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
10106             Danny Smith  <dannysmith@users.sourceforge.net>
10108         PR target/29498
10109         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10110         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
10111         * config/i386/t-crtfm: Compile crtfastmath.o with
10112         -minline-all-stringops.
10114 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
10116         * config.host (sparc-wrs-vxworks): New target.
10118 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
10120         * config.host: Recognize fido.
10122 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
10124         * configure: Check host, not target, for decimal float support.
10126 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
10128         * config/i386/t-crtpc: New file.
10129         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10130         (x86_64-*-linux*): Ditto.
10132 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
10134         * config.host (x86_64-*-mingw*): New target.
10136 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
10137             H.J. Lu  <hongjiu.lu@intel.com>
10139         * Makefile.in (enable_decimal_float): New.
10140         (DECNUMINC): Add
10141         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10142         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10143         (decbits-filenames): This.
10144         (decbits-objects): New.
10145         (libgcc-objects): Add $(decbits-objects).
10147         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10148         Substitute enable_decimal_float.
10149         * configure: Regenerated.
10151 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
10153         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10155 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
10157         * Makefile.in (install-info): New dummy target.
10159 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
10161         * config.host (bfin*-linux-uclibc*): Set extra_parts.
10163 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
10165         * Makefile.in: Add install-html and install-pdf dummy
10166         targets.
10168 2007-02-05  Roger Sayle  <roger@eyesopen.com>
10169             Daniel Jacobowitz  <dan@codesourcery.com>
10171         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10172         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10173         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10175 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
10177         * Makefile.in (dec-filenames): Add decExcept.
10179 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
10181         PR bootstrap/30469
10182         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10183         -fprofile-use.
10185 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
10187         * configure.ac: Add --enable-version-specific-runtime-libs.
10188         Correct $slibdir default.
10189         * configure: Regenerated.
10191 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
10193         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10195 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
10197         PR target/30519
10198         * config.host (alpha*-*-linux*): Set extra_parts.
10200 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
10202         * config/sh/t-linux: New.
10203         * config.host (sh*-*-linux*): Set tmake_file.
10205 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
10207         * Makefile.in (install): Handle multilibs.
10209 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10211         * Makefile.in: Added .PHONY entry for documentation targets.
10213 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10215         * Makefile.in: Add empty info, html, dvi, pdf targets.
10217 2007-01-04  Mike Stump  <mrs@apple.com>
10219         * Makefile.in (MAKEINFO): Remove.
10220         (PERL): Likewise.
10222 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
10224         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10225         * configure: Regenerate.
10226         * Makefile.in (host_subdir): Substitute it.
10227         (gcc_objdir): Use it.
10229 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10231         * config.host (ia64*-*-linux*): Set tmake_file.
10233 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10235         * Makefile.in (version): Define.
10237 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
10238             Paolo Bonzini  <bonzini@gnu.org>
10240         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10241         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10242         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10243         config/sparc/t-crtfm, config/t-slibgcc-darwin,
10244         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10245         shared-object.mk, siditi-object.mk, static-object.mk: New files.
10246         * configure: Generated.
10248 Copyright (C) 2007-2019 Free Software Foundation, Inc.
10250 Copying and distribution of this file, with or without modification,
10251 are permitted in any medium without royalty provided the copyright
10252 notice and this notice are preserved.