Define std::to_array for Debug Mode
[official-gcc.git] / libgcc / ChangeLog
blobf242fba2ec3fcec5ce6294b7be9b483ebf08327a
1 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
3         * config.in, configure: Re-rebuild with stock autoconf 2.69,
4         not the ubuntu modified 2.69.
6         PR target/91833
7         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
8         initialization if !HAVE_SYS_AUXV_H.
9         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
10         * config.in, configure: Rebuild.
12         PR target/91834
13         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
14         overlap the inputs.
16 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
18         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
19         CTR_EL0.IDC and CTR_EL0.DIC.
21 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
23         Revert:
24         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
25                 Mickaël Guêné <mickael.guene@st.com>
27         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
28         architecture.
30 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
32         * config/aarch64/lse-init.c: New file.
33         * config/aarch64/lse.S: New file.
34         * config/aarch64/t-lse: New file.
35         * config.host: Add t-lse to all aarch64 tuples.
37 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
38         Mickaël Guêné <mickael.guene@st.com>
40         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
41         architecture.
43 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
44         Mickaël Guêné <mickael.guene@st.com>
46         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
47         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
48         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
49         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
50         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
51         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
52         (__gnu_personality_sigframe_fdpic): New.
53         (get_eit_entry): Add FDPIC signal frame support.
55 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
56         Mickaël Guêné <mickael.guene@st.com>
58         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
59         (__kernel_dmb): Likewise.
60         (__fdpic_cmpxchg): New function.
61         (__fdpic_dmb): New function.
62         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
63         (gnu_Unwind_Find_got): New function.
64         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
65         * unwind-arm-common.inc (UCB_PR_GOT): New.
66         (funcdesc_t): New struct.
67         (get_eit_entry): Add FDPIC support.
68         (unwind_phase2): Likewise.
69         (unwind_phase2_forced): Likewise.
70         (__gnu_Unwind_RaiseException): Likewise.
71         (__gnu_Unwind_Resume): Likewise.
72         (__gnu_Unwind_Backtrace): Likewise.
73         * unwind-pe.h (read_encoded_value_with_base): Likewise.
75 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
76         Mickaël Guêné <mickael.guene@st.com>
78         * libgcc/crtstuff.c: Add support for FDPIC.
80 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
82         * config.host: Handle *-*-uclinuxfdpiceabi.
84 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
86         * config.host: Set cpu_type for bpf-*-* targets.
87         * config/bpf/t-bpf: Likewise.
88         * config/bpf/crtn.S: Likewise.
89         * config/bpf/crti.S: New file.
91 2019-09-06  Jim Wilson  <jimw@sifive.com>
93         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
94         (riscv*-*-freebsd*): Likewise.
96 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
98         * config.host: Remove references to spu.
99         * config/spu/: Remove directory.
101 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
103         PR target/91306
104         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
105         element type, instead of "sizeof" the element type.
106         (__DTOR_LIST__): Likewise.
107         (__TMC_LIST__): Likewise.
108         (__do_global_dtors_aux_fini_array_entry): Likewise.
109         (__frame_dummy_init_array_entry): Likewise.
110         (__CTOR_END__): Likewise.
111         (__DTOR_END__): Likweise.
112         (__FRAME_END__): Likewise.
113         (__TMC_END__): Likewise.
115 2019-08-20  Lili Cui  <lilicui@intel.com>
117         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
118         INTEL_COREI7_COOPERLAKE.
120 2019-07-31  Matt Thomas  <matt@3am-software.com>
121             Nick Hudson <nick@nthcliff.demon.co.uk>
122             Matthew Green <mrg@eterna.com.au>
123             Maya Rashish <coypu@sdf.org>
125         * config.host (hppa*-*-netbsd*): New case.
126         * config/pa/t-netbsd: New file.
128 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
130         * config/arm/cmse.c (cmse_check_address_range): Add
131         warn_unused_result attribute.
133 2019-07-22  Martin Liska  <mliska@suse.cz>
135         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
136         * config/pa/t-stublib: Likewise.
138 2019-07-22  Stafford Horne  <shorne@gmail.com>
140         PR target/90362
141         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
142         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
143         instructions are not available on every processor.  Change a
144         l.bnf to l.bf to fix logic issue.
146 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
148         * config.host: Remove reference to t-darwin8.
150 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
152         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
153         list.
154         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
155         mmacosx-version-min for crts to run across all system versions.
156         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
157         * config/t-darwin: Revise mmacosx-version-min for crts to run across
158         system versions >= 10.4.
160 2019-07-03  Martin Liska  <mliska@suse.cz>
162         * Makefile.in: Use topn_values instead of one_value names.
163         * libgcov-merge.c (__gcov_merge_single): Move to ...
164         (__gcov_merge_topn): ... this.
165         (merge_single_value_set): Move to ...
166         (merge_topn_values_set): ... this.
167         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
168         ...
169         (__gcov_topn_values_profiler_body): ... this.
170         (__gcov_one_value_profiler_v2): Move to ...
171         (__gcov_topn_values_profiler): ... this.
172         (__gcov_one_value_profiler_v2_atomic): Move to ...
173         (__gcov_topn_values_profiler_atomic): ... this.
174         (__gcov_indirect_call_profiler_v4): Remove.
175         * libgcov-util.c (__gcov_single_counter_op): Move to ...
176         (__gcov_topn_counter_op): ... this.
177         * libgcov.h (L_gcov_merge_single): Remove.
178         (L_gcov_merge_topn): New.
179         (__gcov_merge_single): Remove.
180         (__gcov_merge_topn): New.
181         (__gcov_one_value_profiler_v2): Move to ..
182         (__gcov_topn_values_profiler): ... this.
183         (__gcov_one_value_profiler_v2_atomic): Move to ...
184         (__gcov_topn_values_profiler_atomic): ... this.
186 2019-07-03  Martin Liska  <mliska@suse.cz>
188         * libgcov-merge.c (merge_single_value_set): Support N values.
189         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
191 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
193         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
194         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
195         * configure.ac: Add --disable-tm-clone-registry option.
196         * configure: Regenerate.
198 2019-06-27  Martin Liska  <mliska@suse.cz>
200         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
201         dead assignments.
202         * libgcov-util.c: Likewise.
204 2019-06-27  Martin Liska  <mliska@suse.cz>
206         * libgcov-util.c (gcov_profile_merge): Release allocated
207         memory.
208         (calculate_overlap): Likewise.
210 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
212         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
213         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
214         Build objects for the out of line save/restore register functions
215         so that they can be used for any supported Darwin version.
216         * config/t-darwin: Default the build Darwin version to Darwin8
217         (MacOS 10.4).
219 2019-06-25  Martin Liska  <mliska@suse.cz>
221         * libgcov-driver-system.c (replace_filename_variables): Do not
222         call strlen with NULL argument.
224 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
226         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
227         * config/gcn/unwind-gcn.c: New file.
229 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
230             Andrew Stubbs  <ams@codesourcery.com>
232         * configure: Regenerate.
233         * config/gcn/gthr-gcn.h: New.
235 2019-06-18  Tom de Vries  <tdevries@suse.de>
237         * config/nvptx/crt0.c (__main): Declare.
239 2019-06-17  Matthew Green  <mrg@eterna.com.au>
240             Maya Rashish  <coypu@sdf.org>
242         * config.host (aarch64*-*-netbsd*): New case.
244 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
246         * config/msp430/slli.S (__mspabi_sllll): New library function for
247         performing a logical left shift of a 64-bit value.
248         * config/msp430/srai.S (__mspabi_srall): New library function for
249         performing a arithmetic right shift of a 64-bit value.
250         * config/msp430/srll.S (__mspabi_srlll): New library function for
251         performing a logical right shift of a 64-bit value.
253 2019-06-14  Matt Thomas  <matt@3am-software.com>
254             Matthew Green  <mrg@eterna.com.au>
255             Nick Hudson  <skrll@netbsd.org>
256             Maya Rashish  <coypu@sdf.org>
258         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
259         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
260         functions to build.
261         * config/arm/t-netbsd-eabi: New file.
263 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
265         * config.host: Add PRU target.
266         * config/pru/asri.c: New file.
267         * config/pru/eqd.c: New file.
268         * config/pru/eqf.c: New file.
269         * config/pru/ged.c: New file.
270         * config/pru/gef.c: New file.
271         * config/pru/gtd.c: New file.
272         * config/pru/gtf.c: New file.
273         * config/pru/led.c: New file.
274         * config/pru/lef.c: New file.
275         * config/pru/lib2bitcountHI.c: New file.
276         * config/pru/lib2divHI.c: New file.
277         * config/pru/lib2divQI.c: New file.
278         * config/pru/lib2divSI.c: New file.
279         * config/pru/libgcc-eabi.ver: New file.
280         * config/pru/ltd.c: New file.
281         * config/pru/ltf.c: New file.
282         * config/pru/mpyll.S: New file.
283         * config/pru/pru-abi.h: New file.
284         * config/pru/pru-asm.h: New file.
285         * config/pru/pru-divmod.h: New file.
286         * config/pru/sfp-machine.h: New file.
287         * config/pru/t-pru: New file.
289 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
291         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
293 2019-06-10  Martin Liska  <mliska@suse.cz>
295         PR bootstrap/90808
296         * libgcov.h: Add ATTRIBUTE_UNUSED.
298 2019-06-10  Martin Liska  <mliska@suse.cz>
300         * Makefile.in: Add __gcov_one_value_profiler_v2,
301         __gcov_one_value_profiler_v2_atomic and
302         __gcov_indirect_call_profiler_v4.
303         * libgcov-merge.c (__gcov_merge_single): Change
304         function signature.
305         (merge_single_value_set): New.
306         * libgcov-profiler.c (__gcov_one_value_profiler_body):
307         Update functionality.
308         (__gcov_one_value_profiler): Remove.
309         (__gcov_one_value_profiler_v2): ... this.
310         (__gcov_one_value_profiler_atomic): Rename to ...
311         (__gcov_one_value_profiler_v2_atomic): this.
312         (__gcov_indirect_call_profiler_v3): Rename to ...
313         (__gcov_indirect_call_profiler_v4): ... this.
314         * libgcov.h (__gcov_one_value_profiler): Remove.
315         (__gcov_one_value_profiler_atomic): Remove.
316         (__gcov_one_value_profiler_v2_atomic): New.
317         (__gcov_indirect_call_profiler_v3): Remove.
318         (__gcov_one_value_profiler_v2): New.
319         (__gcov_indirect_call_profiler_v4): New.
320         (gcov_get_counter_ignore_scaling): New function.
322 2019-06-07  Martin Liska  <mliska@suse.cz>
324         * Makefile.in: Remove usage of
325         _gcov_merge_icall_topn.
326         * libgcov-driver.c (gcov_sort_n_vals): Remove.
327         (gcov_sort_icall_topn_counter): Likewise.
328         (gcov_sort_topn_counter_arrays): Likewise.
329         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
330         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
331         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
332         Likewise.
333         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
334         (struct indirect_call_tuple): Remove.
335         (__gcov_indirect_call_topn_profiler): Remove.
336         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
337         * libgcov.h (gcov_sort_n_vals): Remove.
338         (L_gcov_merge_icall_topn): Likewise.
339         (__gcov_merge_icall_topn): Likewise.
340         (__gcov_indirect_call_topn_profiler): Likewise.
342 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
344         * config/rs6000/t-darwin: Ensure that the unwinder is built with
345         altivec enabled.
347 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
349         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
350         section.
351         (__mspabi_slli): Likewise.
352         (__mspabi_slll_n): Likewise.
353         (__mspabi_slll): Likewise.
354         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
355         (__mspabi_srai): Likewise.
356         (__mspabi_sral_n): Likewise.
357         (__mspabi_sral): Likewise.
358         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
359         (__mspabi_srli): Likewise.
360         (__mspabi_srll_n): Likewise.
361         (__mspabi_srll): Likewise.
363 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
365         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
366         Add appropriate tm_file clause as well.
367         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
369 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
371         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
372         rather than .data/.bss so it can be accessed via gp-relative
373         addressing.
375 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
377         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
378         (CR2_REGNO): Rename to R_CR2.
379         (XER_REGNO): Rename to R_XER.
380         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
381         (VRSAVE_REGNO): Rename to R_VRSAVE.
382         (VSCR_REGNO): R_VSCR.
384 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
386         * config.host (rx-*-linux*): Add new case.
387         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
389 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
391         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
392         function.
393         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
394         aarch64_post_frob_eh_handler_addr): Add check for b-key.
395         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
396         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
397         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
398         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
399         string.
400         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
401         string.
402         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
404 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
406         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
407         Remove Solaris 9 and 10 support.
408         (sparc_is_sighandler): Likewise.
410 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
412         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
414 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
416         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
417         4_FP_W_TYPEs are used for IEEE quad precision.
418         * soft-fp/extendhftf2.c: Likewise.
419         * soft-fp/extendsftf2.c: Likewise.
420         * soft-fp/extendxftf2.c: Likewise.
421         * soft-fp/trunctfdf2.c: Likewise.
422         * soft-fp/trunctfhf2.c: Likewise.
423         * soft-fp/trunctfsf2.c: Likewise.
424         * soft-fp/trunctfxf2.c: Likewise.
425         * config/rs6000/ibm-ldouble.c: Likewise.
427 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
429         * config.host: Simplify various *-*-solaris2.1[0-9]* to
430         *-*-solaris2*.
431         * configure.ac: Likewise.
432         * configure: Regenerate.
434         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
435         Solaris 10 and Solaris 11 < snv_125 handling.
437 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
439         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
441 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
443         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
444         * config/i386/cpuinfo.h (enum processor_features): Add
445         FEATURE_AVX512BF16.
447 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
448             Bernd Edlinger  <bernd.edlinger@hotmail.de>
449             Jakub Jelinek  <jakub@redhat.com>
451         PR target/89093
452         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
453         * config/arm/unwind-arm.c: Likewise.
454         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
455         attribute for ARM.
457 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
459         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
460         (RT_SIGRETURN): Update.
461         (nds32_fallback_frame_state): Update.
463 2019-02-21  Martin Sebor  <msebor@redhat.com>
465         * libgcc2.h (__clear_cache): Correct signature.
466         * libgcc2.c (__clear_cache): Same.
468 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
470         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
471         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
473 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
475         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
476         regno instead of index to DWARF_ZERO_REG.
478 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
480         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
481         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
483 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
485         * config/alpha/t-linux: Add -mfp-rounding-mode=d
486         to HOST_LIBGCC2_CFLAGS.
488 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
490         PR libgcc/88931
491         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
493 2019-01-18  Martin Liska  <mliska@suse.cz>
495         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
496         to ...
497         (__gcov_indirect_call_profiler_v3): ... this.
498         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
499         (__gcov_indirect_call_profiler_v3): Likewise.
500         * Makefile.in: Bump function name.
502 2019-01-18  Martin Liska  <mliska@suse.cz>
504         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
505         (gcov_version): Use in gcov_error.
506         (merge_one_data): Likewise.
507         (dump_one_gcov): Likewise.
509 2019-01-18  Martin Liska  <mliska@suse.cz>
511         * libgcov-driver.c (gcov_version_string): New function.
512         (gcov_version): Convert version integer into string.
514 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
515             Kwok Cheung Yeung  <kcy@codesourcery.com>
516             Julian Brown  <julian@codesourcery.com>
517             Tom de Vries  <tom@codesourcery.com>
519         * config.host: Recognize amdgcn*-*-amdhsa.
520         * config/gcn/crt0.c: New file.
521         * config/gcn/lib2-divmod-hi.c: New file.
522         * config/gcn/lib2-divmod.c: New file.
523         * config/gcn/lib2-gcn.h: New file.
524         * config/gcn/sfp-machine.h: New file.
525         * config/gcn/t-amdgcn: New file.
527 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
529         PR other/16615
531         * config/c6x/libunwind.S: Mechanically replace "can not" with
532         "cannot".
533         * config/tilepro/atomic.h: Likewise.
534         * config/vxlib-tls.c: Likewise.
535         * generic-morestack-thread.c: Likewise.
536         * generic-morestack.c: Likewise.
537         * mkmap-symver.awk: Likewise.
539 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
541         Update copyright years.
543 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
545         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
546         to ignore -Waddress-of-packed-member.
548 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
550         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
551         parameter and corresponding code.
552         (ARM_FUNC_START): Likewise in both definitions.
553         Also update footer comment about condition that need to match with
554         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
555         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
556         defined.  Weakly define it in this case.
557         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
558         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
559         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
560         comment to keep condition in sync with the one in
561         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
563 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
565         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
566         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
568 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
570         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
571         and .cfi_endproc directives for VxWorks targets.
573 2018-12-05  Paul Koning  <ni1d@arrl.net>
575         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
577 2018-11-27  Alan Modra  <amodra@gmail.com>
579         * config/rs6000/morestack.S (__stack_split_initialize),
580         (__morestack_get_guard, __morestack_set_guard),
581         (__morestack_make_guard): Provide CFI covering these functions.
582         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
584 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
586         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
587         (sc_pt_regs_lr): Update for kernel.
588         (sc_pt_regs_tls): Update for kernel.
590 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
592         * config/csky/linux-unwind.h: Fix coding style.
594 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
596         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
597         (csky_fallback_frame_state): Modify the check of the
598         instructions to adapt to changes in the kernel
600 2018-11-09  Stafford Horne  <shorne@gmail.com>
601             Richard Henderson  <rth@twiddle.net>
603         * config.host: Add OpenRISC support.
604         * config/or1k/*: New.
606 2018-11-08  Kito Cheng  <kito@andestech.com>
608         * soft-fp/adddf3.c: Update from glibc.
609         * soft-fp/addsf3.c: Likewise.
610         * soft-fp/addtf3.c: Likewise.
611         * soft-fp/divdf3.c: Likewise.
612         * soft-fp/divsf3.c: Likewise.
613         * soft-fp/divtf3.c: Likewise.
614         * soft-fp/double.h: Likewise.
615         * soft-fp/eqdf2.c: Likewise.
616         * soft-fp/eqsf2.c: Likewise.
617         * soft-fp/eqtf2.c: Likewise.
618         * soft-fp/extenddftf2.c: Likewise.
619         * soft-fp/extended.h: Likewise.
620         * soft-fp/extendhftf2.c: Likewise.
621         * soft-fp/extendsfdf2.c: Likewise.
622         * soft-fp/extendsftf2.c: Likewise.
623         * soft-fp/extendxftf2.c: Likewise.
624         * soft-fp/fixdfdi.c: Likewise.
625         * soft-fp/fixdfsi.c: Likewise.
626         * soft-fp/fixdfti.c: Likewise.
627         * soft-fp/fixhfti.c: Likewise.
628         * soft-fp/fixsfdi.c: Likewise.
629         * soft-fp/fixsfsi.c: Likewise.
630         * soft-fp/fixsfti.c: Likewise.
631         * soft-fp/fixtfdi.c: Likewise.
632         * soft-fp/fixtfsi.c: Likewise.
633         * soft-fp/fixtfti.c: Likewise.
634         * soft-fp/fixunsdfdi.c: Likewise.
635         * soft-fp/fixunsdfsi.c: Likewise.
636         * soft-fp/fixunsdfti.c: Likewise.
637         * soft-fp/fixunshfti.c: Likewise.
638         * soft-fp/fixunssfdi.c: Likewise.
639         * soft-fp/fixunssfsi.c: Likewise.
640         * soft-fp/fixunssfti.c: Likewise.
641         * soft-fp/fixunstfdi.c: Likewise.
642         * soft-fp/fixunstfsi.c: Likewise.
643         * soft-fp/fixunstfti.c: Likewise.
644         * soft-fp/floatdidf.c: Likewise.
645         * soft-fp/floatdisf.c: Likewise.
646         * soft-fp/floatditf.c: Likewise.
647         * soft-fp/floatsidf.c: Likewise.
648         * soft-fp/floatsisf.c: Likewise.
649         * soft-fp/floatsitf.c: Likewise.
650         * soft-fp/floattidf.c: Likewise.
651         * soft-fp/floattihf.c: Likewise.
652         * soft-fp/floattisf.c: Likewise.
653         * soft-fp/floattitf.c: Likewise.
654         * soft-fp/floatundidf.c: Likewise.
655         * soft-fp/floatundisf.c: Likewise.
656         * soft-fp/floatunditf.c: Likewise.
657         * soft-fp/floatunsidf.c: Likewise.
658         * soft-fp/floatunsisf.c: Likewise.
659         * soft-fp/floatunsitf.c: Likewise.
660         * soft-fp/floatuntidf.c: Likewise.
661         * soft-fp/floatuntihf.c: Likewise.
662         * soft-fp/floatuntisf.c: Likewise.
663         * soft-fp/floatuntitf.c: Likewise.
664         * soft-fp/gedf2.c: Likewise.
665         * soft-fp/gesf2.c: Likewise.
666         * soft-fp/getf2.c: Likewise.
667         * soft-fp/half.h: Likewise.
668         * soft-fp/ledf2.c: Likewise.
669         * soft-fp/lesf2.c: Likewise.
670         * soft-fp/letf2.c: Likewise.
671         * soft-fp/muldf3.c: Likewise.
672         * soft-fp/mulsf3.c: Likewise.
673         * soft-fp/multf3.c: Likewise.
674         * soft-fp/negdf2.c: Likewise.
675         * soft-fp/negsf2.c: Likewise.
676         * soft-fp/negtf2.c: Likewise.
677         * soft-fp/op-1.h: Likewise.
678         * soft-fp/op-2.h: Likewise.
679         * soft-fp/op-4.h: Likewise.
680         * soft-fp/op-8.h: Likewise.
681         * soft-fp/op-common.h: Likewise.
682         * soft-fp/quad.h: Likewise.
683         * soft-fp/single.h: Likewise.
684         * soft-fp/soft-fp.h: Likewise.
685         * soft-fp/subdf3.c: Likewise.
686         * soft-fp/subsf3.c: Likewise.
687         * soft-fp/subtf3.c: Likewise.
688         * soft-fp/truncdfsf2.c: Likewise.
689         * soft-fp/trunctfdf2.c: Likewise.
690         * soft-fp/trunctfhf2.c: Likewise.
691         * soft-fp/trunctfsf2.c: Likewise.
692         * soft-fp/trunctfxf2.c: Likewise.
693         * soft-fp/unorddf2.c: Likewise.
694         * soft-fp/unordsf2.c: Likewise.
695         * soft-fp/unordtf2.c: Likewise.
697 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
699         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
700         * config/i386/cpuinfo.h (processor_types): Add znver2.
702 2018-11-01  Paul Koning  <ni1d@arrl.net>
704         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
705         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
707 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
709         PR bootstrap/82856
710         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
711         * configure: Regenerate.
713 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
715         * config/arc/lib1funcs.S (_muldi3): New function.
716         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
718 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
720         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
722 2018-10-25  Martin Liska  <mliska@suse.cz>
724         PR other/87735
725         * libgcov-profiler.c: Revert.
727 2018-10-24  Martin Liska  <mliska@suse.cz>
729         * libgcov-profiler.c: Start from 1 in order to distinguish
730         functions which were seen and these that were not.
732 2018-10-18  Paul Koning  <ni1d@arrl.net>
734         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
735         standard.
736         * divmod.c: Update references to __udivmodsi4.
737         * udivmod.c: Ditto.
738         * udivhi3.c: New file.
739         * udivmodhi4.c: New file.
740         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
742 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
744         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
746 2018-10-12  Olivier Hainque  <hainque@adacore.com>
748         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
749         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
751 2018-10-08  Paul Koning  <ni1d@arrl.net>
753         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
755 2018-10-04  Martin Liska  <mliska@suse.cz>
757         PR gcov-profile/84107
758         * libgcov-profiler.c (__gcov_indirect_call):
759         Change type to indirect_call_tuple.
760         (struct indirect_call_tuple): New struct.
761         (__gcov_indirect_call_topn_profiler): Change type.
762         (__gcov_indirect_call_profiler_v2): Use the new
763         variables.
764         * libgcov.h (struct indirect_call_tuple): New struct
765         definition.
767 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
769         * libgcc2.c (isnan): Use __builtin_isnan.
770         (isfinite): Use __builtin_isfinite.
771         (isinf): Use __builtin_isinf.
773 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
775         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
777 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
779         * config/vxcache.c: New file.  Provide __clear_cache, based on
780         the cacheTextUpdate VxWorks service.
781         * config/t-vxworks (LIB2ADD): Add vxcache.c.
782         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
783         * config/t-vxwoks7: Likewise.
785 2018-09-21  Martin Liska  <mliska@suse.cz>
787         * libgcov-driver.c (crc32_unsigned): Remove.
788         (gcov_histogram_insert): Likewise.
789         (gcov_compute_histogram): Likewise.
790         (compute_summary): Simplify rapidly.
791         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
792         (merge_summary): Rapidly simplify.
793         (dump_one_gcov): Ignore gcov_summary.
794         (gcov_do_dump): Do not handle program summary, it's not
795         used.
796         * libgcov-util.c (tag_summary): Remove.
797         (read_gcda_finalize): Fix coding style.
798         (read_gcda_file): Initialize curr_object_summary.
799         (compute_summary): Remove.
800         (calculate_overlap): Remove settings of run_max.
802 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
804         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
805         ucontext_t type instead.
806         (nds32_fallback_frame_state): Remove struct _sigframe statement.
808 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
810         * config/nds32/t-nds32-glibc: New file.
812 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
814         * configure.ac (solaris_ld_v2_maps): New test.
815         * configure: Regenerate.
816         * Makefile.in (solaris_ld_v2_maps): New variable.
817         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
818         if supported.
820 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
822         PR target/86951
823         * config/arm/lib1funcs.asm (speculation_barrier): New function.
824         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
825         to build.
827 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
829         * config/unwind-dw2-fde-darwin.c
830         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
831         * config/darwin10-unwind-find-enc-func.c: … to here.
832         * config/t-darwin: Build Darwin10 unwinder shim crt.
833         * libgcc/config.host: Add the Darwin10 unwinder shim.
835 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
837         * config.host: Add crtbegin.o and crtend.o for
838         powerpc-wrs-vxworks target.
840 2018-08-17  Jojo  <jijie_rong@c-sky.com>
841             Huibin Wang  <huibin_wang@c-sky.com>
842             Sandra Loosemore  <sandra@codesourcery.com>
843             Chung-Lin Tang  <cltang@codesourcery.com>
845         C-SKY port: libgcc
847         * config.host: Add C-SKY support.
848         * config/csky/*: New.
850 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
852         * config/nds32/t-nds32-isr: Rearrange object dependency.
853         * config/nds32/initfini.c: Add dwarf2 unwinding support.
854         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
855         and registers usage.
856         * config/nds32/isr-library/excp_isr.S: Ditto.
857         * config/nds32/isr-library/intr_isr.S: Ditto.
858         * config/nds32/isr-library/reset.S: Ditto.
859         * config/nds32/isr-library/restore_all.inc: Ditto.
860         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
861         * config/nds32/isr-library/restore_partial.inc: Ditto.
862         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
863         * config/nds32/isr-library/save_all.inc: Ditto.
864         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
865         * config/nds32/isr-library/save_partial.inc: Ditto.
866         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
867         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
869 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
871         * config/pa/linux-atomic.c: Update comment.
872         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
873         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
874         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
875         __ATOMIC_RELAXED for atomic loads.
876         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
877         unordered store to release lock.
878         (__sync_lock_release_8): Likewise.
879         (SYNC_LOCK_RELEASE_2): Remove define.
881 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
883         PR libgcc/86512
884         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
885         exponent goes negative. Update my email address.
886         * config/arm/ieee754-sf.S: Likewise.
888 2018-08-01  Martin Liska  <mliska@suse.cz>
890         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
891         check that  __gcov_indirect_call_callee is non-null.
893 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
895         * config/arm/ieee754-df.S: Fix comment for code working on
896         architectures >= 4.
897         * config/arm/ieee754-sf.S: Likewise.
899 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
901         PR libgcc/85334
902         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
903         Removed.
905 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
907         * configure: Regenerated.
909 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
911         * Makefile.in (install_leaf): Use enable_gcov instead of
912         enable_libgcov.
914 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
916         * configure.ac: Add --disable-gcov option.
917         * configure: Regenerate.
918         * Makefile.in: Honour @enable_gcov@.
920 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
922         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
923         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
924         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
925         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
926         __ARM_ARCH__.
927         * config/arm/ieee754-sf.S: Likewise.
928         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
930 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
932         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
933         longer supported.
934         * config/arm/ieee754-sf.S: Likewise.
936 2018-06-20  Than McIntosh  <thanm@google.com>
938         PR libgcc/86213
939         * generic-morestack.c (allocate_segment): Move calls to getenv and
940         getpagesize to __morestack_load_mmap.
941         (__morestack_load_mmap) Initialize static_pagesize and
942         use_guard_page here so as to avoid clobbering SSE regs during a
943         __morestack call.
945 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
947         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
948         support modules with -mno-gnu-attribute.
949         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
951 2018-06-07  Olivier Hainque  <hainque@adacore.com>
953         * config/t-vxworks (LIBGCC_INCLUDES): Add
954         -I$(MULTIBUILDTOP)../../gcc/include.
955         * config/t-vxworks7: Likewise. Reformat a bit to match
956         the t-vxworks layout.
958 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
960         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
962 2018-06-07  Martin Liska  <mliska@suse.cz>
964         * libgcov-driver.c: Rename cs_all to all and assign it from
965         all_prg.
967 2018-06-07  Martin Liska  <mliska@suse.cz>
969         PR bootstrap/86057
970         * libgcov-driver-system.c (replace_filename_variables): Use
971         memcpy instead of mempcpy.
972         (allocate_filename_struct): Do not allocate filename, allocate
973         prefix and set it.
974         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
975         here and properly copy content into it.
976         * libgcov-driver.c (struct gcov_filename): Remove max_length
977         field, change prefix from size_t into char *.
978         (compute_summary): Do not calculate longest filename.
979         (gcov_do_dump): Release memory of gf.filename after each file.
980         * libgcov-util.c (compute_summary): Use new signature of
981         compute_summary.
982         (calculate_overlap): Likewise.
984 2018-06-05  Martin Liska  <mliska@suse.cz>
986         PR gcov-profile/47618
987         * libgcov-driver-system.c (replace_filename_variables): New
988         function.
989         (gcov_exit_open_gcda_file): Use it.
991 2018-06-05  Martin Liska  <mliska@suse.cz>
993         * libgcov-driver.c (gcov_compute_histogram): Remove usage
994         of gcov_ctr_summary.
995         (compute_summary): Do it just for a single summary.
996         (merge_one_data): Likewise.
997         (merge_summary): Simplify as we read just single summary.
998         (dump_one_gcov): Pass proper argument.
999         * libgcov-util.c (compute_one_gcov): Simplify as we have just
1000         single summary.
1001         (gcov_info_count_all_cold): Likewise.
1002         (calculate_overlap): Likewise.
1004 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
1005             Monk Chiang  <sh.chiang04@gmail.com>
1007         * config.host (nds32*-linux*): New.
1008         * config/nds32/linux-atomic.c: New file.
1009         * config/nds32/linux-unwind.h: New file.
1011 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
1013         PR target/85591
1014         * config/i386/cpuinfo.c (get_amd_cpu): Return
1015         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1017 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
1019         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1021 2018-05-29  Martin Liska  <mliska@suse.cz>
1023         PR gcov-profile/85759
1024         * libgcov-driver-system.c (gcov_error): Introduce usage of
1025         GCOV_EXIT_AT_ERROR env. variable.
1026         * libgcov-driver.c (merge_one_data): Print error that we
1027         overwrite a gcov file with a different timestamp.
1029 2018-05-23  Kalamatee  <kalamatee@gmail.com>
1031         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1032         path to Lf$finfty.
1034 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
1035             Monk Chiang  <sh.chiang04@gmail.com>
1036             Jim Wilson <jimw@sifive.com>
1038         * config/riscv/save-restore.S: Add support for rv32e.
1040 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1042         * config/arm/libunwind.S: Update comment relating to armv5.
1044 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
1046         * config/arm/cmse.c (cmse_check_address_range): Replace
1047         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1049 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
1051         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1052         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1054 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
1056         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1057         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1059 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
1061         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1063 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
1064             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1066         PR libgcc/84292
1067         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1068         op_and_fetch to return the right result.
1070 2018-04-27  Alan Modra  <amodra@gmail.com>
1072         PR libgcc/85532
1073         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1074         -fno-asynchronous-unwind-tables.
1076 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
1078         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1079         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1081 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1083         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1084         when including "config/i386/shadow-stack-unwind.h".
1086 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
1088         * configure: Regenerated.
1090 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
1092         PR target/85456
1093         * config/rs6000/_powikf2.c: New file.  Add support for the
1094         __builtin_powil function when long double is IEEE 128-bit floating
1095         point.
1096         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1097         __powikf2 support.
1098         (__powikf2): Likewise.
1099         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1100         (__powikf2_hw): Likewise.
1101         (__powikf2): Likewise.
1102         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1103         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1104         (_powikf2-hw.c): Likewise.
1106 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1108         PR libgcc/85334
1109         * unwind-generic.h (_Unwind_Frames_Increment): New.
1110         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1111         Likewise.
1112         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1113         count with _Unwind_Frames_Increment.
1114         (_Unwind_ForcedUnwind_Phase2): Likewise.
1116 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1118         PR libgcc/85379
1119         * config/i386/morestack.S (__stack_split_initialize): Add
1120         _CET_ENDBR.
1122 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
1124         * configure: Regenerated.
1126 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
1128         PR jit/85384
1129         * configure: Regenerate.
1131 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
1133         PR target/84945
1134         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1135         -Wdangling-else warnings.  Mask shift counts to avoid
1136         -Wshift-count-negative and -Wshift-count-overflow false positives.
1138 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
1140         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1142 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1144         PR target/85100
1145         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1146         (XSTATE_FP): Likewise.
1147         (XSTATE_SSE): Likewise.
1148         (XSTATE_YMM): Likewise.
1149         (XSTATE_OPMASK): Likewise.
1150         (XSTATE_ZMM): Likewise.
1151         (XSTATE_HI_ZMM): Likewise.
1152         (XCR_AVX_ENABLED_MASK): Likewise.
1153         (XCR_AVX512F_ENABLED_MASK): Likewise.
1154         (get_available_features): Enable AVX and AVX512 features only
1155         if their states are supported by OSXSAVE.
1157 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1159         PR target/85025
1160         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1161         Fix a typo, tmp => 255.
1163 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
1165         PR target/84945
1166         * config/i386/cpuinfo.h (__cpu_features2): Declare.
1167         * config/i386/cpuinfo.c (__cpu_features2): New variable for
1168         ifndef SHARED only.
1169         (set_feature): Define.
1170         (get_available_features): Use set_feature macro.  Set __cpu_features2
1171         to the second word of features ifndef SHARED.
1173 2018-03-15  Julia Koval  <julia.koval@intel.com>
1175         * config/i386/cpuinfo.c (get_available_features): Add
1176         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1177         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1178         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1179         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1180         FEATURE_AVX512BITALG.
1182 2018-03-14  Julia Koval  <julia.koval@intel.com>
1184         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1185         icelake client and icelake server.
1187 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
1189         * config/pa/fptr.c (_dl_read_access_allowed): New.
1190         (__canonicalize_funcptr_for_compare): Use it.
1192 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
1194         PR debug/83917
1195         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1196         $asm_hidden_op if visibility ("hidden") attribute works.
1197         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1198         * config/i386/i386-asm.h: Don't include auto-host.h.
1199         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1200         PACKAGE_URL): Don't undefine.
1201         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1202         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1203         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1204         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1205         definition instead of hardcoded .hidden.
1206         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1207         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1208         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1209         (USE_GAS_CFI_DIRECTIVES): Don't define.
1210         * configure: Regenerated.
1211         * config.in: Likewise.
1213 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
1215         PR debug/83917
1216         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1217         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1218         inclusion of auto-target.h and auto-host.h.
1219         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1220         __GCC_HAVE_DWARF2_CFI_ASM.
1221         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1222         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1223         cfi_pop): Define.
1224         * config/i386/cygwin.S: Don't include auto-host.h here, just
1225         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1226         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1227         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1228         * config/i386/resms64fx.h: Add cfi_* directives.
1229         * config/i386/resms64x.h: Likewise.
1231 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
1233         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1234         .literal_position directive.
1235         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1237 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1239         PR target/84148
1240         * configure: Regenerate.
1242 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1244         PR target/84239
1245         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1246         Include cetintrin.h not x86intrin.h.
1248 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1250         PR target/84239
1251         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1252         Use new _get_ssp and _inc_ssp intrinsics.
1254 2018-02-02  Julia Koval  <julia.koval@intel.com>
1256         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1258 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
1260         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1261         option.
1262         (__divsi3): Use RF16 safe registers.
1263         (__modsi3): Likewise.
1265 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
1267         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1268         (__divsf3): Make NaN return value quiet.
1269         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1270         (__divdf3): Make NaN return value quiet.
1272 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1274         * config/rl78/anddi3.S: New assembly file.
1275         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1277 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1279         * config/rl78/umindi3.S: New assembly file.
1280         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1282 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1284         * config/rl78/smindi3.S: New assembly file.
1285         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1287 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1289         * config/rl78/smaxdi3.S: New assembly file.
1290         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1292 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
1294         * config/rl78/umaxdi3.S: New assembly file.
1295         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
1297 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
1299         PR lto/83452
1300         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1301         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
1303 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
1305         * config/aarch64/value-unwind.h (aarch64_vg): New function.
1306         (DWARF_LAZY_REGISTER_VALUE): Define.
1307         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1308         to provide a fallback register value.
1310 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
1312         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1313         __ibm128, instead of trying to use long double.
1314         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1315         accomidate -mabi=ieeelongdouble multilibs.
1316         (CVT_IBM128_TO_FLOAT128): Likewise.
1317         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1318         the appropriate IBM extended double type.
1319         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1320         (__gcc_qsub): Likewise.
1321         (__gcc_qmul): Likewise.
1322         (__gcc_qdiv): Likewise.
1323         (pack_ldouble): Likewise.
1324         (__gcc_qneg): Likewise.
1325         (__gcc_qeq): Likewise.
1326         (__gcc_qne): Likewise.
1327         (__gcc_qge): Likewise.
1328         (__gcc_qle): Likewise.
1329         (__gcc_stoq): Likewise.
1330         (__gcc_dtoq): Likewise.
1331         (__gcc_itoq): Likewise.
1332         (__gcc_utoq): Likewise.
1333         (__gcc_qunord): Likewise.
1334         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1335         quad-float128.h for the definitions.
1336         (COPYSIGN): Use the f128 version instead of the q version.
1337         (INFINITY): Likewise.
1338         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1339         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1340         quad-float128.h for the definitions.
1341         (COPYSIGN): Use the f128 version instead of the q version.
1342         (INFINITY): Likewise.
1343         (FABS): Likewise.
1344         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1345         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1346         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1348 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1350         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1351         configuration.
1353 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
1355         Update copyright years.
1357 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
1359         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1360         * config/riscv/multi3.c: New file.
1361         * config/riscv/multi3.S: Remove.
1363 2017-12-08  Jim Wilson  <jimw@sifive.com>
1365         * config/riscv/div.S: Use FUNC_* macros.
1366         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1367         * config/riscv/save-restore.S: Likewise.
1368         * config/riscv/riscv-asm.h: New.
1370 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
1372         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1373         * config/rs6000/_divkc3.c (__divkc3): Likewise.
1375         PR libgcc/83112
1376         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1377         correct type for all ifunc resolvers to silence -Wattribute-alias
1378         warnings.  Eliminate the forward declaration of the resolver
1379         functions which is no longer needed.
1380         (__subkf3_resolve): Likewise.
1381         (__mulkf3_resolve): Likewise.
1382         (__divkf3_resolve): Likewise.
1383         (__negkf2_resolve): Likewise.
1384         (__eqkf2_resolve): Likewise.
1385         (__nekf2_resolve): Likewise.
1386         (__gekf2_resolve): Likewise.
1387         (__gtkf2_resolve): Likewise.
1388         (__lekf2_resolve): Likewise.
1389         (__ltkf2_resolve): Likewise.
1390         (__unordkf2_resolve): Likewise.
1391         (__extendsfkf2_resolve): Likewise.
1392         (__extenddfkf2_resolve): Likewise.
1393         (__trunckfsf2_resolve): Likewise.
1394         (__trunckfdf2_resolve): Likewise.
1395         (__fixkfsi_resolve): Likewise.
1396         (__fixkfdi_resolve): Likewise.
1397         (__fixunskfsi_resolve): Likewise.
1398         (__fixunskfdi_resolve): Likewise.
1399         (__floatsikf_resolve): Likewise.
1400         (__floatdikf_resolve): Likewise.
1401         (__floatunsikf_resolve): Likewise.
1402         (__floatundikf_resolve): Likewise.
1403         (__extendkftf2_resolve): Likewise.
1404         (__trunctfkf2_resolve): Likewise.
1406         PR libgcc/83103
1407         * config/rs6000/quad-float128.h (TF): Don't define if long double
1408         is IEEE 128-bit floating point.
1409         (TCtype): Define as either TCmode or KCmode, depending on whether
1410         long double is IEEE 128-bit floating point.
1411         (__mulkc3_sw): Add declarations for software/hardware versions of
1412         complex multiply/divide.
1413         (__divkc3_sw): Likewise.
1414         (__mulkc3_hw): Likewise.
1415         (__divkc3_hw): Likewise.
1416         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1417         handlers to switch between using software emulation and hardware
1418         float128 instructions, build the complex multiply/divide functions
1419         for both software and hardware support.
1420         * config/rs6000/_divkc3.c (_divkc3): Likewise.
1421         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1422         (__divkc3_resolve): Likewise.
1423         (__mulkc3): Likewise.
1424         (__divkc3): Likewise.
1425         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1426         (fp128_hw_src): Likewise.
1427         (fp128_hw_static_obj): Likewise.
1428         (fp128_hw_shared_obj): Likewise.
1429         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1430         _mulkc3.c and _divkc3.c, changing the function name.
1431         (_divkc3-hw.c): Likewise.
1432         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1433         and _divkc3-hw.c.
1435 2017-11-26  Julia Koval  <julia.koval@intel.com>
1437         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1438         * config/i386/cpuinfo.h (processor_subtypes): Add
1439         INTEL_COREI7_CANNONLAKE.
1441 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1443         PR bootstrap/83015
1444         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1445         parameter.
1446         * config/xtensa/unwind-dw2-xtensa.c: Likewise
1447         * config/ia64/unwind-ia64.c: Add frames parameter.
1448         * unwind-sjlj.c: Likewise.
1450 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1452         * config/i386/linux-unwind.h: Include
1453         config/i386/shadow-stack-unwind.h.
1454         * config/i386/shadow-stack-unwind.h: New file.
1455         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1456         pass it to _Unwind_Frames_Extra.
1457         * unwind-generic.h (_Unwind_Frames_Extra): New.
1458         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1459         parameter. Add local variable frames to count number of frames.
1460         (_Unwind_ForcedUnwind_Phase2): Likewise.
1461         (_Unwind_RaiseException): Add local variable frames to count
1462         number of frames, pass it to _Unwind_RaiseException_Phase2 and
1463         uw_install_context.
1464         (_Unwind_ForcedUnwind): Likewise.
1465         (_Unwind_Resume): Likewise.
1466         (_Unwind_Resume_or_Rethrow): Likewise.
1468 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1470         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1471         (CET_FLAGS): New.
1472         * config/i386/morestack.S: Include <cet.h>.
1473         (__morestack_large_model): Add _CET_ENDBR at function entrance.
1474         * config/i386/resms64.h: Include <cet.h>.
1475         * config/i386/resms64f.h: Likewise.
1476         * config/i386/resms64fx.h: Likewise.
1477         * config/i386/resms64x.h: Likewise.
1478         * config/i386/savms64.h: Likewise.
1479         * config/i386/savms64f.h: Likewise.
1480         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1481         (CRTSTUFF_T_CFLAGS): Likewise.
1482         * configure.ac: Include ../config/cet.m4.
1483         Set and substitute CET_FLAGS.
1484         * configure: Regenerated.
1486 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1488         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1489         renaming.
1490         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1491         * configure.ac (libgcc_cv_solaris_crts): Likewise.
1492         * configure: Regenerate.
1494 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1496         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1497         after "do {} while (0)".
1499 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1501         PR other/82784
1502         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1503         semicolon after "do {} while (0)".
1504         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1505         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1506         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1507         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1509 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
1511         PR libgcc/82635
1512         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1513         sysctl to determine whether we're in a trampoline.
1514         Keep the pattern matching method for systems without
1515         KERN_PROC_SIGTRAMP sysctl.
1517 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
1518             Vineet Gupta <vgupta@synopsys.com>
1520         * config.host (arc*-*-linux*): Set md_unwind_header variable.
1521         * config/arc/linux-unwind-reg.def: New file.
1522         * config/arc/linux-unwind-reg.h: Likewise.
1524 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
1526         * config/rl78/subdi3.S: New assembly file.
1527         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1529 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
1531         * config/rl78/adddi3.S: New assembly file.
1532         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1534 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
1536         PR target/82274
1537         * libgcc2.c (__mulvDI3): If both operands have
1538         the same highpart of -1 and the topmost bit of lowpart is 0,
1539         multiplication overflows even if both lowparts are 0.
1541 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
1543         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1545 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
1547         * config/microblaze/crti.S, config/microblaze/crtn.S,
1548         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1549         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1550         config/microblaze/mulsi3.S,
1551         config/microblaze/stack_overflow_exit.S,
1552         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1553         config/pa/milli64.S: Add .note.GNU-stack section.
1555 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
1557         * configure.ac: Add Check for HAVE_AS_AVX.
1558         * config.in: Regenerate.
1559         * configure: Likewise.
1560         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1561         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1562         Correct out-of-date comments.
1564 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
1566         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1567         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1569 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
1571         * config/i386/i386-asm.h (PASTE2): New macro.
1572         (ASMNAME): Modify to use PASTE2.
1573         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1574         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1575         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1576         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1577         * config/i386/resms64f.S: Likewise.
1578         * config/i386/resms64fx.S: Likewise.
1579         * config/i386/resms64x.S: Likewise.
1580         * config/i386/savms64.S: Likewise.
1581         * config/i386/savms64f.S: Likewise.
1582         * config/i386/avx_resms64.S: New file that only defines a macro and
1583         includes it's corresponding header file.
1584         * config/i386/avx_resms64f.S: Likewise.
1585         * config/i386/avx_resms64fx.S: Likewise.
1586         * config/i386/avx_resms64x.S: Likewise.
1587         * config/i386/avx_savms64.S: Likewise.
1588         * config/i386/avx_savms64f.S: Likewise.
1589         * config/i386/sse_resms64.S: Likewise.
1590         * config/i386/sse_resms64f.S: Likewise.
1591         * config/i386/sse_resms64fx.S: Likewise.
1592         * config/i386/sse_resms64x.S: Likewise.
1593         * config/i386/sse_savms64.S: Likewise.
1594         * config/i386/sse_savms64f.S: Likewise.
1595         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1597 2017-09-01  Olivier Hainque  <hainque@adacore.com>
1598         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1600 2017-08-31  Olivier Hainque  <hainque@adacore.com>
1602         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1603         match as powerpc-wrs-vxworks*.
1605 2017-08-07  Jonathan Yong  <10walls@gmail.com>
1607         * config.host (*-cygwin): Include file from mingw
1608         config/i386/enable-execute-stack-mingw32.c
1610 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
1611             Doug Rupp  <rupp@adacore.com>
1612             Olivier Hainque  <hainque@adacore.com>
1614         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1615         as well as arm-wrs-vxworks.
1616         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
1617         LIB2ADDEH.
1618         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1619         __exidx_start and __exidx_end for downloadable modules.
1621 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1623         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1624         * config/t-vxworks7: Likewise.
1626 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1628         * config/t-vxworks: Instead of redefining LIB2ADD,
1629         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1631 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1633         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1635 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
1637         PR testsuite/80759
1638         * config.host: include i386/t-msabi for darwin and solaris.
1639         * config/i386/i386-asm.h
1640         (ELFFN): Rename to FN_TYPE.
1641         (FN_SIZE): New macro.
1642         (FN_HIDDEN): Likewise.
1643         (ASMNAME): Likewise.
1644         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1645         .globl.
1646         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1647         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1648         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1649         .macro.
1650         * config/i386/resms64f.S: Likewise.
1651         * config/i386/resms64fx.S: Likewise.
1652         * config/i386/resms64x.S: Likewise.
1653         * config/i386/savms64.S: Likewise.
1654         * config/i386/savms64f.S: Likewise.
1656 2017-07-19  John Marino  <gnugcc@marino.st>
1658         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1660 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
1662         PR target/81193
1663         * configure.ac (PowerPC float128 hardware support): Test whether
1664         we can use __builtin_cpu_supports before enabling the ifunc
1665         handler.
1666         * configure: Regenerate.
1668 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
1670         * config.host: Remove uclibc from arc target spec.
1672 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
1674         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1676 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
1678         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1679         (have_ieee_hw_p): Delete function.
1680         (SW_OR_HW) Use __builtin_cpu_supports().
1682 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1684         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1686 2017-07-03  Olivier Hainque  <hainque@adacore.com>
1688         * config/t-vxworks7: New file, really.
1690 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1692         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1693         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1694         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1695         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1696         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1697         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1698         config/pa/linux-unwind.h (pa32_fallback_frame_state),
1699         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1700         config/sh/linux-unwind.h (sh_fallback_frame_state),
1701         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1702         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1703         ucontext_t instead of struct ucontext.
1705 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
1707         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1708         (x86_64-wrs-vxworks7): Likewise.
1710 2017-06-27  Olivier Hainque  <hainque@adacore.com>
1712         * config/t-vxworks7: New file.
1713         * config.host (*-*-vxworks7): Use it.
1715 2017-06-22  Matt Turner  <mattst88@gmail.com>
1717         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1718         skylake case.
1720 2017-06-21  Richard Biener  <rguenther@suse.de>
1722         PR gcov-profile/81080
1723         * configure.ac: Add AC_SYS_LARGEFILE.
1724         * libgcov.h: Include auto-target.h before tsystem.h to pick
1725         up _FILE_OFFSET_BITS which might differ for multilibs.
1726         * config.in: Regenerate.
1727         * configure: Likewise.
1729 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
1731         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1733 2017-06-09  Martin Liska  <mliska@suse.cz>
1735         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1736         Reset __gcov_indirect_call_callee to NULL.
1738 2017-06-08  Olivier Hainque  <hainque@adacore.com>
1740         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1741         the set of -I options, support for direct inclusions of net/uio.h
1742         by VxWorks header files via ioLib.h.
1744 2017-06-07  Tony Reix  <tony.reix@atos.net>
1745             Matthieu Sarter  <matthieu.sarter.external@atos.net>
1746             David Edelsohn  <dje.gcc@gmail.com>
1748         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1749         unconditionally.
1750         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
1751         AIX 7.2 support.
1753 2017-06-02  Olivier Hainque  <hainque@adacore.com>
1755         * config/vxlib.c (__gthread_once): Add missing value to
1756         return statement.
1758 2017-05-30  Olivier Hainque  <hainque@adacore.com>
1760         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1761         dollar sign before $(MULTIDIR).
1763 2017-05-26  Richard Henderson  <rth@redhat.com>
1765         PR libgcc/80037
1766         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1768 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
1770         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1771         _Unwind_SetIP available as functions for arm*-*-freebsd*.
1772         * config/arm/unwind-arm.c: Implement the above.
1774 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1776         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1777         section for a non-executable stack.
1779 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
1781         PR target/80600
1782         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1784 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
1786         * config.host: Add i386/t-msabi to i386/t-linux file list.
1787         * config/i386/i386-asm.h: New file.
1788         * config/i386/resms64.S: New file.
1789         * config/i386/resms64f.S: New file.
1790         * config/i386/resms64fx.S: New file.
1791         * config/i386/resms64x.S: New file.
1792         * config/i386/savms64.S: New file.
1793         * config/i386/savms64f.S: New file.
1794         * config/i386/t-msabi: New file.
1796 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
1798         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1799         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1801 2017-05-05  Joshua Conner  <joshconner@google.com>
1803         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1804         pc-relative indirect handling for fuchsia.
1805         * config/t-slibgcc-fuchsia: New file.
1806         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1807         x86_64-*-fuchsia*): Add definitions.
1809 2017-04-19  Martin Liska  <mliska@suse.cz>
1811         PR gcov-profile/80435
1812         * Makefile.in: Install gcov.h.
1813         * gcov.h: New file.
1814         * libgcov.h: Use the header and make __gcov_flush publicly
1815         visible.
1817 2017-04-18  Martin Liska  <mliska@suse.cz>
1819         PR gcov-profile/78783
1820         * libgcov-driver.c (gcov_get_filename): New function.
1822 2017-04-07  Jeff Law  <law@redhat.com>
1824         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1825         target makefile fragment.
1826         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1828 2017-04-07  Alan Modra  <amodra@gmail.com>
1830         PR target/45053
1831         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1833 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
1835         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1837 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
1839         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1841 2017-03-10  John Marino  <gnugcc@marino.st>
1843         * config/aarch64/freebsd-unwind.h: New file.
1844         * config.host: Add aarch64-*-freebsd unwinder.
1846 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1848         * config/rs6000/crtrestvr.s: Use .machine altivec.
1849         * config/rs6000/crtsavevr.s: Ditto.
1851 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1853         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1854         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1855         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1856         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1857         * configure: Regenerate.
1858         * config.in: Regenerate.
1860 2017-03-02  Jonathan Yong <10walls@gmail.com>
1862         * config/i386/gthr-win32.h: Define NOGDI before
1863         windows.h include to prevent w32api CC_NONE macro
1864         clash with libgfortran.
1866 2017-03-02  Jonathan Yong <10walls@gmail.com>
1868         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1870 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1872         * config/aarch64/value-unwind.h: New file.
1873         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1874         to tm_file.
1876 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1878         * config.host: Add RISC-V tuples.
1879         * config/riscv/atomic.c: New file.
1880         * config/riscv/crti.S: Likewise.
1881         * config/riscv/crtn.S: Likewise.
1882         * config/riscv/div.S: Likewise.
1883         * config/riscv/linux-unwind.h: Likewise.
1884         * config/riscv/muldi3.S: Likewise.
1885         * config/riscv/multi3.S: Likewise.
1886         * config/riscv/save-restore.S: Likewise.
1887         * config/riscv/sfp-machine.h: Likewise.
1888         * config/riscv/t-elf: Likewise.
1889         * config/riscv/t-elf32: Likewise.
1890         * config/riscv/t-elf64: Likewise.
1891         * config/riscv/t-softfp32: Likewise.
1892         * config/riscv/t-softfp64: Likewise.
1894 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1896         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1897         /* FALLTHRU */ comments.
1899 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1901         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1903 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1905         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1906         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1907         DW_CFA_GNU_window_save for AArch64 and LP64.
1909 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1911         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1913 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1915         * config/aarch64/aarch64-unwind.h: New file.
1916         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1917         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1918         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1919         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1920         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1921         (aarch64_post_extract_frame_addr): New function.
1922         (aarch64_post_frob_eh_handler_addr): New function.
1923         (aarch64_frob_update_context): New function.
1924         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1925         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1926         aarch64*-*-freebsd*):
1927         Initialize md_unwind_header to include aarch64-unwind.h.
1928         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1929         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1930         __aarch64__.
1931         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1932         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1933         (uw_frob_return_addr): New function.
1934         (uw_install_context): Use uw_frob_return_addr.
1936 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1938         PR other/79046
1939         * configure.ac: Add GCC_BASE_VER.
1940         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1941         version from BASE-VER file.
1942         * configure: Regenerated.
1944 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1946         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1947         libmul_f5.a): Filter archived prerequisites.
1949 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1951         * config/i386/cpuinfo.h (processor_features): Add
1952         FEATURE_AVX512VPOPCNTDQ.
1953         * config/i386/cpuinfo.c (get_available_features): Habdle new
1954         feature.
1956 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1958         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1959         payload if [__mips_nan2008].
1961 2017-01-04  Alan Modra  <amodra@gmail.com>
1963         * Makefile.in (configure_deps): Update.
1964         * configure: Regenerate.
1966 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1968         Update copyright years.
1970 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1972         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1973         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1974         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1976 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1978         * config/arc/gmon: Remove empty directory.
1980 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
1982         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1983         crtgend.
1984         (arc*-*-elf*): Likewise.
1985         * config/arc/t-arc: Remove old gmon lib targets.
1986         * config/arc/crtg.S: Remove.
1987         * config/arc/crtgend.S: Likewise.
1988         * config/arc/gmon/atomic.h: Likewise.
1989         * config/arc/gmon/auxreg.h: Likewise.
1990         * config/arc/gmon/dcache_linesz.S: Likewise.
1991         * config/arc/gmon/gmon.c: Likewise.
1992         * config/arc/gmon/machine-gmon.h: Likewise.
1993         * config/arc/gmon/mcount.c: Likewise.
1994         * config/arc/gmon/prof-freq-stub.S: Likewise.
1995         * config/arc/gmon/prof-freq.c: Likewise.
1996         * config/arc/gmon/profil.S: Likewise.
1997         * config/arc/gmon/sys/gmon.h: Likewise.
1998         * config/arc/gmon/sys/gmon_out.h: Likewise.
1999         * config/arc/t-arc-newlib: Likewise.
2000         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2002 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2004         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2006 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
2008         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2009         R16 instead of push + pop.
2010         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2012 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
2014         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2015         tmake_file.
2017 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
2019         * config.host (arc*-*-linux-uclibc*): Use default extra
2020         objects. Include linux-android header.
2021         * config/arc/crti.S (_init): Declare symbol as function.
2022         (_fini): Likewise.
2024 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
2026         PR fortran/78379
2027         * config/i386/cpuinfo.c:  Move denums for processor vendors,
2028         processor type, processor subtypes and declaration of
2029         struct __processor_model into
2030         * config/i386/cpuinfo.h:  New header file.
2032 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2033             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2035         * config/arm/cmse_nonsecure_call.S: New.
2036         * config/arm/t-arm: Compile cmse_nonsecure_call.S
2038 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
2039             Thomas Preud'homme  <thomas.preudhomme@arm.com>
2041         * config/arm/t-arm (HAVE_CMSE): New.
2042         * config/arm/cmse.c: New.
2044 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2046         PR gcc/74748
2047         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2048         use generic linker version information on Blackfin.
2050         PR gcc/74748
2051         * libgcc/mkmap-symver.awk: add support for skip_underscore
2053 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
2054             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2056         PR target/67710
2057         *  config/t-darwin: Default builds to 10.5 codegen.
2059 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
2061         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2062         (_FP_NANSIGN_H): Likewise.
2063         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2064         (softfp_truncations): Add tfhf.
2065         (softfp_extras): Add required conversion functions.
2067 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2068             Matthew Wahab  <matthew.wahab@arm.com>
2070         * config/arm/fp16.c (binary64): New.
2071         (__gnu_d2h_internal): New.
2072         (__gnu_d2h_ieee): New.
2073         (__gnu_d2h_alternative): New.
2075 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2076             Matthew Wahab  <matthew.wahab@arm.com>
2078         * config/arm/fp16.c (struct format): New.
2079         (binary32): New.
2080         (__gnu_float2h_internal): New.  Body moved from
2081         __gnu_f2h_internal and generalize.
2082         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2083         Call it with binary32.
2085 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
2087         * soft-fp/extendhftf2.c: Update from glibc.
2088         * soft-fp/fixhfti.c: Likewise.
2089         * soft-fp/fixunshfti.c: Likewise.
2090         * soft-fp/floattihf.c: Likewise.
2091         * soft-fp/floatuntihf.c: Likewise.
2092         * soft-fp/half.h: Likewise.
2093         * soft-fp/trunctfhf2.c: Likewise.
2095 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
2097         PR libgcc/77813
2098         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2099         __TMC_END__ behind a passthrough asm.
2101 2016-11-18  Walter Lee  <walt@tilera.com>
2103         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2105 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
2107         * config/i386/cpuinfo.c (processor_features): Add
2108         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2110 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
2112         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2113         (__ARC_NORM__): Use instead ARC_OPTFPE.
2114         * config/arc/fp-hack.h: Likewise.
2115         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2116         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2118 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
2120         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2121         * config/nvptx/mgomp.c: New file.
2122         * config/nvptx/t-nvptx: Add mgomp.c
2124 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
2126         PR libgcc/68468
2127         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2129 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
2131         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2132         of checking for cpus.
2133         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2134         (__modsi3, __clzsi2): Likewise.
2136 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2138         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2139         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2140         * config/i386/t-cpuinfo-static: New.
2142 2016-11-03  Martin Liska  <mliska@suse.cz>
2144         * libgcov-profiler.c (__gcov_time_profiler): Remove.
2145         (__gcov_time_profiler_atomic): Likewise.
2147 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2149         PR libgcc/78067
2150         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2151         count_leading_zeros.
2153 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
2155         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2156         * libgcc2.c (__divmoddi4): New function.
2157         * libgcc2.h (__divmoddi4): Declare.
2158         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2159         and __PFX_divmodti4.
2161 2016-10-24  Florian Weimer  <fweimer@redhat.com>
2163         PR libgcc/78064
2164         * unwind-c.c: Include auto-target.h.
2166 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
2168         * config/pa/pa64-hpux-lib.h: New file.
2169         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2170         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2171         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2172         hppa*64*-*-hpux11*.
2174 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
2176         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2177         definition.
2178         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2179         definition.
2180         * config/xtensa/t-windowed (LIB2ADDEH): Use
2181         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2182         or xtensa/t-linux.
2184 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
2186         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2187         __ieee754_sqrt): New functions.
2188         (__divdf3): Add implementation with new FPU instructions under
2189         #if XCHAL_HAVE_DFP_DIV.
2190         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2191         __ieee754_sqrtf): New functions.
2192         (__divsf3): Add implementation with new FPU instructions under
2193         #if XCHAL_HAVE_FP_DIV.
2194         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2195         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2197 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2199         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2200         equivalent.
2201         * config/tilepro/atomic.c: Likewise and stop casting model to
2202         enum memmodel.
2204 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
2206         PR target/77586
2207         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2208         soft-fp.
2210 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
2212         * config.host: Add support for aarch64-*-freebsd*.
2214 2016-10-05  Andreas Schwab  <schwab@suse.de>
2216         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2217         (.section .init_array): Don't call __do_jv_register_classes.
2218         (.section .init): Likewise.
2220 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
2222         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2223         (__JCR_LIST__): Remove.
2224         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2225         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2226         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2227         * config/ia64/crtend.S (__JCR_END__): Remove.
2228         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2229         conditionals.
2230         (__JCR_LIST__, __JCR_END__): Remove.
2231         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2232         (__do_global_ctors_1): Likewise.
2234 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
2236         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2237         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2239 2016-09-27  Martin Liska  <mliska@suse.cz>
2241         PR gcov-profile/7970
2242         PR gcov-profile/16855
2243         PR gcov-profile/44779
2244         * libgcov-driver.c (__gcov_init): Do not register a atexit
2245         handler.
2246         (__gcov_exit): Rename from gcov_exit.
2247         * libgcov.h (__gcov_exit): Declare.
2249 2016-09-27  Martin Liska  <mliska@suse.cz>
2251         PR bootstrap/77749
2252         * Makefile.in: Remove _gcov_merge_delta.
2253         * libgcov-merge.c (void __gcov_merge_delta): Remove.
2254         * libgcov-util.c (__gcov_delta_counter_op): Remove.
2255         * libgcov.h: Remove declaration of __gcov_merge_delta.
2257 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
2259         * configure.ac: Do not create links, only substitute the filenames.
2260         * configure: Regenerate.
2261         * Makefile.in: Assign the substitution results to variables.
2262         (LIBGCC_LINKS): Define.
2263         (enable-execute-stack.c): New rule.
2264         (unwind.h): Likewise.
2265         (md-unwind-support.h): Likewise.
2266         (sfp-machine.h): Likewise.
2267         (gthr-default.h): Likewise.
2268         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2269         unwind.h as prerequisite of install-unwind_h-forbuild.
2271 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
2273         PR libgcc/71744
2274         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2275         is not the primary registry and atomics are available.
2276         (any_objects_registered): New variable.
2277         (__register_frame_info_bases, __register_frame_info_table_bases):
2278         Atomically store 1 to any_objects_registered after registering first
2279         unwind info.
2280         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2282 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
2284         PR target/63250
2285         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2286         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2287         (HFtype): Likewise.
2288         (HCtype): Likewise.
2289         (__divhc3): Likewise.
2290         (__mulhc3): Likewise.
2291         * libgcc2.c: Support _mulhc3 and _divhc3.
2293 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2295         PR libgcc/77519
2296         * libgcc2.c (NOTRUNC): Invert settings.
2298 2016-09-06  Martin Liska  <mliska@suse.cz>
2300         PR gcov-profile/77378
2301         PR gcov-profile/77466
2302         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2303         conditionaly enable/disable *_atomic functions.
2305 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
2307         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2308         where not already enabled.
2310 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2312         * config/mips/linux-unwind.h: Use sys/syscall.h.
2314 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2316         PR libgcc/77265
2317         * soft-fp/adddf3.c: Update from glibc.
2318         * soft-fp/addsf3.c: Likewise.
2319         * soft-fp/addtf3.c: Likewise.
2320         * soft-fp/divdf3.c: Likewise.
2321         * soft-fp/divsf3.c: Likewise.
2322         * soft-fp/divtf3.c: Likewise.
2323         * soft-fp/double.h: Likewise.
2324         * soft-fp/eqdf2.c: Likewise.
2325         * soft-fp/eqsf2.c: Likewise.
2326         * soft-fp/eqtf2.c: Likewise.
2327         * soft-fp/extenddftf2.c: Likewise.
2328         * soft-fp/extended.h: Likewise.
2329         * soft-fp/extendsfdf2.c: Likewise.
2330         * soft-fp/extendsftf2.c: Likewise.
2331         * soft-fp/extendxftf2.c: Likewise.
2332         * soft-fp/fixdfdi.c: Likewise.
2333         * soft-fp/fixdfsi.c: Likewise.
2334         * soft-fp/fixdfti.c: Likewise.
2335         * soft-fp/fixsfdi.c: Likewise.
2336         * soft-fp/fixsfsi.c: Likewise.
2337         * soft-fp/fixsfti.c: Likewise.
2338         * soft-fp/fixtfdi.c: Likewise.
2339         * soft-fp/fixtfsi.c: Likewise.
2340         * soft-fp/fixtfti.c: Likewise.
2341         * soft-fp/fixunsdfdi.c: Likewise.
2342         * soft-fp/fixunsdfsi.c: Likewise.
2343         * soft-fp/fixunsdfti.c: Likewise.
2344         * soft-fp/fixunssfdi.c: Likewise.
2345         * soft-fp/fixunssfsi.c: Likewise.
2346         * soft-fp/fixunssfti.c: Likewise.
2347         * soft-fp/fixunstfdi.c: Likewise.
2348         * soft-fp/fixunstfsi.c: Likewise.
2349         * soft-fp/fixunstfti.c: Likewise.
2350         * soft-fp/floatdidf.c: Likewise.
2351         * soft-fp/floatdisf.c: Likewise.
2352         * soft-fp/floatditf.c: Likewise.
2353         * soft-fp/floatsidf.c: Likewise.
2354         * soft-fp/floatsisf.c: Likewise.
2355         * soft-fp/floatsitf.c: Likewise.
2356         * soft-fp/floattidf.c: Likewise.
2357         * soft-fp/floattisf.c: Likewise.
2358         * soft-fp/floattitf.c: Likewise.
2359         * soft-fp/floatundidf.c: Likewise.
2360         * soft-fp/floatundisf.c: Likewise.
2361         * soft-fp/floatunditf.c: Likewise.
2362         * soft-fp/floatunsidf.c: Likewise.
2363         * soft-fp/floatunsisf.c: Likewise.
2364         * soft-fp/floatunsitf.c: Likewise.
2365         * soft-fp/floatuntidf.c: Likewise.
2366         * soft-fp/floatuntisf.c: Likewise.
2367         * soft-fp/floatuntitf.c: Likewise.
2368         * soft-fp/gedf2.c: Likewise.
2369         * soft-fp/gesf2.c: Likewise.
2370         * soft-fp/getf2.c: Likewise.
2371         * soft-fp/ledf2.c: Likewise.
2372         * soft-fp/lesf2.c: Likewise.
2373         * soft-fp/letf2.c: Likewise.
2374         * soft-fp/muldf3.c: Likewise.
2375         * soft-fp/mulsf3.c: Likewise.
2376         * soft-fp/multf3.c: Likewise.
2377         * soft-fp/negdf2.c: Likewise.
2378         * soft-fp/negsf2.c: Likewise.
2379         * soft-fp/negtf2.c: Likewise.
2380         * soft-fp/op-1.h: Likewise.
2381         * soft-fp/op-2.h: Likewise.
2382         * soft-fp/op-4.h: Likewise.
2383         * soft-fp/op-8.h: Likewise.
2384         * soft-fp/op-common.h: Likewise.
2385         * soft-fp/quad.h: Likewise.
2386         * soft-fp/single.h: Likewise.
2387         * soft-fp/soft-fp.h: Likewise.
2388         * soft-fp/subdf3.c: Likewise.
2389         * soft-fp/subsf3.c: Likewise.
2390         * soft-fp/subtf3.c: Likewise.
2391         * soft-fp/truncdfsf2.c: Likewise.
2392         * soft-fp/trunctfdf2.c: Likewise.
2393         * soft-fp/trunctfsf2.c: Likewise.
2394         * soft-fp/trunctfxf2.c: Likewise.
2395         * soft-fp/unorddf2.c: Likewise.
2396         * soft-fp/unordsf2.c: Likewise.
2397         * soft-fp/unordtf2.c: Likewise.
2399 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
2401         PR gcov-profile/67097
2402         * libgcov-util.c (gcov_profile_merge): Skip missing files.
2404 2016-08-10  Martin Liska  <mliska@suse.cz>
2406         PR gcov-profile/58306
2407         * Makefile.in: New functions (modules) are added.
2408         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2409         function.
2410         (__gcov_pow2_profiler_atomic): New function.
2411         (__gcov_one_value_profiler_body): New argument is instroduced.
2412         (__gcov_one_value_profiler): Call with the new argument.
2413         (__gcov_one_value_profiler_atomic): Likewise.
2414         (__gcov_indirect_call_profiler_v2): Likewise.
2415         (__gcov_time_profiler_atomic): New function.
2416         (__gcov_average_profiler_atomic): Likewise.
2417         (__gcov_ior_profiler_atomic): Likewise.
2418         * libgcov.h: Declare the aforementioned functions.
2420 2016-08-09  Martin Liska  <mliska@suse.cz>
2422         * libgcov-util.c: Fix typo and GNU coding style.
2424 2016-08-09  Martin Liska  <mliska@suse.cz>
2426         * Makefile.in: Remove __gcov_indirect_call_profiler.
2427         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2428         function.
2429         * libgcov.h: And the declaration of the function.
2431 2016-08-09  Martin Liska  <mliska@suse.cz>
2433         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2434         power of two.
2436 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2438         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2439         * config/rs6000/_mulkc3.c: Likewise.
2441 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
2443         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2444         zero_reg as previous call to __umulhisi3 already cleared it.
2446 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
2448         PR target/59833
2449         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2451 2016-07-19  Nick Clifton  <nickc@redhat.com>
2453         * config.host (m32r): Add m32r/t-m32r to tmake_file.
2454         Add crtinit.o and crtfini.o to extra_parts.
2456 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2458         * config/rs6000/_divkc3.c: New.
2459         * config/rs6000/_mulkc3.c: New.
2460         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2461         and _divkc3.
2462         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2463         fp128_ppc_funcs.
2465 2016-07-11  Hale Wang  <hale.wang@arm.com>
2466             Andre Vieira  <andre.simoesdiasvieira@arm.com>
2468         * config/arm/lib1funcs.S: Add new wrapper.
2470 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2472         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2474 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2476         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2477         and ARMv5t* rather than for a fixed list of architectures.
2479 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2481         * config/arm/bpabi-v6m.S: Clarify what architectures is the
2482         implementation suitable for.
2483         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2484         for all Thumb-1 only targets.
2485         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2486         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2487         __ARM_ARCH_6M__.
2488         (EQUIV): Likewise.
2489         (ARM_FUNC_ALIAS): Likewise.
2490         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2491         version.
2492         (modsi3): Likewise.
2493         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2494         (clzdi2): Likewise.
2495         (ctzsi2): Likewise.
2496         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2497         __ARM_ARCH_6M__ in guard for checking whether it is defined.
2498         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2499         __ARM_ARCH_6M__ and add comment to indicate the connection between
2500         this condition and the one in gcc/config/arm/elf.h.
2501         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2502         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2503         * config/arm/t-softfp: Likewise.
2505 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2507         * libgcc2.c (SYMBOL__MAIN): Remove checks for
2508         CTOR_LISTS_DEFINED_EXTERNALLY.
2510 2016-06-28  Walter Lee  <walt@tilera.com>
2512         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2513         asm/unistd.h.
2514         (SPR_CMPEXCH_VALUE): Define for tilegx.
2515         (__NR_FAST_cmpxchg): Define for tilepro.
2516         (__NR_FAST_atomic_update): Define for tilepro.
2517         (__NR_FAST_cmpxchg64): Define for tilepro.
2519 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
2521         * config.host: Add suport for arm*-*-phoenix* targets.
2523 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2525         * config.host: Remove support for mep-*.
2526         * config/mep/lib1funcs.S: Remove.
2527         * config/mep/lib2funcs.c: Remove.
2528         * config/mep/t-mep: Remove.
2529         * config/mep/tramp.c: Remove.
2531 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2533         * config.host: Remove support for avr-rtems.
2534         * config/avr/t-rtems: Remove.
2536 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2538         * config.host: Remove m32r-rtems support.
2540 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2542         * config.host: Remove h8300-rtems support.
2544 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2546         * config.host: Remove support for knetbsd.
2548 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2550         * config.host: Remove support for openbsd 2 and 3.
2552 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2554         * config.host: Remove interix support.
2555         * config/i386/t-interix: Remove.
2557 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
2559         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2560         least-significant bit in function pointer for fixup.
2562 2016-06-05  Aaron Conole  <aconole@redhat.com>
2563             Nathan Sidwell  <nathan@acm.org>
2565         PR libgcc/71400
2566         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2567         (get_gcov_error_file): Check __gcov_error_file before trying to
2568         initialize it.
2569         (gcov_error): Always use get_gcov_error_file.
2571 2016-06-02  Aaron Conole  <aconole@redhat.com>
2573         * libgcov-driver-system.c (__gcov_error_file): New.
2574         (get_gcov_error_file): New.
2575         (gcov_error): Use and set __gcov_error_file.
2576         (gcov_error_exit): New.
2577         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2579 2016-05-26  Nathan Sidwell  <nathan@acm.org>
2581         * config/nvptx/free.asm: Delete.
2582         * config/nvptx/malloc.asm: Delete.
2583         * config/nvptx/realloc.c: Delete.
2584         * t-nvptx: Update.
2586 2016-05-25  Nathan Sidwell  <nathan@acm.org>
2588         * config/nvptx/crt0.s: Delete.
2589         * config/nvptx/crt0.c: New.
2590         * t-nvptx: Update.
2592 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
2594         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2595         dw2/seh configuration.
2596         [x86_64-*-mingw*]: Likewise.
2598 2016-05-10  Joel Sherrill <joel@rtems.org>
2600         PR libgcc/70720
2601         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2602         targets so the same extra_parts are built.  Also have tmake_file add
2603         on to its value rather than override.
2605 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
2607         * config.host: Remove SH5 support.
2608         * configure: Likewise.
2610 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
2612         * config/sh/crt1.S: Remove SH5 support.
2613         * config/sh/crti.S: Likewise.
2614         * config/sh/crtn.S: Likewise.
2615         * config/sh/lib1funcs-4-300.S: Likewise.
2616         * config/sh/lib1funcs-Os-4-200.S: Likewise.
2617         * config/sh/lib1funcs.S: Likewise.
2618         * config/sh/linux-unwind.h: Likewise.
2619         * config/sh/t-sh64: Delete.
2621 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
2623         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2625 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
2626             Joern Rennecke  <joern.rennecke@embecosm.com>
2628         * config/arc/crttls.S: New file.
2629         * config/arc/t-arc: New rule.
2630         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2632 2016-04-25  Nick Clifton  <nickc@redhat.com>
2634         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2635         (__mspabi_cmpd): Likewise.
2636         * config/msp430/floathidf.c (__floathidf): Likewise.
2637         * config/msp430/floathisf.c (__floathisf): Likewise
2638         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2639         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2640         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2641         second parameter.
2642         (__ashrsi3): Likewise.
2644 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
2646         * config/m68k/linux-atomic.c: Do not include unistd.h
2648 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
2650         * config/arm/ieee754-df.S: Fix typos in comments.
2652 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
2654         PR target/70381
2655         * configure.ac (powerpc*-*-linux*): Rework tests to build
2656         __float128 emulation routines to not depend on using #pragma GCC
2657         target to enable -mfloat128.
2658         * configure: Regnerate.
2660 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
2662         PR target/67172
2663         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2664         __MINGW32__ is defined.
2666 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
2668         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2670 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
2672         PR libgcc/70363
2673         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2674         built with an assembler that does not support ISA 3.0
2675         instructions, rename __extendkftf2_sw to __extendkftf2.
2677 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2679         PR target/38239
2680         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2681         call-clobbered registers.
2682         (internal_mcount): Remove __i386__ handling.
2684 2016-02-26  Joel Sherrill <joel@rtems.org>
2686         * config.host: Add x86_64-*-rtems*.
2688 2016-02-26  Joel Sherrill <joel@rtems.org>
2690         * libgcc/config.host: Add aarch64-*-rtems*.
2692 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2693             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2695         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2696         union of u64 and double.
2697         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2698         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2699         value.
2700         (FP_ROUNDMODE): Update the usage of _fpscr.
2702 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
2704         PR driver/68463
2705         * Makefile.in (crtoffloadtable$(objext)): New rule.
2706         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2707         enable_offload_targets is not empty.
2708         * configure: Regenerate.
2709         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2710         crtoffloadtable.
2712 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
2714         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2715         .literal_position before the function.
2716         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2717         Likewise.
2719 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
2721         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2722         * config/s390/morestack.S: New file.
2723         * config/s390/t-stack-s390: New file.
2724         * generic-morestack.c (__splitstack_find): Add s390-specific code.
2726 2016-02-12  Walter Lee  <walt@tilera.com>
2728         * config.host (tilegx*-*-linux*): remove ti from
2729         softfp_int_modes for 32-bit configs.
2731 2016-02-10  Ian Lance Taylor  <iant@google.com>
2733         PR go/68562
2734         * config/i386/morestack.S (__stack_split_initialize): Align
2735         stack.
2737 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
2739         PR bootstrap/69611
2740         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2741         __FLOAT128__ to compile only for __float128 capable targets.
2743 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
2745         PR target/69444
2746         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2747         instead of ___NO_FPRS__.
2749 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
2750             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2751             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2753         * config/rs6000/float128-sed: New files to convert TF names to KF
2754         names for PowerPC IEEE 128-bit floating point support.
2755         * config/rs6000/float128-sed-hw: Likewise.
2757         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2758         floating point hardware support.
2760         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2761         128-bit floating point software emulation or use ISA 3.0 hardware
2762         support if it is available.
2764         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2765         floating point.
2767         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2768         floating point to IBM extended double.
2770         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2771         double to IEEE 128-bit floating point.
2773         * config/rs6000/t-float128: New Makefile fragments to enable
2774         building __float128 emulation support.
2775         * config/rs6000/t-float128-hw: Likewise.
2777         * config/rs6000/sfp-exceptions.c: New file to provide exception
2778         support for IEEE 128-bit floating point.
2780         * config/rs6000/floattikf.c: New files for converting between IEEE
2781         128-bit floating point and signed/unsigned 128-bit integers.
2782         * config/rs6000/fixunskfti.c: Likewise.
2783         * config/rs6000/fixkfti.c: Likewise.
2784         * config/rs6000/floatuntikf.c: Likewise.
2786         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2787         when building on 64-bit systems, or when VSX is enabled.
2788         (_FP_W_TYPE): Likewise.
2789         (_FP_WS_TYPE): Likewise.
2790         (_FP_I_TYPE): Likewise.
2791         (TItype): Define on 64-bit systems.
2792         (UTItype): Likewise.
2793         (TI_BITS): Likewise.
2794         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2795         (_FP_MUL_MEAT_Q): Likewise.
2796         (_FP_DIV_MEAT_D): Likewise.
2797         (_FP_DIV_MEAT_Q): Likewise.
2798         (_FP_NANFRAC_D): Likewise.
2799         (_FP_NANFRAC_Q): Likewise.
2800         (ISA_BIT): Add exception support if we are being compiled on a
2801         machine with hardware floating point support to build the IEEE
2802         128-bit emulation functions.
2803         (FP_EX_INVALID): Likewise.
2804         (FP_EX_OVERFLOW): Likewise.
2805         (FP_EX_UNDERFLOW): Likewise.
2806         (FP_EX_DIVZERO): Likewise.
2807         (FP_EX_INEXACT): Likewise.
2808         (FP_EX_ALL): Likewise.
2809         (__sfp_handle_exceptions): Likewise.
2810         (FP_HANDLE_EXCEPTIONS): Likewise.
2811         (FP_RND_NEAREST): Likewise.
2812         (FP_RND_ZERO): Likewise.
2813         (FP_RND_PINF): Likewise.
2814         (FP_RND_MINF): Likewise.
2815         (FP_RND_MASK): Likewise.
2816         (_FP_DECL_EX): Likewise.
2817         (FP_INIT_ROUNDMODE): Likewise.
2818         (FP_ROUNDMODE): Likewise.
2820         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2821         VSX code, enable IEEE 128-bit floating point.  If the compiler can
2822         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2823         floating point hardware instructions and it supports declaring
2824         functions with the ifunc attribute, enable ifunc functions to
2825         switch between software and hardware support.
2826         * configure.ac (powerpc*-*-linux*): Likewise.
2827         * configure: Regenerate.
2829 2016-01-15  Nick Clifton  <nickc@redhat.com>
2831         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2832         dependency as the source file to be compiled.
2833         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2834         (lib2hw_mul_f5.o): Likewise.
2836 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2838         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2839         * libgcc/config/rs6000/fixkfti.c: Likewise.
2840         * libgcc/config/rs6000/fixunskfti.c: Likewise.
2841         * libgcc/config/rs6000/float128-hw.c: Likewise.
2842         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2843         * libgcc/config/rs6000/float128-sed: Likewise.
2844         * libgcc/config/rs6000/floattikf.c: Likewise.
2845         * libgcc/config/rs6000/floatuntikf.c: Likewise.
2846         * libgcc/config/rs6000/quad-float128.h: Likewise.
2847         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2848         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2849         * libgcc/config/rs6000/t-float128: Likewise.
2850         * libgcc/config/rs6000/t-float128-hw: Likewise.
2851         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2852         * libgcc/config.host: Likewise.
2853         * libgcc/configure: Likewise.
2854         * libgcc/configure.ac: Likewise.
2856 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2857             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2858             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2860         * config/rs6000/sfp-exceptions.c: New file to provide exception
2861         support for IEEE 128-bit floating point.
2863         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2864         floating point hardware support.
2866         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2867         point conversions.
2868         * config/rs6000/fixunskfti.c: Likewise.
2869         * config/rs6000/fixkfti.c: Likewise.
2870         * config/rs6000/floatuntikf.c: Likewise.
2871         * config/rs6000/extendkftf2-sw.c: Likewise.
2872         * config/rs6000/trunctfkf2-sw.c: Likewise.
2874         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2875         128-bit floating point software emulation or use ISA 3.0 hardware
2876         support if it is available.
2878         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2879         floating point.
2881         * config/rs6000/t-float128: New Makefile fragments to enable
2882         building __float128 emulation support.
2883         * config/rs6000/t-float128-hw: Likewise.
2885         * config/rs6000/float128-sed: New file to convert TF names to KF
2886         names for PowerPC IEEE 128-bit floating point support.
2888         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2889         when building on 64-bit systems, or when VSX is enabled.
2890         (_FP_W_TYPE): Likewise.
2891         (_FP_WS_TYPE): Likewise.
2892         (_FP_I_TYPE): Likewise.
2893         (TItype): Define on 64-bit systems.
2894         (UTItype): Likewise.
2895         (TI_BITS): Likewise.
2896         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2897         (_FP_MUL_MEAT_Q): Likewise.
2898         (_FP_DIV_MEAT_D): Likewise.
2899         (_FP_DIV_MEAT_Q): Likewise.
2900         (_FP_NANFRAC_D): Likewise.
2901         (_FP_NANFRAC_Q): Likewise.
2902         (ISA_BIT): Add exception support if we are being compiled on a
2903         machine with hardware floating point support to build the IEEE
2904         128-bit emulation functions.
2905         (FP_EX_INVALID): Likewise.
2906         (FP_EX_OVERFLOW): Likewise.
2907         (FP_EX_UNDERFLOW): Likewise.
2908         (FP_EX_DIVZERO): Likewise.
2909         (FP_EX_INEXACT): Likewise.
2910         (FP_EX_ALL): Likewise.
2911         (__sfp_handle_exceptions): Likewise.
2912         (FP_HANDLE_EXCEPTIONS): Likewise.
2913         (FP_RND_NEAREST): Likewise.
2914         (FP_RND_ZERO): Likewise.
2915         (FP_RND_PINF): Likewise.
2916         (FP_RND_MINF): Likewise.
2917         (FP_RND_MASK): Likewise.
2918         (_FP_DECL_EX): Likewise.
2919         (FP_INIT_ROUNDMODE): Likewise.
2920         (FP_ROUNDMODE): Likewise.
2922         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2923         compiler can do __float128.
2924         * configure: Regenerate.
2926         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2927         VSX code, enable IEEE 128-bit floating point.
2929 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2931         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2932         specificities.
2934 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2936         Update copyright years.
2938 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2940         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2941         soft-fp targets.
2943 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2945         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2946         instead of abort to avoid dependency on stdlib.h.
2948 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2950         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2951         to initialize call to __dl_fixup once.
2953 2015-12-04  Nick Clifton  <nickc@redhat.com>
2955         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2956         Allow for the second argument being negative.
2957         * config.host (extra_parts): Define for MSP430.  Create separate
2958         libraries for each of the hardware multiply formats.
2959         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2960         that are needed.
2961         * config/msp430/lib2mul.c: Likewise.
2962         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2963         Add rules to build hardware multiply libraries.
2964         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2965         __mspabi_divul function.
2966         (__mspabi_divllu): New stub function.
2968 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2970         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2971         fixup values if saved GOT address doesn't match runtime address.
2972         (fixup_branch_offset): Reorder list.
2974 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2976         * Makefile.in (VTV_CFLAGS): New variable.
2977         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2978         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2979         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2980         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2981         to extra_parts if $enable_vtable_verify = yes.
2983 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2985         PR target/68059
2986         * config/arm/linux-atomic-64bit.c (__write): Rename to...
2987         (write): ...this and fix the return type.
2989 2015-11-19  DJ Delorie  <dj@redhat.com>
2991         * config/msp430/lib2hw_mul.S: Fix alignment.
2993 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
2995         * config/nvptx/reduction.c: New.
2996         * config/nvptx/t-nvptx (LIB2ADD): Add it.
2998 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
3000         * config/rs6000/on_exit.c: New file.
3001         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3002         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3004 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
3006         * config/arc/dp-hack.h: Add support for ARCHS.
3007         * config/arc/ieee-754/divdf3.S: Likewise.
3008         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3009         * config/arc/ieee-754/muldf3.S: Likewise.
3010         * config/arc/ieee-754/mulsf3.S: Likewise
3011         * config/arc/lib1funcs.S: Likewise
3012         * config/arc/gmon/dcache_linesz.S: Don't read the build register
3013         for ARCv2 cores.
3014         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3015         for ARCv2 cores.
3016         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3017         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3018         cores.
3020 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3022         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3023         value.
3024         * config/ia64/crtend.S: Likewise.
3026 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3028         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3029         __CHAR_BIT__ instead of BITS_PER_UNIT.
3030         * fixed-bit.h: Likewise.
3031         * fp-bit.h: Likewise.
3032         * libgcc2.c (__popcountSI2): Likewise.
3033         (__popcountDI2): Likewise.
3034         * libgcc2.h: Likewise.
3035         * libgcov.h: Likewise.
3037 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
3039         * config/rs6000/atexit.c: New file.
3040         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3041         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3042         * config/rs6000/cxa_finalize.c
3043         (catomic_compare_and_exchange_bool_acq): Negate return value.
3045 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3047         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3048         (processor_subtypes): Add znver1.
3049         (get_amd_cpu): Detect znver1.
3051 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
3053         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3054         Include crtfastmath.o.
3056 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
3058         PR libgcc/66883
3059         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3061 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
3063         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3064         * config/rl78/divmodsi.S: Update return register to r8.
3065         * config/rl78/divmodhi.S: Update return register to r8,r9.
3066         Branch to main_loop_done_himode to pop registers before return.
3068 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
3070         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3071         (__cpu_indicator_init): Fix model selection for AMD CPUs.
3073 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
3075         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3077 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
3079         * config.host (xtensa*-*-uclinux*): New configuration.
3081 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
3083         * config/i386/cpuinfo.c (processor_features): Add
3084         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3086 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3088         * soft-fp/adddf3.c: Update from glibc.
3089         * soft-fp/addsf3.c: Likewise.
3090         * soft-fp/addtf3.c: Likewise.
3091         * soft-fp/divdf3.c: Likewise.
3092         * soft-fp/divsf3.c: Likewise.
3093         * soft-fp/divtf3.c: Likewise.
3094         * soft-fp/double.h: Likewise.
3095         * soft-fp/eqdf2.c: Likewise.
3096         * soft-fp/eqsf2.c: Likewise.
3097         * soft-fp/eqtf2.c: Likewise.
3098         * soft-fp/extenddftf2.c: Likewise.
3099         * soft-fp/extended.h: Likewise.
3100         * soft-fp/extendsfdf2.c: Likewise.
3101         * soft-fp/extendsftf2.c: Likewise.
3102         * soft-fp/extendxftf2.c: Likewise.
3103         * soft-fp/fixdfdi.c: Likewise.
3104         * soft-fp/fixdfsi.c: Likewise.
3105         * soft-fp/fixdfti.c: Likewise.
3106         * soft-fp/fixsfdi.c: Likewise.
3107         * soft-fp/fixsfsi.c: Likewise.
3108         * soft-fp/fixsfti.c: Likewise.
3109         * soft-fp/fixtfdi.c: Likewise.
3110         * soft-fp/fixtfsi.c: Likewise.
3111         * soft-fp/fixtfti.c: Likewise.
3112         * soft-fp/fixunsdfdi.c: Likewise.
3113         * soft-fp/fixunsdfsi.c: Likewise.
3114         * soft-fp/fixunsdfti.c: Likewise.
3115         * soft-fp/fixunssfdi.c: Likewise.
3116         * soft-fp/fixunssfsi.c: Likewise.
3117         * soft-fp/fixunssfti.c: Likewise.
3118         * soft-fp/fixunstfdi.c: Likewise.
3119         * soft-fp/fixunstfsi.c: Likewise.
3120         * soft-fp/fixunstfti.c: Likewise.
3121         * soft-fp/floatdidf.c: Likewise.
3122         * soft-fp/floatdisf.c: Likewise.
3123         * soft-fp/floatditf.c: Likewise.
3124         * soft-fp/floatsidf.c: Likewise.
3125         * soft-fp/floatsisf.c: Likewise.
3126         * soft-fp/floatsitf.c: Likewise.
3127         * soft-fp/floattidf.c: Likewise.
3128         * soft-fp/floattisf.c: Likewise.
3129         * soft-fp/floattitf.c: Likewise.
3130         * soft-fp/floatundidf.c: Likewise.
3131         * soft-fp/floatundisf.c: Likewise.
3132         * soft-fp/floatunditf.c: Likewise.
3133         * soft-fp/floatunsidf.c: Likewise.
3134         * soft-fp/floatunsisf.c: Likewise.
3135         * soft-fp/floatunsitf.c: Likewise.
3136         * soft-fp/floatuntidf.c: Likewise.
3137         * soft-fp/floatuntisf.c: Likewise.
3138         * soft-fp/floatuntitf.c: Likewise.
3139         * soft-fp/gedf2.c: Likewise.
3140         * soft-fp/gesf2.c: Likewise.
3141         * soft-fp/getf2.c: Likewise.
3142         * soft-fp/ledf2.c: Likewise.
3143         * soft-fp/lesf2.c: Likewise.
3144         * soft-fp/letf2.c: Likewise.
3145         * soft-fp/muldf3.c: Likewise.
3146         * soft-fp/mulsf3.c: Likewise.
3147         * soft-fp/multf3.c: Likewise.
3148         * soft-fp/negdf2.c: Likewise.
3149         * soft-fp/negsf2.c: Likewise.
3150         * soft-fp/negtf2.c: Likewise.
3151         * soft-fp/op-1.h: Likewise.
3152         * soft-fp/op-2.h: Likewise.
3153         * soft-fp/op-4.h: Likewise.
3154         * soft-fp/op-8.h: Likewise.
3155         * soft-fp/op-common.h: Likewise.
3156         * soft-fp/quad.h: Likewise.
3157         * soft-fp/single.h: Likewise.
3158         * soft-fp/soft-fp.h: Likewise.
3159         * soft-fp/subdf3.c: Likewise.
3160         * soft-fp/subsf3.c: Likewise.
3161         * soft-fp/subtf3.c: Likewise.
3162         * soft-fp/truncdfsf2.c: Likewise.
3163         * soft-fp/trunctfdf2.c: Likewise.
3164         * soft-fp/trunctfsf2.c: Likewise.
3165         * soft-fp/trunctfxf2.c: Likewise.
3166         * soft-fp/unorddf2.c: Likewise.
3167         * soft-fp/unordsf2.c: Likewise.
3168         * soft-fp/unordtf2.c: Likewise.
3170 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
3172         PR libgcc/67624
3173         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3175 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3177         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3178         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3179         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3180         messages.
3181         (internal_mcount): Likewise.
3182         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3183         crt_compile, add CRTSTUFF_T_CFLAGS_S.
3185 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3187         * configure.ac (libgcc_cv_solaris_crts): New test.
3188         * configure: Regenerate.
3189         * config.in: Regenerate.
3190         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3191         * config/gmon-sol2.c: Rename to ...
3192         * config/sol2/gmon.c: ... this.
3193         Include auto-target.h.
3194         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3195         * config/t-sol2: Rename to ...
3196         * config/sol2/t-sol2: ... this.
3197         (gmon.o): Reflect renaming.
3198         (crtp.o, crtpg.o): New rules.
3199         * config.host (*-*-solaris2*): Reflect renaming.
3200         Use system CRTs if present.
3201         Remove default CRT case.
3203 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
3205         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3206         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3207         __kernel_cmpxchg2.
3208         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3209         (__sync_val_compare_and_swap_##WIDTH): Likewise.
3210         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3211         (__sync_lock_test_and_set_##WIDTH): Likewise.
3212         (__sync_lock_release_##WIDTH): Likewise.
3213         (__sync_fetch_and_##OP##_4): Change result to match type of
3214         __kernel_cmpxchg.
3215         (__sync_##OP##_and_fetch_4): Likewise.
3216         (__sync_val_compare_and_swap_4): Likewise.
3217         (__sync_bool_compare_and_swap_4): likewise.
3218         (__sync_lock_test_and_set_4): Likewise.
3219         (__sync_lock_release_4): Likewise.
3220         (FETCH_AND_OP_2): Add long long variants.
3221         (OP_AND_FETCH_2): Likewise.
3222         (COMPARE_AND_SWAP_2 ): Likewise.
3223         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3224         (SYNC_LOCK_RELEASE_2): Likewise.
3225         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3227 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
3229         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3230         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3231         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3232         (get_available_features): Habdle new features.
3234 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
3236         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3237         memory layout. Deal correctly with BSS region larger than 32K.
3238         Handle a watchdog reset like a power-on reset. Clean up unused
3239         code.
3241 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
3242             David Edelsohn  <dje.gcc@gmail.com>
3244         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3245         * config/rs6000/crtdbase.S: New file.
3246         * config/rs6000/t-aix-cxa: Build crtdbase.o.
3248 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
3250         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3251         Add support for call0 ABI.
3253 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
3255         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3257 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3259         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3260         (__GTHREAD_HAS_COND): Likewise.
3261         (__gthread_t): Likewise.
3262         (__gthread_cond_t): Likewise.
3263         (__gthread_time_t): Likewise.
3264         (__GTHREAD_MUTEX_INIT): Likewise.
3265         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3266         (__GTHREAD_COND_INIT): Likewise.
3267         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3268         (__GTHREAD_TIME_INIT): Likewise.
3269         (__gthread_create): Likewise.
3270         (__gthread_join): Likewise.
3271         (__gthread_detach): Likewise.
3272         (__gthread_equal): Likewise.
3273         (__gthread_self): Likewise.
3274         (__gthread_yield): Likewise.
3275         (__gthread_cond_broadcast): Likewise.
3276         (__gthread_cond_signal): Likewise.
3277         (__gthread_cond_wait): Likewise.
3278         (__gthread_cond_timedwait): Likewise.
3279         (__gthread_cond_wait_recursive): Likewise.
3280         (__gthread_cond_destroy): Likewise.
3281         (rtems_gxx_once): Delete.
3282         (rtems_gxx_key_create): Likewise.
3283         (rtems_gxx_key_delete): Likewise.
3284         (rtems_gxx_getspecific): Likewise.
3285         (rtems_gxx_setspecific): Likewise.
3286         (rtems_gxx_mutex_init): Likewise.
3287         (rtems_gxx_mutex_destroy): Likewise.
3288         (rtems_gxx_mutex_lock): Likewise.
3289         (rtems_gxx_mutex_trylock): Likewise.
3290         (rtems_gxx_mutex_unlock): Likewise.
3291         (rtems_gxx_recursive_mutex_init): Likewise.
3292         (rtems_gxx_recursive_mutex_lock): Likewise.
3293         (rtems_gxx_recursive_mutex_trylock): Likewise.
3294         (rtems_gxx_recursive_mutex_unlock): Likewise.
3295         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3296         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3297         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3298         (__gthread_once): Likewise.
3299         (__gthread_key_create): Likewise.
3300         (__gthread_key_delete): Likewise.
3301         (__gthread_getspecific): Likewise.
3302         (__gthread_setspecific): Likewise.
3303         (__gthread_key_t): Use <pthread.h> type.
3304         (__gthread_once_t): Likewise
3305         (__gthread_mutex_t): Use <sys/lock.h> type.
3306         (__gthread_recursive_mutex_t): Likewise
3307         (__gthread_mutex_lock): Use <sys/lock.h> function.
3308         (__gthread_mutex_trylock): Likewise.
3309         (__gthread_mutex_timedlock): Likewise.
3310         (__gthread_mutex_unlock): Likewise.
3311         (__gthread_mutex_destroy): Likewise.
3312         (__gthread_recursive_mutex_lock): Likewise.
3313         (__gthread_recursive_mutex_trylock): Likewise.
3314         (__gthread_recursive_mutex_timedlock): Likewise.
3315         (__gthread_recursive_mutex_unlock): Likewise.
3316         (__gthread_recursive_mutex_destroy): Likewise.
3318 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3320         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3321         context->sp instead of context->cfa.
3323 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3325         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3326         with unwind-dw2-fde-dip.
3328 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
3330         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3331         CALL12 followed by series of ENTRY to spill windowed registers.
3332         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3333         instead of making linux spill syscall.
3335 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
3337         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3338         (get_intel_cpu): Likewise.
3340 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3342         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3343         (get_intel_cpu): Add Knights Landing support.
3345 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
3347         PR target/66954
3348         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3349         (get_available_features): Handle FEATURE_PCLMUL.
3351 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
3353         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3354         Broadwell.
3356 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
3358         PR target/66954
3359         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3360         (get_available_features): Handle FEATURE_AES.
3362 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
3364         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3365         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3367 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
3369         * offloadstuff.c: Constify host data.
3371 2015-07-17  Jan Beulich  <jbeulich@suse.com>
3373         * config/t-softfp: Split up "else ifneq".
3375 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
3376             Cesar Philippidis  <cesar@codesourcery.com>
3377             Chung-Lin Tang  <cltang@codesourcery.com>
3379         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3380         for __nios2_arch__ level.
3382 2015-07-13  John Marino  <gnugcc@marino.st>
3384         * config/i386/t-dragonfly: New.
3386 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
3388         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3389         better match light-weight syscall argument order.
3390         (__kernel_cmpxchg2): Likewise.
3391         Adjust callers.
3393 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3395         * config.host: Support i[34567]86-*-elfiamcu target.
3396         * config/t-softfp-sfdftf: New file.
3397         * config/i386/32/t-iamcu: Likewise.
3398         * configure: Regenerated.
3400 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
3402         libgcc/config/arm/
3403         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3405 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3407         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3409 2015-05-27  John Marino  <gnugcc@marino.st>
3411         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3412         md_unwind_header
3413         * config/i386/freebsd-unwind.h: New.
3415 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
3417         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3418         i386/t-crtfm to tmake_file.
3419         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3420         (set_fast_math): Use set_fast_math_sse for SSE targets.
3421         * config/i386/t-crtfm: Remove.
3423 2015-05-21  Alan Modra  <amodra@gmail.com>
3425         PR libgcc/66225
3426         * config/rs6000/morestack.S: Remove ".abiversion 1".
3428 2015-05-20  Alan Modra  <amodra@gmail.com>
3430         * config/rs6000/morestack.S: New.
3431         * config/rs6000/t-stack-rs6000: New.
3432         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3433         to tmake_file.
3434         * generic-morestack.c: Don't build for powerpc 32-bit.
3436 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
3438         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3439         Remove useless endif/ifneq ($(enable_shared),yes) pair.
3441 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
3443         * config.host: FT32 target added.
3444         * config/ft32/*: New files for FT32 target.
3446 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
3448         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3449         New macros.
3450         * config/arm/ieee754-df.S: Add CFI directives.
3451         * config/arm/ieee754-sf.S: Add CFI directives.
3453 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
3455         * configure.ac: Include config/sjlj.m4.
3456         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3457         * config.in: Regenerate.
3458         * configure: Likewise.
3459         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3461 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
3463         * libgcov-util.c: Add space between string literal and macro name.
3465 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
3466             Chris Jones  <chrisj@nvidia.com>
3467             Joshua Conner  <jconner@nvidia.com>
3469         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3470         (arm*-*-uclinux*): Likewise.
3471         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3472         * config/arm/crtfastmath.c: New file.
3474 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
3476         * Makefile.in (real_host_noncanonical): New variable.
3477         (libsubdir): Use it.
3478         * configure.ac (real_host_noncanonical): Compute.  Remove special
3479         case for intelmicemul.
3480         * configure: Regenerate.
3482 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3484         * config/frv/elf-lib.h: New file.
3485         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3486         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3487         to tm_file.
3489 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3491         * config/frv/frvbengin.c: Do not include defaults.h
3492         * config/frv/frvend.c: Ditto.
3494 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
3496         * config.host: Add h8300-*-linux
3497         * config/h8300/t-linux: New file.
3498         * config/h8300/lib1funs.s: Change symbol prefix.
3499         * config/h8300/sfp-machine.h: 64bit double support.
3501 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
3502             Szabolcs Nagy  <szabolcs.nagy@arm.com>
3504         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3505         Linux if target provides dl_iterate_phdr.
3507 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
3509         PR target/65612
3510         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3511         * config/i386/cpuinfo.c (__cpu_model): Initialize.
3512         (__cpu_indicator_init@GCC_4.8.0): New.
3513         (__cpu_model@GCC_4.8.0): Likewise.
3514         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3515         -DUSE_ELF_SYMVER.
3517 2015-04-16  Nick Clifton  <nickc@redhat.com>
3519         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3520         and __modhi3 functions.
3521         * config/rl78/divmodso.S: Add G14 and G13 versions of the
3522         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3524 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
3526         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3527         do-while loop as macro body to avoid warnings.
3529 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
3530             Iain Sandoe  <iain@codesourcery.com>
3532         PR target/65351
3533         * configure: Regenerate.
3535 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
3536             Iain Sandoe  <iain@codesourcery.com>
3538         PR target/65351
3539         * configure: Regenerate.
3541 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
3543         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3545 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
3547         Implement call0 ABI for xtensa
3548         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3549         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3550         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3551         use ret in call0 ABI.
3552         * config/xtensa/t-windowed: New file.
3553         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3554         * libgcc/configure: Regenerated.
3555         * libgcc/configure.ac: Check if xtensa target is configured for
3556         windowed ABI and thus needs to use custom unwind code.
3558 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
3560         PR libgcc/64885
3561         * gthr-single.h: Use __unused__ attribute instead of unused.
3562         * config/gthr-vxworks.h: Likewise.
3563         * config/i386/gthr-win32.h: Likewise.
3565 2015-02-27  Kai Tietz  <ktietz@redhat.com>
3567         PR target/65038
3568         * config.in: Regenerated.
3569         * configure: Likewise.
3570         * configure.ac (AC_HEADER_STDC): Added explicit.
3571         (AC_CHECK_HEADERS): Check for default headers  plus
3572         for ftw.h header.
3573         * libgcov-util.c (gcov_read_profile_dir): Disable use
3574         of ftw-function, if header is not found.
3575         (ftw_read_file): Likewise.
3577 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
3579         PR target/65181
3580         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3581         -Dinhibit_libc.
3583 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
3585         * config/arm/bpabi.S (test_div_by_zero): Make label names
3586         consistent between thumb2 and arm mode cases.  Separate the
3587         signed comparison on the high word of the numerator from the
3588         unsigned comparison on the low word.
3589         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3590         signed comparison.
3592 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3594         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3595         and <string.h>.
3596         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3598 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
3600         PR gcov-profile/61889
3601         * libgcov-driver-system.c: undefine clashing macro for mkdir.
3603 2015-02-02  Nick Clifton  <nickc@redhat.com>
3605         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3606         rounding up the fraction.
3608 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
3610         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3611         oldval and newval to const void *.  Fix typo.
3612         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3613         (FETCH_AND_OP_WORD): Likewise.
3614         (OP_AND_FETCH_WORD): Likewise.
3615         (COMPARE_AND_SWAP_2): Likewise.
3616         (__sync_val_compare_and_swap_4): Likewise.
3617         (__sync_lock_test_and_set_4): Likewise.
3618         (SYNC_LOCK_RELEASE_2): Likewise.
3619         Remove support for long long atomic operations.
3621 2015-01-27  Caroline Tice  <cmtice@google.com>
3623         Committing VTV Cywin/Ming patch for Patrick Wollgast
3624         * Makefile.in: Move rules to build vtv_*.o out of the check
3625         for CUSTOM_CRTSTUFF.
3626         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3627         i[34567]86-*-mingw*)
3628          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3629         enable_vtable_verify.
3631 2015-01-27  Nick Clifton  <nickc@redhat.com>
3633         * config/rl78/cmpsi2.S: Use function start and end macros.
3634         (__gcc_bcmp): New function.
3635         * config/rl78/lshrsi3.S: Use function start and end macros.
3636         * config/rl78/mulsi3.S: Add support for G10.
3637         (__mulqi3): New function for G10.
3638         * config/rl78/signbit.S: Use function start and end macros.
3639         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3640         fpmath-sf.S.
3641         (LIB2FUNCS_EXCLUDE): Define.
3642         (LIB2FUNCS_ST): Define.
3643         * config/rl78/trampoline.S: Use function start and end macros.
3644         * config/rl78/vregs.h (START_FUNC): New macro.
3645         (START_ANOTHER_FUNC): New macro.
3646         (END_FUNC): New macro.
3647         (END_ANOTHER_FUNC): New macro.
3648         * config/rl78/bit-count.S: New file.  Contains assembler
3649         implementations of the bit counting functions: ___clzhi2,
3650         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3651         __paritysi2, __popcounthi2 and __popcountsi2.
3652         * config/rl78/fpbit-sf.S: New file.  Contains assembler
3653         implementationas of the math functions: __negsf2, __cmpsf2,
3654         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3655         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
3656         * config/rl78/fpmath-sf.S: New file.  Contains assembler
3657         implementations of the math functions: __subsf3, __addsf3,
3658         __mulsf3 and __divsf3
3660 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3662         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3663         Add i386/elf-lib.h to tm_file.
3664         * config/i386/elf-lib.h: Fix comment.
3665         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3666         && __sun__ && __svr4__]: Remove workaround.
3668 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3670         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3671         FEATURE_BMI2.
3672         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3674 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
3676         * config/i386/cpuinfo.c (processor_subtypes): Add
3677         INTEL_COREI7_BROADWELL.
3678         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3679         model numbers.
3681 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
3683         * config/i386/elf-lib.h: New file.
3684         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3685         Wrap definition in #ifdef __i386__.
3686         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3687         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3688         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3689         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3690         to tm_file.
3692 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
3694         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3695         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3697 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
3699         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3700         Update rt_sigframe format and address for current Nios II
3701         Linux conventions.
3703 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3705         * config.host (arm*-*-freebsd*): Add new configuration for
3706         arm*-*-freebsd*.
3707         * config/arm/freebsd-atomic.c: New file.
3708         * config/arm/t-freebsd: Likewise.
3709         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3710         'PC-relative indirect' OS's.
3712 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
3714         * config.host: Add Visium support.
3715         * config/visium: New directory.
3717 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
3719         Update copyright years.
3721 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
3723         * config.host: Support mipsisa32r6 and mipsisa64r6.
3724         * config/mips/mips16.S: Do not build for R6.
3726 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
3728         * config/sh/crt.h: New.
3729         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3730         symbols.
3731         * config/sh/crt1.S: Likewise.
3733 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
3735         PR libgcc/63832
3736         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3737         func_ptr *dtor_list temporary variable to avoid "array subscript
3738         is above array bounds" warnings.
3740 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
3742         * Makefile.in (with_aix_soname): Define.
3743         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3744         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3745         * configure: Recreate.
3747 2014-12-05  Olivier Hainque  <hainque@adacore.com>
3749         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3750         now provided by defaults.h.
3752 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
3754         PR target/55351
3755         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3756         whether it's defined.
3758 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
3760         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3761         * config/i386/cpuinfo.c (get_available_features): Detect it.
3763 2014-11-27  Tony Wang  <tony.wang@arm.com>
3765         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3766         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3767         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3769 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
3771         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3773 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
3775         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3776         instead.
3778 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3779             John David Anglin  <danglin@gcc.gnu.org>
3781         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3782         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
3783         (OP_AND_FETCH_2): Likewise.
3784         (COMPARE_AND_SWAP_2): Likewise.
3785         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3786         (SYNC_LOCK_RELEASE_2): Likewise.
3787         (SUBWORD_SYNC_OP): Remove.
3788         (SUBWORD_VAL_CAS): Likewise.
3789         (SUBWORD_BOOL_CAS): Likewise.
3790         (FETCH_AND_OP_WORD): Update.
3791         Consistently use signed types.
3793 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
3794             Thomas Schwinge  <thomas@codesourcery.com>
3795             Ilya Verbin  <ilya.verbin@intel.com>
3796             Andrey Turetskiy  <andrey.turetskiy@intel.com>
3798         * Makefile.in (crtoffloadbegin$(objext)): New rule.
3799         (crtoffloadend$(objext)): Likewise.
3800         * configure: Regenerate.
3801         * configure.ac (accel_dir_suffix): Compute new variable.
3802         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3803         if enable_offload_targets is not empty.
3804         * offloadstuff.c: New file.
3806 2014-11-13  Nick Clifton  <nickc@redhat.com>
3808         * config/rl78/divmodhi.S: Add support for the G10 architecture.
3809         Use START_FUNC and END_FUNC macros to enable linker garbage
3810         collection.
3811         * config/rl78/divmodqi.S: Likewise.
3812         * config/rl78/divmodsi.S: Likewise.
3813         * config/rl78/mulsi3.S: Likewise.
3814         * config/rl78/lib2div.c: Remove G10 functions.
3815         * config/rl78/lib2muls.c: Likewise.
3816         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3817         * config/rl78/vregs.h (START_FUNC): New macro.
3818         (END_FUNC): New macro.
3820 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
3822         * config/mips/mips16.S: Set .module when supported.  Update O32
3823         FP64 calling convention and use for FPXX when possible.  Add FPXX
3824         calling convention fallback case.
3826 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
3828         * config.host: Handle nvptx-*-*.
3829         * shared-object.mk (as-flags-$o): Define.
3830         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3831         -xassembler-with-cpp.
3832         * static-object.mk: Identical changes.
3833         * config/nvptx/t-nvptx: New file.
3834         * config/nvptx/crt0.s: New file.
3835         * config/nvptx/free.asm: New file.
3836         * config/nvptx/malloc.asm: New file.
3837         * config/nvptx/realloc.c: New file.
3839 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3841         * Makefile.in (libgcc.map.in): New target.
3842         (libgcc.map): Use libgcc.map.in.
3843         * config/t-softfp (softfp_compat): New variable to be set by
3844         users.
3845         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3846         variables.
3847         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3848         directory.
3849         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3850         that use compat symbols and disable all code unless [SHARED].
3851         * config/t-softfp-compat: New file.
3852         * find-symver.awk: New file.
3853         * configure.ac (--with-glibc-version): New configure option.
3854         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3855         * configure: Regenerate.
3856         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3857         soft-float and e500.
3859 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3861         * config/t-hardfp (hardfp_exclusions): Document new variable for
3862         user to define.
3863         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3864         * config/t-softfp (softfp_extras): Document new variable for user
3865         to define.
3866         (softfp_func_list): Add functions from $(softfp_extras).
3867         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3868         * config.host (powerpc*-*-linux*): For e500v1, use
3869         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3870         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3871         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3873 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3875         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3876         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3877         memory read accesses are ok.
3879 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3881         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3882         * configure: Regenerate.
3883         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3884         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3885         of soft-fp for 32-bit classic hard float.  Do not use
3886         t-softfp-excl for soft float.
3888 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3890         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3891         configurations.
3892         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3893         Remove variables.
3895 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3897         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3898         introduced with 2014-10-21 trunk r216525.
3900 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3901             Vidya Praveen  <vidya.praveen@atmel.com>
3902             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3903             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3904             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3906         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3907         order.
3909         Updated library functions for AVRTINY arch.
3910         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3911         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3912         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3913         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3914         wsubi/wadi macors.
3915         (__mulsi3_helper): Update stack, preserve callee saved regs and
3916         argument from stack. Restore callee save registers.
3917         (__mulpsi3): Likewise.
3918         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3919         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3920         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3921         AVRTINY.
3922         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3923         (__do_copy_data): Added new definition for AVRTINY.
3924         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3925         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3926         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3927         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3928         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3929         macors.
3930         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3931         AVRTINY.
3933         Fix broken long multiplication on tiny arch.
3935 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3937         * soft-fp/double.h: Update from glibc.
3938         * soft-fp/eqdf2.c: Likewise.
3939         * soft-fp/eqsf2.c: Likewise.
3940         * soft-fp/eqtf2.c: Likewise.
3941         * soft-fp/extenddftf2.c: Likewise.
3942         * soft-fp/extended.h: Likewise.
3943         * soft-fp/extendsfdf2.c: Likewise.
3944         * soft-fp/extendsftf2.c: Likewise.
3945         * soft-fp/extendxftf2.c: Likewise.
3946         * soft-fp/gedf2.c: Likewise.
3947         * soft-fp/gesf2.c: Likewise.
3948         * soft-fp/getf2.c: Likewise.
3949         * soft-fp/ledf2.c: Likewise.
3950         * soft-fp/lesf2.c: Likewise.
3951         * soft-fp/letf2.c: Likewise.
3952         * soft-fp/op-1.h: Likewise.
3953         * soft-fp/op-2.h: Likewise.
3954         * soft-fp/op-4.h: Likewise.
3955         * soft-fp/op-8.h: Likewise.
3956         * soft-fp/op-common.h: Likewise.
3957         * soft-fp/quad.h: Likewise.
3958         * soft-fp/single.h: Likewise.
3959         * soft-fp/soft-fp.h: Likewise.
3960         * soft-fp/unorddf2.c: Likewise.
3961         * soft-fp/unordsf2.c: Likewise.
3962         * soft-fp/unordtf2.c: Likewise.
3963         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3964         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3965         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3966         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3967         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3968         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3969         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3970         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3971         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3972         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3974 2014-10-08  Rong Xu  <xur@google.com>
3976         * libgcov-util.c (read_gcda_file): Fix format.
3977         (find_match_gcov_info): Ditto.
3978         (calculate_2_entries): New.
3979         (compute_one_gcov): Ditto.
3980         (gcov_info_count_all_cold): Ditto.
3981         (gcov_info_count_all_zero): Ditto.
3982         (extract_file_basename): Ditto.
3983         (get_file_basename): Ditto.
3984         (set_flag): Ditto.
3985         (matched_gcov_info): Ditto.
3986         (calculate_overlap): Ditto.
3987         (gcov_profile_overlap): Ditto.
3988         * libgcov-driver.c (compute_summary): Make
3989         it avavilable for external calls.
3991 2014-10-06  Rong Xu  <xur@google.com>
3993         * Makefile.in: Ditto.
3994         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3995         (gcov_sort_icall_topn_counter): Ditto.
3996         (gcov_sort_topn_counter_arrays): Ditto.
3997         (dump_one_gcov): Sort indirect_call topn counters.
3998         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3999         function.
4000         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4001         utility function.
4002         (__gcov_indirect_call_topn_profiler): New profiler function.
4003         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4004         * libgcov.h: New decls.
4006 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
4008         * config.host: Remove support for score-*.
4010 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4012         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4013         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4014         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4015         __LIBGCC_XF_MANT_DIG__.
4016         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4017         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4018         __LIBGCC_TF_MANT_DIG__.
4019         * libgcc2.c (NOTRUNC): Define in terms of
4020         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4021         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4023 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
4025         PR target/63312
4026         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4027         New macros.
4029 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
4031         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4032         override USE_PT_GNU_EH_FRAME.
4033         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4034         check USE_EH_FRAME_REGISTRY_ALWAYS against
4035         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4036         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4037         variable for substituted force_explicit_eh_registry.
4038         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4039         * configure.ac (explicit-exception-frame-registration):
4040         New AC_ARG_ENABLE.
4041         * configure: Regenerate.
4043 2014-09-19  Olivier Hainque  <hainque@adacore.com>
4045         * config.host (powerpc-wrs-vxworksmils): New configuration,
4046         same as vxworksae.
4048 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4050         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4052 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
4054         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4055         bits not set bits as indicating trapping exceptions.
4057 2014-09-17  Nathan sidwell  <nathan@acm.org>
4059         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4060         (LIBGCOV_DRIVER): ... here.
4061         * libgcov-driver.c (gcov_master): New.
4062         (gcov_exit): Remove from master chain.
4063         (__gcov_init): Add to master chain if version compatible.  Don't
4064         clear the version.
4065         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4066         (gcov_reset_int): Clear master chain, if compatible.
4067         (gcov_dump_int): New internal interface.  Dump master chain, if
4068         compatible.
4069         (gcov_dump): Alias for gcov_dump_int.
4070         * libgcov.h (struct gcov_root): Add next and prev fields.
4071         (struct gcov_master): New struct.
4072         (__gcov_master): New.
4073         (gcov_dump_int): Declare.
4075 2014-09-17  Olivier Hainque  <hainque@adacore.com>
4077         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4078         and crtbegin.o + crtend.o to extra_parts.
4080 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4082         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4083         __LIBGCC_HAS_SF_MODE__.
4084         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4085         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4086         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4087         * config/libbid/bid_gcc_intrinsics.h
4088         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4089         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4090         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4091         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4092         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4093         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4095 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
4097         PR target/63223
4098         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4099         and R24 as needed.  Make work for all devices and .text locations.
4100         (__do_global_ctors, __do_global_dtors): Use word addresses.
4101         (__tablejump__, __tablejump_elpm__): Remove functions.
4102         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4103         Add _tablejump2.
4104         (XICALL, XIJMP): New macros.
4106 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4107         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4109         * config.host (aarch64*): Include crtfastmath.o and
4110         t-crtfm.
4111         * config/aarch64/crtfastmath.c: New file.
4113 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
4115         * config.host: Remove picochip support.
4116         * config/picochip/adddi3.S: Remove.
4117         * config/picochip/ashlsi3.S: Remove.
4118         * config/picochip/ashlsi3.c: Remove.
4119         * config/picochip/ashrsi3.S: Remove.
4120         * config/picochip/ashrsi3.c: Remove.
4121         * config/picochip/clzsi2.S: Remove.
4122         * config/picochip/cmpsi2.S: Remove.
4123         * config/picochip/divmod15.S: Remove.
4124         * config/picochip/divmodhi4.S: Remove.
4125         * config/picochip/divmodsi4.S: Remove.
4126         * config/picochip/lib1funcs.S: Remove.
4127         * config/picochip/longjmp.S: Remove.
4128         * config/picochip/lshrsi3.S: Remove.
4129         * config/picochip/lshrsi3.c: Remove.
4130         * config/picochip/parityhi2.S: Remove.
4131         * config/picochip/popcounthi2.S: Remove.
4132         * config/picochip/setjmp.S: Remove.
4133         * config/picochip/subdi3.S: Remove.
4134         * config/picochip/t-picochip: Remove.
4135         * config/picochip/ucmpsi2.S: Remove.
4136         * config/picochip/udivmodhi4.S: Remove.
4137         * config/picochip/udivmodsi4.S: Remove.
4139 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4141         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4142         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4143         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4144         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4145         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
4146         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4147         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
4148         defined and LIBGCC2_HAS_DF_MODE is defined.
4149         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
4150         defined and LIBGCC2_HAS_XF_MODE is defined.
4151         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
4152         defined and LIBGCC2_HAS_TF_MODE is defined.
4154 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
4156         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4157         and ROUND_TOWARDS_ZERO conditionals.
4159 2014-09-07  Nathan sidwell  <nathan@acm.org>
4161         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4162         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
4164 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
4166         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4167         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4168         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4169         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4170         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4171         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4172         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4173         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4174         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4175         (DWARF_FRAME_REGISTERS): Change all uses to
4176         __LIBGCC_DWARF_FRAME_REGISTERS__.
4177         (EH_RETURN_STACKADJ_RTX): Change all uses to
4178         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4179         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4180         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
4181         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4182         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4183         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4184         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4185         to __LIBGCC_EH_FRAME_SECTION_NAME__.
4186         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4187         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4188         __LIBGCC_STACK_POINTER_REGNUM__.
4189         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4190         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4191         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4192         to __LIBGCC_STACK_POINTER_REGNUM__.
4193         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4194         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4195         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4196         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4197         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4198         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4199         (STACK_POINTER_REGNUM): Change all uses to
4200         __LIBGCC_STACK_POINTER_REGNUM__.
4201         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4202         use to __LIBGCC_STACK_POINTER_REGNUM__.
4203         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4204         uses to __LIBGCC_STACK_POINTER_REGNUM__.
4205         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4206         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4207         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4208         to __LIBGCC_DWARF_FRAME_REGISTERS__.
4209         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4210         to __LIBGCC_STACK_POINTER_REGNUM__.
4211         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4212         Remove conditional definition.
4213         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4214         __LIBGCC_TEXT_SECTION_ASM_OP__.
4215         (EH_FRAME_SECTION_NAME): Change all uses to
4216         __LIBGCC_EH_FRAME_SECTION_NAME__.
4217         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4218         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4219         (CTORS_SECTION_ASM_OP): Change all uses to
4220         __LIBGCC_CTORS_SECTION_ASM_OP__.
4221         (DTORS_SECTION_ASM_OP): Change all uses to
4222         __LIBGCC_DTORS_SECTION_ASM_OP__.
4223         (JCR_SECTION_NAME): Change all uses to
4224         __LIBGCC_JCR_SECTION_NAME__.
4225         (INIT_SECTION_ASM_OP): Change all uses to
4226         __LIBGCC_INIT_SECTION_ASM_OP__.
4227         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4228         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4229         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4230         __LIBGCC_STACK_GROWS_DOWNWARD__.
4231         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4232         __LIBGCC_INIT_SECTION_ASM_OP__.
4233         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4234         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4235         (EH_FRAME_SECTION_NAME): Change all uses to
4236         __LIBGCC_EH_FRAME_SECTION_NAME__.
4237         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4238         definitions.  Change all uses to
4239         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4240         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4241         __LIBGCC_STACK_GROWS_DOWNWARD__.
4242         (DWARF_FRAME_REGISTERS): Change all uses to
4243         __LIBGCC_DWARF_FRAME_REGISTERS__.
4244         (EH_RETURN_STACKADJ_RTX): Change all uses to
4245         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4246         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4247         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4248         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4249         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4250         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4252 2014-09-02  Nathan sidwell  <nathan@acm.org>
4254         * libgcov-interface.c (STRONG_ALIAS): New.
4255         (__gcov_flush): Call __gcov_reset_int.
4256         (__gcov_reset): Strong alias for ...
4257         (__gcov_reset_ing): ... this renamed hidden version.
4258         * libgcov.h (__gcov_reset_int): New declaration.
4260 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
4262         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4263         call from here...
4264         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4265         (__dso_handle): Define on Cygwin.
4266         * config/i386/t-cygming (crtbeginS.o): New rule.
4267         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4269         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4270         declaration syntax.
4272 2014-08-13  Steve Ellcey  <sellcey@mips.com>
4274         * crtstuff.c: Undef caddr_t.
4276 2014-08-12  Steve Ellcey  <sellcey@mips.com>
4278         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
4280 2014-08-07  Nathan Sidwell  <nathan@acm.org>
4282         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4283         (LIBGCOV_DRIVER): ... to here.
4284         * libgcov.h (gcov_do_dump): New #define.
4285         (struct gcov_root): New.
4286         (__gcov_root): New declaration.
4287         (__gcov_dump_one): Declare.
4288         * libgcov-driver.c (gcov_list, gcov_dump_complete,
4289         run_accounted): Delete.
4290         (gcov_compute_histogram): Add LIST argument, adjust.
4291         (compute_summary): Adjust gcov_compute_histogram call.
4292         (gcov_do_dump): Not hidden, static in libgcov.
4293         (gcov_clear): Move  to interface.c.
4294         (__gcov_dump_one): New, broken out of ...
4295         (gcov_exit): ... here.  Make static.
4296         (__gcov_root): New.
4297         (__gcov_init): Adjust.
4298         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4299         declarations.
4300         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4301         (gcov_clear): Moved from driver.c.   Add LIST argument.
4302         (__gcov_reset): Adjust for changed interfaces.
4303         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4305 2014-08-04  Rohit  <rohitarulraj@freescale.com>
4307         PR target/60102
4308         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
4309         based on change in SPE high register numbers and 3 HTM registers.
4311 2014-08-01  Nathan Sidwell  <nathan@acm.org>
4313         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4314         LIBGCOV_INTERFACE): Reformat.
4315         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4316         IN_GCOV_TOOL.
4317         * libgcov-interface.c: Reformat some comments.
4318         (__gcov_flush_mx): Add declaration.  Tidy up definition.
4320 2014-07-31  Alan Modra  <amodra@gmail.com>
4321             Peter Bergner  <bergner@vnet.ibm.com>
4323         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4324         (pack_ldouble): New function.
4325         (__gcc_qadd): Use it.
4326         (__gcc_qmul): Likewise.
4327         (__gcc_qdiv): Likewise.
4328         (__gcc_qneg): Likewise.
4329         (__gcc_stoq): Likewise.
4330         (__gcc_dtoq): Likewise.
4332 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
4334         * config/s390/tpf-unwind.h: Include <stdbool.h>.
4335         (__tpf_eh_return): Add original return address as second parameter.
4336         Handle cases where unwinder routines were called directly, instead
4337         of from within the C++ library.
4339 2014-07-29  Nathan Sidwell  <nathan@acm.org>
4341         * libgcov.h: Move renaming of entry points to lib gcov specific
4342         portion.
4343         (gcov_do_dump): New rename.
4344         (gcov_rewrite): Remove inline, make HIDDEN.
4345         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4346         (gcov_exit_compute_summary): Rename to ...
4347         (compute_summary): ... here.  Add LIST argument.
4348         (gcov_exit_merge_gcda): Rename to ...
4349         (merge_one_data): ... here.
4350         (gcov_exit_write_gcda): Rename to ...
4351         (write_one_data): ... here.
4352         (gcov_exit_merge_summary): Rename to ...
4353         (merge_summary): Add RUN_COUNTED argument.
4354         (gcov_exit_dump_gcov): Rename to ...
4355         (dump_one_gcov): Add RUN_COUNTED argument.
4356         (gcov_do_dump): New function, broken out of ...
4357         (gcov_exit): ... here.  Call it.
4359 2014-07-27  Anthony Green  <green@moxielogic.com>
4361         * config.host: Add moxiebox configuration suppport.
4363 2014-07-27  Nathan Sidwell  <nathan@acm.org>
4365         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4366         (struct gcov_filename): ... here.  Include buffer and max length
4367         fields.
4368         (gcov_max_filename): Remove.
4369         (gi_filename): Remove.
4370         (gcov_exit_compute_summary): Compute max filename here.
4371         (gcov_exit_merge_gcda): Add filename parm, adjust.
4372         (gcov_exit_merge_summary): Likewise.
4373         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4374         (gcov_exit): Likewise.
4375         (__gcov_init): Don't calculate max length here.
4376         * libgcov_util.c (max_filename_len): Remove.
4377         (read_gcda_file): Don't calculate max length here.
4378         (gcov_read_profile_dir): Don't propagate here.
4379         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4380         struct gcov_filename changes.
4381         (gcov_exit_open_gcda_file): Likewise.
4383 2014-07-25  Nathan Sidwell  <nathan@acm.org>
4385         * libgcov-driver.c (set_gcov_dump_complete,
4386         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4387         functions polluting user's namespace.
4388         (gcov_exit): Set variable directly.
4389         (gcov_clear): Reset variable directly.
4390         * libgcov-interface.c (get_gcov_dymp_complete,
4391         reset_gov_dump_complete): Remove declarations.
4392         (__gcov_reset, __gcov_dump): Don't call them.
4394 2014-07-24  DJ Delorie  <dj@redhat.com>
4396         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
4397         (__gcc_deregister_frame): Move logic to detect deregister function
4398         to ...
4399         (__gcc_register_frame): here, so it's consistent with the register
4400         logic.
4402 2014-07-23  Nathan Sidwell  <nathan@acm.org>
4404         * libgcov-driver.c (set_gcov_list): Remove.
4405         (gcov_list): Make non-static in GCOV_TOOL.
4406         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4408 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
4410         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4411         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4412         Don't use SYNC_LOCK_RELEASE for int type.
4414 2014-07-14  Richard Biener  <rguenther@suse.de>
4416         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4418 2014-07-11  Rong Xu  <xur@google.com>
4420         * libgcov-util.c (gcov_max_filename): Fix declartion.
4422 2014-07-10  Rong Xu  <xur@google.com>
4424         Add gcov-tool: an offline gcda profile processing tool
4425         Support.
4426         * libgcov-driver.c (gcov_max_filename): Make available
4427         to gcov-tool.
4428         * libgcov-merge.c (__gcov_merge_add): Replace
4429         gcov_read_counter() with a Macro.
4430         (__gcov_merge_ior): Ditto.
4431         (__gcov_merge_time_profile): Ditto.
4432         (__gcov_merge_single): Ditto.
4433         (__gcov_merge_delta): Ditto.
4434         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4435         in the utility functions.
4436         (set_fn_ctrs): Utility function for reading gcda files to in-memory
4437         gcov_list object link lists.
4438         (tag_function): Ditto.
4439         (tag_blocks): Ditto.
4440         (tag_arcs): Ditto.
4441         (tag_lines): Ditto.
4442         (tag_counters): Ditto.
4443         (tag_summary): Ditto.
4444         (read_gcda_finalize): Ditto.
4445         (read_gcda_file): Ditto.
4446         (ftw_read_file): Ditto.
4447         (read_profile_dir_init): Ditto.
4448         (gcov_read_profile_dir): Ditto.
4449         (gcov_read_counter_mem): Ditto.
4450         (gcov_get_merge_weight): Ditto.
4451         (merge_wrapper): A wrapper function that calls merging handler.
4452         (gcov_merge): Merge two gcov_info objects with weights.
4453         (find_match_gcov_info): Find the matched gcov_info in the list.
4454         (gcov_profile_merge): Merge two gcov_info object lists.
4455         (__gcov_add_counter_op): Process edge profile counter values.
4456         (__gcov_ior_counter_op): Process IOR profile counter values.
4457         (__gcov_delta_counter_op): Process delta profile counter values.
4458         (__gcov_single_counter_op): Process single  profile counter values.
4459         (fp_scale): Callback function for float-point scaling.
4460         (int_scale): Callback function for integer fraction scaling.
4461         (gcov_profile_scale): Scaling profile counters.
4462         (gcov_profile_normalize): Normalize profile counters.
4463         * libgcov.h: Add headers and functions for gcov-tool use.
4464         (gcov_get_counter): New.
4465         (gcov_get_counter_target): Ditto.
4466         (struct gcov_info): Make the functions field mutable in gcov-tool
4467         compilation.
4469 2014-06-23  Kai Tietz  <ktietz@redhat.com>
4471         PR libgcc/61585
4472         * unwind-seh.c (_Unwind_GetGR): Check for proper
4473         index range.
4474         (_Unwind_SetGR): Likewise.
4476 2014-05-22  Nick Clifton  <nickc@redhat.com>
4478         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4479         -mhwmult=none.
4481 2014-05-22  Teresa Johnson  <tejohnson@google.com>
4483         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4484         include.
4486 2014-05-20  John Marino  <gnugcc@marino.st>
4488         * config.host (*-*-dragonfly*): New target.
4489         * crtstuff.c: Make dl_iterate_support generic on *bsd.
4490         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4491         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4492         * config/i386/dragonfly-unwind.h: New.
4494 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
4496         PR libgcc/60166
4497         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4498         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4500 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4502         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4503         implementation.
4505 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
4507         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4509 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4511         PR libgcc/61097
4512         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4513         if --enable-shared.
4515 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4517         Work around for current cygwin32 build problems.
4518         * config/i386/cygming-crtbegin.c (__register_frame_info,
4519         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4520         functions only for 64-bit systems.
4522 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4524         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4525         (sigill_caught, sigill_hdlr): Remove.
4527 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4529         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4530         check.
4531         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4532         Solaris 9 single-threaded support.
4533         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4534         Solaris 9 single-threaded support.  Add call_user_handler code
4535         sequences.
4536         (sparc_is_sighandler): Likewise.
4538 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4540         * config.host: Append t-floattodi to tmake_file depending on
4541         host_address.
4543 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
4545         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4547 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
4549         PR libgcc/60472
4550         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4551         variable to avoid "array subscript is above array bounds" warnings.
4552         Use __builtin_expect when checking *jcr_list for NULL.
4554 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4556         PR libgcc/59339
4557         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4558         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4559         vtv_*.o to extra_parts if enable_vtable_verify.
4561 2014-03-06  Nick Clifton  <nickc@redhat.com>
4563         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4564         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4566 2014-02-28  Joey Ye  <joey.ye@arm.com>
4568         PR libgcc/60166
4569         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4570         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4571         Set to zero.
4573 2014-02-24  Walter Lee  <walt@tilera.com>
4575         * config.host: Support "tilegx*" and "tilepro*" triplets.
4576         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4577         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4579 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
4580             Chung-Lin Tang  <cltang@codesourcery.com>
4582         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4583         * config/nios2/crti.S: Remove .file directive.
4584         * config/nios2/crtn.S: Likewise.
4586 2014-02-18  Kai Tietz  <ktietz@redhat.com>
4587         Jonathan Schleifer  <js@webkeks.org>
4589         PR objc/56870
4590         * unwind-seh.c (_GCC_specific_handler): Pass proper
4591         value to unwind-handler.
4593 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4595         * soft-fp/adddf3.c: Update from glibc.
4596         * soft-fp/addsf3.c: Likewise.
4597         * soft-fp/addtf3.c: Likewise.
4598         * soft-fp/divdf3.c: Likewise.
4599         * soft-fp/divsf3.c: Likewise.
4600         * soft-fp/divtf3.c: Likewise.
4601         * soft-fp/double.h: Likewise.
4602         * soft-fp/eqdf2.c: Likewise.
4603         * soft-fp/eqsf2.c: Likewise.
4604         * soft-fp/eqtf2.c: Likewise.
4605         * soft-fp/extenddftf2.c: Likewise.
4606         * soft-fp/extended.h: Likewise.
4607         * soft-fp/extendsfdf2.c: Likewise.
4608         * soft-fp/extendsftf2.c: Likewise.
4609         * soft-fp/extendxftf2.c: Likewise.
4610         * soft-fp/fixdfdi.c: Likewise.
4611         * soft-fp/fixdfsi.c: Likewise.
4612         * soft-fp/fixdfti.c: Likewise.
4613         * soft-fp/fixsfdi.c: Likewise.
4614         * soft-fp/fixsfsi.c: Likewise.
4615         * soft-fp/fixsfti.c: Likewise.
4616         * soft-fp/fixtfdi.c: Likewise.
4617         * soft-fp/fixtfsi.c: Likewise.
4618         * soft-fp/fixtfti.c: Likewise.
4619         * soft-fp/fixunsdfdi.c: Likewise.
4620         * soft-fp/fixunsdfsi.c: Likewise.
4621         * soft-fp/fixunsdfti.c: Likewise.
4622         * soft-fp/fixunssfdi.c: Likewise.
4623         * soft-fp/fixunssfsi.c: Likewise.
4624         * soft-fp/fixunssfti.c: Likewise.
4625         * soft-fp/fixunstfdi.c: Likewise.
4626         * soft-fp/fixunstfsi.c: Likewise.
4627         * soft-fp/fixunstfti.c: Likewise.
4628         * soft-fp/floatdidf.c: Likewise.
4629         * soft-fp/floatdisf.c: Likewise.
4630         * soft-fp/floatditf.c: Likewise.
4631         * soft-fp/floatsidf.c: Likewise.
4632         * soft-fp/floatsisf.c: Likewise.
4633         * soft-fp/floatsitf.c: Likewise.
4634         * soft-fp/floattidf.c: Likewise.
4635         * soft-fp/floattisf.c: Likewise.
4636         * soft-fp/floattitf.c: Likewise.
4637         * soft-fp/floatundidf.c: Likewise.
4638         * soft-fp/floatundisf.c: Likewise.
4639         * soft-fp/floatunditf.c: Likewise.
4640         * soft-fp/floatunsidf.c: Likewise.
4641         * soft-fp/floatunsisf.c: Likewise.
4642         * soft-fp/floatunsitf.c: Likewise.
4643         * soft-fp/floatuntidf.c: Likewise.
4644         * soft-fp/floatuntisf.c: Likewise.
4645         * soft-fp/floatuntitf.c: Likewise.
4646         * soft-fp/gedf2.c: Likewise.
4647         * soft-fp/gesf2.c: Likewise.
4648         * soft-fp/getf2.c: Likewise.
4649         * soft-fp/ledf2.c: Likewise.
4650         * soft-fp/lesf2.c: Likewise.
4651         * soft-fp/letf2.c: Likewise.
4652         * soft-fp/muldf3.c: Likewise.
4653         * soft-fp/mulsf3.c: Likewise.
4654         * soft-fp/multf3.c: Likewise.
4655         * soft-fp/negdf2.c: Likewise.
4656         * soft-fp/negsf2.c: Likewise.
4657         * soft-fp/negtf2.c: Likewise.
4658         * soft-fp/op-1.h: Likewise.
4659         * soft-fp/op-2.h: Likewise.
4660         * soft-fp/op-4.h: Likewise.
4661         * soft-fp/op-8.h: Likewise.
4662         * soft-fp/op-common.h: Likewise.
4663         * soft-fp/quad.h: Likewise.
4664         * soft-fp/single.h: Likewise.
4665         * soft-fp/soft-fp.h: Likewise.
4666         * soft-fp/subdf3.c: Likewise.
4667         * soft-fp/subsf3.c: Likewise.
4668         * soft-fp/subtf3.c: Likewise.
4669         * soft-fp/truncdfsf2.c: Likewise.
4670         * soft-fp/trunctfdf2.c: Likewise.
4671         * soft-fp/trunctfsf2.c: Likewise.
4672         * soft-fp/trunctfxf2.c: Likewise.
4673         * soft-fp/unorddf2.c: Likewise.
4674         * soft-fp/unordsf2.c: Likewise.
4675         * soft-fp/unordtf2.c: Likewise.
4676         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4677         macro.
4678         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4679         Likewise.
4680         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4681         Likewise.
4682         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4683         Likewise.
4684         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4685         Likewise.
4686         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4687         Likewise.
4688         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4689         Likewise.
4690         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4691         Likewise.
4692         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4693         Likewise.
4694         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4695         Likewise.
4696         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4697         Likewise.
4698         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4699         Likewise.
4700         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4701         Likewise.
4702         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4703         Likewise.
4704         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4705         Likewise.
4706         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4707         Likewise.
4709 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4711         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4712         cannot be represented.
4713         * config/s390/32/_fixsfdi.c: Likewise.
4714         * config/s390/32/_fixtfdi.c: Likewise.
4715         * config/s390/32/_fixunsdfdi.c: Likewise.
4716         * config/s390/32/_fixunssfdi.c: Likewise.
4717         * config/s390/32/_fixunstfdi.c: Likewise.
4719 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
4721         * configure.ac (libgcc_cv_mips_hard_float): New.
4722         * configure: Regenerate.
4723         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4724         t-softfp-sfdf for hard-float targets.
4725         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4726         (softfp_float_modes, softfp_int_modes, softfp_extensions)
4727         (softfp_truncations, softfp_exclude_libgcc2): New.
4728         * config/t-hardfp: New file.
4729         * config/t-hardfp-sfdf: Likewise.
4730         * config/hardfp.c: Likewise.
4732 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4734         * config.host: Include t-floattodi also for s390x.
4735         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4736         * config/s390/32/_fixsfdi.c: Likewise.
4737         * config/s390/32/_fixtfdi.c: Likewise.
4738         * config/s390/32/_fixunsdfdi.c: Likewise.
4739         * config/s390/32/_fixunssfdi.c: Likewise.
4740         * config/s390/32/_fixunstfdi.c: Likewise.
4742 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4744         PR target/59788
4745         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4746         (install-libgcc-unwind-map-forbuild): New target.
4747         (all): Depend on install-libgcc-unwind-map-forbuild.
4748         (install-libgcc-unwind-map): New target.
4749         (install): Depend on install-libgcc-unwind-map.
4751 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
4753         * config/nios2/crti.S (_init): Initialize GOT pointer from
4754         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4756 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
4758         * configure.ac: Check __mips64 when setting host_address.
4759         * configure: Regenerate.
4760         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4761         mips/t-mips64 and t-softfp.
4762         (mips*-*-linux*): Don't add mips/t-tpbit.
4763         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4764         (DPBIT, DPBIT_CFLAGS): Delete.
4765         * config/mips/sfp-machine.h: New file.
4766         * config/mips/t-mips64: Likewise.
4767         * config/mips/t-softfp-tf: Likewise.
4768         * config/mips/t-tpbit: Delete.
4770 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4772         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4773         as long long.
4775 2014-01-25  Walter Lee  <walt@tilera.com>
4777         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
4778         config.h or system.h.
4779         (bool) Define.
4781 2014-01-25  Walter Lee  <walt@tilera.com>
4783         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4784         (post_atomic_barrier): Ditto.
4785         (__fetch_and_do): New macro.
4786         (__atomic_fetch_and_do): Use __fetch_and_do.
4787         (__sync_fetch_and_do): New macro.
4788         (__sync_fetch_and_add_4): New function.
4789         (__sync_fetch_and_sub_4): New function.
4790         (__sync_fetch_and_or_4): New function.
4791         (__sync_fetch_and_and_4): New function.
4792         (__sync_fetch_and_xor_4): New function.
4793         (__sync_fetch_and_nand_4): New function.
4794         (__sync_fetch_and_add_8): New function.
4795         (__sync_fetch_and_sub_8): New function.
4796         (__sync_fetch_and_or_8): New function.
4797         (__sync_fetch_and_and_8): New function.
4798         (__sync_fetch_and_xor_8): New function.
4799         (__sync_fetch_and_nand_8): New function.
4800         (__do_and_fetch): New macro.
4801         (__atomic_do_and_fetch): Use __do_and_fetch.
4802         (__sync_do_and_fetch): New macro.
4803         (__sync_add_and_fetch_4): New function.
4804         (__sync_sub_and_fetch_4): New function.
4805         (__sync_or_and_fetch_4): New function.
4806         (__sync_and_and_fetch_4): New function.
4807         (__sync_xor_and_fetch_4): New function.
4808         (__sync_nand_and_fetch_4): New function.
4809         (__sync_add_and_fetch_8): New function.
4810         (__sync_sub_and_fetch_8): New function.
4811         (__sync_or_and_fetch_8): New function.
4812         (__sync_and_and_fetch_8): New function.
4813         (__sync_xor_and_fetch_8): New function.
4814         (__sync_nand_and_fetch_8): New function.
4815         (__sync_exchange_methods): New macro.
4816         (__sync_val_compare_and_swap_4): New function.
4817         (__sync_bool_compare_and_swap_4): New function.
4818         (__sync_lock_test_and_test_4): New function.
4819         (__sync_val_compare_and_swap_8): New function.
4820         (__sync_bool_compare_and_swap_8): New function.
4821         (__sync_lock_test_and_test_8): New function.
4822         (__subword_cmpxchg_body): New macro.
4823         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4824         (__atomic_compare_exchange_2): Ditto.
4825         (__sync_subword_cmpxchg): New macro.
4826         (__sync_val_compare_and_swap_1): New function.
4827         (__sync_bool_compare_and_swap_1): New function.
4828         (__sync_val_compare_and_swap_2): New function.
4829         (__sync_bool_compare_and_swap_2): New function.
4830         (__atomic_subword): Rename to ...
4831         (__subword): ... New name.
4832         (__atomic_subword_fetch): Use __subword.
4833         (__sync_subword_fetch): New macro.
4834         (__sync_fetch_and_add_1): New function.
4835         (__sync_fetch_and_sub_1): New function.
4836         (__sync_fetch_and_or_1): New function.
4837         (__sync_fetch_and_and_1): New function.
4838         (__sync_fetch_and_xor_1): New function.
4839         (__sync_fetch_and_nand_1): New function.
4840         (__sync_fetch_and_add_2): New function.
4841         (__sync_fetch_and_sub_2): New function.
4842         (__sync_fetch_and_or_2): New function.
4843         (__sync_fetch_and_and_2): New function.
4844         (__sync_fetch_and_xor_2): New function.
4845         (__sync_fetch_and_nand_2): New function.
4846         (__sync_add_and_fetch_1): New function.
4847         (__sync_sub_and_fetch_1): New function.
4848         (__sync_or_and_fetch_1): New function.
4849         (__sync_and_and_fetch_1): New function.
4850         (__sync_xor_and_fetch_1): New function.
4851         (__sync_nand_and_fetch_1): New function.
4852         (__sync_add_and_fetch_2): New function.
4853         (__sync_sub_and_fetch_2): New function.
4854         (__sync_or_and_fetch_2): New function.
4855         (__sync_and_and_fetch_2): New function.
4856         (__sync_xor_and_fetch_2): New function.
4857         (__sync_nand_and_fetch_2): New function.
4858         (__atomic_subword_lock): Use __subword.
4859         (__sync_subword_lock): New macro.
4860         (__sync_lock_test_and_set_1): New function.
4861         (__sync_lock_test_and_set_2): New function.
4863 2014-01-25  Walter Lee  <walt@tilera.com>
4865         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4866         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4867         (__atomic_subword): Ditto.
4869 2014-01-25  Walter Lee  <walt@tilera.com>
4871         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4872         a prefix op argument.
4873         (__atomic_nand_fetch_4): Add prefix op.
4874         (__atomic_nand_fetch_8): Ditto.
4876 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4878         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4880 2014-01-09  Rong Xu  <xur@google.com>
4882         * libgcov-driver.c (this_prg): make it local to save
4883         bss space.
4884         (gcov_exit_compute_summary): Ditto.
4885         (gcov_exit_merge_gcda): Ditto.
4886         (gcov_exit_merge_summary): Ditto.
4887         (gcov_exit_dump_gcov): Ditto.
4889 2014-01-08  Rong Xu  <xur@google.com>
4891         * libgcov-driver.c: Use libgcov.h.
4892         (buffer_fn_data): Use xmalloc instead of malloc.
4893         (gcov_exit_merge_gcda): Ditto.
4894         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4895         * libgcov.h: New common header files for libgcov-*.h.
4896         * libgcov-interface.c: Use libgcov.h
4897         * libgcov-merge.c: Ditto.
4898         * libgcov-profiler.c: Ditto.
4899         * Makefile.in: Add dependence to libgcov.h
4901 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4903         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4904         case of small numerator and finite nonzero result.
4906 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4908         Update copyright years
4910 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4912         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4913         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4914         config/arc/dp-hack.h, config/arc/fp-hack.h,
4915         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4916         config/arc/ieee-754/arc600-dsp/divdf3.S,
4917         config/arc/ieee-754/arc600-dsp/divsf3.S,
4918         config/arc/ieee-754/arc600-dsp/muldf3.S,
4919         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4920         config/arc/ieee-754/arc600-mul64/divdf3.S,
4921         config/arc/ieee-754/arc600-mul64/divsf3.S,
4922         config/arc/ieee-754/arc600-mul64/muldf3.S,
4923         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4924         config/arc/ieee-754/arc600/divsf3.S,
4925         config/arc/ieee-754/arc600/mulsf3.S,
4926         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4927         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4928         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4929         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4930         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4931         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4932         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4933         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4934         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4935         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4936         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4937         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4938         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4939         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4940         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4941         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4942         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4943         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4944         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4945         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4946         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4947         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4948         vtv_start_preinit.c: Use the standard form for the copyright notice.
4950 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4951             Chung-Lin Tang  <cltang@codesourcery.com>
4952             Based on patches from Altera Corporation
4954         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4955         * config/nios2/lib2-nios2.h: New file.
4956         * config/nios2/lib2-divmod-hi.c: New file.
4957         * config/nios2/linux-unwind.h: New file.
4958         * config/nios2/lib2-divmod.c: New file.
4959         * config/nios2/linux-atomic.c: New file.
4960         * config/nios2/t-nios2: New file.
4961         * config/nios2/crti.asm: New file.
4962         * config/nios2/t-linux: New file.
4963         * config/nios2/lib2-divtable.c: New file.
4964         * config/nios2/lib2-mul.c: New file.
4965         * config/nios2/tramp.c: New file.
4966         * config/nios2/crtn.asm: New file.
4968 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4970         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4971         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4972         from cpuid.h to check vendor signatures.
4974 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4976         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4977         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4978         (get_amd_cpu): Likewise.
4980 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
4982         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4983         Haswell.
4985 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4986             H.J. Lu  <hongjiu.lu@intel.com>
4988         PR target/59422
4989         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
4990         and AMD_JAGUAR.
4991         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4992         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4993         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
4994         FEATURE_XOP and FEATURE_FMA.
4995         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4996         AMDFAM15H_BDVER3.
4997         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4998         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4999         FEATURE_FMA4 and FEATURE_XOP.
5001 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
5003         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5004         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5005         (get_intel_cpu): Updated.
5007 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
5009         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5011 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
5013         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5014         instructions when __SSE_MATH__ is defined.
5016 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
5018         * config.host (microblaze-*-rtems*): New.
5020 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
5022         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5023         architectures that do not have hardware divide instruction.
5024         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5026 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
5028         * longlong.h: Delete (moved to include/).
5030 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5032         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5033         of normal number and qNaN to not raise an inexact exception.
5035 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
5037         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5039 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
5041         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5042         for correct opcodes on BE.
5044 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
5046         * soft-fp/op-4.h: Update from glibc.
5048 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
5050         * libgcc2.c (__udivmoddi4): Define new implementation when
5051         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5052         divide instructions.
5054 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
5056         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5058 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5060         * config/t-softfp (soft-fp-objects-base): New variable.
5061         (soft-fp-objects): Use it.
5063 2013-11-23  David Edelson  <dje.gcc@gmail.com>
5064             Andrew Dixie  <andrewd@gentrack.com>
5066         PR target/33704
5067         * config/rs6000/aixinitfini.c: New file.
5068         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5069         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5070         symbols.
5072 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
5074         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5076 2013-11-18  Jan Hubicka  <jh@suse.cz>
5078         * libgcov-driver.c (run_accounted): Make global level static.
5079         (gcov_exit_merge_summary): Silence warning; do not clear
5080         run_accounted here.
5081         (gcov_exit): Clear it here.
5083         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5084         run_accounted.
5086         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5087         (all_prg, crc32): Remove static vars.
5088         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5089         all_prg.
5090         (gcov_exit_merge_gcda): Add crc32 parameter.
5091         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5092         do not account run if it was already accounted.
5093         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5094         (gcov_exit): Initialize all_prg; update.
5096 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
5098         * configure: Regenerate.
5100 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5101             Alan Modra  <amodra@gmail.com>
5103         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5104         (frob_update_context): Use it.
5106 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5107             Alan Modra  <amodra@gmail.com>
5109         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5110         (trampoline_initial): Provide ELFv2 variant.
5111         (__trampoline_setup): Likewise.
5113         * config/rs6000/linux-unwind.h (frob_update_context): Do not
5114         check for AIX indirect function call sequence if _CALL_ELF == 2.
5116 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5117             Alan Modra  <amodra@gmail.com>
5119         * config/rs6000/linux-unwind.h (get_regs): Do not support
5120         old kernel versions if _CALL_ELF == 2.
5121         (frob_update_context): Do not support PLT stub variants only
5122         generated by old linkers if _CALL_ELF == 2.
5124 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5125             Alan Modra  <amodra@gmail.com>
5127         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5128         location of CR save area for 64-bit little-endian systems.
5130 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
5132         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5133         in tmake_file.
5134         * config/arm/t-vxworks: Delete.
5136 2013-11-10  Kai Tietz  <ktietz@redhat.com>
5138         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5139         Increment load-count on use of LIBGCC_SONAME DLL.
5140         (hmod_libgcc): New static variable to hold handle of
5141         LIBGCC_SONAME DLL.
5142         (__gcc_deregister_frame): Decrement load-count of
5143         LIBGCC_SONAME DLL.
5145 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
5147         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5148         availability.
5149         * configure: Regenerate
5151 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
5153         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5154         FP_EX_DENORM.  Store result to volatile location after SSE division
5155         to close interrupt window.  Remove unneeded fwait after x87
5156         division since interrupt window will be closed by emitted fstp.
5157         Rewrite FP_EX_INEXACT handling.
5159 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
5161         * soft-fp/README: Update.
5162         * soft-fp/adddf3.c: Update from glibc.
5163         * soft-fp/addsf3.c: Likewise.
5164         * soft-fp/addtf3.c: Likewise.
5165         * soft-fp/divdf3.c: Likewise.
5166         * soft-fp/divsf3.c: Likewise.
5167         * soft-fp/divtf3.c: Likewise.
5168         * soft-fp/double.h: Likewise.
5169         * soft-fp/eqdf2.c: Likewise.
5170         * soft-fp/eqsf2.c: Likewise.
5171         * soft-fp/eqtf2.c: Likewise.
5172         * soft-fp/extenddftf2.c: Likewise.
5173         * soft-fp/extended.h: Likewise.
5174         * soft-fp/extendsfdf2.c: Likewise.
5175         * soft-fp/extendsftf2.c: Likewise.
5176         * soft-fp/extendxftf2.c: Likewise.
5177         * soft-fp/fixdfdi.c: Likewise.
5178         * soft-fp/fixdfsi.c: Likewise.
5179         * soft-fp/fixdfti.c: Likewise.
5180         * soft-fp/fixsfdi.c: Likewise.
5181         * soft-fp/fixsfsi.c: Likewise.
5182         * soft-fp/fixsfti.c: Likewise.
5183         * soft-fp/fixtfdi.c: Likewise.
5184         * soft-fp/fixtfsi.c: Likewise.
5185         * soft-fp/fixtfti.c: Likewise.
5186         * soft-fp/fixunsdfdi.c: Likewise.
5187         * soft-fp/fixunsdfsi.c: Likewise.
5188         * soft-fp/fixunsdfti.c: Likewise.
5189         * soft-fp/fixunssfdi.c: Likewise.
5190         * soft-fp/fixunssfsi.c: Likewise.
5191         * soft-fp/fixunssfti.c: Likewise.
5192         * soft-fp/fixunstfdi.c: Likewise.
5193         * soft-fp/fixunstfsi.c: Likewise.
5194         * soft-fp/fixunstfti.c: Likewise.
5195         * soft-fp/floatdidf.c: Likewise.
5196         * soft-fp/floatdisf.c: Likewise.
5197         * soft-fp/floatditf.c: Likewise.
5198         * soft-fp/floatsidf.c: Likewise.
5199         * soft-fp/floatsisf.c: Likewise.
5200         * soft-fp/floatsitf.c: Likewise.
5201         * soft-fp/floattidf.c: Likewise.
5202         * soft-fp/floattisf.c: Likewise.
5203         * soft-fp/floattitf.c: Likewise.
5204         * soft-fp/floatundidf.c: Likewise.
5205         * soft-fp/floatundisf.c: Likewise.
5206         * soft-fp/floatunditf.c: Likewise.
5207         * soft-fp/floatunsidf.c: Likewise.
5208         * soft-fp/floatunsisf.c: Likewise.
5209         * soft-fp/floatunsitf.c: Likewise.
5210         * soft-fp/floatuntidf.c: Likewise.
5211         * soft-fp/floatuntisf.c: Likewise.
5212         * soft-fp/floatuntitf.c: Likewise.
5213         * soft-fp/gedf2.c: Likewise.
5214         * soft-fp/gesf2.c: Likewise.
5215         * soft-fp/getf2.c: Likewise.
5216         * soft-fp/ledf2.c: Likewise.
5217         * soft-fp/lesf2.c: Likewise.
5218         * soft-fp/letf2.c: Likewise.
5219         * soft-fp/muldf3.c: Likewise.
5220         * soft-fp/mulsf3.c: Likewise.
5221         * soft-fp/multf3.c: Likewise.
5222         * soft-fp/negdf2.c: Likewise.
5223         * soft-fp/negsf2.c: Likewise.
5224         * soft-fp/negtf2.c: Likewise.
5225         * soft-fp/op-1.h: Likewise.
5226         * soft-fp/op-2.h: Likewise.
5227         * soft-fp/op-4.h: Likewise.
5228         * soft-fp/op-8.h: Likewise.
5229         * soft-fp/op-common.h: Likewise.
5230         * soft-fp/quad.h: Likewise.
5231         * soft-fp/single.h: Likewise.
5232         * soft-fp/soft-fp.h: Likewise.
5233         * soft-fp/subdf3.c: Likewise.
5234         * soft-fp/subsf3.c: Likewise.
5235         * soft-fp/subtf3.c: Likewise.
5236         * soft-fp/truncdfsf2.c: Likewise.
5237         * soft-fp/trunctfdf2.c: Likewise.
5238         * soft-fp/trunctfsf2.c: Likewise.
5239         * soft-fp/trunctfxf2.c: Likewise.
5240         * soft-fp/unorddf2.c: Likewise.
5241         * soft-fp/unordsf2.c: Likewise.
5242         * soft-fp/unordtf2.c: Likewise.
5244 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
5246         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5247         (_FP_MUL_MEAT_D): Ditto.
5248         (_FP_DIV_MEAT_S): Ditto.
5249         (_FP_DIV_MEAT_D): Ditto.
5250         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5251         t-softfp-sfdf and t-softfp to tmake_file.
5253 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
5255         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5256         * config/i386/crtprec.c: Ditto.
5258 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
5259             Shiva Chen  <shiva0217@gmail.com>
5261         * config.host (nds32*-elf*): Add nds32 target.
5262         * config/nds32 : New directory and files.
5264 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
5266         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
5267         * config.host (cpu_type) <Setting default>: Add entry for
5268         crisv32-*-*.
5269         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5270         <crisv32-*-linux*>: Adjust.
5271         * longlong.h: Wrap the whole CRIS section in a single
5272         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
5273         and sub_ddmmss.
5274         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5275         defined.
5276         [__CRIS__] (__umulsidi3): Define.
5277         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5278         * config/cris/sfp-machine.h: New file.
5279         * config/cris/umulsidi3.S: New file.
5280         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5281         * config/cris/arit.c (SIGNMULT): New macro.
5282         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5283         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5284         saving 3 out of originally 33 cycles from the fastest
5285         path, 3 out of 54 from the medium path and one from the longest
5286         path.  Improve comments.
5288 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
5290         * sync.c: Remove static aliases and define each function directly
5291         under its real name.
5293 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
5295         * config.host (hppa*64*-*-linux*): Define extra_parts.
5296         (hppa*-*-linux*): Likewise.
5298 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
5300         * config/arc/crtgend.S: Add 2013 to Copyright years.
5301         * config/arc/gmon/atomic.h: Likewise.
5302         * config/arc/gmon/auxreg.h: Likewise.
5303         * config/arc/gmon/sys/gmon_out.h: Likewise.
5304         * config/arc/gmon/sys/gmon.h: Likewise.
5305         * config/arc/gmon/prof-freq.c: Likewise.
5306         * config/arc/gmon/mcount.c: Likewise.
5307         * config/arc/gmon/prof-freq-stub.S: Likewise.
5308         * config/arc/gmon/gmon.c: Likewise.
5309         * config/arc/gmon/machine-gmon.h: Likewise.
5310         * config/arc/gmon/profil.S: Likewise.
5311         * config/arc/gmon/dcache_linesz.S: Likewise.
5312         * config/arc/crtg.S: Likewise.
5313         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5314         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5315         * config/arc/ieee-754/adddf3.S: Likewise.
5316         * config/arc/ieee-754/truncdfsf2.S: Likewise.
5317         * config/arc/ieee-754/fixsfsi.S: Likewise.
5318         * config/arc/ieee-754/gtsf2.S: Likewise.
5319         * config/arc/ieee-754/floatsisf.S: Likewise.
5320         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5321         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5322         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5323         * config/arc/ieee-754/fixdfsi.S: Likewise.
5324         * config/arc/ieee-754/addsf3.S: Likewise.
5325         * config/arc/ieee-754/gesf2.S: Likewise.
5326         * config/arc/ieee-754/floatsidf.S: Likewise.
5327         * config/arc/ieee-754/extendsfdf2.S: Likewise.
5328         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5329         * config/arc/ieee-754/gtdf2.S: Likewise.
5330         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5331         * config/arc/ieee-754/uneqdf2.S: Likewise.
5332         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5333         * config/arc/ieee-754/uneqsf2.S: Likewise.
5334         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5335         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5336         * config/arc/ieee-754/eqdf2.S: Likewise.
5337         * config/arc/ieee-754/ordsf2.S: Likewise.
5338         * config/arc/ieee-754/divsf3.S: Likewise.
5339         * config/arc/ieee-754/divdf3.S: Likewise.
5340         * config/arc/ieee-754/floatunsidf.S: Likewise.
5341         * config/arc/ieee-754/orddf2.S: Likewise.
5342         * config/arc/ieee-754/eqsf2.S: Likewise.
5343         * config/arc/ieee-754/gedf2.S: Likewise.
5344         * config/arc/crtn.S: Likewise.
5345         * config/arc/crti.S: Likewise.
5346         * config/arc/t-arc700-uClibc: Likewise.
5347         * config/arc/asm.h: Likewise.
5348         * config/arc/libgcc-excl.ver: Likewise.
5349         * config/arc/t-arc-newlib: Likewise.
5350         * config/arc/divtab-arc700.c: Likewise.
5351         * config/arc/initfini.c: Likewise.
5352         * config/arc/fp-hack.h: Likewise.
5354 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5355             Diego Novillo  <dnovillo@google.com>
5357         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
5358         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5359         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5360         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
5362 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
5363             Brendan Kehoe  <brendan@zen.org>
5364             Simon Cook  <simon.cook@embecosm.com>
5366         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5367         * config/arc: New directory.
5368         * longlong.h [__arc__] (umul_ppmm): Remove.
5369         [__arc__] (__umulsidi3): Define.
5370         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5371         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5373 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
5375         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5376         CreateSemaphoreA.
5377         * config/i386/gthr-win32.h: Likewise.
5379 2013-09-16  DJ Delorie  <dj@redhat.com>
5381         * config/rl78/vregs.h: Add G10 register definitions.
5382         * config/rl78/lib2mul.c: Enable for RL78/G10.
5383         * config/rl78/lib2div.c: Likewise.
5384         * config/rl78/lshrsi3.S: Use vregs.h.
5385         * config/rl78/cmpsi2.S: Likewise.
5386         * config/rl78/trampoline.S: Likewise.
5387         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
5389 2013-09-14  DJ Delorie  <dj@redhat.com>
5390             Nick Clifton  <nickc@redhat.com>
5392         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5393         * config/rl78/vregs.h: New.
5394         * config/rl78/signbit.S: New file.  Implements signbit function.
5395         * config/rl78/divmodsi.S: New.
5396         * config/rl78/divmodhi.S: New.
5397         * config/rl78/divmodqi.S: New.
5398         * config/rl78/t-rl78: Build them here...
5399         * config/rl78/lib2div.c: ...but not here.
5401 2013-09-12  DJ Delorie  <dj@redhat.com>
5403         * config.host (msp*-*-elf): New.
5404         * config/msp430/: New port.
5406 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
5408         PR gcov-profile/58127
5409         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5410         __thread var for emulated TLS.
5411         (__gcov_indirect_call_counters): Likewise.
5413 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
5414             Catherine Moore  <clm@codesourcery.com>
5415             Richard Sandiford  <rdsandiford@googlemail.com>
5417         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5418         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5419         (CALL_STUB_NO_RET): Likewise.
5420         (CALL_STUB_RET): Likewise.
5421         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5422         __mips16_ret call/return stub symbols.
5423         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5424         to tmake_file.
5426 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
5428         * config.host <mips*-*-linux*>: Remove a stray comment.
5430 2013-08-10  Jan Hubicka  <jh@suse.cz>
5432         Work around binutils PR14342
5433         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5434         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5435         (L_gcov_indirect_call_profiler_v2): New.
5437 2013-08-06  Jan Hubicka  <jh@suse.cz>
5439         * libgcov.c (__gcov_indirect_call_callee,
5440         __gcov_indirect_call_counters): New global vars.
5441         (__gcov_indirect_call_profiler): replace by ...
5442         (__gcov_indirect_call_profiler_v2) ... this one.
5444 2013-08-06  Caroline Tice  <cmtice@google.com>
5446         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
5447         vtv_start_preinit.o and vtv_end_preinit.o.
5448         * configure.ac: Add code to check/set enable_vtable_verify.
5449         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
5450         true.
5451         * vtv_start_preinit.c: New file.
5452         * vtv_end_preinit.c: New file.
5453         * vtv_start.c: New file.
5454         * vtv_end.c: New file.
5455         * configure: Regenerated.
5457 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
5459         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5460         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5461         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5462         GPL-3.0-with-GCC-exception.
5464 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
5466         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5467         ISA and up.
5469 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5471         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5472         mapping for FPRs when creating the fallback framestate.
5474 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
5476         PR target/57516
5477         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5478         (__round_s2_const, __round_u2_const)
5479         (__round_s4_const, __round_u4_const, __round_x8):
5480         Saturate result if addition result cannot be represented.
5482 2013-07-15  Matthias Klose  <doko@ubuntu.com>
5484         * libgcc2.c: Don't include <limits.h>.
5486 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
5488         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5490 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
5492         PR target/29776
5493         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5495 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
5497         PR middle-end/36041
5498         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5499         Define.
5500         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5501         instead of table lookups.
5502         (__popcountDI2): Likewise.
5504 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
5506         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5507         correctly.
5509 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5511         PR other/53317
5512         * soft-fp/adddf3.c: Update from glibc.
5513         * soft-fp/addsf3.c: Likewise.
5514         * soft-fp/addtf3.c: Likewise.
5515         * soft-fp/divdf3.c: Likewise.
5516         * soft-fp/divsf3.c: Likewise.
5517         * soft-fp/divtf3.c: Likewise.
5518         * soft-fp/double.h: Likewise.
5519         * soft-fp/eqdf2.c: Likewise.
5520         * soft-fp/eqsf2.c: Likewise.
5521         * soft-fp/eqtf2.c: Likewise.
5522         * soft-fp/extenddftf2.c: Likewise.
5523         * soft-fp/extended.h: Likewise.
5524         * soft-fp/extendsfdf2.c: Likewise.
5525         * soft-fp/extendsftf2.c: Likewise.
5526         * soft-fp/fixdfdi.c: Likewise.
5527         * soft-fp/fixdfsi.c: Likewise.
5528         * soft-fp/fixsfdi.c: Likewise.
5529         * soft-fp/fixsfsi.c: Likewise.
5530         * soft-fp/fixtfdi.c: Likewise.
5531         * soft-fp/fixtfsi.c: Likewise.
5532         * soft-fp/fixunsdfdi.c: Likewise.
5533         * soft-fp/fixunsdfsi.c: Likewise.
5534         * soft-fp/fixunssfdi.c: Likewise.
5535         * soft-fp/fixunssfsi.c: Likewise.
5536         * soft-fp/fixunstfdi.c: Likewise.
5537         * soft-fp/fixunstfsi.c: Likewise.
5538         * soft-fp/floatdidf.c: Likewise.
5539         * soft-fp/floatdisf.c: Likewise.
5540         * soft-fp/floatditf.c: Likewise.
5541         * soft-fp/floatsidf.c: Likewise.
5542         * soft-fp/floatsisf.c: Likewise.
5543         * soft-fp/floatsitf.c: Likewise.
5544         * soft-fp/floatundidf.c: Likewise.
5545         * soft-fp/floatundisf.c: Likewise.
5546         * soft-fp/floatunditf.c: Likewise.
5547         * soft-fp/floatunsidf.c: Likewise.
5548         * soft-fp/floatunsisf.c: Likewise.
5549         * soft-fp/floatunsitf.c: Likewise.
5550         * soft-fp/gedf2.c: Likewise.
5551         * soft-fp/gesf2.c: Likewise.
5552         * soft-fp/getf2.c: Likewise.
5553         * soft-fp/ledf2.c: Likewise.
5554         * soft-fp/lesf2.c: Likewise.
5555         * soft-fp/letf2.c: Likewise.
5556         * soft-fp/muldf3.c: Likewise.
5557         * soft-fp/mulsf3.c: Likewise.
5558         * soft-fp/multf3.c: Likewise.
5559         * soft-fp/negdf2.c: Likewise.
5560         * soft-fp/negsf2.c: Likewise.
5561         * soft-fp/negtf2.c: Likewise.
5562         * soft-fp/op-1.h: Likewise.
5563         * soft-fp/op-2.h: Likewise.
5564         * soft-fp/op-4.h: Likewise.
5565         * soft-fp/op-8.h: Likewise.
5566         * soft-fp/op-common.h: Likewise.
5567         * soft-fp/quad.h: Likewise.
5568         * soft-fp/single.h: Likewise.
5569         * soft-fp/soft-fp.h: Likewise.
5570         * soft-fp/subdf3.c: Likewise.
5571         * soft-fp/subsf3.c: Likewise.
5572         * soft-fp/subtf3.c: Likewise.
5573         * soft-fp/truncdfsf2.c: Likewise.
5574         * soft-fp/trunctfdf2.c: Likewise.
5575         * soft-fp/trunctfsf2.c: Likewise.
5576         * soft-fp/unorddf2.c: Likewise.
5577         * soft-fp/unordsf2.c: Likewise.
5578         * soft-fp/unordtf2.c: Likewise.
5579         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5580         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5581         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5582         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5583         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5584         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5585         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5586         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5587         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5588         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5589         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5590         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5592 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
5594         * config/mips/lib2funcs.c: New file.
5595         * config/mips/t-mips (LIB2ADD_ST): Add it.
5597 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
5599         PR target/6526
5600         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5601         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
5603 2013-06-08  Walter Lee  <walt@tilera.com>
5605         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5606         Replace int64_t with long long.  Add __extension__ where
5607         appropriate.
5608         * config/tilepro/atomic.c: Include config.h.
5610 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
5612         * config.host (arm-wrs-vxworks): Configure with other soft float.
5614 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
5616         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5617         (mips64r5900el-*-elf*): New configurations.
5619 2013-06-04  Alan Modra  <amodra@gmail.com>
5621         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5623 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
5625         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5627 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
5629         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5630         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5631         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5633 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5635         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5636         (powerpc-wrs-vxworks): Likewise.
5638 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5640         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5641         signal frames as well.
5642         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5643         STACK_BIAS to the CFA offset.
5645 2013-05-17  Richard Henderson  <rth@redhat.com>
5647         PR target/49146
5648         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5649         (execute_cfa_program): Use it when storing to fs->regs.
5651 2013-05-08  Kai Tietz  <ktietz@redhat.com>
5653         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5654         (__deregister_frame_info): Likewise.
5656 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
5658         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5659         NaN's payload.
5661         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5663 2013-04-25  Alan Modra  <amodra@gmail.com>
5665         * config.host: Match little-endian powerpc-linux.
5667 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
5669         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5670         as 'unsigned long long' instead of 'unsigned long'.
5671         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5672         'signed long'.
5674 2013-04-10  Julian Brown  <julian@codesourcery.com>
5676         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5677         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5678         unsigned char/unsigned short.
5679         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5681 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5683         PR other/55274
5684         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5686 2013-04-04  Meador Inge  <meadori@codesourcery.com>
5688         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5689         computing the location of the link register.
5690         (aeabi_uldivmod): Ditto.
5692 2013-03-27  Kai Tietz  <ktietz@redhat.com>
5694         * config.host: Add support for cygwin x64 target.
5695         * configure: Regenerated.
5697 2013-03-26  Walter Lee  <walt@tilera.com>
5699         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5700         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5702 2013-03-25  Kai Tietz  <ktietz@redhat.com>
5704         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5706 2013-03-20  Robert Mason  <rbmj@verizon.net>
5708         * config/vxlib-tls.c (__gthread_get_tsd_data,)
5709         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5710         (__gthread_leave_tsd_dtor_context): Add prototypes.
5711         (tls_delete_hook): Update.
5713 2013-03-20  Catherine Moore  <clm@codesourcery.com>
5714             Joseph Myers  <joseph@codesourcery.com>
5715             Chao-ying Fu  <fu@mips.com>
5717         * config/mips/mips16.S:  Don't build for microMIPS.
5718         * config/mips/linux-unwind.h: Handle microMIPS frame.
5719         * config/mips/crtn.S (fini, init): New labels.
5721 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
5723         PR tree-optimization/53265
5724         * unwind-dw2.c (execute_cfa_program): Avoid
5725         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5726         on targets with DWARF_FRAME_REGISTERS < 32.
5728 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
5730         PR target/49880
5731         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5732         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5734 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
5736         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5737         sandybridge processors.
5739 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
5741         PR target/56529
5742         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5743         inclusion list.
5745 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5747         * config/microblaze/crti.S: Setup stack protection at entry
5749 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
5751         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5752         (__rotldi3): Shift bytewise if applicable.
5754 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
5756         * config/aarch64/sync-cache.c
5757         (__aarch64_sync_cache_range): Silence warnings.
5759 2013-02-25  Catherine Moore  <clm@codesourcery.com>
5761         Revert:
5762         2013-02-24  Catherine Moore  <clm@codesourcery.com>
5763             Joseph Myers  <joseph@codesourcery.com>
5764             Chao-ying Fu  <fu@mips.com>
5766         * config/mips/mips16.S:  Don't build for microMIPS.
5767         * config/mips/linux-unwind.h: Handle microMIPS frame.
5768         * config/mips/crtn.S (fini, init): New labels.
5770 2013-02-24  Catherine Moore  <clm@codesourcery.com>
5771             Joseph Myers  <joseph@codesourcery.com>
5772             Chao-ying Fu  <fu@mips.com>
5774         * config/mips/mips16.S:  Don't build for microMIPS.
5775         * config/mips/linux-unwind.h: Handle microMIPS frame.
5776         * config/mips/crtn.S (fini, init): New labels.
5778 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5779         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5780         as dividend.
5782 2013-02-16  Alan Modra  <amodra@gmail.com>
5784         PR target/55431
5785         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5786         (ppc_fallback_frame_state): Always set up save locations for fp
5787         and altivec.  Don't bother with non-callee-saved regs, r0-r13
5788         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5790 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
5792         PR target/54222
5793         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5794         _ssmulHA, _ssmulSA.
5795         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5796         _ssmulha3, _usmulusa3, _ssmulsa3.
5797         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5798         (__muldi3): XCALL __muldi3_6 instead of rcall.
5799         (__umulsidi3, __mulsidi3): New functions.
5800         (do_prologue_saves, do_epilogue_restores): New .macros.
5801         (__divdi3_moddi3): Use them.
5802         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5803         (__usmulusa3, __ssmulsa3): New functions.
5805 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
5806             Jack Howarth  <howarth@bromo.med.uc.edu>
5807             Patrick Marlier  <patrick.marlier@gmail.com>
5809         PR libitm/55693
5810         * config/darwin-crt-tm.c: Remove dummy functions hack.
5812 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
5814         PR target/54222
5815         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5816         * config/avr/lib2-object.mk: New iterator to build objects from it.
5817         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5818         lib2funcs.c.
5819         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5820         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5821         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5822         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5823         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5824         * config/avr/lib1funcs-fixed.S: Implement them.
5826 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
5828         Update copyright years.
5830 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
5832         PR target/54601
5833         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5834         Add crtcxa to extra_parts.
5835         * config/rs6000/exit.h: New file.
5836         * config/rs6000/cxa_atexit.c: New file.
5837         * config/rs6000/cxa_finalize.c: New file.
5838         * config/rs6000/crtcxa.c: New file.
5839         * config/rs6000/t-aix-cxa: New file.
5840         * config/rs6000/libgcc-aix-cxa.ver: New file.
5842 2013-01-31  Nick Clifton  <nickc@redhat.com>
5844         * config/v850/lib1funcs.S: Add support for e3v5 architecture
5845         variant.
5847 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5849         PR target/54222
5850         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5851         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5852         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5853         _divQQ,  _divHQ,  _divHA,  _divSA,
5854         _divUQQ, _divUHQ, _divUHA, _divUSA.
5856 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5858         * config.host(microblaze*-linux*): tmake_file: Remove
5859         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5860         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5861         to exclude functions from being built with libgcc.c and use
5862         the microblaze assembly.
5864 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5866         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5867         extra_parts.
5869 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5871         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5872         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5873         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5874         alignment operation.
5876 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5878         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5879         loop start address for cache clearing.
5881 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5883         * config/avr/lib1funcs.S: Remove trailing blanks.
5884         * config/avr/lib1funcs-fixed.S: Ditto.
5886 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5888         * config/avr/avr-lib.h: Add GPL copyright notice.
5890 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5892         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5893         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5894         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5895         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5897 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5899         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5900         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5902 2013-01-04  Nick Clifton  <nickc@redhat.com>
5904         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5905         the CALLT instruction is supported.
5907 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5909         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5910         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5912 2012-12-13  John Tytgat  <John@bass-software.com>
5914         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5915         is 25.
5917 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5919         PR libgcc/55451
5920         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5921         undefined signed overflows.
5923 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5925         PR target/55344
5926         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5928 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5930         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5931         (FP_TRAPPING_EXCEPTIONS): Define.
5932         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5933         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5935 2012-12-04  Richard Henderson  <rth@redhat.com>
5937         PR bootstrap/55571
5938         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5940 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5942         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5943         (FP_EX_SHIFT): Define.
5944         (FP_TRAPPING_EXCEPTIONS): Define.
5946 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5948         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5949         (FP_ROUNDMODE): Use FP_RND_MASK.
5950         * config/aarch64/sfp-exceptions.c: New.
5951         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5952         Use __sfp_handle_exceptions.
5954 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5956         * config.host: (arm*-*-freebsd*): Remove.
5957         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5958         (arm*-*-elf*): Remove.
5959         (arm*-*-wince-pe*): Remove.
5960         * arm/unwind-arm.c (struct fpa_reg): Delete.
5961         (struct fpa_regs): Delete.
5962         (phase1_vrs): Remove fpa element.
5963         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5964         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5965         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5966         * ieee754-sf.S (floatundisf): Remove FPA support.
5967         (floatdisf): Likewise.
5968         * ieee75f-df.S (floatundidf): Likewise.
5969         (floatdidf): Likewise.
5971 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5973         PR target/55445
5974         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5975         * unwind-generic.h: Likewise.
5976         * unwind-seh.c: Likewise.
5978 2012-11-28  Richard Henderson  <rth@redhat.com>
5980         PR libgcc/48076
5981         * emutls.c (__emutls_get_address): Avoid race condition between
5982         obj->loc.offset read and emutls_key initialization.
5984 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
5986         Adjust decimal point of signed accum mode to GCC default.
5988         PR target/54222
5989         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5990         _divqq_helper.
5991         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5992         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5993         (__mulha3, __mulsa3)
5994         (__divqq3, __divha3, __divsa3): Adjust to new position of
5995         decimal point of signed accum types.
5997         (__mulusa3_round): New function.
5998         (__mulusa3): Use it.
5999         (__divqq_helper): New function.
6000         (__udivuqq3): Use it.
6002 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
6004         PR bootstrap/55370
6005         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6007 2012-11-18  Teresa Johnson  <tejohnson@google.com>
6009         PR bootstrap/55051
6010         * libgcov.c (gcov_exit): Remove merged program summary
6011         comparison unless !GCOV_LOCKED.
6013 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6015         * soft-fp: Updated from glibc upstream.
6017 2012-11-06  Ian Lance Taylor  <iant@google.com>
6019         * generic-morestack.c (__generic_morestack): Align the returned
6020         stack pointer to a 32 byte boundary.
6021         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6022         increment the return address until we have decided that we don't
6023         have a varargs function.
6024         (__morestack) [32-bit]: Align stack correctly when calling C
6025         functions.
6026         (__morestack) [64-bit]: Likewise.
6028 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6030         * configure: Regenerate.
6032 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
6034         PR target/55175
6035         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6036         * config/i386/sfp-machine.h: Guard exception handling
6037         code with _SOFT_FLOAT.
6038         * config/i386/32/sfp-machine.h: Guard rounding handling
6039         code with _SOFT_FLOAT.
6040         * config/i386/64/sfp-machine.h: Ditto.
6042 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
6044         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6045         as extra_parts.
6047 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
6049         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6050         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
6051         when appropriate.  Correct structure element types.
6052         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6053         -minline-all-stringops from compile flags.
6055 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6057         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6059 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
6061         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6063 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6065         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6066         tmake_file.
6068 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
6069             Jim MacArthur  <jim.macarthur@arm.com>
6070             Marcus Shawcroft  <marcus.shawcroft@arm.com>
6071             Nigel Stephens  <nigel.stephens@arm.com>
6072             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6073             Richard Earnshaw  <rearnsha@arm.com>
6074             Sofiane Naci  <sofiane.naci@arm.com>
6075             Stephen Thomas  <stephen.thomas@arm.com>
6076             Tejas Belagod  <tejas.belagod@arm.com>
6077             Yufeng Zhang  <yufeng.zhang@arm.com>
6079         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6080         * config/aarch64/crti.S: New file.
6081         * config/aarch64/crtn.S: New file.
6082         * config/aarch64/linux-unwind.h: New file.
6083         * config/aarch64/sfp-machine.h: New file.
6084         * config/aarch64/sync-cache.c: New file.
6085         * config/aarch64/t-aarch64: New file.
6086         * config/aarch64/t-softfp: New file.
6088 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
6090         * config/mmix/crti.S: Mark program and data addresses using PRELD.
6091         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
6092         no-longer-needed LDBU insns.
6094 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6096         * config.host
6097         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6098         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6100 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6102         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6104 2012-10-15  Matthias Klose  <doko@ubuntu.com>
6106         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6108 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
6110         * configure: Regenerate.
6111         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6113 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6115         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6116         instructions for 64bit targets only.
6118 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
6120         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6121         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6122         * config/i386/32/sfp-machine.h: ... here.
6123         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6124         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6125         New defines.
6127 2012-10-07  Matthias Klose  <doko@ubuntu.com>
6129         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6130         as unused.
6131         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6133 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
6135         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6136         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6137         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6138         (ElfW): Likewise.
6140 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
6142         PR other/53889
6143         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6144         Fix parameter names.
6146 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
6148         PR target/33135
6149         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6150         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6151         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6153 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
6155         PR target/50457
6156         * config/sh/linux-atomic.S: Delete.
6157         * config/sh/linux-atomic.c: New.
6158         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6159         linux-atomic.c.  Add cflags to disable warnings.
6161 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6163         PR other/53889
6164         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6165         function.
6166         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6167         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6168         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6169         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6170         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6171         Likewise.
6172         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6173         Likewise.
6174         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6175         Likewise.
6176         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6177         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6179 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
6181         * config.host (hppa-*-openbsd*): New target.
6182         * config/pa/t-openbsd: New file.
6184 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
6186         PR target/54222
6187         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6188         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6189         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6190         (__divsa3): Use __negsi2 to negate r_quoL.
6191         * config/avr/lib1funcs.S (FALIAS): New macro.
6192         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6193         (__negsi2): ...this new function.
6194         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6195         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6196         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6197         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6198         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6199         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6201 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
6203         PR target/54089
6204         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6205         (lshrsi3): Reimplement as lshrsi3_r0.
6207 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
6209         PR target/46191
6210         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6211         of libgcc.a.
6213 2012-09-07  Teresa Johnson  <tejohnson@google.com>
6215         PR gcov-profile/54487
6216         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6217         differences.
6219 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
6221         PR target/54461
6222         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6223         not configured --with-avrlibc=no.
6224         * config/avr/t-avrlibc: New file.
6225         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6226         (DPBIT_FUNCS): Ditto.
6227         (TPBIT_FUNCS): Ditto.
6229 2012-09-04  Teresa Johnson  <tejohnson@google.com>
6231         * libgcov.c (struct gcov_summary_buffer): New structure.
6232         (gcov_histogram_insert): New function.
6233         (gcov_compute_histogram): Ditto.
6234         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6235         histograms during summary merging.
6237 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
6239         * config.host (x86_64-*-openbsd*): New target.
6241 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
6243         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6244         attribute.
6246 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6248         PR target/54222
6249         * config/avr/t-avr (conv_X): Rename to func_X.
6251 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
6253         PR target/54222
6254         * config/avr/lib1funcs-fixed.S: New file.
6255         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
6256         after they are used.
6257         (neg2, neg4): New macros.
6258         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6259         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6260         (__umulhisi3): Speed up MUL variant if there is enough flash.
6261         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6262         avr-modes.def.
6263         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6264         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6265         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6266         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6267         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6268         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6269         (LIB2FUNCS_EXCLUDE): Add supported functions.
6271 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
6273         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6274         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6275         libgcc-s-objects.
6276         * fixed-obj.mk: Only expand dependency if $o is not in
6277         LIB2FUNCS_EXCLUDE.
6279 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
6281         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6283 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
6285         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6286         depend on --enable-shared.
6287         ($(lib1asmfuncs-o)): Use %.vis files independent of
6288         --enable-shared.
6289         * static-object.mk ($(base)$(objext), $(base).vis)
6290         ($(base)_s$(objext)): Use same rules for visibility handling as in
6291         shared-object.mk.
6293 2012-08-21  Ian Lance Taylor  <iant@google.com>
6295         * config/i386/morestack.S (__morestack_non_split): Increase amount
6296         of space allocated for non-split code stack.
6298 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
6300         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6301         even if inhibit_libc.
6303 2012-08-17  Julian Brown  <julian@codesourcery.com>
6305         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6306         -fexceptions -fnon-call-exceptions if not defined.
6307         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6308         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6310 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
6312         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6313         type.
6315 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
6317         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6318         rs6000/t-slibgcc-aix.
6320 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6322         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6324 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
6326         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6328 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
6330         PR driver/54171
6331         * Makefile.in (version): Replace top_srcdir with srcdir.
6333 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
6335         * Makefile.in (version): set to BASE-VER file from gcc directory.
6337 2012-08-01  Nick Clifton  <nickc@redhat.com>
6339         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6340         Implements __clrsb for an HImode argument.
6342 2012-07-31  Nick Clifton  <nickc@redhat.com>
6344         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6345         Implements __clrsb for an HImode argument.
6346         * config/stormy16/clrsbhi2.c: New file:
6347         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6349 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
6351         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6353 2012-07-19  Tristan Gingold  <gingold@adacore.com>
6354             Richard Henderson  <rth@redhat.com>
6356         * unwind-seh.c: New file.
6357         * unwind-generic.h: Include windows.h for SEH.
6358         (_Unwind_Exception): Use 6 private fields for SEH.
6359         (_GCC_specific_handler): Declare.
6360         * unwind-c.c (__gcc_personality_seh0): New function.
6361         Adjust for SEH.
6362         * config/i386/libgcc-cygming.ver: New file.
6363         * config/i386/t-seh-eh: New file.
6364         * config.host (x86_64-*-mingw*): Default to seh.
6366 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
6368         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6370 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
6372         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6373         __builtin_expect when checking for exceptions.
6374         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6376 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6378         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6379         function declaration.
6380         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6381         (FP_RND_MASK): New.
6382         * config/ia64/sfp-exceptions.c: New.
6383         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
6385 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
6387         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6388         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6389         * config/i386/64/sfp-machine: ... (delete here) ...
6390         * config/i386/sfp-machine.h: ... to here.
6391         (FP_EX_MASK): Remove.
6392         (FP_RND_MASK): New.
6393         (FP_INIT_ROUNDMODE): Declare asm as volatile.
6395 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
6397         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6398         * config/i386/libgcc-sol2.ver: Ditto.
6399         * config/i386/libgcc-glibc.ver: Ditto.
6401 2012-06-11  Roland McGrath  <mcgrathr@google.com>
6403         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6404         If __GLIBC__ is defined, refer to __pthread_key_create instead of
6405         pthread_cancel.
6407 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
6409         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6410         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6411         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6412         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6413         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6414         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6415         * config/i386/64/sfp-machine: ... (delete here) ...
6416         * config/i386/sfp-machine.h: ... to here.
6417         (FP_EX_MASK): New.
6418         (__sfp_handle_exceptions): New function declaration.
6419         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6420         * config/i386/sfp-exceptions.c: New.
6421         * config/i386/t-softfp: New.
6422         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6423         i386/t-softfp to tmake_file.
6425 2012-06-03  David S. Miller  <davem@davemloft.net>
6427         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6428         change.
6430 2012-05-31  David S. Miller  <davem@davemloft.net>
6432         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6433         multiply and divide instructions on 32-bit when V9.
6434         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6436 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
6438         * config/arm/ieee754-df.S: Fix typos.
6439         * config/arm/ieee754-sf.S: Fix typos.
6440         * config/c6x/libunwind.S: Fix typos.
6441         * config/epiphany/udivsi3-float.c: Fix typos.
6442         * config/microblaze/muldi3_hard.S: Fix typos.
6443         * config/picochip/adddi3.S: Fix typos.
6444         * config/picochip/ashlsi3.S: Fix typos.
6445         * config/picochip/ashrsi3.S: Fix typos.
6446         * config/picochip/clzsi2.S: Fix typos.
6447         * config/picochip/cmpsi2.S: Fix typos.
6448         * config/picochip/divmod15.S: Fix typos.
6449         * config/picochip/divmodhi4.S: Fix typos.
6450         * config/picochip/divmodsi4.S: Fix typos.
6451         * config/picochip/longjmp.S: Fix typos.
6452         * config/picochip/lshrsi3.S: Fix typos.
6453         * config/picochip/parityhi2.S: Fix typos.
6454         * config/picochip/popcounthi2.S: Fix typos.
6455         * config/picochip/setjmp.S: Fix typos.
6456         * config/picochip/subdi3.S: Fix typos.
6457         * config/picochip/ucmpsi2.S: Fix typos.
6458         * config/picochip/udivmodhi4.S: Fix typos.
6459         * config/picochip/udivmodsi4.S: Fix typos.
6460         * config/spu/divv2df3.c: Fix typos.
6461         * config/spu/mfc_multi_tag_release.c: Fix typos.
6462         * config/spu/mfc_tag_release.c: Fix typos.
6463         * configure.ac: Fix typos.
6464         * configure: Regenerate.
6466 2012-05-25  Ian Lance Taylor  <iant@google.com>
6468         * config/i386/morestack.S (__morestack_non_split): Check whether
6469         caller is varargs and needs %bp to hold the stack frame on return.
6471 2012-05-25  Olivier Hainque  <hainque@adacore.com>
6473         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6474         sequence in the non pic case on VxWorks.
6476 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6478         * Makefile.in: Move dependency on install-unwind_h from
6479         "install-leaf" to "install".
6481 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6483         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6484         Use a separate command for stamp removals.
6486 2012-05-21  Andrew Pinski  <apinski@cavium.com>
6488         PR bootstrap/53183
6489         * configure.ac: Define the default includes to being none.
6490         * configure: Regenerate.
6492 2012-05-16  Olivier Hainque  <hainque@adacore.com>
6494         * Makefile.in (install-unwind_h): Rename into ...
6495         (install-unwind_h-forbuild): New target.
6496         (all): Use it instead of the former install-unwind_h.
6497         (install-unwind_h): Reinstate, copy to user install destination
6498         for include files, not to the internal gcc object directory one.
6499         (install-leaf): Depend on it.
6501 2012-05-15  Olivier Hainque  <hainque@adacore.com>
6503         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6504         register numbers. LR_REGNO replaces R_LR.
6505         (ucontext_for): New, helper for ...
6506         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6507         and 5.3 of ...
6508         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6510 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6512         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6513         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6514         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6515         i386/t-cpuinfo ...
6516         (i[34567]86-*-*, x86_64-*-*): ... here.
6518         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6519         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6521         * config/i386/i386-cpuinfo.c: Rename to ...
6522         * config/i386/cpuinfo.c: ... this.
6523         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6525         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6526         (libgcc_cv_init_priority): New test.
6527         * configure: Regenerate.
6528         * config.in: New file.
6529         * Makefile.in (clean): Rename config.h to auto-target.h.
6530         (config.h): Likewise.
6531         (stamp-h): Likewise.
6533         * config/i386/cpuinfo.c (auto-target.h): Include.
6534         (CONSTRUCTOR_PRIORITY): Define.
6535         (__cpu_indicator_init): Use it.
6537 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6539         * longlong.h: Use a URL instead of an FSF postal address.
6540         Replace spaces with tab.
6542 2012-05-08  Teresa Johnson  <tejohnson@google.com>
6544         * libgcov.c (gcov_clear, __gcov_reset): New functions.
6545         (__gcov_dump): Ditto.
6546         (gcov_dump_complete): New global variable.
6547         (gcov_exit): Export hidden to enable use in L_gcov_dump.
6548         (__gcov_flush): Outline functionality now in gcov_clear.
6549         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6551 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
6553         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6554         (mips*-*-linux*): Include mips/t-tpbit when long double is
6555         16 bytes long.
6557 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
6559         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6560         (get_available_features): New argument. Check for AVX2.
6561         (__cpu_indicator_init): Modify call to get_available_features.
6563 2012-04-25  Alan Modra  <amodra@gmail.com>
6565         * config/rs6000/crtsavevr.S: New file.
6566         * config/rs6000/crtrestvr.S: New file.
6567         * config/rs6000/t-savresfgpr: Build the above.
6568         * config/rs6000/t-netbsd: Likewise.
6570 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6572         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6574 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6576         * libgcc/config/i386/i386-cpuinfo.c: New file.
6577         * libgcc/config/i386/t-cpuinfo: New file.
6578         * libgcc/config.host: Include t-cpuinfo.
6579         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6581 2012-04-24  Chao-ying Fu  <fu@mips.com>
6583         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6585 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
6587         struct siginfo vs. siginfo_t
6589         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6590         siginfo_t instead of struct siginfo.
6591         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6592         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6593         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6594         (ia64_handle_unwabi): Likewise.
6595         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6596         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6597         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6598         (sh_fallback_frame_state): Likewise.
6599         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6600         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6602 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
6604         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6605         system call number.
6607 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
6609         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6610         if it hasn't been previously saved.
6612 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
6614         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6615         only for glibc.
6617 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
6619         PR target/52737
6620         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6621         instead of __AVR_HAVE_8BIT_SP__.
6623 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6625         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6626         (unw_table_entry): Use unw_word instead of unsigned long.
6627         (_Unwind_FindTableEntry): Likewise.
6628         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6629         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6630         (_Unwind_FindTableEntry): Likewise.
6631         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6632         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6633         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6634         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6635         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6636         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6637         (uw_init_context_1, uw_install_context): Likewise.
6638         (unw_word): Move to unwind-ia64.h
6640 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6642         * config/vms/vms-ucrt0.c: Update copyright years.
6643         Add a sanity check.
6644         (___gcc_main_flags): Declare.
6645         (__main): Check flags to remap argv and exit code.
6646         * config.host (*-*-*vms*): Adjust extra_parts.
6647         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6648         (crt0.o): Add.
6650 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
6652         * arm/lib1funcs.asm (ctzsi2): New function.
6653         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6654         * arm/t-linux (LIB1ASMFUNCS): Likewise.
6655         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6656         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6657         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6658         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6660 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
6662         * config.host: Add bits to support powerpc64-*-freebsd*.
6663         * config/rs6000/freebsd-unwind.h: New file.
6664         * config/rs6000/t-freebsd64: New file.
6666 2012-03-20  Richard Guenther  <rguenther@suse.de>
6668         PR gcov-profile/52627
6669         * libgcov.c (init_mx): Fix mutex name.
6671 2012-03-16  Tristan Gingold  <gingold@adacore.com>
6673         * config/ia64/vms-unwind.h: Remove ulong (and replace
6674         it by unw_reg where used).  Define unw_reg with __int64.
6676 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6678         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6679         Solaris 8 handling.
6680         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6681         Solaris 8 handling.
6682         (sparc_is_sighandler): Likewise.
6684 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
6686         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6687         <= saved reg size.
6689 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6691         * config/arm/crtn.S: Fix typo.
6693 2012-03-13  Richard Guenther  <rguenther@suse.de>
6695         * libgcov.c: Remove stdio.h include and NULL un-define.
6697 2012-03-13  Richard Guenther  <rguenther@suse.de>
6699         PR target/52569
6700         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6702 2012-03-13  Richard Guenther  <rguenther@suse.de>
6704         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6706 2012-03-13  Richard Guenther  <rguenther@suse.de>
6708         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6709         and __gthread_mutex_init_function definitions.
6711 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6713         * config.host (mips*-*-openbsd*): Remove.
6715 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6717         * config.host: Remove alpha*-dec-osf5.1* handling.
6718         * config/alpha/gthr-posix.c: Remove.
6719         * config/alpha/libgcc-osf5.ver: Remove.
6720         * config/alpha/osf5-unwind.h: Remove.
6721         * config/alpha/t-osf-pthread: Remove.
6722         * config/alpha/t-slibgcc-osf: Remove.
6723         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6724         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6725         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6726         * mkmap-flat.awk: Remove osf_export handling.
6728 2012-03-12  Richard Guenther  <rguenther@suse.de>
6730         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6731         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6732         (__gthread_mutex_init_function): New function.
6733         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6735         PR gcov/49484
6736         * libgcov.c: Include gthr.h.
6737         (__gcov_flush_mx): New global variable.
6738         (init_mx, init_mx_once): New functions.
6739         (__gcov_flush): Protect self with a mutex.
6740         (__gcov_fork): Re-initialize mutex after forking.
6741         * unwind-dw2-fde.c: Change condition under which to use
6742         __GTHREAD_MUTEX_INIT_FUNCTION.
6744 2012-03-12  Tristan Gingold  <gingold@adacore.com>
6746         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6747         * config/ia64/t-vms: Likewise.
6749 2012-03-11  Michael Hope  <michael.hope@linaro.org>
6751         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6752         for Thumb-2.
6754 2012-03-07  Walter Lee  <walt@tilera.com>
6756         * config/tilepro/atomic.c: Rename "atomic_" prefix to
6757         "arch_atomic_".
6758         (atomic_xor): Rename and move definition to
6759         config/tilepro/atomic.h.
6760         (atomic_nand): Ditto.
6761         * config/tilepro/atomic.h: Rename "atomic_" prefix to
6762         "arch_atomic_".
6763         (arch_atomic_xor): Move from config/tilepro/atomic.c.
6764         (arch_atomic_nand): Ditto.
6766 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6768         PR target/52507
6769         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6771 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6773         PR target/52505
6774         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6775         from RAM.
6777 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6779         PR target/52461
6780         PR target/52508
6781         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6782         if RAMPZ affects reading from RAM.
6783         (__tablejump_elpm__): Ditto.
6784         (.xload): Ditto.
6785         (__movmemx_hi): Ditto.
6786         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6787         (__do_global_dtors): Ditto.
6788         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6789         (__movmemx_hi): Ditto.
6791 2012-03-05  Richard Henderson  <rth@redhat.com>
6793         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6794         [ARM] (count_trailing_zeros): Use the builtin.
6796 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6798         * soft-fp: Imported from glibc upstream.
6800 2012-02-28  Kai Tietz  <ktietz@redhat.com>
6802         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6803         for mingw-targets as attribute gcc_struct.
6805 2012-02-28  Ian Lance Taylor  <iant@google.com>
6807         * generic-morestack.c (__splitstack_releasecontext): Correct call
6808         to __morestack_release_segments.
6810 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6812         PR target/52390
6813         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6814         for __linux__ when removing signals from __morestack_fullmask.
6816 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
6818         PR target/52261
6819         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6821 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6823         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6824         instead of HAVE_INITFINI_ARRAY.
6825         * config/ia64/crtend.S: Likewise.
6827 2012-02-20  Kai Tietz  <ktietz@redhat.com>
6829         PR libstdc++/52300
6830         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6832         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6833         to w32-unwind.h header.
6835 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6837         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6838         (mips*-*-linux*): Remove t-slibgcc-libgcc.
6839         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6840         * config/mips/mips16.S (__mips16_rdhwr): Delete.
6842 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6844         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6846 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6848         PR libitm/52220
6849         * config/darwin-crt-tm.c: Correct typo.
6851 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6852             Patrick Marlier  <patrick.marlier@gmail.com>
6854         PR libitm/52220
6855         * config/darwin-crt-tm.c: Generate dummy functions.
6857 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6858             Patrick Marlier  <patrick.marlier@gmail.com>
6860         PR libitm/52042
6861         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6862         (__doTMRegistrations): Call it.
6863         (__doTMdeRegistrations): Likewise.
6865 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6866             Anatoly Sokolov  <aesok@post.ru>
6867             Eric Weddington  <eric.weddington@atmel.com>
6869         PR target/52261
6870         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6871         (__epilogue_restores__): Ditto.
6873 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6875         PR target/51921
6876         PR target/52205
6877         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6878         Solaris 11 and slightly reformat.
6879         (sparc_is_sighandler): Likewise.
6881 2012-02-14  Walter Lee  <walt@tilera.com>
6883         * config.host: Handle tilegx and tilepro.
6884         * config/tilegx/sfp-machine.h: New file.
6885         * config/tilegx/sfp-machine32.h: New file.
6886         * config/tilegx/sfp-machine64.h: New file.
6887         * config/tilegx/t-crtstuff: New file.
6888         * config/tilegx/t-softfp: New file.
6889         * config/tilegx/t-tilegx: New file.
6890         * config/tilepro/atomic.c: New file.
6891         * config/tilepro/atomic.h: New file.
6892         * config/tilepro/linux-unwind.h: New file.
6893         * config/tilepro/sfp-machine.h: New file.
6894         * config/tilepro/softdivide.c: New file.
6895         * config/tilepro/softmpy.S: New file.
6896         * config/tilepro/t-crtstuff: New file.
6897         * config/tilepro/t-tilepro: New file.
6899 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6901         PR libstdc++/51296
6902         PR libstdc++/51906
6903         * gthr-posix.h: Allow static initializer macros to be disabled.
6904         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6906 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6908         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6909         Add t-slibgcc-libgcc to tmake_file.
6910         * config/mips/libgcc-mips16.ver: Revert previous patch.
6911         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6913 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6914             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6916         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6917         * config/cr16/crti.S: New file.
6918         * config/cr16/crtlibid.S: New file.
6919         * config/cr16/crtn.S: New file.
6920         * config/cr16/lib1funcs.S: New file.
6921         * config/cr16/t-cr16: New file.
6922         * config/cr16/t-crtlibid: New file.
6923         * config/cr16/unwind-dw2.h: New file.
6924         * config/cr16/unwind-cr16.c: New file.
6925         * config/cr16/divmodhi3.c: New file.
6927 2012-01-25  Alan Modra  <amodra@gmail.com>
6929         * config/rs6000/t-linux64: Delete.  Move..
6930         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6931         * config/rs6000/t-linux: ..and libgcc flags to here.
6933 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6935         * config.host (i[34567]86-*-interix3*):
6936         Change triplet to i[34567]86-*-interix[3-9]*.
6937         * configure: Regenerate.
6939 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6940             Richard Sandiford  <rdsandiford@googlemail.com>
6942         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6943         * config/mips/mips16.S (__mips16_rdhwr): New function.
6944         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6946 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6948         * libgcov.c (__gcov_init): Ignore objects with no functions.
6950 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6952         PR target/49868
6953         Extend __pgmx semantics to linearize memory.
6954         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6955         * config/avr/lib1funcs.S (__xload_1): New function.
6956         (__movmemx_qi, __movmemx_hi): New functions.
6957         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6958         semantics.
6960 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6962         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6963         purported sigacthandler address isn't null before dereferencing it.
6964         (sparc_is_sighandler): Likewise.
6966 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6968         PR ada/41929
6969         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6970         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6971         (sparc_is_sighandler): Likewise.
6972         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6974 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6976         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6977         compatibility thunks...
6978         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6979         (crtbeginS.o, crtendS.o): ... and these to ...
6980         * config/ia64/t-ia64-elf: ... this new file.
6981         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6982         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6984 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6986         * configure: Regenerate.
6987         * config/s390/t-crtstuff: Remove -fPIC.
6989 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6991         PR bootstrap/51006
6992         * enable-execute-stack-mprotect.c (getpagesize): Do not define
6993         for NetBSD.
6995 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6997         PR target/51345
6998         * config/avr/lib1funcs.S: Remove FIXME comments.
6999         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7001 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
7003         Implement light-weight DImode support.
7004         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7005         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7006         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7007         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7009 2011-12-30  Nathan Sidwell  <nathan@acm.org>
7011         * libgcov.c (gcov_crc32): Remove global var.
7012         (free_fn_data): New function.
7013         (buffer_fn_data): Pass in filename, more robust error recovery.
7014         (crc32_unsigned): New function.
7015         (gcov_exit): More robust detection of new program. More robust
7016         error recovery.
7017         (__gcov_init): Do not update program's crc here.
7019 2011-12-21  Tristan Gingold  <gingold@adacore.com>
7021         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7023 2011-12-21  Ian Lance Taylor  <iant@google.com>
7025         * config/i386/morestack.S: Simplify CFI opcodes throughout.
7027 2011-12-20  Ian Lance Taylor  <iant@google.com>
7029         * config/i386/morestack.S (__morestack_non_split): If there is
7030         enough stack space already, don't split.  Ask for more stack space
7031         than we required.
7033 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
7035         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7036         `sys/sdt.h'.
7037         (_Unwind_DebugHook): New function.
7038         (uw_restore_core_regs): New define.
7039         (unwind_phase2): Use uw_restore_core_regs instead of
7040         restore_core_regs.
7041         (unwind_phase2_forced): Likewise.
7042         (__gnu_Unwind_Resume): Likewise.
7044 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
7046         * config/alpha/linux-unwind.h: Update copyright years.
7047         (MD_FROB_UPDATE_CONTEXT): New define.
7048         (alpha_frob_update_context): New function.
7050 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
7052         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7053         tmake_file rather replacing it.
7055 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
7057         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7058         function is not used for PPC64.
7059         (save_world): Amend comments.  Update the VRsave mask to reflect the
7060         saved regs.
7061         (rest_world): Update comments, do not  clobber r10, do not use r8.
7062         (eh_rest_world_r10): Amend comments, do not use r8.
7063         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7064         no longer used, move restore of CR and target address to the end of
7065         the routine.
7067 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
7069         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7070         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7072 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
7074         PR target/49313
7075         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7076         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7078 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
7080         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7082 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
7084         PR target/49313
7085         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7086         * config/avr/lib1funcs.S (__muldi3): New function.
7088 2011-12-06  Andrew Pinski  <apinski@cavium.com>
7090         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7091         size of func_ptr.
7092         (__frame_dummy_init_array_entry): Likewise.
7094 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
7096         Forward-port from gcc-4_6-branch r181936 2011-12-02.
7098         PR target/51345
7099         PR target/51002
7100         * config/avr/lib1funcs.S (__prologue_saves__,
7101         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7102         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
7104 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
7106         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7108 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7110         PR other/51272
7111         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7112         (_ITM_deregisterTMCloneTable): Likewise.
7113         (__register_frame_info): Fix unused warning.
7114         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7115         pthread_default_stacksize_np): Likewise.
7116         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7118 2011-11-29  DJ Delorie  <dj@redhat.com>
7120         * config.host (rl78-*-elf): New case.
7121         * config/rl78: New directory for the Renesas RL78.
7123 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
7125         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
7126         formatting.
7128 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7130         PR other/51022
7131         * config/rs6000/t-savresfgpr: New file.
7132         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7133         $(srcdir)/config/rs6000/eabi.S.
7134         * config/rs6000/t-ppccomm-ldbl: Remove.
7135         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7136         tmake_file.
7137         (powerpc-*-eabispe*): Likewise.
7138         (powerpc-*-eabi*): Likewise.
7139         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7140         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7141         to tmake_file, remove rs6000/t-ppccomm-ldbl.
7142         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7143         tmake_file.
7144         (powerpc-*-eabisim*): Likewise.
7145         (powerpc-*-elf*): Likewise.
7146         (powerpc-*-eabialtivec*): Likewise.
7147         (powerpc-xilinx-eabi*): Likewise.
7148         (powerpc-*-rtems*): Likewise.
7149         (powerpcle-*-elf*): Likewise.
7150         (powerpcle-*-eabisim*): Likewise.
7151         (powerpcle-*-eabi*): Likewise.
7153 2011-11-27  Ian Lance Taylor  <iant@google.com>
7155         * generic-morestack.c (__splitstack_find): Check for NULL old
7156         stack value.
7157         (__splitstack_resetcontext): New function.
7158         (__splitstack_releasecontext): New function.
7159         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7161 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7163         * config/darwin-crt-tm.c: Correct comments, use correct licence.
7165 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
7167         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7169 2011-11-26  Richard Henderson  <rth@redhat.com>
7171         * config/m68k/linux-atomic.c: New file.
7172         * config/m68k/t-linux: New file.
7173         * config.host (m68k-uclinux, m68k-linux): Use it.
7175 2011-11-26  Richard Henderson  <rth@redhat.com>
7177         * crtstuff.c (__TMC_LIST__): Mark used not unused.
7178         (__TMC_END__): Only declare if hidden is available; in the definition,
7179         if hidden is unavailable add a null record.
7180         (deregister_tm_clones, register_tm_clones): New.
7181         (__do_global_dtors_aux, frame_dummy): Use them.
7182         (__do_global_dtors, __do_global_ctors_1): Likewise.
7184 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
7186         * config/darwin-crt-tm.c: New file.
7187         * config.host (darwin): Build crttms.o crttme.o to provide
7188         startup and shutdown for tm clones.
7189         * config/t-darwin (crttms.o): New build rule.
7190         (crttme.o): Likewise.
7192 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
7194         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7195         et al.
7197 2011-11-21  Richard Henderson  <rth@redhat.com>
7199         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7200         (__TMC_LIST__, __TMC_END__): New.
7201         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7202         (__do_global_dtors): Likewise.
7203         (frame_dummy): Call _ITM_registerTMCloneTable.
7204         (__do_global_ctors_1): Likewise.
7206 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7208         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7209         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7210         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7211         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7212         * config/i386/t-darwin64: Remove.
7213         * config/sh/t-netbsd (LIB2ADD): Remove.
7215 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
7217         PR target/49313
7218         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7219         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7220         * config/avr/lib1funcs.S (wmov): New assembler macro.
7221         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7222         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7223         (__udivmod64): New function.
7224         (__negdi2): New function.
7226 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
7228         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7229         *-*-freebsd*aout*): Remove.
7231 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
7233         * static-object.mk (c_flags-$o): Save c_flags.
7234         ($(base)$(objext)): Use it.
7236 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
7238         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7240 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
7242         PR target/49868
7243         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7244         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7245         New functions.
7247 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7249         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7250         functions.
7251         (aeabi_uidivmod): Likewise.
7252         (umodsi3): Likewise.
7253         (divsi3): Likewise.
7254         (aeabi_idivmod): Likewise.
7255         (modsi3): Likewise.
7257 2011-11-16  Tristan Gingold  <gingold@adacore.com>
7259         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7261 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
7263         PR target/49868
7264         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
7265         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7267 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7269         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7270         tmake_file list.
7271         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7272         * config/pa/t-stublib64: Delete.
7274 2011-11-12  Richard Henderson  <rth@redhat.com>
7276         * config/rs6000/linux-unwind.h (frob_update_context): Properly
7277         cast the pointer argument to _Unwind_SetGRPtr.
7279 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7281         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7283 2011-11-09  Ian Lance Taylor  <iant@google.com>
7285         * generic-morestack.c: Include <string.h>.
7286         (uintptr_type): Define.
7287         (struct initial_sp): Add dont_block_signals field.  Reduce size of
7288         extra array by 1.
7289         (allocate_segment): Set prev field to NULL.  Don't set
7290         __morestack_current_segment or __morestack_segments.
7291         (__generic_morestack): Update current->prev and *pp after calling
7292         allocate_segment.
7293         (__morestack_block_signals): Don't do anything if
7294         dont_block_signals is set.
7295         (__morestack_unblock_signals): Likewise.
7296         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
7297         uintptr_type.
7298         (__splitstack_block_signals): New function.
7299         (enum __splitstack_content_offsets): Define.
7300         (__splitstack_getcontext, __splitstack_setcontext): New functions.
7301         (__splitstack_makecontext): New function.
7302         (__splitstack_block_signals_context): New function.
7303         (__splitstack_find_context): New function.
7304         * config/i386/morestack.S (__morestack_get_guard): New function.
7305         (__morestack_set_guard, __morestack_make_guard): New functions.
7306         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7308 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7310         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7311         (i[34567]86-*-mingw*): ... here.
7312         (x86_64-*-mingw*): ... here.
7314 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7316         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7318 2011-11-07  Nathan Sidwell  <nathan@acm.org>
7320         * libgcov.c (struct gcov_fn_buffer): New struct.
7321         (buffer_fn_data): New helper.
7322         (gcov_exit): Rework for new gcov data structures.
7324 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
7326         PR target/49313
7327         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7329 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7331         * config.host (tmake_file): Correct comment.
7332         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7333         t-libgcc-pic.
7334         (bfin*-uclinux*): Likewise.
7335         (bfin*-linux-uclibc*): Likewise.
7336         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7338         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7339         assigning.
7340         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7341         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7342         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7343         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7344         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7345         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7346         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7347         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7348         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7349         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7350         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7351         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7352         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7354         * config/bfin/t-elf: Remove.
7355         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7357 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7359         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7360         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7361         (lm32-*-elf*, lm32-*-rtems*): Split into ...
7362         (lm32-*-elf*): ... this.
7363         (lm32-*-rtems*): ... and this.
7364         Add to tmake_file.
7365         (m32r-*-rtems*): Add to tmake_file.
7366         (moxie-*-rtems*): Likewise.
7367         (sparc-*-rtems*): Likewise.
7368         Remove t-rtems from tmake_file.
7369         (sparc64-*-rtems*): Likewise.
7370         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7371         instead.
7373 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7375         PR bootstrap/50982
7376         * config/gthr-posix.h: Move ...
7377         * gthr-posix.h: ... here.
7378         * config/gthr-lynx.h: Reflect this.
7379         * config/gthr-vxworks.h: Likewise.
7380         * config/rs6000/gthr-aix.h: Likewise.
7381         * configure.ac (target_thread_file): Likewise.
7382         * configure: Regenerate.
7384 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7386         * config.host (arm*-*-rtemseabi*): New target.
7388 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7390         PR other/50991
7391         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7392         extra-parts.
7394 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
7396         * config.host (epiphany-*-elf*): New configuration.
7397         * config/epiphany: New Directory.
7399 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
7401         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7402         * config/avr/t-rtems: New.
7403         Filter out _exit from LIB1ASMFUNCS.
7405 2011-11-04  David S. Miller  <davem@davemloft.net>
7407         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7408         * configure: Rebuild.
7410 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7412         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7413         variable.
7415 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
7417         PR target/50931
7418         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7419         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7421 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
7423         PR target/50989
7424         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7426 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7428         * config/c6x/t-elf (LIB2ADDEH): Set.
7429         * config/c6x/t-c6x-elf: Remove.
7431 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7433         * config/i386/sol2-ci.S: Rename to ...
7434         * config/i386/crti.S: ... this.
7435         * config/i386/sol2-cn.S: Rename to ...
7436         * config/i386/crtn.S: ... this.
7437         * config/sparc/sol2-ci.S: Rename to ...
7438         * config/sparc/crti.S: ... this.
7439         * config/sparc/sol2-cn.S: Rename to ...
7440         * config/sparc/crtn.S: ... this.
7441         * config/t-sol2 (CUSTOM_CRTIN): Remove.
7442         (crti.o, crtn.o): Remove.
7444 2011-11-04  Tristan Gingold  <gingold@adacore.com>
7446         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7448 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
7450         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7452 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
7454         * config.host (crisv32-*-none, cris-*-none): Remove.
7455         (crisv32-*-elf): Append to tmake_file, don't just set it.
7456         (cris-*-elf): Add missing t-fdpbit to tmake_file.
7458 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7460         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7461         (ecrtn$(objext)): Likewise.
7462         (ncrti$(objext)): Likewise.
7463         (ncrtn$(objext)): Likewise.
7465 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7467         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7469 2011-11-02  David S. Miller  <davem@davemloft.net>
7471         * configure.ac: Set host_address on sparc too.
7472         * configure: Regenerate.
7473         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7474         based upon host_address.
7475         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7477 2011-11-02  Jason Merrill  <jason@redhat.com>
7479         * config/rs6000/t-ppccomm: Add missing \.
7481 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7483         * gthr-single.h, gthr.h: New files.
7484         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7485         config/gthr-vxworks.h, config/i386/gthr-win32.h,
7486         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7487         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7488         * config/i386/gthr-win32.c: Include "gthr-win32.h".
7489         * configure.ac (thread_header): New variable.
7490         Set it depending on target_thread_file.
7491         (gthr-default.h): Link from $thread_header.
7492         * configure: Regenerate.
7493         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7495 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7497         * configure.ac (tm_file_): New variable.
7498         Determine from tm_file.
7499         (tm_file, tm_defines): Substitute.
7500         * configure: Regenerate.
7501         * mkheader.sh: New file.
7502         * Makefile.in (clean): Remove libgcc_tm.h.
7503         ($(objects)): Depend on libgcc_tm.h.
7504         (libgcc_tm_defines, libgcc_tm_file): New variables.
7505         (libgcc_tm.h, libgcc_tm.stamp): New targets.
7506         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7507         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7508         ($(extra-parts)): Depend on libgcc_tm.h.
7509         * config.host (tm_defines, tm_file): New variable.
7510         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7511         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7512         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7513         (avr-*-rtems*): Likewise.
7514         (avr-*-*): Likewise.
7515         (frv-*-elf): Likewise.
7516         (frv-*-*linux*): Likewise.
7517         (h8300-*-rtems*): Likewise.
7518         (h8300-*-elf*): Likewise.
7519         (i[34567]86-*-darwin*): Likewise.
7520         (x86_64-*-darwin*): Likewise.
7521         (rx-*-elf): Likewise.
7522         (tic6x-*-uclinux): Likewise.
7523         (tic6x-*-elf): Likewise.
7524         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7525         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7526         * config/i386/cygming-crtbegin.c: Likewise.
7527         * config/i386/cygming-crtend.c: Likewise.
7528         * config/ia64/fde-vms.c: Likewise.
7529         * config/ia64/unwind-ia64.c: Likewise.
7530         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7531         * config/rs6000/darwin-fallback.c: Likewise.
7532         * config/stormy16/lib2funcs.c: Likewise.
7533         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7534         * crtstuff.c: Likewise.
7535         * dfp-bit.h: Likewise.
7536         * emutls.c: Likewise.
7537         * fixed-bit.c: Likewise.
7538         * fp-bit.c: Likewise.
7539         * generic-morestack-thread.c: Likewise.
7540         * generic-morestack.c: Likewise.
7541         * libgcc2.c: Likewise.
7542         * libgcov.c: Likewise.
7543         * unwind-dw2-fde-dip.c: Likewise.
7544         * unwind-dw2-fde.c: Likewise.
7545         * unwind-dw2.c: Likewise.
7546         * unwind-sjlj.c: Likewise.
7548 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7550         * configure.ac: Include ../config/picflag.m4.
7551         (GCC_PICFLAG): Call it.
7552         Substitute.
7553         * configure: Regenerate.
7554         * Makefile.in (gcc_srcdir): Remove.
7555         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7556         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7557         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7558         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7559         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7560         Use $<.
7561         Remove comment.
7562         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7563         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7564         to refer to libgcc2.c.
7565         Use $<.
7566         * config/darwin-64.c: New file.
7567         * config/darwin-crt3.c: Remove comment.
7568         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7569         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7570         config/udivmodsi4.c: New files.
7571         * config/memcmp.c, config/memcpy.c, config/memmove.c,
7572         config/memset.c: New files.
7573         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7574         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7575         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7576         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7577         * config/t-openbsd-thread: New file.
7578         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7579         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7580         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7581         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7582         qrnnd.S.
7583         Adapt filename.
7584         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7585         to refer to gthr-posix.c.
7586         * config/alpha/t-vms (LIB2ADD): Set.
7587         * config/alpha/vms-gcc_shell_handler.c: New file.
7588         * config/arm/bpabi.c, config/arm/fp16.c,
7589         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7590         config/arm/unaligned-funcs.c: New files.
7591         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7592         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7593         * config/arm/t-linux: Likewise.
7594         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7595         * config/arm/t-netbsd: New file.
7596         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7597         * config/arm/t-symbian (LIB2ADD_ST): Set.
7598         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7599         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7600         * config/bfin/t-elf: New file.
7601         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7602         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7603         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7604         config/c6x/ltf.c: New files.
7605         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7606         (HOST_LIBGCC2_CFLAGS): Set.
7607         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7608         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7609         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7610         New files.
7611         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7612         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7613         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7614         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7615         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7616         files.
7617         * config/frv/t-frv (LIB2ADD): Set.
7618         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7619         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7620         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7621         config/h8300/popcounthi2.c: New files.
7622         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7623         * config/i386/gthr-win32.c: New file.
7624         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7625         * config/i386/t-cygwin: Likewise.
7626         * config/i386/t-darwin, config/i386/t-darwin64,
7627         config/i386/t-gthr-win32, config/i386/t-interix: New files.
7628         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7629         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7630         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7631         * config/ia64/quadlib.c: New file.
7632         * config/ia64/t-hpux (LIB2ADD): Set.
7633         * config/ia64/t-ia64: Add comment.
7634         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7635         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7636         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7637         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7638         * config/m32c/t-m32c (LIB2ADD): Set.
7639         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7640         * config/m32r/t-m32r: Likewise.
7641         * config/m68k/fpgnulib.c: New file.
7642         * config/m68k/t-floatlib (LIB2ADD): Set.
7643         (xfgnulib.c): New target.
7644         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7645         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7646         * config/mep/t-mep (LIB2ADD): Set.
7647         * config/microblaze/divsi3.asm: Rename to divsi3.S.
7648         * config/microblaze/moddi3.asm: Rename to moddi3.S.
7649         * config/microblaze/modsi3.asm: Rename to modsi3.S.
7650         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7651         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7652         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7653         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7654         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7655         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7656         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7657         New files.
7658         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7659         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7660         * config/pa/fptr.c, config/pa/lib2funcs.S,
7661         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7662         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7663         (LIB2ADD, LIB2ADD_ST): Set.
7664         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7665         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7666         Set.
7667         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7668         * config/pdp11/t-pdp11: New file.
7669         * config/picochip/libgccExtras/adddi3.S,
7670         config/picochip/libgccExtras/ashlsi3.S,
7671         config/picochip/libgccExtras/ashrsi3.S,
7672         config/picochip/libgccExtras/clzsi2.S,
7673         config/picochip/libgccExtras/cmpsi2.S,
7674         config/picochip/libgccExtras/divmod15.S,
7675         config/picochip/libgccExtras/divmodhi4.S,
7676         config/picochip/libgccExtras/divmodsi4.S,
7677         config/picochip/libgccExtras/lshrsi3.S,
7678         config/picochip/libgccExtras/parityhi2.S,
7679         config/picochip/libgccExtras/popcounthi2.S,
7680         config/picochip/libgccExtras/subdi3.S,
7681         config/picochip/libgccExtras/ucmpsi2.S,
7682         config/picochip/libgccExtras/udivmodhi4.S,
7683         config/picochip/libgccExtras/udivmodsi4.S: New files.
7684         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7685         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7686         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7687         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7688         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7689         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7690         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
7691         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7692         files.
7693         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7694         (HOST_LIBGCC2_CFLAGS): Set.
7695         * config/rs6000/t-darwin64: New file.
7696         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7697         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7698         * config/rs6000/t-ppccomm (LIB2ADD): Add
7699         $(srcdir)/config/rs6000/tramp.S.
7700         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7701         Add  $(srcdir)/config/rs6000/eabi.S.
7702         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7703         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7704         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7705         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7706         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7707         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7708         * config/rs6000/tramp.S: New file.
7709         * config/s390/t-tpf: Remove.
7710         * config/sh/linux-atomic.S: New file.
7711         * config/sh/t-linux (LIB2ADD): Set.
7712         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7713         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7714         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7715         to unwind-dw2.c.
7716         (HOST_LIBGCC2_CFLAGS): Set.
7717         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7718         * config/spu/divmodti4.c, config/spu/divv2df3.c,
7719         config/spu/float_disf.c, config/spu/float_unsdidf.c,
7720         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7721         config/spu/mfc_multi_tag_release.c,
7722         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7723         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7724         config/spu/multi3.c: New files.
7725         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7726         (HOST_LIBGCC2_CFLAGS): Set.
7727         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7728         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7729         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7730         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7731         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7732         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7733         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7734         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7735         config/stormy16/umodsi3.c: New files.
7736         * config/xtensa/lib2funcs.S: New file.
7737         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7738         * config/xtensa/t-xtensa (LIB2ADD): Set.
7739         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7740         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7741         Add t-freebsd-thread to tmake_file for posix threads.
7742         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7743         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7744         (*-*-lynxos*): Likewise.
7745         (*-*-netbsd*): Likewise.
7746         (*-*-openbsd*): Likewise.
7747         Add t-openbsd-thread to tmake_file for posix threads.
7748         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7749         (*-*-vxworks*): Set tmake_file.
7750         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7751         (alpha*-*-freebsd*): Likewise.
7752         (alpha*-*-netbsd*): Likewise.
7753         (alpha*-*-openbsd*): Likewise.
7754         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7755         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7756         (alpha*-dec-*vms*): Likewise.
7757         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7758         (bfin*-elf*): Add bfin/t-elf to tmake_file.
7759         (bfin*-uclinux*): Likewise.
7760         (bfin*-linux-uclibc*): Likewise.
7761         (crisv32-*-elf): Add cris/t-cris to tmake_file.
7762         (crisv32-*-none): Likewise.
7763         (cris-*-elf): Likewise.
7764         (cris-*-none): Likewise.
7765         (cris-*-linux*, crisv32-*-linux*): Likewise.
7766         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7767         tmake_file.
7768         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7769         tmake_file.
7770         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7771         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7772         (x86_64-*-elf*): Likewise.
7773         (i[34567]86-*-nto-qnx*): Likewise.
7774         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7775         win32 threads.
7776         (x86_64-*-mingw*): Likewise.
7777         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7778         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7779         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7780         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7781         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7782         tmake_file.
7783         (mipsisa64sr71k-*-elf*): Likewise.
7784         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7785         (mips-*-elf*, mipsel-*-elf*): Likewise.
7786         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7787         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7788         (mips*-*-rtems*): Likewise.
7789         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7790         to tmake_file.
7791         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7792         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7793         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7794         (spu-*-elf*): Likewise.
7795         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7797 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7799         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7800         $(srcdir) to refer to $(LIB1ASMSRC).
7801         Use $<.
7802         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7803         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7804         config/arm/lib1funcs.S: New files.
7805         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7806         * config/arm/t-arm: New file.
7807         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7808         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7809         config/arm/t-strongarm-elf: New files.
7810         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7811         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7812         * config/avr/lib1funcs.S: New file.
7813         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7814         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7815         * config/c6x/lib1funcs.S: New file.
7816         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7817         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7818         * config/frv/lib1funcs.S: New file.
7819         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7820         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7821         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7822         * config/ia64/__divxf3.asm: Rename to ...
7823         * config/ia64/__divxf3.S: ... this.
7824         Adapt lib1funcs.asm filename.
7825         * config/ia64/_fixtfdi.asm: Rename to ...
7826         * config/ia64/_fixtfdi.S: ... this.
7827         Adapt lib1funcs.asm filename.
7828         * config/ia64/_fixunstfdi.asm: Rename to ...
7829         * config/ia64/_fixunstfdi.S: ... this.
7830         Adapt lib1funcs.asm filename.
7831         * config/ia64/_floatditf.asm: Rename to ...
7832         * config/ia64/_floatditf.S: ... this.
7833         Adapt lib1funcs.asm filename.
7834         * config/ia64/lib1funcs.S: New file.
7835         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7836         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7837         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7838         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7839         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7840         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7841         * config/mep/lib1funcs.S: New file.
7842         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7843         * config/mips/mips16.S: New file.
7844         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7845         * config/pa/milli64.S: New file.
7846         * config/pa/t-linux, config/pa/t-linux64: New files.
7847         * config/picochip/lib1funcs.S: New file.
7848         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7849         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7850         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7851         * config/sh/t-netbsd: New file.
7852         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7853         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7854         * config/sh/t-sh64: New file.
7855         * config/sparc/lb1spc.S: New file.
7856         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7857         filename.
7858         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7859         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7860         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7861         config/xtensa/lib1funcs.S: New files.
7862         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7863         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7864         tmake_file.
7865         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7866         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7867         (arm*-*-linux*): Likewise.
7868         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7869         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7870         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7871         (arm*-*-ecos-elf): Likewise.
7872         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7873         (arm*-*-rtems*): Likewise.
7874         (arm*-*-elf): Likewise.
7875         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7876         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7877         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7878         (bfin*-uclinux*): Likewise.
7879         (bfin*-linux-uclibc*): Likewise.
7880         (bfin*-rtems*): Likewise.
7881         (bfin*-*): Likewise.
7882         (fido-*-elf): Merge into m68k-*-elf*.
7883         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7884         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7885         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7886         (h8300-*-elf*): Likewise.
7887         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7888         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7889         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7890         (i[34567]86-*-mingw*): Likewise.
7891         (x86_64-*-mingw*): Likewise.
7892         (i[34567]86-*-interix3*): Likewise.
7893         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7894         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7895         (m68k-*-elf*): Also handle fido-*-elf.
7896         Add m68k/t-floatlib to tmake_file.
7897         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7898         (m68k-*-linux*): Likewise.
7899         (m68k-*-rtems*): Likewise.
7900         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7901         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7902         sh64*-*-*.
7903         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7904         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7905         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7906         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7907         sh/t-netbsd to tmake_file.
7908         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7909         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7910         (sh-wrs-vxworks): Likewise.
7911         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7912         *-leon[3-9]*.
7913         (v850*-*-*): Add v850/t-v850 to tmake_file.
7914         (vax-*-linux*): Add vax/t-linux to tmake_file.
7915         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7917 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7919         * crtstuff.c: New file.
7920         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7921         (CRTSTUFF_T_CFLAGS): Define.
7922         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7923         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7924         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7925         crtstuff.c.
7926         Use $<.
7927         (crtbeginT.o): Use $(objext).
7928         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7929         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7930         (gcc-extra-parts): Remove.
7931         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7932         Set extra_parts.
7933         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7934         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7935         Add t-crtstuff-pic to tmake_file.
7936         (*-*-lynxos*): New case.
7937         Set tmake_file, extra_parts.
7938         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7939         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7940         *-*-netbsdelf[2-9]*.
7941         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7942         (*-*-rtems*): Set extra_parts.
7943         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7944         (*-*-uclinux*): New case.
7945         Set extra_parts.
7946         (*-*-vms*): New case.
7947         Set tmake_file, extra_parts.
7948         (*-*-elf): Set extra_parts.
7949         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7950         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7951         vms/t-vms64.
7952         Set extra_parts.
7953         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7954         Set extra_parts.
7955         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7956         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7957         (arm-wrs-vxworks): Append to tmake_file.
7958         Set extra_parts.
7959         (arm*-*-uclinux*): Set extra_parts.
7960         (arm*-*-ecos-elf): Likewise.
7961         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7962         arm*-*-eabi*.
7963         (arm*-*-rtems*): Set extra_parts.
7964         (arm*-*-elf): Likewise.
7965         (avr-*-rtems*): Clear extra_parts.
7966         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7967         Set extra_parts.
7968         (bfin*-uclinux*): Likewise.
7969         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7970         (bfin*-rtems*): Append to tmake_file.
7971         Set extra_parts.
7972         (bfin*-*): Likewise.
7973         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7974         (crisv32-*-elf): ... this.
7975         (crisv32-*-none): ... this.
7976         (cris-*-elf, cris-*-none): New cases.
7977         Add cris/t-elfmulti to tmake_file.
7978         (fr30-*-elf): Append to tmake_file.
7979         Set extra_parts.
7980         (frv-*-elf): Append to tmake_file, add frv/t-frv.
7981         Set extra_parts.
7982         (h8300-*-rtems*): Append to tmake_file.
7983         Set extra_parts.
7984         (h8300-*-elf*): Likewise.
7985         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7986         Set extra_parts.
7987         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7988         Set extra_parts.
7989         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7990         (x86_64-*-elf*): Likewise.
7991         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7992         (x86_64-*-freebsd*): Likewise.
7993         (x86_64-*-netbsd*): Likewise.
7994         (i[34567]86-*-linux*): Likewise.
7995         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7996         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7997         (x86_64-*-linux*): Likewise.
7998         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7999         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8000         tmake_file.
8001         Set extra_parts.
8002         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8003         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8004         Append to extra_parts, remove crtbegin.o, crtend.o.
8005         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8006         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8007         crtend.o, crtbeginS.o, crtendS.o.
8008         (ia64*-*-linux*): Comment extra_parts.
8009         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8010         Set extra_parts.
8011         (iq2000*-*-elf*): Clear extra_parts.
8012         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8013         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8014         (m32r-*-elf*, m32r-*-rtems*): Split off ...
8015         (m32r-*-rtems*): ... this.
8016         Add m32r/t-m32r to tmake_file.
8017         (m68k-*-elf*): Add t-crtin to tmake_file.
8018         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8019         (mcore-*-elf): Likewise.
8020         (microblaze*-*-*): Set extra_parts.
8021         (mips*-sde-elf*): New case.
8022         Set tmake_file, extra_parts.
8023         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8024         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8025         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8026         tmake_file.
8027         Set extra_parts.
8028         (mipsisa64sr71k-*-elf*): Likewise.
8029         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8030         (mips-*-elf*, mipsel-*-elf*): Likewise.
8031         (mips64-*-elf*, mips64el-*-elf*): Likewise.
8032         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8033         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
8034         (mips*-*-rtems*): Likewise.
8035         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8036         (moxie-*-*): Split into ...
8037         (moxie-*-elf, moxie-*-uclinux*): ... this.
8038         Add to extra_parts, remove crtbegin.o, crtend.o.
8039         (moxie-*-rtems*): New case.
8040         Set tmake_file.
8041         Clear extra_parts.
8042         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8043         Set extra_parts.
8044         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8045         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8046         tmake_file.
8047         Set extra_parts.
8048         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8049         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8050         Set extra_parts.
8051         (powerpc-*-eabisim*): Likewise.
8052         (powerpc-*-elf*): Likewise.
8053         (powerpc-*-eabialtivec*): Likewise.
8054         (powerpc-xilinx-eabi*): Likewise.
8055         (powerpc-*-eabi*): Likewise.
8056         (powerpc-*-rtems*): Likewise.
8057         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8058         tmake_file.
8059         Set extra_parts.
8060         (powerpc-*-lynxos*): Add to tmake_file.
8061         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8062         rs6000/t-crtstuff, t-crtstuff-pic.
8063         Set extra_parts.
8064         (powerpcle-*-eabisim*): Likewise.
8065         (powerpcle-*-eabi*): Likewise.
8066         (rx-*-elf): Remove extra_parts.
8067         (s390x-ibm-tpf*): Set extra_parts.
8068         (score-*-elf): Set extra_parts.
8069         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8070         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8071         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8072         (sh64l*-*-netbsd*): Split into ...
8073         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8074         Add t-crtstuff-pic to tmake_file.
8075         Set extra_parts.
8076         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8077         Set extra_parts.
8078         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8079         (sparc-*-elf*): Remove t-crtin from tmake_file.
8080         Add to extra_parts, remove crtbegin.o, crtend.o.
8081         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8082         (sparc64-*-linux*): Likewise.
8083         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8084         Add to extra_parts, remove crtbegin.o, crtend.o.
8085         (sparc64-*-elf*): Remove t-crtin from tmake_file.
8086         Add to extra_parts, remove crtbegin.o, crtend.o.
8087         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8088         Add to extra_parts, remove crtbegin.o, crtend.o.
8089         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8090         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8091         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8092         Set extra_parts.
8093         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8094         Set extra_parts.
8095         (tic6x-*-*): Change to ...
8096         (tic6x-*-elf): ... this.
8097         Set extra_parts.
8098         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8099         Set extra_parts.
8100         (am33_2.0-*-linux*): Add comment.
8101         (mep*-*-*): Add mep/t-mep to tmake_file.
8102         Set extra_parts.
8103         * config/alpha/t-vms: New file.
8104         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8105         * config/arm/crti.S, config/arm/crtn.S: New files.
8106         * config/bfin/crti.S, config/bfin/crtn.S: New files.
8107         * config/bfin/crtlibid.S: New file.
8108         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8109         * config/c6x/crti.S, config/c6x/crtn.S: New files.
8110         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8111         (crti.o, crtin.o): New rules.
8112         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8113         * config/c6x/t-uclinux: New file.
8114         * config/cris/t-elfmulti: New file.
8115         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8116         * config/fr30/crti.S, config/fr30/crtn.S: New files.
8117         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8118         * config/frv/t-frv: New file.
8119         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8120         * config/h8300/crti.S, config/h8300/crtn.S: New files.
8121         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8122         New files.
8123         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8124         refer to cygming-crtbegin.c, cygming-crtend.c.
8125         Use $<.
8126         * config/i386/t-nto: New file.
8127         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8128         * config/ia64/crti.S, config/ia64/crtn.S: New files.
8129         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8130         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8131         Use .S extension.
8132         Use $<.
8133         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8134         (crtinitS.o): New rule.
8135         * config/ia64/vms-crtinit.S: New file.
8136         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8137         * config/m32r/initfini.c: New file.
8138         * config/m32r/t-linux, config/m32r/t-m32r: New files.
8139         * config/m68k/crti.S, config/m68k/crtn.S: New files.
8140         * config/mcore/crti.S, config/mcore/crtn.S: New files.
8141         * config/mep/t-mep: New file.
8142         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8143         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8144         * config/mips/crti.S, config/mips/crtn.S: New files.
8145         * config/mips/t-crtstuff: New file.
8146         * config/mmix/crti.S, config/mmix/crtn.S: New files.
8147         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8148         (CUSTOM_CRTIN): Set.
8149         ($(T)crti.o, $(T)crtn.o): Remove $(T),
8150         dependencies.
8151         Use $(srcdir) to refer to crti.S, crtn.S.
8152         Use .S extension, $<.
8153         * config/moxie/crti.asm: Rename to ...
8154         * config/moxie/crti.S: ... this.
8155         * config/moxie/crtn.asm: Rename to ...
8156         * config/moxie/crtn.S: ... this.
8157         * config/moxie/t-moxie: Remove.
8158         * config/pa/stublib.c: New file.
8159         * config/pa/t-stublib, config/pa/t-stublib64: New files.
8160         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8161         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8162         * config/rs6000/t-crtstuff: New file.
8163         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8164         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8165         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8166         Make output file explicit.
8167         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8168         Make output file explicit.
8169         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8170         Make output file explicit.
8171         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8172         Make output file explicit.
8173         * config/score/crti.S, config/score/crtn.S: New files.
8174         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8175         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8176         files.
8177         * config/sh/t-sh, config/sh/t-superh: New files.
8178         * config/sparc/t-linux64: New file.
8179         * config/spu/cache.S, config/spu/cachemgr.c: New files.
8180         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8181         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8182         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8183         * config/t-crtin: Remove.
8184         * config/t-crtstuff-pic: New file.
8185         * config/t-sol2 (CUSTOM_CRTIN): Set.
8186         (crti.o, crtn.o): New rules.
8187         * config/vms/t-vms: New file.
8188         * config/vms/vms-ucrt0.c: New file.
8189         * config/xtensa/t-elf: New file.
8191 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8193         * Makefile.in (SHLIB_NM_FLAGS): Set.
8194         * mkmap-flat.awk, mkmap-symver.awk: New files.
8195         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8196         exceptions.
8197         * configure: Regenerate.
8198         * config/libgcc-glibc.ver: New file.
8199         * config/libgcc-libsystem.ver: New file.
8200         * config/t-libunwind (SHLIB_LC): Set.
8201         * config/t-linux: New file.
8202         * config/t-slibgcc (INSTALL_SHLIB): New.
8203         (SHLIB_INSTALL): Use it.
8204         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8205         to mkmap-symver.awk.
8206         (SHLIB_MAPFILES): Don't append, adapt pathname.
8207         (SHLIB_VERPFX): Set.
8208         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8209         to mkmap-symver.awk.
8210         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8211         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8212         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8213         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8214         to mkmap-flat.awk.
8215         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8216         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8217         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8218         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8219         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8220         * config/i386/libgcc-darwin.10.4.ver,
8221         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8222         New files.
8223         * config/i386/t-darwin: Remove.
8224         * config/i386/t-darwin64: Likewise.
8225         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8226         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8227         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8228         * config/i386/t-linux: New file.
8229         * config/i386/t-mingw32: New file.
8230         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8231         * config/ia64/t-glibc: Rename to ...
8232         * config/ia64/t-linux: ... this.
8233         (SHLIB_MAPFILES): Set.
8234         * config/ia64/t-glibc-libunwind: Rename to ...
8235         * config/ia64/t-linux-libunwind: ... this.
8236         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8237         * config/ia64/t-slibgcc-hpux: New file.
8238         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8239         * config/m68k/t-slibgcc-elf-ver: New file.
8240         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8241         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8242         to mkmap-flat.awk.
8243         * config/pa/t-slibgcc-hpux: New file.
8244         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8245         files.
8246         * config/rs6000/libgcc-darwin.10.4.ver,
8247         config/rs6000/libgcc-darwin.10.5.ver: New files.
8248         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8249         config/rs6000/libgcc-glibc.ver.
8250         * config/rs6000/libgcc-ppc64.ver: Rename to
8251         config/rs6000/libgcc-ibm-ldouble.ver.
8252         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8253         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8254         * config/rs6000/t-ldbl128: Rename to ...
8255         * config/rs6000/t-linux: ... this.
8256         (SHLIB_MAPFILES): Adapt filename.
8257         * config/rs6000/t-slibgcc-aix: New file.
8258         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8259         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8260         libgcc-excl.ver, libgcc-glibc.ver.
8261         (SHLIB_LINK, SHLIB_INSTALL): Remove.
8262         * config/sparc/libgcc-glibc.ver: New file.
8263         * config/sparc/t-linux: New file.
8264         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8265         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8266         t-slibgcc-elf-ver to tmake_file.
8267         Add t-slibgcc-nolc-override to tmake_file for posix threads on
8268         *-*-freebsd[34].
8269         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8270         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8271         t-slibgcc-elf-ver, t-linux to tmake_file.
8272         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8273         tmake_file.
8274         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8275         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8276         (alpha*-dec-*vms*): Likewise.
8277         (arm*-*-freebsd*): Append to tmake_file.
8278         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8279         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8280         arm*-*-linux-*eabi.
8281         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8282         tmake_file for arm*-*-symbianelf*.
8283         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8284         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8285         cris/t-linux.
8286         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8287         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8288         pa/t-slibgcc-dwarf-ver to tmake_file.
8289         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8290         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8291         (hppa*64*-*-hpux11*): Likewise.
8292         (hppa[12]*-*-hpux11*): Likewise.
8293         (x86_64-*-darwin*): Don't override tmake_file, but only keep
8294         i386/t-crtpc, i386/t-crtfm.
8295         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8296         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8297         to tmake_file.
8298         Add i386/t-cygwin to tmake_file.
8299         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8300         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8301         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8302         to tmake_file.
8303         Add i386/t-mingw32 to tmake_file.
8304         (x86_64-*-mingw*): Likewise.
8305         (ia64*-*-freebsd*): Append to tmake_file.
8306         (ia64*-*-linux*): Append to tmake_file.
8307         Replace ia64/t-glibc by ia64/t-linux.
8308         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8309         system libunwind.
8310         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8311         t-slibgcc-hpux to tmake_file.
8312         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8313         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8314         (m32rle-*-linux*): Likewise.
8315         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8316         sjlj exceptions.
8317         (microblaze*-linux*): New case.
8318         Append to tmake_file, add t-slibgcc-nolc-override.
8319         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8320         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8321         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8322         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8323         rs6000/t-slibgcc-aix to tmake_file.
8324         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8325         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8326         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8327         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8328         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8329         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8330         sh*-*-linux*.
8331         (sparc-*-linux*): Append to tmake_file for *-leon*.
8332         Add sparc/t-linux to tmake_file for non-Leon targets.
8333         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8334         (tic6x-*-uclinux): New case.
8335         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8336         (tic6x-*-*): Add c6x/t-elf to tmake_file.
8337         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8338         (am33_2.0-*-linux*): Append to tmake_file.
8339         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8340         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8341         x86_64-*-kfreebsd*-gnu.
8342         Add i386/t-linux to tmake_file.
8344 2011-10-28  Ian Lance Taylor  <iant@google.com>
8346         * config/i386/morestack.S: Correct CFI information to do proper
8347         returns throughout function.  In 32-bit mode, save %ebx so that it
8348         is restored on unwind.
8350 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
8352         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8353         case where B3 isn't the return register.
8355         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8356         logic for doubleword pops.
8358 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
8360         * config/rs6000/t-freebsd: Add wildcard.
8362 2011-10-21  Paul Brook  <paul@codesourcery.com>
8364         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8366 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
8367             Eric Botcazou  <ebotcazou@adacore.com>
8369         PR target/50737
8370         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8371         fs->signal_frame to 1.
8373 2011-10-07  Ian Lance Taylor  <iant@google.com>
8375         * generic-morestack-thread.c: #include <errno.h>.
8377 2011-10-07  Ian Lance Taylor  <iant@google.com>
8379         PR target/46093
8380         * generic-morestack.c (__generic_morestack): Make sure the segment
8381         is large enough for both the stack frame and the copied
8382         parameters.
8384 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8386         PR bootstrap/49804
8387         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8388         extra_parts.
8390 2011-09-28  Nick Clifton  <nickc@redhat.com>
8392         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8393         64-bit doubles are not enabled.
8394         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8395         and floatunsisf functions.
8397 2011-09-13  Paul Brook  <paul@codesourcery.com>
8399         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
8400         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8401         * unwind-arm-common.inc: New file.
8402         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8403         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8404         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8405         * config/c6x/libunwind.S: New file.
8406         * config/c6x/pr-support.c: New file.
8407         * config/c6x/unwind-c6x.c: New file.
8408         * config/c6x/unwind-c6x.h: New file.
8409         * config/c6x/t-c6x-elf: New file.
8411 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
8413         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8414         (ASM_DIVZERO): Ditto.
8415         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8417 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
8419         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8421 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
8423         PR target/50090
8424         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8425         instead of an assembly one.
8427 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
8429         PR bootstrap/50047
8430         * Makefile.in (install-unwind_h): Create
8431         $(gcc_objdir)/include/unwind.h atomically.
8433 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8435         * Makefile.in (install-unwind_h): Remove destination file first.
8437 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8439         * sync.c: New file.
8440         * config/mips/t-mips16: New file.
8441         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8442         (mips*-*-linux*): Likewise.
8443         (mips*-sde-elf*): Likewise.
8444         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8445         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8446         Add mips/t-mips16 to tmake_file.
8447         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8448         (mips-*-elf*): Likewise.
8449         (mips64-*-elf*): Likewise.
8450         (mips64orion-*-elf*): Likewise.
8451         (mips*-*-rtems*): Likewise.
8452         (mipstx39-*-elf*): Likewise.
8453         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8454         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8455         LIBGCC_SYNC_CFLAGS.
8456         Use $(srcdir) to refer to sync.c.
8457         Use $<.
8458         ($(libgcc-sync-funcs-o)): Likewise.
8459         ($(libgcc-sync-size-funcs-s-o)): Likewise.
8460         ($(libgcc-sync-funcs-s-o)): Likewise.
8462 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8464         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8465         t-libunwind.
8467 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
8469         PR other/48007
8470         * config/i386/value-unwind.h: New.
8472 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
8474         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8475         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8476         Add to tmake_file rather than overriding it.
8478 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8480         * config/t-softfp: Remove.
8481         * soft-fp: Moved from ../gcc/config.
8482         * soft-fp/README: Remove t-softfp reference.
8483         * soft-fp/t-softfp: Move to config/t-softfp.
8484         (softfp_machine_header): Remove.
8485         (softfp_file_list): Remove config subdir.
8486         (soft-fp-objects): New variable.
8487         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8488         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8489         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8490         * config/t-softfp-excl: New file.
8491         * config/t-softfp-sfdf: New file.
8492         * config/t-softfp-tf: New file.
8493         * config/no-sfp-machine.h: New file.
8494         * config/arm/sfp-machine.h: New file.
8495         * config/arm/t-softfp: New file.
8496         * config/c6x/sfp-machine.h: New file.
8497         * config/i386/32/t-fprules-softfp: Rename to ...
8498         * config/i386/32/t-softfp: ... this.
8499         (tifunctions, LIB2ADD): Remove.
8500         (softfp_int_modes): Override.
8501         * config/i386/64/t-softfp-compat (tf-functions): Remove config
8502         subdir.
8503         * config/i386/64/eqtf2.c: Likewise.
8504         * config/i386/64/getf2.c: Likewise.
8505         * config/i386/64/letf2.c: Likewise.
8506         * config/ia64/sft-machine.h: New file.
8507         * config/ia64/t-fprules-softfp: Rename to ...
8508         * config/ia64/t-softfp: ... this.
8509         * config/lm32/sfp-machine.h: New file.
8510         * config/moxie/t-moxie-softfp: Remove.
8511         * config/rs6000/ibm-ldouble-format: New file.
8512         * config/rs6000/ibm-ldouble.c: New file.
8513         * config/rs6000/libgcc-ppc-glibc.ver: New file
8514         * config/rs6000/libgcc-ppc64.ver: New file
8515         * config/rs6000/sfp-machine.h: New file.
8516         * config/rs6000/t-freebsd: New file.
8517         * config/rs6000/t-ibm-ldouble: New file.
8518         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8519         libgcc-ppc-glibc.ver.
8520         * config/rs6000/t-linux64: New file.
8521         * config/rs6000/t-ppccomm (LIB2ADD): Add
8522         $(srcdir)/config/rs6000/ibm-ldouble.c.
8523         * config/rs6000/t-ppccomm-ldbl: New file.
8524         * config/score/sfp-machine.h: New file.
8525         * config.host (sfp_machine_header): Explain.
8526         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8527         t-softfp to tmake_file.
8528         (arm*-*-uclinux*): Likewise.
8529         (arm*-*-ecos-elf): Likewise.
8530         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8531         (arm*-*-rtems*): Likewise.
8532         (arm*-*-elf): Likewise.
8533         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8534         in tmake_file.
8535         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8536         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8537         (lm32-*-uclinux*): Likewise.
8538         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8539         t-softfp-excl, t-softfp.
8540         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8541         (powerpc64-*-darwin*): Likewise.
8542         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8543         to tmake_file.
8544         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8545         tmake_file.
8546         (powerpc-*-eabisim*): Likewise.
8547         (powerpc-*-elf*): Likewise.
8548         (powerpc-*-eabialtivec*): Likewise.
8549         (powerpc-xilinx-eabi*): Likewise.
8550         (powerpc-*-rtems*): Likewise.
8551         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8552         t-softfp-excl, t-softfp to tmake_file.
8553         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8554         rs6000/t-ppccomm-ldbl to tmake_file.
8555         (powerpcle-*-elf*): Likewise.
8556         (powerpcle-*-eabisim*): Likewise.
8557         (powerpcle-*-eabi*): Likewise.
8558         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8559         rs6000/t-ibm-ldouble to tmake_file.
8560         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8561         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8562         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8563         (tic6x-*-*): Likewise.
8564         (i[34567]86-*-darwin*, x86_64-*-darwin*,
8565         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8566         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8567         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8568         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8569         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8570         t-softfp to tmake_file.
8571         * configure.ac (sfp_machine_header): Provide default if unset.
8572         Substitute.
8573         Link sfp-machine.h to config/$sfp_machine_header.
8574         * configure: Regenerate.
8576 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8578         * Makefile.in (double_type_size, long_double_type_size): Set.
8579         Remove $(fpbit-in-libgcc) support.
8580         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8581         (fpbit-src): New variable.
8582         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8583         Compile with -DFLOAT $(FPBIT_CFLAGS).
8584         Use $<.
8585         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8586         Compile with $(FPBIT_CFLAGS).
8587         Use $<.
8588         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8589         Compile with -DFLOAT $(TPBIT_CFLAGS).
8590         Use $<.
8591         * configure.ac (double_type_size, long_double_type_size):
8592         Determine and substitute.
8593         * configure: Regenerate.
8594         * fp-bit.c, fp-bit.h: New files.
8595         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8596         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8597         * config/mips/t-mips: New file.
8598         * config/mips/t-sdemtk: New file.
8599         * config/rs6000/ppc64-fp.c: New file.
8600         * config/rs6000/t-darwin (LIB2ADD): Add
8601         $(srcdir)/config/rs6000/ppc64-fp.c.
8602         * config/rs6000/t-ppc64-fp: New file.
8603         * config/rx/rx-lib.h: New file.
8604         * config/rx/t-rx (FPBIT): Set to true.
8605         ($(gcc_objdir)/fp-bit.c): Remove.
8606         (DPBIT): Set to true only with -m64bit-doubles.
8607         ($(gcc_objdir)/dp-bit.c): Remove.
8608         * config/sparc/t-softfp: Remove.
8609         * config/spu/t-elf: New file.
8610         * config/t-fdpbit, config/t-fpbit: New files.
8611         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8612         (mips*-*-*): Likewise.
8613         (arm-wrs-vxworks): Likewise.
8614         (arm*-*-freebsd*): Likewise.
8615         (avr-*-rtems*): Add t-fpbit to tmake_file.
8616         (avr-*-*): Likewise.
8617         (bfin*-elf*): Add t-fdpbit to tmake_file.
8618         (bfin*-uclinux*): Likewise.
8619         (bfin*-linux-uclibc*): Likewise.
8620         (bfin*-rtems*): New case.
8621         Add t-fdpbit to tmake_file.
8622         (bfin*-*): Add t-fdpbit to tmake_file.
8623         (crisv32-*-elf): Likewise.
8624         (cris-*-linux*): Likewise.
8625         (fr30-*-elf): Likewise.
8626         (frv-*-elf, frv-*-*linux*): Likewise.
8627         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8628         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8629         (m32r-*-elf*): Likewise.
8630         (m32rle-*-elf*): Likewise.
8631         (m32r-*-linux*): Likewise.
8632         (m32rle-*-linux*): Likewise.
8633         (mcore-*-elf): Add t-fdpbit to tmake_file.
8634         (microblaze*-*-*): Likewise.
8635         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8636         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8637         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8638         Fix typo.
8639         Add mips/t-tpbit to tmake-file.
8640         (mips*-*-linux*): Fix typo.
8641         (mips*-sde-elf*): New case
8642         Add mips/t-sdemtk unless using newlib.
8643         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8644         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8645         (mn10300-*-*): Likewise.
8646         (pdp11-*-*): Likewise.
8647         (picochip-*-*): Add t-fpbit to tmake_file.
8648         (powerpc-*-eabisimaltivec*): Likewise.
8649         (powerpc-*-eabisim*): Likewise.
8650         (powerpc-*-elf*): Likewise.
8651         (powerpc-*-eabialtivec*): Likewise.
8652         (powerpc-xilinx-eabi*): New case.
8653         Add t-fdpbit to tmake_file.
8654         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
8655         (powerpc-*-rtems*): Likewise.
8656         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8657         tmake_file.
8658         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8659         tmake_file.
8660         (powerpc-*-lynxos*): Likewise.
8661         (powerpcle-*-elf*): Likewise.
8662         (powerpcle-*-eabisim*): Likewise.
8663         (powerpcle-*-eabi*): Likewise.
8664         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8665         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8666         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8667         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8668         (rx-*-elf): Add t-fdpbit to tmake_file.
8669         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8670         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8671         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8672         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8673         sh*-*-netbsd*.
8674         (sh-*-rtems*): Add t-fdpbit to tmake_file.
8675         (sh-wrs-vxworks): Likewise.
8676         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8677         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8678         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8679         (sparc64-*-rtems*): ... new case.
8680         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8681         (spu-*-elf*): Likewise.
8682         Add spu/t-elf to tmake_file.
8683         (v850*-*-*): Add t-fdpbit to tmake_file.
8684         (xstormy16-*-elf): Likewise.
8685         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8686         (mep*-*-*): Likewise.
8688 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8690         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8691         variables.
8692         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8693         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8694         (install-unwind_h): New target.
8695         (all): Depend on it.
8696         * config.host (unwind_header): New variable.
8697         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8698         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8699         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8700         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8701         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8702         Set unwind_header.
8703         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8704         Set unwind_header.
8705         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8706         arm*-*-eabi*.
8707         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8708         Set unwind_header.
8709         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8710         (ia64*-*-freebsd*): Likewise.
8711         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8712         tmake_file.
8713         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8714         $with_system_libunwind.
8715         (ia64*-*-hpux*): Set tmake_file.
8716         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8717         (picochip-*-*): Set tmake_file.
8718         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8719         md_unwind_header.
8720         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8721         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8722         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8723         (xtensa*-*-elf*): Set tmake_file.
8724         (xtensa*-*-linux*): Likewise.
8725         * configure.ac: Include ../config/unwind_ipinfo.m4.
8726         Call GCC_CHECK_UNWIND_GETIPINFO.
8727         Link unwind.h to $unwind_header.
8728         * configure: Regenerate.
8729         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8730         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8731         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8732         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8733         * config/unwind-dw2-fde-darwin.c: New file.
8734         * config/arm/libunwind.S, config/arm/pr-support.c,
8735         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8736         config/arm/unwind-arm.h,: New files.
8737         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8738         config/ia64/t-eh-ia64, config/ia64/t-glibc,
8739         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8740         config/ia64/t-vms, config/ia64/unwind-ia64.c,
8741         config/ia64/unwind-ia64.h: New files.
8742         * config/picochip/t-picochip: New file.
8743         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8744         files.
8745         * config/rs6000/t-darwin (LIB2ADDEH): Set.
8746         * config/s390/t-tpf (LIB2ADDEH): Remove.
8747         * config/t-darwin (LIB2ADDEH): Set.
8748         * config/t-eh-dw2-dip: New file.
8749         * config/t-libunwind, config/t-libunwind-elf: New files.
8750         * config/t-sol2 (LIB2ADDEH): Remove.
8751         * config/xtensa/t-xtensa: New file.
8753 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
8755         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8756         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8757         long long to check rt_sigreturn syscall.
8759 2011-08-02  Alan Modra  <amodra@gmail.com>
8761         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8762         Restore for indirect call bcrtl from correct stack slot, and only
8763         if cfa+40 isn't valid.
8765 2011-08-01  Julian Brown  <julian@codesourcery.com>
8767         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8768         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8769         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8771 2011-08-01  Julian Brown  <julian@codesourcery.com>
8773         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8774         (libgcc-std.ver.in): Use above.
8775         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8776         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
8777         throughout file.
8778         * config/t-fixedpoint-gnu-prefix: New file.
8779         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8780         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8781         instead of __PFX__.
8783 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8785         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8786         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8787         for x86-64.  Properly check __x86_64__ and __LP64__.
8789 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8791         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8792         version.
8793         (_FP_WS_TYPE): Likewise.
8794         (_FP_I_TYPE): Likewise.
8796 2011-07-28  Alan Modra  <amodra@gmail.com>
8798         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8799         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8800         in a plt call stub.  Do restore r2 if stopped on bctrl.
8802 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8804         * config.host (i[3456x]86-*-netware*): Remove.
8805         * config/i386/netware-crt0.c, config/i386/t-nwld,
8806         config/i386/t-slibgcc-nwld: Remove.
8808 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
8810         * config.host: Handle tic6x-*-*.
8811         * config/c6x/c6x-abi.h: New file.
8813 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8815         * config/i386/crtprec.c: New file.
8816         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8817         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8818         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8819         (x86_64-*-darwin*): Likewise.
8820         (i[34567]86-*-solaris2*: Likewise.
8822 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8824         * config/alpha/crtfastmath.c: New file.
8825         * config/i386/crtfastmath.c: New file.
8826         * config/ia64/crtfastmath.c: New file.
8827         * config/mips/crtfastmath.c: New file.
8828         * config/sparc/crtfastmath.c: New file.
8830         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8831         crtfastmath.c.
8832         Add -frandom-seed=gcc-crtfastmath.
8833         * config/alpha/t-crtfm: Remove.
8834         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8835         * config/ia64/t-ia64 (crtfastmath.o): Remove.
8837         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8838         (alpha*-dec-osf5.1*): Likewise.
8839         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8840         Add crtfastmath.o to extra_parts.
8841         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8842         Add crtfastmath.o to extra_parts.
8843         (x86_64-*-darwin*): Likewise.
8844         (x86_64-*-mingw*): Likewise.
8845         (ia64*-*-elf*): Add t-crtfm to tmake_file.
8846         (ia64*-*-freebsd*): Likewise.
8847         (ia64*-*-linux*): Likewise.
8848         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8849         Add crtfastmath.o to extra_parts.
8851 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8853         * config/darwin-crt3.o: New file.
8854         * config/rs6000/darwin-crt2.c: New file.
8855         * config/t-darwin: New file.
8856         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8857         (crt2.o): New rule.
8858         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8859         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8860         (powerpc64-*-darwin*): Likewise.
8862 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8864         * config/i386/netware-crt0.c: New file.
8865         * config/i386/t-nwld: Rename to ...
8866         * config/i386/t-slibgcc-nwld: ... this.
8867         * config/i386/t-nwld: New file.
8868         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8869         tmake_file.
8870         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8871         extra_parts.
8873 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8875         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8876         i386/t-crtstuff.
8877         * configure: Regenerate.
8879 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8881         * dfp-bit.c, dfp-bit.h: New files.
8882         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8883         variables.
8884         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8885         ($(d64pbit-o)): Likewise.
8886         ($(d128pbit-o)): Likewise.
8887         * config/t-dfprules: New file.
8888         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8889         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8890         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8891         (x86_64-*-linux*): Likewise.
8892         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8893         (i[34567]86-*-cygwin*): Likewise.
8894         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8895         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8897 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8899         * Makfile.in (LIBGCOV): New variable.
8900         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8901         * libgcov.c: New file.
8903 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8905         * fixed-bit.c, fixed-bit.h: New files.
8906         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8907         refer to fixed-bit.c.
8909 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8911         * config.host (*local*): Remove.
8913 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8915         PR target/39150
8916         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8917         like i?86-*-solaris2.1[0-9]*.
8918         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8919         * configure.ac (i?86-*-solaris2*): Likewise.
8920         * configure: Regenerate.
8922 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8924         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8925         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8926         md_unwind_header by splitting out of...
8927         (i[34567]86-*-linux*): ... this.
8928         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8929         Remove md_unwind_header by splitting out of...
8930         (x86_64-*-linux*): ... this.
8932 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8934         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8936 2011-06-28  Nick Clifton  <nickc@redhat.com>
8938         * config.host: Recognize all V850 variants.
8940 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8942         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8944 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8946         * shared-object.mk (c_flags-$o): Save c_flags.
8947         ($(base)$(objext)): Use it.
8948         ($(base)_s$(objext)): Likewise.
8950 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8952         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8953         * libgcc-std.ver.in (GCC_4.7.0): New section.
8955 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8957         PR target/49313
8958         PR target/29524
8959         * config/avr/t-avr: Fix line endings.
8960         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8961         _parityXX2.
8963 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8964             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8966         * config/mips/irix6-unwind.h: New file.
8967         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8969 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8971         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8972         (sparc64_fallback_frame_state): Use it.
8973         (sparc64_frob_update_context): Further adjust context.
8974         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8975         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8976         * config/sparc/sol2-cn.S: Likewise.
8978 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8980         * enable-execute-stack-empty.c: New file.
8981         * enable-execute-stack-mprotect.c: New file.
8982         * config/i386/enable-execute-stack-mingw32.c: New file.
8983         * config.host (enable_execute_stack): New variable.
8984         Select appropriate variants.
8985         * configure.ac: Link enable-execute-stack.c to
8986         $enable_execute_stack.
8987         * configure: Regenerate.
8988         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8989         (lib2funcs): Remove _enable_execute_stack.
8991 2011-06-09  David S. Miller  <davem@davemloft.net>
8992             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8994         * config.host (sparc-*-linux*): Correct md_unwind_header
8995         filename.
8996         (s390x-ibm-tpf*): Fix typo.
8998 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9000         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9001         Add crtfastmath.o to extra_parts.
9002         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9003         mips/t-crtfm.
9004         * config/mips/t-crtfm: Remove.
9006 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9008         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9010 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9012         * config.host (sh*-*-linux*): Fix typo.
9014 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9016         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9017         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9018         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9019         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9020         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9021         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9022         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9023         Wrap in !__MINGW64__.
9024         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9025         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9026         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9027         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9028         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9029         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9030         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9031         Wrap in !__LP64__.
9032         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9033         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9034         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9035         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9036         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9037         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9038         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9039         * config/no-unwind.h: New file.
9040         * config.host (md_unwind_header): Document.
9041         Define.
9042         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9043         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9044         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9045         hppa[12]*-*-hpux11*): Set md_unwind_header.
9046         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9047         Set md_unwind_header.
9048         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9049         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9050         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9051         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9052         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9053         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9054         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9055         md_unwind_header.
9056         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9057         * configure: Regenerate.
9059 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9061         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9062         Set tmake_file, extra_parts.
9063         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9064         Remove O32 support.
9065         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9066         Remove O32 support.
9067         * config/mips/t-irix6: New file.
9068         * config/mips/t-slibgcc-irix: New file.
9070 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9072         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9073         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9075 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9077         * configure.ac (target_thread_file): Determine thread model.
9078         * configure: Regenerate.
9079         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9080         * config/alpha/t-alpha: New file.
9081         * config/alpha/t-crtfm: Use $<.
9082         * config/alpha/t-ieee: New file.
9083         * config/alpha/t-osf-pthread: New file.
9084         * config/alpha/t-slibgcc-osf: New file.
9085         * config/alpha/libgcc-osf5.ver: New file.
9087 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9089         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9090         tmake_file.
9091         Add crtfastmath.o to extra_parts.
9093 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9095         * config/gmon-sol2.c: Reindent.
9096         Cleanup comments.
9097         Remove, correct casts.
9098         Use STDERR_FILENO, NULL.
9099         (BASEADDRESS): Remove.
9100         (minbrk): Remove.
9101         (errno, sbrk): Remove declarations.
9102         (monstartup) [hp300]: Remove.
9103         (mcount): Remove.
9105 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9107         * Makefile.in (cpu_type): Define.
9108         * config.host (i[34567]86-*-rtems*): Handle it.
9109         (i[34567]86-*-solaris2*): Move body ...
9110         (*-*-solaris2*): ... here.
9111         New case, generalize.
9112         (sparc-*-elf*): Handle it.
9113         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9114         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9115         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9116         Fold into ...
9117         (sparc*-*-solaris2*): ... this.
9118         New case.
9119         (sparc64-*-elf*): Handle it.
9120         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9121         Merge ../gcc/config/i386/gmon-sol2.c.
9122         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9123         Use C comments.
9124         Merge ../gcc/config/i386/sol2-gc1.asm.
9125         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9126         Use C comments.
9127         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9128         Use C comments.
9129         * config/i386/t-crtfm (crtfastmath.o): Use $<.
9130         * config/i386/t-crtstuff: New file.
9131         * config/i386/t-softfp: New file.
9132         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9133         $(T)crti.o, $(T)crtn.o): Remove.
9134         (gcrt1.o): New rule.
9135         (TARGET_LIBGCC2_CFLAGS): Remove.
9136         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9137         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9138         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9139         * config/sparc/t-sol2: New file.
9140         * config/sparc/t-crtfm: Move to ...
9141         * config/t-crtfm: ... this.
9142         Use $(cpu_type), $<.
9143         * config/t-crtin: New file.
9144         * config/sparc/t-softfp: New file.
9145         * config/sparc/t-softmul: New file.
9146         * config/t-rtems: New file.
9147         * config/t-slibgcc: New file.
9148         * config/t-slibgcc-elf-ver: New file.
9149         * config/t-slibgcc-gld: New file.
9150         * config/t-slibgcc-sld: New file.
9151         * config/t-sol2: New file.
9152         * configure.ac: Include ../config/lib-ld.m4.
9153         Call AC_LIB_PROG_LD_GNU.
9154         Substitute cpu_type.
9155         * configure: Regenerate.
9157 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
9159         PR bootstrap/49173
9160         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9161         libgcc-std.ver in the build directory.
9162         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9163         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9165 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
9167         * libgcc-std.ver.in: New file.
9168         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9169         variables.
9170         (libgcc-std.ver): New rule.
9171         * config/t-gnu-prefix: New file.
9173 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9175         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9177 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9179         * config/i386/darwin-lib.h: New file.
9181 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
9183         * config/arm/symbian-lib.h: New.
9185 2011-05-04  Chris Demetriou  <cgd@google.com>
9187         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9188         (__x86.get_pc_thunk.bx): ...this.
9189         (__morestack): Adjust for rename, remove undef of __i686.
9191 2011-05-03  Chris Demetriou  <cgd@google.com>
9193         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9195 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
9197         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9198         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9199         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9200         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9201         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9202         Remove cases.
9204 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
9206         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9207         Adjust copyright year.
9209 2011-03-07  Ian Lance Taylor  <iant@google.com>
9211         * generic-morestack.c (__splitstack_find): Adjust returned stack
9212         pointer to include all registers pushed by __morestack.
9214 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
9216         PR target/40125
9217         * configure.ac: Call ACX_NONCANONICAL_TARGET.
9218         (toolexecdir): Calculate and AC_SUBST.
9219         (toolexeclibdir): Likewise.
9220         * Makefile.in (target_noncanonical): Import.
9221         (toolexecdir): Likewise.
9222         (toolexeclibdir): Likewise.
9223         * configure: Regenerate.
9225 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
9227         PR target/46040
9228         * config/arm/bpabi.h: Rename to...
9229         * config/arm/bpabi-lib.h: ...this.
9231 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9233         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9234         appropriate.
9235         * configure: Regenerate.
9237 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
9239         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9240         __FLOAT_WORD_ORDER__.
9241         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9242         Delete.
9244 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9246         PR other/46202
9247         * Makefile.in (install-strip): New phony target.
9249 2010-11-07  Ian Lance Taylor  <iant@google.com>
9251         PR target/46089
9252         * config/i386/morestack.S (__morestack_large_model): New
9253         function.
9255 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
9257         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9258         Delete.
9259         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9261 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
9263         * config/arm/bpabi.h: New file.
9264         * config/frv/frv-abi.h: New file.
9266 2010-10-01  Ian Lance Taylor  <iant@google.com>
9268         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9269         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9271 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
9273         PR target/45858
9274         * config.host: Add the missing `$'.
9276 2010-09-30  Michael Eager  <eager@eagercon.com>
9278         * config.host: Add microblaze*-*-*.
9279         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9280         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9281         udivsi3.asm,umodsi3.asm}:  New.
9283 2010-09-28  Ian Lance Taylor  <iant@google.com>
9285         * configure.ac: Adjust CFI test to test assembler directly rather
9286         than checking gcc preprocessor macro.
9287         * configure: Rebuild.
9289 2010-09-27  Ian Lance Taylor  <iant@google.com>
9291         * configure.ac: Test whether assembler supports CFI directives.
9292         * config.host: Only add t-stack and i386/t-stack-i386 to
9293         tmake_file if libgcc_cv_cfi is "yes".
9294         * configure: Rebuild.
9296 2010-09-27  Ian Lance Taylor  <iant@google.com>
9298         * generic-morestack.h: New file.
9299         * generic-morestack.c: New file.
9300         * generic-morestack-thread.c: New file.
9301         * config/i386/morestack.S: New file.
9302         * config/t-stack: New file.
9303         * config/i386/t-stack-i386: New file.
9304         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9305         i386/t-stack-i386 to tmake_file.
9307 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
9309         * Makefile.in (libgcc-extra-parts):  Check for static archives and
9310         invoke ranlib after installing them.
9311         (gcc-extra-parts): Likewise.
9312         (install-leaf): Likewise.
9314 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
9316         * configure: Regenerated.
9318 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
9320         * configure: Regenerated.
9322 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
9323             Andrew Pinski  <pinskia@gmail.com>
9325         PR target/40959
9326         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
9328 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9330         PR target/45524
9331         * configure: Regenerated.
9333 2010-09-06  Andreas Schwab  <schwab@redhat.com>
9335         * configure: Regenerate.
9337 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9339         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9340         64bit targets.
9341         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9342         for 64bit targets.
9344 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
9345             Iain Sandoe  <iains@gcc.gnu.org>
9347         PR target/45476
9348         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9349         LIB2FUNCS_EXCLUDE functions.
9351 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9353         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9354         Include dfp.m4.
9355         * configure: Regenerate.
9357 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
9359         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9360         i386/t-freebsd to tmake_file.
9361         * config/i386/t-freebsd: New file.
9362         * config/i386/libgcc-bsd.ver: New file.
9364 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
9366         * config.host (powerpc*-eabispe*): Set tmake_file.
9367         (powerpc*-eabi*): Likewise.
9368         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9369         crtbeginS, crtendS, crtbeginT.
9371 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
9373         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9374         to tmake_file.  Add crtfastmath.o to extra_parts.
9375         * config/mips/t-crtfm: New.
9377 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
9379         * config.host (sparc64-*-rtems*): New target.
9381 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9383         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9384         assembler syntax.
9386 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
9388         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9390 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9392         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9393         alpha-dec-osf5.0* support.
9395 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
9397         * config.host: Add lm32-*-rtems*.
9399 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9400             Uros Bizjak  <ubizjak@gmail.com>
9402         PR target/39048
9403         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9404         like other remaining 32-bit x86 OSes.
9405         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9406         assembler syntax.
9407         * config/i386/libgcc-sol2.ver: New file.
9408         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9410 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
9412         PR c/43553
9413         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9414         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9415         is used and substitute set_use_emutls.
9416         * configure: Regenerated.
9418 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
9420         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9422 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9424         PR target/38085
9425         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9426         MULTILIB_CFLAGS.
9427         ($(T)gcrt1.o): Likewise.
9428         ($(T)crt1.o): Likewise.
9429         ($(T)crti.o): Likewise.
9430         ($(T)crtn.o): Likewise.
9432 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9434         PR other/42980
9435         * Makefile.in (install): Use $(MAKE) string in rule, for
9436         parallel make.
9438 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
9440         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9441         * config/mmix/t-mmix: New file.
9442         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9444 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
9446         PR java/41991
9447         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9448         SHLIB_MAPFILES.
9450 2010-01-04  Anthony Green  <green@moxielogic.com>
9452         * config/moxie/crti.asm, config/moxie/crtn.asm,
9453         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9454         config/moxie/t-moxie: New files.
9455         * config.host: Add t-moxie-softfp reference.
9457 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
9459         PR other/39888
9460         * config/t-slibgcc-darwin: Fix embedded rpaths for
9461         --enable-version-specific-runtime-libs, build extension stub
9462         libs exposing features available from current libgcc_s.
9464 2009-11-11  Jon Beniston  <jon@beniston.com>
9466         * config.host: Add lm32 targets.
9467         * config/lm32: New directory.
9468         * config/lm32/libgcc_lm32.h: New file.
9469         * config/lm32/_mulsi3.c: New file.
9470         * config/lm32/_udivmodsi4.c: New file.
9471         * config/lm32/_divsi3.c: New file.
9472         * config/lm32/_modsi3.c: New file.
9473         * config/lm32/_udivsi3.c: New file.
9474         * config/lm32/_umodsi3.c: New file.
9475         * config/lm32/_lshrsi3.S: New file.
9476         * config/lm32/_ashrsi3.S: New file.
9477         * config/lm32/_ashlsi3.S: New file.
9478         * config/lm32/crti.S: New file.
9479         * config/lm32/crtn.S: New file.
9480         * config/lm32/t-lm32: New file.
9481         * config/lm32/t-elf: New file.
9482         * config/lm32/t-uclinux: New file.
9484 2009-10-26  Nick Clifton  <nickc@redhat.com>
9486         * config.host: Add support for RX target.
9487         * config/rx: New directory.
9488         * config/rx/rx-abi-functions.c: New file. Supplementary
9489         functions for libgcc to support the RX ABI.
9490         * config/rx/rx-abi.h: New file.  Supplementary header file for
9491         libgcc RX ABI functions.
9492         * config/rx/t-rx: New file: Makefile fragment for building
9493         libgcc for the RX.
9495 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
9497         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9498         constraint of y0 to "g".
9500 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9502         * config.host: Include the s390 makefile fragments.
9503         * config/s390/32/_fixdfdi.c: New file.
9504         * config/s390/32/_fixsfdi.c: New file.
9505         * config/s390/32/_fixtfdi.c: New file.
9506         * config/s390/32/_fixunsdfdi.c: New file.
9507         * config/s390/32/_fixunssfdi.c: New file.
9508         * config/s390/32/_fixunstfdi.c: New file.
9509         * config/s390/32/t-floattodi: New file.
9510         * config/s390/libgcc-glibc.ver: New file.
9511         * config/s390/t-crtstuff: New file.
9512         * config/s390/t-linux: New file.
9513         * config/s390/t-tpf: New file.
9515 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9517         * configure.ac (AC_PREREQ): Bump to 2.64.
9519 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
9521         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9523 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9525         * configure: Regenerate.
9527 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
9529         * config.host (ia64-hp-*vms*): New target.
9530         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9531         with ia64-hp-*vms*.
9533 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9535         * configure.ac: Add snippet for maintainer-mode.
9536         * configure: Regenerate.
9537         * Makefile.in (AUTOCONF, configure_deps): New variables.
9538         ($(srcdir)/configure)): New rule, active only with maintainer
9539         mode turned on.
9541 2009-06-23  DJ Delorie  <dj@redhat.com>
9543         Add MeP port.
9544         * config.host: Add mep support.
9546 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
9548         * config.host: Add i386/${host_address}/t-fprules-softfp and
9549         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9551         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9552         for mingw targets.
9553         * config/i386/64/_multc3.c: Likewise.
9554         * config/i386/64/_powitf2.c: Likewise.
9555         * config/i386/64/eqtf2.c: Likewise.
9556         * config/i386/64/getf2.c: Likewise.
9557         * config/i386/64/letf2.c: Likewise.
9558         * config/i386/64/letf2.c: Likewise.
9559         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9560         unsigned long long for x64 mingw targets.
9561         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9562         (_FP_I_TYPE): Define as long long for x64 mingw target.
9564 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
9566         * config.host (vax-*-linux*): New.
9568 2009-05-31  Anthony Green  <green@moxielogic.com>
9570         * config.host: Add moxie support.
9571         * config/moxie/t-moxie: New file.
9573 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
9575         * config.host: Add i386/${host_address}/t-fprules-softfp and
9576         t-softfp to tmake_file for i[34567]86-*-cygwin*.
9578 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
9580         * config.host: Add i386/${host_address}/t-fprules-softfp to
9581         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9583 2009-04-09  Nick Clifton  <nickc@redhat.com>
9585         * config/ia64/tf-signs.c: Change copyright header to refer to
9586         version 3 of the GNU General Public License with version 3.1
9587         of the GCC Runtime Library Exception and to point readers at
9588         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9589         web page.
9590         * config/i386/32/tf-signs.c: Likewise.
9591         * config/libbid/_addsub_dd.c: Likewise.
9592         * config/libbid/_addsub_sd.c: Likewise.
9593         * config/libbid/_addsub_td.c: Likewise.
9594         * config/libbid/_dd_to_df.c: Likewise.
9595         * config/libbid/_dd_to_di.c: Likewise.
9596         * config/libbid/_dd_to_sd.c: Likewise.
9597         * config/libbid/_dd_to_sf.c: Likewise.
9598         * config/libbid/_dd_to_si.c: Likewise.
9599         * config/libbid/_dd_to_td.c: Likewise.
9600         * config/libbid/_dd_to_tf.c: Likewise.
9601         * config/libbid/_dd_to_udi.c: Likewise.
9602         * config/libbid/_dd_to_usi.c: Likewise.
9603         * config/libbid/_dd_to_xf.c: Likewise.
9604         * config/libbid/_df_to_dd.c: Likewise.
9605         * config/libbid/_df_to_sd.c: Likewise.
9606         * config/libbid/_df_to_td.c: Likewise.
9607         * config/libbid/_di_to_dd.c: Likewise.
9608         * config/libbid/_di_to_sd.c: Likewise.
9609         * config/libbid/_di_to_td.c: Likewise.
9610         * config/libbid/_div_dd.c: Likewise.
9611         * config/libbid/_div_sd.c: Likewise.
9612         * config/libbid/_div_td.c: Likewise.
9613         * config/libbid/_eq_dd.c: Likewise.
9614         * config/libbid/_eq_sd.c: Likewise.
9615         * config/libbid/_eq_td.c: Likewise.
9616         * config/libbid/_ge_dd.c: Likewise.
9617         * config/libbid/_ge_sd.c: Likewise.
9618         * config/libbid/_ge_td.c: Likewise.
9619         * config/libbid/_gt_dd.c: Likewise.
9620         * config/libbid/_gt_sd.c: Likewise.
9621         * config/libbid/_gt_td.c: Likewise.
9622         * config/libbid/_isinfd128.c: Likewise.
9623         * config/libbid/_isinfd32.c: Likewise.
9624         * config/libbid/_isinfd64.c: Likewise.
9625         * config/libbid/_le_dd.c: Likewise.
9626         * config/libbid/_le_sd.c: Likewise.
9627         * config/libbid/_le_td.c: Likewise.
9628         * config/libbid/_lt_dd.c: Likewise.
9629         * config/libbid/_lt_sd.c: Likewise.
9630         * config/libbid/_lt_td.c: Likewise.
9631         * config/libbid/_mul_dd.c: Likewise.
9632         * config/libbid/_mul_sd.c: Likewise.
9633         * config/libbid/_mul_td.c: Likewise.
9634         * config/libbid/_ne_dd.c: Likewise.
9635         * config/libbid/_ne_sd.c: Likewise.
9636         * config/libbid/_ne_td.c: Likewise.
9637         * config/libbid/_sd_to_dd.c: Likewise.
9638         * config/libbid/_sd_to_df.c: Likewise.
9639         * config/libbid/_sd_to_di.c: Likewise.
9640         * config/libbid/_sd_to_sf.c: Likewise.
9641         * config/libbid/_sd_to_si.c: Likewise.
9642         * config/libbid/_sd_to_td.c: Likewise.
9643         * config/libbid/_sd_to_tf.c: Likewise.
9644         * config/libbid/_sd_to_udi.c: Likewise.
9645         * config/libbid/_sd_to_usi.c: Likewise.
9646         * config/libbid/_sd_to_xf.c: Likewise.
9647         * config/libbid/_sf_to_dd.c: Likewise.
9648         * config/libbid/_sf_to_sd.c: Likewise.
9649         * config/libbid/_sf_to_td.c: Likewise.
9650         * config/libbid/_si_to_dd.c: Likewise.
9651         * config/libbid/_si_to_sd.c: Likewise.
9652         * config/libbid/_si_to_td.c: Likewise.
9653         * config/libbid/_td_to_dd.c: Likewise.
9654         * config/libbid/_td_to_df.c: Likewise.
9655         * config/libbid/_td_to_di.c: Likewise.
9656         * config/libbid/_td_to_sd.c: Likewise.
9657         * config/libbid/_td_to_sf.c: Likewise.
9658         * config/libbid/_td_to_si.c: Likewise.
9659         * config/libbid/_td_to_tf.c: Likewise.
9660         * config/libbid/_td_to_udi.c: Likewise.
9661         * config/libbid/_td_to_usi.c: Likewise.
9662         * config/libbid/_td_to_xf.c: Likewise.
9663         * config/libbid/_tf_to_dd.c: Likewise.
9664         * config/libbid/_tf_to_sd.c: Likewise.
9665         * config/libbid/_tf_to_td.c: Likewise.
9666         * config/libbid/_udi_to_dd.c: Likewise.
9667         * config/libbid/_udi_to_sd.c: Likewise.
9668         * config/libbid/_udi_to_td.c: Likewise.
9669         * config/libbid/_unord_dd.c: Likewise.
9670         * config/libbid/_unord_sd.c: Likewise.
9671         * config/libbid/_unord_td.c: Likewise.
9672         * config/libbid/_usi_to_dd.c: Likewise.
9673         * config/libbid/_usi_to_sd.c: Likewise.
9674         * config/libbid/_usi_to_td.c: Likewise.
9675         * config/libbid/_xf_to_dd.c: Likewise.
9676         * config/libbid/_xf_to_sd.c: Likewise.
9677         * config/libbid/_xf_to_td.c: Likewise.
9678         * config/libbid/bid128.c: Likewise.
9679         * config/libbid/bid128_2_str.h: Likewise.
9680         * config/libbid/bid128_2_str_macros.h: Likewise.
9681         * config/libbid/bid128_2_str_tables.c: Likewise.
9682         * config/libbid/bid128_add.c: Likewise.
9683         * config/libbid/bid128_compare.c: Likewise.
9684         * config/libbid/bid128_div.c: Likewise.
9685         * config/libbid/bid128_fma.c: Likewise.
9686         * config/libbid/bid128_logb.c: Likewise.
9687         * config/libbid/bid128_minmax.c: Likewise.
9688         * config/libbid/bid128_mul.c: Likewise.
9689         * config/libbid/bid128_next.c: Likewise.
9690         * config/libbid/bid128_noncomp.c: Likewise.
9691         * config/libbid/bid128_quantize.c: Likewise.
9692         * config/libbid/bid128_rem.c: Likewise.
9693         * config/libbid/bid128_round_integral.c: Likewise.
9694         * config/libbid/bid128_scalb.c: Likewise.
9695         * config/libbid/bid128_sqrt.c: Likewise.
9696         * config/libbid/bid128_string.c: Likewise.
9697         * config/libbid/bid128_to_int16.c: Likewise.
9698         * config/libbid/bid128_to_int32.c: Likewise.
9699         * config/libbid/bid128_to_int64.c: Likewise.
9700         * config/libbid/bid128_to_int8.c: Likewise.
9701         * config/libbid/bid128_to_uint16.c: Likewise.
9702         * config/libbid/bid128_to_uint32.c: Likewise.
9703         * config/libbid/bid128_to_uint64.c: Likewise.
9704         * config/libbid/bid128_to_uint8.c: Likewise.
9705         * config/libbid/bid32_to_bid128.c: Likewise.
9706         * config/libbid/bid32_to_bid64.c: Likewise.
9707         * config/libbid/bid64_add.c: Likewise.
9708         * config/libbid/bid64_compare.c: Likewise.
9709         * config/libbid/bid64_div.c: Likewise.
9710         * config/libbid/bid64_fma.c: Likewise.
9711         * config/libbid/bid64_logb.c: Likewise.
9712         * config/libbid/bid64_minmax.c: Likewise.
9713         * config/libbid/bid64_mul.c: Likewise.
9714         * config/libbid/bid64_next.c: Likewise.
9715         * config/libbid/bid64_noncomp.c: Likewise.
9716         * config/libbid/bid64_quantize.c: Likewise.
9717         * config/libbid/bid64_rem.c: Likewise.
9718         * config/libbid/bid64_round_integral.c: Likewise.
9719         * config/libbid/bid64_scalb.c: Likewise.
9720         * config/libbid/bid64_sqrt.c: Likewise.
9721         * config/libbid/bid64_string.c: Likewise.
9722         * config/libbid/bid64_to_bid128.c: Likewise.
9723         * config/libbid/bid64_to_int16.c: Likewise.
9724         * config/libbid/bid64_to_int32.c: Likewise.
9725         * config/libbid/bid64_to_int64.c: Likewise.
9726         * config/libbid/bid64_to_int8.c: Likewise.
9727         * config/libbid/bid64_to_uint16.c: Likewise.
9728         * config/libbid/bid64_to_uint32.c: Likewise.
9729         * config/libbid/bid64_to_uint64.c: Likewise.
9730         * config/libbid/bid64_to_uint8.c: Likewise.
9731         * config/libbid/bid_b2d.h: Likewise.
9732         * config/libbid/bid_binarydecimal.c: Likewise.
9733         * config/libbid/bid_conf.h: Likewise.
9734         * config/libbid/bid_convert_data.c: Likewise.
9735         * config/libbid/bid_decimal_data.c: Likewise.
9736         * config/libbid/bid_decimal_globals.c: Likewise.
9737         * config/libbid/bid_div_macros.h: Likewise.
9738         * config/libbid/bid_dpd.c: Likewise.
9739         * config/libbid/bid_flag_operations.c: Likewise.
9740         * config/libbid/bid_from_int.c: Likewise.
9741         * config/libbid/bid_functions.h: Likewise.
9742         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9743         * config/libbid/bid_inline_add.h: Likewise.
9744         * config/libbid/bid_internal.h: Likewise.
9745         * config/libbid/bid_round.c: Likewise.
9746         * config/libbid/bid_sqrt_macros.h: Likewise.
9748 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
9750         * Makefile.in: Change copyright header to refer to version
9751         3 of the GNU General Public License and to point readers at the
9752         COPYING3 file and the FSF's license web page.
9753         * config.host: Likewise.
9755 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
9757         * config.host: Reorder and merge to match config.gcc change.
9759 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
9761         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9763 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
9765         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9766         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9767         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9768         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9770 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
9772         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9773         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9775 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
9777         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9778         ia64/t-softfp-compat to tmake_file.
9780         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9782         * config/ia64/__divxf3.asm: New.
9783         * config/ia64/_fixtfdi.asm: Likewise.
9784         * config/ia64/_fixunstfdi.asm: Likewise.
9785         * config/ia64/_floatditf.asm: Likewise.
9786         * config/ia64/t-fprules-softfp: Likewise.
9787         * config/ia64/t-softfp-compat: Likewise.
9788         * config/ia64/tf-signs.c: Likewise.
9790 2009-01-18  Ben Elliston  <bje@au.ibm.com>
9792         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9794 2009-01-16  Ben Elliston  <bje@au.ibm.com>
9796         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9797         to tmake_file.
9799 2009-01-13  Ben Elliston  <bje@au.ibm.com>
9801         * config/t-softfp: New file.
9802         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9803         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9805 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
9807         * config.host: Add m32r*-*-rtems*.
9809 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
9811         * config.host: Add m32c*-*-rtems*.
9813 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9815         PR bootstrap/33100
9816         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9817         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9818         * configure: Regenerate.
9819         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9820         tmake_file here from gcc/config.gcc.
9821         Move extra_parts here from gcc/config.gcc.
9822         * config/i386/t-sol2: Move here from gcc/config/i386.
9823         Use gcc_srcdir instead of srcdir.
9825 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
9827         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9828         case.
9830 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
9832         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9834 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
9836         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9838 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
9840         Add picoChip port.
9841         * config.host: Add picochip-*-*.
9843 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
9845         * config.host: Match more processor names for Xtensa.
9847 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9849         * config/i386/64/t-softfp-compat: Update comments.
9851 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9853         * config/i386/64/_divtc3-compat.c: Moved to ...
9854         * config/i386/64/_divtc3.c: Here.
9856         * config/i386/64/_multc3-compat.c: Moved to ...
9857         * config/i386/64/_multc3.c: Here.
9859         * config/i386/64/_powitf2-compat.c: Moved to ...
9860         * config/i386/64/_powitf2.c: Here.
9862         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9863         .c suffix instead of -compat.c.
9865 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9867         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9868         (_FP_MUL_MEAT_D): Ditto.
9869         (_FP_DIV_MEAT_S): Ditto.
9870         (_FP_DIV_MEAT_D): Ditto.
9872 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9874         * Makefile.in: Add support for __sync_* libgcc functions.
9876 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9878         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9880 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9882         PR boostrap/36702
9883         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9884         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9886         * config/i386/64/t-fprules-softfp: Moved to ...
9887         * config/i386/64/t-softfp-compat: This.  New.
9889 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9891         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9892         Initialize f with 0.0.
9894 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9896         PR target/36669
9897         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9899         * config/i386/64/_divtc3-compat.c: New.
9900         * config/i386/64/_multc3-compat.c: Likewise.
9901         * config/i386/64/_powitf2-compat.c: Likewise.
9902         * config/i386/64/eqtf2.c: Likewise.
9903         * config/i386/64/getf2.c: Likewise.
9904         * config/i386/64/letf2.c: Likewise.
9905         * config/i386/64/t-fprules-softfp: Likewise.
9907 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9909         * config.host: Add i386/${host_address}/t-fprules-softfp to
9910         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9911         i[34567]86-*-linux*, x86_64-*-linux*.
9913         * configure.ac: Set host_address to 64 or 32 for x86.
9914         * configure: Regenerated.
9916         * Makefile.in (config.status): Also depend on
9917         $(srcdir)/config.host.
9919         * config/i386/32/t-fprules-softfp: New.
9920         * config/i386/32/tf-signs.c: Likewise.
9922         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9924 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9925             Uros Bizjak  <ubizjak@gmail.com>
9927         * config/i386/32/sfp-machine.h: New.
9929 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9931         * config/rs6000/t-ppccomm: Remove rules that conflict with
9932         auto-generated rules.
9934 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9936         * configure.ac: sinclude override.m4.
9937         * configure: Regenerate.
9939 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9941         * configure: Regenerate.
9943 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9945         * Makefile.in (DECNUMINC): Remove
9946         -I$(MULTIBUILDTOP)../../libdecnumber.
9947         * gstdint.h: New.
9949 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9951         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9952         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9953         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9954         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9955         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9956         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9957         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9958         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9959         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9960         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9961         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9962         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9963         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9964         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9966 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9968         * config.host (sh2[lbe]*-*-linux*): Allow target.
9970 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9972         * config/rs6000/t-ppccomm: Add build rules for new files.
9973         (LIB2ADD_ST): New variable.
9975 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9977         PR target/34210
9978         PR target/35508
9979         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9980         * config/t-avr: New file. Build 16bit libgcc functions.
9982 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
9984         PR target/35401
9985         * config/t-slibgcc-darwin: Make install-leaf dependent on
9986         install-darwin-libgcc-stubs instead of install.
9988 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9990         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9991         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9992         sh-*-rtemscoff*): Remove cases.
9994 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
9996         * Makefile.in (all): Use install-leaf rather than install.
9997         (install): Split most of the rule into...
9998         (install-leaf): ...this new one.
10000 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
10001             Paolo Bonzini  <bonzini@gnu.org>
10003         PR target/30572
10004         * Makefile.in: Use @shlib_slibdir@ substitution to get
10005         correct install name on darwin.
10006         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10008 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
10010         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10011         cris-*-elf and cris-*-none.
10012         (crisv32-*-linux*): Similar, as cris-*-linux*.
10014 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
10016         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10018 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
10020         PR regression/33926
10021         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10022         * configure: Regenerated.
10024 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
10026         * Makefile.in (dfp-filenames): Replace decimal_globals,
10027         decimal_data, binarydecimal and convert_data with
10028         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10029         and bid_convert_data, respectively.
10031 2007-09-17  Chao-ying Fu  <fu@mips.com>
10032             Nigel Stephens  <nigel@mips.com>
10034         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10035         * Makefile.in (fixed_point): Define.
10036         Check if fixed_point is yes to build support functions.
10037         * configure.ac: Check for fixed_point support.
10038         * configure: Regenerated.
10039         * gen-fixed.sh: New file to generate lists of fixed-point labels,
10040         funcs, modes, from, to.
10042 2007-09-11  Janis Johnson  <janis187@us.ibm.com
10044         * Makefile.in (dfp-filenames): Add bid128_noncomp.
10046 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
10048         * Makefile.in (dfp-filenames): Remove decUtility, add
10049         decDouble, decPacked, decQuad, decSingle.
10051 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
10053         * config.host : Add x86_64-elf target.
10055 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10057         * configure.ac (set_have_cc_tls): Add a missing =.
10058         * configure: Regenerated.
10060 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
10062         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10063         and x86_64-*-linux*.
10065         * config/t-tls: New file.
10067         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10069         * configure.ac: Include ../config/enable.m4 and
10070         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
10071         supports TLS and substitute set_have_cc_tls.
10072         * configure: Regenerated.
10074 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
10076         * Makefile.in: Use libbid for DFP when BID is enabled.
10078 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
10080         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10081         extra_parts. Add config/i386/t-cygming to tmake_file.
10082         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10084 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
10085             Danny Smith  <dannysmith@users.sourceforge.net>
10087         PR target/29498
10088         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10089         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
10090         * config/i386/t-crtfm: Compile crtfastmath.o with
10091         -minline-all-stringops.
10093 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
10095         * config.host (sparc-wrs-vxworks): New target.
10097 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
10099         * config.host: Recognize fido.
10101 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
10103         * configure: Check host, not target, for decimal float support.
10105 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
10107         * config/i386/t-crtpc: New file.
10108         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10109         (x86_64-*-linux*): Ditto.
10111 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
10113         * config.host (x86_64-*-mingw*): New target.
10115 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
10116             H.J. Lu  <hongjiu.lu@intel.com>
10118         * Makefile.in (enable_decimal_float): New.
10119         (DECNUMINC): Add
10120         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10121         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10122         (decbits-filenames): This.
10123         (decbits-objects): New.
10124         (libgcc-objects): Add $(decbits-objects).
10126         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10127         Substitute enable_decimal_float.
10128         * configure: Regenerated.
10130 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
10132         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10134 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
10136         * Makefile.in (install-info): New dummy target.
10138 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
10140         * config.host (bfin*-linux-uclibc*): Set extra_parts.
10142 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
10144         * Makefile.in: Add install-html and install-pdf dummy
10145         targets.
10147 2007-02-05  Roger Sayle  <roger@eyesopen.com>
10148             Daniel Jacobowitz  <dan@codesourcery.com>
10150         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10151         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10152         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10154 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
10156         * Makefile.in (dec-filenames): Add decExcept.
10158 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
10160         PR bootstrap/30469
10161         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10162         -fprofile-use.
10164 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
10166         * configure.ac: Add --enable-version-specific-runtime-libs.
10167         Correct $slibdir default.
10168         * configure: Regenerated.
10170 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
10172         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10174 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
10176         PR target/30519
10177         * config.host (alpha*-*-linux*): Set extra_parts.
10179 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
10181         * config/sh/t-linux: New.
10182         * config.host (sh*-*-linux*): Set tmake_file.
10184 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
10186         * Makefile.in (install): Handle multilibs.
10188 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10190         * Makefile.in: Added .PHONY entry for documentation targets.
10192 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
10194         * Makefile.in: Add empty info, html, dvi, pdf targets.
10196 2007-01-04  Mike Stump  <mrs@apple.com>
10198         * Makefile.in (MAKEINFO): Remove.
10199         (PERL): Likewise.
10201 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
10203         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10204         * configure: Regenerate.
10205         * Makefile.in (host_subdir): Substitute it.
10206         (gcc_objdir): Use it.
10208 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10210         * config.host (ia64*-*-linux*): Set tmake_file.
10212 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
10214         * Makefile.in (version): Define.
10216 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
10217             Paolo Bonzini  <bonzini@gnu.org>
10219         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10220         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10221         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10222         config/sparc/t-crtfm, config/t-slibgcc-darwin,
10223         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10224         shared-object.mk, siditi-object.mk, static-object.mk: New files.
10225         * configure: Generated.
10227 Copyright (C) 2007-2019 Free Software Foundation, Inc.
10229 Copying and distribution of this file, with or without modification,
10230 are permitted in any medium without royalty provided the copyright
10231 notice and this notice are preserved.