PR libstdc++/45093 avoid warnings for _M_destroy_node
[official-gcc.git] / libgcc / ChangeLog
blobd499020f91f21b7eec3426ca6e99ace4fd08f8fd
1 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
3         * config/nds32/t-nds32-isr: Rearrange object dependency.
4         * config/nds32/initfini.c: Add dwarf2 unwinding support.
5         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
6         and registers usage.
7         * config/nds32/isr-library/excp_isr.S: Ditto.
8         * config/nds32/isr-library/intr_isr.S: Ditto.
9         * config/nds32/isr-library/reset.S: Ditto.
10         * config/nds32/isr-library/restore_all.inc: Ditto.
11         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
12         * config/nds32/isr-library/restore_partial.inc: Ditto.
13         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
14         * config/nds32/isr-library/save_all.inc: Ditto.
15         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
16         * config/nds32/isr-library/save_partial.inc: Ditto.
17         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
18         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
20 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
22         * config/pa/linux-atomic.c: Update comment.
23         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
24         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
25         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
26         __ATOMIC_RELAXED for atomic loads.
27         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
28         unordered store to release lock.
29         (__sync_lock_release_8): Likewise.
30         (SYNC_LOCK_RELEASE_2): Remove define.
31          
32 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
34         PR libgcc/86512
35         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
36         exponent goes negative. Update my email address.
37         * config/arm/ieee754-sf.S: Likewise.
39 2018-08-01  Martin Liska  <mliska@suse.cz>
41         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
42         check that  __gcov_indirect_call_callee is non-null.
44 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
46         * config/arm/ieee754-df.S: Fix comment for code working on
47         architectures >= 4.
48         * config/arm/ieee754-sf.S: Likewise.
50 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
52         PR libgcc/85334
53         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
54         Removed.
56 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
58         * configure: Regenerated.
60 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
62         * Makefile.in (install_leaf): Use enable_gcov instead of
63         enable_libgcov.
65 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
67         * configure.ac: Add --disable-gcov option.
68         * configure: Regenerate.
69         * Makefile.in: Honour @enable_gcov@.
71 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
73         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
74         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
75         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
76         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
77         __ARM_ARCH__.
78         * config/arm/ieee754-sf.S: Likewise.
79         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
81 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
83         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
84         longer supported.
85         * config/arm/ieee754-sf.S: Likewise.
87 2018-06-20  Than McIntosh  <thanm@google.com>
89         PR libgcc/86213
90         * generic-morestack.c (allocate_segment): Move calls to getenv and
91         getpagesize to __morestack_load_mmap.
92         (__morestack_load_mmap) Initialize static_pagesize and
93         use_guard_page here so as to avoid clobbering SSE regs during a
94         __morestack call.
96 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
98         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
99         support modules with -mno-gnu-attribute.
100         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
102 2018-06-07  Olivier Hainque  <hainque@adacore.com>
104         * config/t-vxworks (LIBGCC_INCLUDES): Add
105         -I$(MULTIBUILDTOP)../../gcc/include.
106         * config/t-vxworks7: Likewise. Reformat a bit to match
107         the t-vxworks layout.
109 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
111         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
113 2018-06-07  Martin Liska  <mliska@suse.cz>
115         * libgcov-driver.c: Rename cs_all to all and assign it from
116         all_prg.
118 2018-06-07  Martin Liska  <mliska@suse.cz>
120         PR bootstrap/86057
121         * libgcov-driver-system.c (replace_filename_variables): Use
122         memcpy instead of mempcpy.
123         (allocate_filename_struct): Do not allocate filename, allocate
124         prefix and set it.
125         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
126         here and properly copy content into it.
127         * libgcov-driver.c (struct gcov_filename): Remove max_length
128         field, change prefix from size_t into char *.
129         (compute_summary): Do not calculate longest filename.
130         (gcov_do_dump): Release memory of gf.filename after each file.
131         * libgcov-util.c (compute_summary): Use new signature of
132         compute_summary.
133         (calculate_overlap): Likewise.
135 2018-06-05  Martin Liska  <mliska@suse.cz>
137         PR gcov-profile/47618
138         * libgcov-driver-system.c (replace_filename_variables): New
139         function.
140         (gcov_exit_open_gcda_file): Use it.
142 2018-06-05  Martin Liska  <mliska@suse.cz>
144         * libgcov-driver.c (gcov_compute_histogram): Remove usage
145         of gcov_ctr_summary.
146         (compute_summary): Do it just for a single summary.
147         (merge_one_data): Likewise.
148         (merge_summary): Simplify as we read just single summary.
149         (dump_one_gcov): Pass proper argument.
150         * libgcov-util.c (compute_one_gcov): Simplify as we have just
151         single summary.
152         (gcov_info_count_all_cold): Likewise.
153         (calculate_overlap): Likewise.
155 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
156             Monk Chiang  <sh.chiang04@gmail.com>
158         * config.host (nds32*-linux*): New.
159         * config/nds32/linux-atomic.c: New file.
160         * config/nds32/linux-unwind.h: New file.
162 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
164         PR target/85591
165         * config/i386/cpuinfo.c (get_amd_cpu): Return
166         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
168 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
170         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
172 2018-05-29  Martin Liska  <mliska@suse.cz>
174         PR gcov-profile/85759
175         * libgcov-driver-system.c (gcov_error): Introduce usage of
176         GCOV_EXIT_AT_ERROR env. variable.
177         * libgcov-driver.c (merge_one_data): Print error that we
178         overwrite a gcov file with a different timestamp.
180 2018-05-23  Kalamatee  <kalamatee@gmail.com>
182         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
183         path to Lf$finfty.
185 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
186             Monk Chiang  <sh.chiang04@gmail.com>
187             Jim Wilson <jimw@sifive.com>
189         * config/riscv/save-restore.S: Add support for rv32e.
191 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
193         * config/arm/libunwind.S: Update comment relating to armv5.
195 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
197         * config/arm/cmse.c (cmse_check_address_range): Replace
198         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
200 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
202         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
203         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
205 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
207         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
208         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
210 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
212         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
214 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
215             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
217         PR libgcc/84292
218         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
219         op_and_fetch to return the right result.
221 2018-04-27  Alan Modra  <amodra@gmail.com>
223         PR libgcc/85532
224         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
225         -fno-asynchronous-unwind-tables.
227 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
229         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
230         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
232 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
234         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
235         when including "config/i386/shadow-stack-unwind.h".
237 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
239         * configure: Regenerated.
241 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
243         PR target/85456
244         * config/rs6000/_powikf2.c: New file.  Add support for the
245         __builtin_powil function when long double is IEEE 128-bit floating
246         point.
247         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
248         __powikf2 support.
249         (__powikf2): Likewise.
250         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
251         (__powikf2_hw): Likewise.
252         (__powikf2): Likewise.
253         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
254         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
255         (_powikf2-hw.c): Likewise.
257 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
259         PR libgcc/85334
260         * unwind-generic.h (_Unwind_Frames_Increment): New.
261         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
262         Likewise.
263         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
264         count with _Unwind_Frames_Increment.
265         (_Unwind_ForcedUnwind_Phase2): Likewise.
267 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
269         PR libgcc/85379
270         * config/i386/morestack.S (__stack_split_initialize): Add
271         _CET_ENDBR.
273 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
275         * configure: Regenerated.
277 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
279         PR jit/85384
280         * configure: Regenerate.
282 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
284         PR target/84945
285         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
286         -Wdangling-else warnings.  Mask shift counts to avoid
287         -Wshift-count-negative and -Wshift-count-overflow false positives.
289 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
291         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
293 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
295         PR target/85100
296         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
297         (XSTATE_FP): Likewise.
298         (XSTATE_SSE): Likewise.
299         (XSTATE_YMM): Likewise.
300         (XSTATE_OPMASK): Likewise.
301         (XSTATE_ZMM): Likewise.
302         (XSTATE_HI_ZMM): Likewise.
303         (XCR_AVX_ENABLED_MASK): Likewise.
304         (XCR_AVX512F_ENABLED_MASK): Likewise.
305         (get_available_features): Enable AVX and AVX512 features only
306         if their states are supported by OSXSAVE.
308 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
310         PR target/85025
311         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
312         Fix a typo, tmp => 255.
314 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
316         PR target/84945
317         * config/i386/cpuinfo.h (__cpu_features2): Declare.
318         * config/i386/cpuinfo.c (__cpu_features2): New variable for
319         ifndef SHARED only.
320         (set_feature): Define.
321         (get_available_features): Use set_feature macro.  Set __cpu_features2
322         to the second word of features ifndef SHARED.
324 2018-03-15  Julia Koval  <julia.koval@intel.com>
326         * config/i386/cpuinfo.c (get_available_features): Add
327         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
328         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
329         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
330         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
331         FEATURE_AVX512BITALG.
333 2018-03-14  Julia Koval  <julia.koval@intel.com>
335         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
336         icelake client and icelake server.
338 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
340         * config/pa/fptr.c (_dl_read_access_allowed): New.
341         (__canonicalize_funcptr_for_compare): Use it.
342         
343 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
345         PR debug/83917
346         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
347         $asm_hidden_op if visibility ("hidden") attribute works.
348         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
349         * config/i386/i386-asm.h: Don't include auto-host.h.
350         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
351         PACKAGE_URL): Don't undefine.
352         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
353         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
354         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
355         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
356         definition instead of hardcoded .hidden.
357         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
358         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
359         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
360         (USE_GAS_CFI_DIRECTIVES): Don't define.
361         * configure: Regenerated.
362         * config.in: Likewise.
364 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
366         PR debug/83917
367         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
368         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
369         inclusion of auto-target.h and auto-host.h.
370         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
371         __GCC_HAVE_DWARF2_CFI_ASM.
372         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
373         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
374         cfi_pop): Define.
375         * config/i386/cygwin.S: Don't include auto-host.h here, just
376         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
377         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
378         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
379         * config/i386/resms64fx.h: Add cfi_* directives.
380         * config/i386/resms64x.h: Likewise.
382 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
384         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
385         .literal_position directive.
386         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
388 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
390         PR target/84148
391         * configure: Regenerate.
393 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
395         PR target/84239
396         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
397         Include cetintrin.h not x86intrin.h.
399 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
401         PR target/84239
402         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
403         Use new _get_ssp and _inc_ssp intrinsics.
405 2018-02-02  Julia Koval  <julia.koval@intel.com>
407         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
409 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
411         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
412         option.
413         (__divsi3): Use RF16 safe registers.
414         (__modsi3): Likewise.
416 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
418         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
419         (__divsf3): Make NaN return value quiet.
420         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
421         (__divdf3): Make NaN return value quiet.
423 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
425         * config/rl78/anddi3.S: New assembly file.
426         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
428 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
430         * config/rl78/umindi3.S: New assembly file.
431         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
433 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
435         * config/rl78/smindi3.S: New assembly file.
436         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
438 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
440         * config/rl78/smaxdi3.S: New assembly file.
441         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
443 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
445         * config/rl78/umaxdi3.S: New assembly file.
446         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
447         
448 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
450         PR lto/83452
451         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
452         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
453         
454 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
456         * config/aarch64/value-unwind.h (aarch64_vg): New function.
457         (DWARF_LAZY_REGISTER_VALUE): Define.
458         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
459         to provide a fallback register value.
461 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
463         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
464         __ibm128, instead of trying to use long double.
465         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
466         accomidate -mabi=ieeelongdouble multilibs.
467         (CVT_IBM128_TO_FLOAT128): Likewise.
468         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
469         the appropriate IBM extended double type.
470         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
471         (__gcc_qsub): Likewise.
472         (__gcc_qmul): Likewise.
473         (__gcc_qdiv): Likewise.
474         (pack_ldouble): Likewise.
475         (__gcc_qneg): Likewise.
476         (__gcc_qeq): Likewise.
477         (__gcc_qne): Likewise.
478         (__gcc_qge): Likewise.
479         (__gcc_qle): Likewise.
480         (__gcc_stoq): Likewise.
481         (__gcc_dtoq): Likewise.
482         (__gcc_itoq): Likewise.
483         (__gcc_utoq): Likewise.
484         (__gcc_qunord): Likewise.
485         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
486         quad-float128.h for the definitions.
487         (COPYSIGN): Use the f128 version instead of the q version.
488         (INFINITY): Likewise.
489         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
490         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
491         quad-float128.h for the definitions.
492         (COPYSIGN): Use the f128 version instead of the q version.
493         (INFINITY): Likewise.
494         (FABS): Likewise.
495         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
496         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
497         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
499 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
501         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
502         configuration.
504 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
506         Update copyright years.
508 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
510         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
511         * config/riscv/multi3.c: New file.
512         * config/riscv/multi3.S: Remove.
514 2017-12-08  Jim Wilson  <jimw@sifive.com>
516         * config/riscv/div.S: Use FUNC_* macros.
517         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
518         * config/riscv/save-restore.S: Likewise.
519         * config/riscv/riscv-asm.h: New.
521 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
523         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
524         * config/rs6000/_divkc3.c (__divkc3): Likewise.
526         PR libgcc/83112
527         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
528         correct type for all ifunc resolvers to silence -Wattribute-alias
529         warnings.  Eliminate the forward declaration of the resolver
530         functions which is no longer needed.
531         (__subkf3_resolve): Likewise.
532         (__mulkf3_resolve): Likewise.
533         (__divkf3_resolve): Likewise.
534         (__negkf2_resolve): Likewise.
535         (__eqkf2_resolve): Likewise.
536         (__nekf2_resolve): Likewise.
537         (__gekf2_resolve): Likewise.
538         (__gtkf2_resolve): Likewise.
539         (__lekf2_resolve): Likewise.
540         (__ltkf2_resolve): Likewise.
541         (__unordkf2_resolve): Likewise.
542         (__extendsfkf2_resolve): Likewise.
543         (__extenddfkf2_resolve): Likewise.
544         (__trunckfsf2_resolve): Likewise.
545         (__trunckfdf2_resolve): Likewise.
546         (__fixkfsi_resolve): Likewise.
547         (__fixkfdi_resolve): Likewise.
548         (__fixunskfsi_resolve): Likewise.
549         (__fixunskfdi_resolve): Likewise.
550         (__floatsikf_resolve): Likewise.
551         (__floatdikf_resolve): Likewise.
552         (__floatunsikf_resolve): Likewise.
553         (__floatundikf_resolve): Likewise.
554         (__extendkftf2_resolve): Likewise.
555         (__trunctfkf2_resolve): Likewise.
557         PR libgcc/83103
558         * config/rs6000/quad-float128.h (TF): Don't define if long double
559         is IEEE 128-bit floating point.
560         (TCtype): Define as either TCmode or KCmode, depending on whether
561         long double is IEEE 128-bit floating point.
562         (__mulkc3_sw): Add declarations for software/hardware versions of
563         complex multiply/divide.
564         (__divkc3_sw): Likewise.
565         (__mulkc3_hw): Likewise.
566         (__divkc3_hw): Likewise.
567         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
568         handlers to switch between using software emulation and hardware
569         float128 instructions, build the complex multiply/divide functions
570         for both software and hardware support.
571         * config/rs6000/_divkc3.c (_divkc3): Likewise.
572         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
573         (__divkc3_resolve): Likewise.
574         (__mulkc3): Likewise.
575         (__divkc3): Likewise.
576         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
577         (fp128_hw_src): Likewise.
578         (fp128_hw_static_obj): Likewise.
579         (fp128_hw_shared_obj): Likewise.
580         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
581         _mulkc3.c and _divkc3.c, changing the function name.
582         (_divkc3-hw.c): Likewise.
583         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
584         and _divkc3-hw.c.
586 2017-11-26  Julia Koval  <julia.koval@intel.com>
588         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
589         * config/i386/cpuinfo.h (processor_subtypes): Add
590         INTEL_COREI7_CANNONLAKE.
592 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
594         PR bootstrap/83015
595         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
596         parameter.
597         * config/xtensa/unwind-dw2-xtensa.c: Likewise
598         * config/ia64/unwind-ia64.c: Add frames parameter.
599         * unwind-sjlj.c: Likewise.
601 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
603         * config/i386/linux-unwind.h: Include
604         config/i386/shadow-stack-unwind.h.
605         * config/i386/shadow-stack-unwind.h: New file.
606         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
607         pass it to _Unwind_Frames_Extra.
608         * unwind-generic.h (_Unwind_Frames_Extra): New.
609         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
610         parameter. Add local variable frames to count number of frames.
611         (_Unwind_ForcedUnwind_Phase2): Likewise.
612         (_Unwind_RaiseException): Add local variable frames to count
613         number of frames, pass it to _Unwind_RaiseException_Phase2 and
614         uw_install_context.
615         (_Unwind_ForcedUnwind): Likewise.
616         (_Unwind_Resume): Likewise.
617         (_Unwind_Resume_or_Rethrow): Likewise.
619 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
621         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
622         (CET_FLAGS): New.
623         * config/i386/morestack.S: Include <cet.h>.
624         (__morestack_large_model): Add _CET_ENDBR at function entrance.
625         * config/i386/resms64.h: Include <cet.h>.
626         * config/i386/resms64f.h: Likewise.
627         * config/i386/resms64fx.h: Likewise.
628         * config/i386/resms64x.h: Likewise.
629         * config/i386/savms64.h: Likewise.
630         * config/i386/savms64f.h: Likewise.
631         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
632         (CRTSTUFF_T_CFLAGS): Likewise.
633         * configure.ac: Include ../config/cet.m4.
634         Set and substitute CET_FLAGS.
635         * configure: Regenerated.
637 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
639         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
640         renaming.
641         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
642         * configure.ac (libgcc_cv_solaris_crts): Likewise.
643         * configure: Regenerate.
645 2017-11-07  Tom de Vries  <tom@codesourcery.com>
647         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
648         after "do {} while (0)".
650 2017-11-07  Tom de Vries  <tom@codesourcery.com>
652         PR other/82784
653         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
654         semicolon after "do {} while (0)".
655         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
656         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
657         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
658         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
660 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
662         PR libgcc/82635
663         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
664         sysctl to determine whether we're in a trampoline.
665         Keep the pattern matching method for systems without
666         KERN_PROC_SIGTRAMP sysctl.
668 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
669             Vineet Gupta <vgupta@synopsys.com>
671         * config.host (arc*-*-linux*): Set md_unwind_header variable.
672         * config/arc/linux-unwind-reg.def: New file.
673         * config/arc/linux-unwind-reg.h: Likewise.
675 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
677         * config/rl78/subdi3.S: New assembly file.
678         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
680 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
682         * config/rl78/adddi3.S: New assembly file.
683         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
685 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
687         PR target/82274
688         * libgcc2.c (__mulvDI3): If both operands have
689         the same highpart of -1 and the topmost bit of lowpart is 0,
690         multiplication overflows even if both lowparts are 0.
692 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
694         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
696 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
698         * config/microblaze/crti.S, config/microblaze/crtn.S,
699         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
700         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
701         config/microblaze/mulsi3.S,
702         config/microblaze/stack_overflow_exit.S,
703         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
704         config/pa/milli64.S: Add .note.GNU-stack section.
706 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
708         * configure.ac: Add Check for HAVE_AS_AVX.
709         * config.in: Regenerate.
710         * configure: Likewise.
711         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
712         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
713         Correct out-of-date comments.
715 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
717         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
718         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
720 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
722         * config/i386/i386-asm.h (PASTE2): New macro.
723         (ASMNAME): Modify to use PASTE2.
724         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
725         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
726         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
727         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
728         * config/i386/resms64f.S: Likewise.
729         * config/i386/resms64fx.S: Likewise.
730         * config/i386/resms64x.S: Likewise.
731         * config/i386/savms64.S: Likewise.
732         * config/i386/savms64f.S: Likewise.
733         * config/i386/avx_resms64.S: New file that only defines a macro and
734         includes it's corresponding header file.
735         * config/i386/avx_resms64f.S: Likewise.
736         * config/i386/avx_resms64fx.S: Likewise.
737         * config/i386/avx_resms64x.S: Likewise.
738         * config/i386/avx_savms64.S: Likewise.
739         * config/i386/avx_savms64f.S: Likewise.
740         * config/i386/sse_resms64.S: Likewise.
741         * config/i386/sse_resms64f.S: Likewise.
742         * config/i386/sse_resms64fx.S: Likewise.
743         * config/i386/sse_resms64x.S: Likewise.
744         * config/i386/sse_savms64.S: Likewise.
745         * config/i386/sse_savms64f.S: Likewise.
746         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
748 2017-09-01  Olivier Hainque  <hainque@adacore.com>
749         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
751 2017-08-31  Olivier Hainque  <hainque@adacore.com>
753         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
754         match as powerpc-wrs-vxworks*.
756 2017-08-07  Jonathan Yong  <10walls@gmail.com>
758         * config.host (*-cygwin): Include file from mingw
759         config/i386/enable-execute-stack-mingw32.c
761 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
762             Doug Rupp  <rupp@adacore.com>
763             Olivier Hainque  <hainque@adacore.com>
765         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
766         as well as arm-wrs-vxworks.
767         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
768         LIB2ADDEH.
769         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
770         __exidx_start and __exidx_end for downloadable modules.
772 2017-08-01  Olivier Hainque  <hainque@adacore.com>
774         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
775         * config/t-vxworks7: Likewise.
777 2017-08-01  Olivier Hainque  <hainque@adacore.com>
779         * config/t-vxworks: Instead of redefining LIB2ADD,
780         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
782 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
784         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
786 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
788         PR testsuite/80759
789         * config.host: include i386/t-msabi for darwin and solaris.
790         * config/i386/i386-asm.h
791         (ELFFN): Rename to FN_TYPE.
792         (FN_SIZE): New macro.
793         (FN_HIDDEN): Likewise.
794         (ASMNAME): Likewise.
795         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
796         .globl.
797         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
798         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
799         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
800         .macro.
801         * config/i386/resms64f.S: Likewise.
802         * config/i386/resms64fx.S: Likewise.
803         * config/i386/resms64x.S: Likewise.
804         * config/i386/savms64.S: Likewise.
805         * config/i386/savms64f.S: Likewise.
807 2017-07-19  John Marino  <gnugcc@marino.st>
809         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
811 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
813         PR target/81193
814         * configure.ac (PowerPC float128 hardware support): Test whether
815         we can use __builtin_cpu_supports before enabling the ifunc
816         handler.
817         * configure: Regenerate.
819 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
821         * config.host: Remove uclibc from arc target spec.
823 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
825         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
827 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
829         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
830         (have_ieee_hw_p): Delete function.
831         (SW_OR_HW) Use __builtin_cpu_supports().
833 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
835         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
837 2017-07-03  Olivier Hainque  <hainque@adacore.com>
839         * config/t-vxworks7: New file, really.
841 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
843         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
844         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
845         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
846         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
847         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
848         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
849         config/pa/linux-unwind.h (pa32_fallback_frame_state),
850         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
851         config/sh/linux-unwind.h (sh_fallback_frame_state),
852         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
853         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
854         ucontext_t instead of struct ucontext.
856 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
858         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
859         (x86_64-wrs-vxworks7): Likewise.
861 2017-06-27  Olivier Hainque  <hainque@adacore.com>
863         * config/t-vxworks7: New file.
864         * config.host (*-*-vxworks7): Use it.
866 2017-06-22  Matt Turner  <mattst88@gmail.com>
868         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
869         skylake case.
871 2017-06-21  Richard Biener  <rguenther@suse.de>
873         PR gcov-profile/81080
874         * configure.ac: Add AC_SYS_LARGEFILE.
875         * libgcov.h: Include auto-target.h before tsystem.h to pick
876         up _FILE_OFFSET_BITS which might differ for multilibs.
877         * config.in: Regenerate.
878         * configure: Likewise.
880 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
882         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
884 2017-06-09  Martin Liska  <mliska@suse.cz>
886         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
887         Reset __gcov_indirect_call_callee to NULL.
889 2017-06-08  Olivier Hainque  <hainque@adacore.com>
891         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
892         the set of -I options, support for direct inclusions of net/uio.h
893         by VxWorks header files via ioLib.h.
895 2017-06-07  Tony Reix  <tony.reix@atos.net>
896             Matthieu Sarter  <matthieu.sarter.external@atos.net>
897             David Edelsohn  <dje.gcc@gmail.com>
899         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
900         unconditionally.
901         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
902         AIX 7.2 support.
904 2017-06-02  Olivier Hainque  <hainque@adacore.com>
906         * config/vxlib.c (__gthread_once): Add missing value to
907         return statement.
909 2017-05-30  Olivier Hainque  <hainque@adacore.com>
911         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
912         dollar sign before $(MULTIDIR).
914 2017-05-26  Richard Henderson  <rth@redhat.com>
916         PR libgcc/80037
917         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
919 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
921         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
922         _Unwind_SetIP available as functions for arm*-*-freebsd*.
923         * config/arm/unwind-arm.c: Implement the above.
925 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
927         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
928         section for a non-executable stack.
930 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
932         PR target/80600
933         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
935 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
937         * config.host: Add i386/t-msabi to i386/t-linux file list.
938         * config/i386/i386-asm.h: New file.
939         * config/i386/resms64.S: New file.
940         * config/i386/resms64f.S: New file.
941         * config/i386/resms64fx.S: New file.
942         * config/i386/resms64x.S: New file.
943         * config/i386/savms64.S: New file.
944         * config/i386/savms64f.S: New file.
945         * config/i386/t-msabi: New file.
947 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
949         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
950         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
952 2017-05-05  Joshua Conner  <joshconner@google.com>
954         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
955         pc-relative indirect handling for fuchsia.
956         * config/t-slibgcc-fuchsia: New file.
957         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
958         x86_64-*-fuchsia*): Add definitions.
960 2017-04-19  Martin Liska  <mliska@suse.cz>
962         PR gcov-profile/80435
963         * Makefile.in: Install gcov.h.
964         * gcov.h: New file.
965         * libgcov.h: Use the header and make __gcov_flush publicly
966         visible.
968 2017-04-18  Martin Liska  <mliska@suse.cz>
970         PR gcov-profile/78783
971         * libgcov-driver.c (gcov_get_filename): New function.
973 2017-04-07  Jeff Law  <law@redhat.com>
975         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
976         target makefile fragment.
977         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
979 2017-04-07  Alan Modra  <amodra@gmail.com>
981         PR target/45053
982         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
984 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
986         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
988 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
990         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
992 2017-03-10  John Marino  <gnugcc@marino.st>
994         * config/aarch64/freebsd-unwind.h: New file.
995         * config.host: Add aarch64-*-freebsd unwinder.
997 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
999         * config/rs6000/crtrestvr.s: Use .machine altivec.
1000         * config/rs6000/crtsavevr.s: Ditto.
1002 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1004         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1005         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1006         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1007         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1008         * configure: Regenerate.
1009         * config.in: Regenerate.
1011 2017-03-02  Jonathan Yong <10walls@gmail.com>
1013         * config/i386/gthr-win32.h: Define NOGDI before
1014         windows.h include to prevent w32api CC_NONE macro
1015         clash with libgfortran.
1017 2017-03-02  Jonathan Yong <10walls@gmail.com>
1019         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1021 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1023         * config/aarch64/value-unwind.h: New file.
1024         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1025         to tm_file.
1027 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1029         * config.host: Add RISC-V tuples.
1030         * config/riscv/atomic.c: New file.
1031         * config/riscv/crti.S: Likewise.
1032         * config/riscv/crtn.S: Likewise.
1033         * config/riscv/div.S: Likewise.
1034         * config/riscv/linux-unwind.h: Likewise.
1035         * config/riscv/muldi3.S: Likewise.
1036         * config/riscv/multi3.S: Likewise.
1037         * config/riscv/save-restore.S: Likewise.
1038         * config/riscv/sfp-machine.h: Likewise.
1039         * config/riscv/t-elf: Likewise.
1040         * config/riscv/t-elf32: Likewise.
1041         * config/riscv/t-elf64: Likewise.
1042         * config/riscv/t-softfp32: Likewise.
1043         * config/riscv/t-softfp64: Likewise.
1045 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1047         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1048         /* FALLTHRU */ comments.
1050 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1052         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1054 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1056         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1057         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1058         DW_CFA_GNU_window_save for AArch64 and LP64.
1060 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1062         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1064 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1066         * config/aarch64/aarch64-unwind.h: New file.
1067         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1068         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1069         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1070         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1071         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1072         (aarch64_post_extract_frame_addr): New function.
1073         (aarch64_post_frob_eh_handler_addr): New function.
1074         (aarch64_frob_update_context): New function.
1075         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1076         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1077         aarch64*-*-freebsd*):
1078         Initialize md_unwind_header to include aarch64-unwind.h.
1079         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1080         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1081         __aarch64__.
1082         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1083         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1084         (uw_frob_return_addr): New function.
1085         (uw_install_context): Use uw_frob_return_addr.
1087 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1089         PR other/79046
1090         * configure.ac: Add GCC_BASE_VER.
1091         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1092         version from BASE-VER file.
1093         * configure: Regenerated.
1095 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1097         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1098         libmul_f5.a): Filter archived prerequisites.
1100 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1102         * config/i386/cpuinfo.h (processor_features): Add
1103         FEATURE_AVX512VPOPCNTDQ.
1104         * config/i386/cpuinfo.c (get_available_features): Habdle new
1105         feature.
1107 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1109         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1110         payload if [__mips_nan2008].
1112 2017-01-04  Alan Modra  <amodra@gmail.com>
1114         * Makefile.in (configure_deps): Update.
1115         * configure: Regenerate.
1117 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1119         Update copyright years.
1121 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1123         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1124         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1125         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1127 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1129         * config/arc/gmon: Remove empty directory.
1131 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
1133         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1134         crtgend.
1135         (arc*-*-elf*): Likewise.
1136         * config/arc/t-arc: Remove old gmon lib targets.
1137         * config/arc/crtg.S: Remove.
1138         * config/arc/crtgend.S: Likewise.
1139         * config/arc/gmon/atomic.h: Likewise.
1140         * config/arc/gmon/auxreg.h: Likewise.
1141         * config/arc/gmon/dcache_linesz.S: Likewise.
1142         * config/arc/gmon/gmon.c: Likewise.
1143         * config/arc/gmon/machine-gmon.h: Likewise.
1144         * config/arc/gmon/mcount.c: Likewise.
1145         * config/arc/gmon/prof-freq-stub.S: Likewise.
1146         * config/arc/gmon/prof-freq.c: Likewise.
1147         * config/arc/gmon/profil.S: Likewise.
1148         * config/arc/gmon/sys/gmon.h: Likewise.
1149         * config/arc/gmon/sys/gmon_out.h: Likewise.
1150         * config/arc/t-arc-newlib: Likewise.
1151         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1153 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1155         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1157 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1159         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1160         R16 instead of push + pop.
1161         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1163 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
1165         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1166         tmake_file.
1168 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
1170         * config.host (arc*-*-linux-uclibc*): Use default extra
1171         objects. Include linux-android header.
1172         * config/arc/crti.S (_init): Declare symbol as function.
1173         (_fini): Likewise.
1175 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
1177         PR fortran/78379
1178         * config/i386/cpuinfo.c:  Move denums for processor vendors,
1179         processor type, processor subtypes and declaration of
1180         struct __processor_model into
1181         * config/i386/cpuinfo.h:  New header file.
1183 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1184             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1186         * config/arm/cmse_nonsecure_call.S: New.
1187         * config/arm/t-arm: Compile cmse_nonsecure_call.S
1189 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1190             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1192         * config/arm/t-arm (HAVE_CMSE): New.
1193         * config/arm/cmse.c: New.
1195 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1197         PR gcc/74748
1198         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1199         use generic linker version information on Blackfin.
1201         PR gcc/74748
1202         * libgcc/mkmap-symver.awk: add support for skip_underscore
1204 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
1205             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1207         PR target/67710
1208         *  config/t-darwin: Default builds to 10.5 codegen.
1210 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
1212         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1213         (_FP_NANSIGN_H): Likewise.
1214         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1215         (softfp_truncations): Add tfhf.
1216         (softfp_extras): Add required conversion functions.
1218 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1219             Matthew Wahab  <matthew.wahab@arm.com>
1221         * config/arm/fp16.c (binary64): New.
1222         (__gnu_d2h_internal): New.
1223         (__gnu_d2h_ieee): New.
1224         (__gnu_d2h_alternative): New.
1226 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1227             Matthew Wahab  <matthew.wahab@arm.com>
1229         * config/arm/fp16.c (struct format): New.
1230         (binary32): New.
1231         (__gnu_float2h_internal): New.  Body moved from
1232         __gnu_f2h_internal and generalize.
1233         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1234         Call it with binary32.
1236 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1238         * soft-fp/extendhftf2.c: Update from glibc.
1239         * soft-fp/fixhfti.c: Likewise.
1240         * soft-fp/fixunshfti.c: Likewise.
1241         * soft-fp/floattihf.c: Likewise.
1242         * soft-fp/floatuntihf.c: Likewise.
1243         * soft-fp/half.h: Likewise.
1244         * soft-fp/trunctfhf2.c: Likewise.
1246 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
1248         PR libgcc/77813
1249         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1250         __TMC_END__ behind a passthrough asm.
1252 2016-11-18  Walter Lee  <walt@tilera.com>
1254         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1256 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
1258         * config/i386/cpuinfo.c (processor_features): Add
1259         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1261 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
1263         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1264         (__ARC_NORM__): Use instead ARC_OPTFPE.
1265         * config/arc/fp-hack.h: Likewise.
1266         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1267         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1269 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
1271         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1272         * config/nvptx/mgomp.c: New file.
1273         * config/nvptx/t-nvptx: Add mgomp.c
1275 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
1277         PR libgcc/68468
1278         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1280 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
1282         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1283         of checking for cpus.
1284         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1285         (__modsi3, __clzsi2): Likewise.
1287 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1289         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1290         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1291         * config/i386/t-cpuinfo-static: New.
1293 2016-11-03  Martin Liska  <mliska@suse.cz>
1295         * libgcov-profiler.c (__gcov_time_profiler): Remove.
1296         (__gcov_time_profiler_atomic): Likewise.
1298 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1300         PR libgcc/78067
1301         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1302         count_leading_zeros.
1304 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
1306         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1307         * libgcc2.c (__divmoddi4): New function.
1308         * libgcc2.h (__divmoddi4): Declare.
1309         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1310         and __PFX_divmodti4.
1312 2016-10-24  Florian Weimer  <fweimer@redhat.com>
1314         PR libgcc/78064
1315         * unwind-c.c: Include auto-target.h.
1317 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
1319         * config/pa/pa64-hpux-lib.h: New file.
1320         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1321         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1322         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1323         hppa*64*-*-hpux11*.
1325 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
1327         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1328         definition.
1329         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1330         definition.
1331         * config/xtensa/t-windowed (LIB2ADDEH): Use
1332         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1333         or xtensa/t-linux.
1335 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
1337         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1338         __ieee754_sqrt): New functions.
1339         (__divdf3): Add implementation with new FPU instructions under
1340         #if XCHAL_HAVE_DFP_DIV.
1341         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1342         __ieee754_sqrtf): New functions.
1343         (__divsf3): Add implementation with new FPU instructions under
1344         #if XCHAL_HAVE_FP_DIV.
1345         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1346         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1348 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1350         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1351         equivalent.
1352         * config/tilepro/atomic.c: Likewise and stop casting model to
1353         enum memmodel.
1355 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
1357         PR target/77586
1358         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1359         soft-fp.
1361 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
1363         * config.host: Add support for aarch64-*-freebsd*.
1365 2016-10-05  Andreas Schwab  <schwab@suse.de>
1367         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1368         (.section .init_array): Don't call __do_jv_register_classes.
1369         (.section .init): Likewise.
1371 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
1373         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1374         (__JCR_LIST__): Remove.
1375         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1376         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1377         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1378         * config/ia64/crtend.S (__JCR_END__): Remove.
1379         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1380         conditionals.
1381         (__JCR_LIST__, __JCR_END__): Remove.
1382         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1383         (__do_global_ctors_1): Likewise.
1385 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1387         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1388         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1390 2016-09-27  Martin Liska  <mliska@suse.cz>
1392         PR gcov-profile/7970
1393         PR gcov-profile/16855
1394         PR gcov-profile/44779
1395         * libgcov-driver.c (__gcov_init): Do not register a atexit
1396         handler.
1397         (__gcov_exit): Rename from gcov_exit.
1398         * libgcov.h (__gcov_exit): Declare.
1400 2016-09-27  Martin Liska  <mliska@suse.cz>
1402         PR bootstrap/77749
1403         * Makefile.in: Remove _gcov_merge_delta.
1404         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1405         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1406         * libgcov.h: Remove declaration of __gcov_merge_delta.
1408 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1410         * configure.ac: Do not create links, only substitute the filenames.
1411         * configure: Regenerate.
1412         * Makefile.in: Assign the substitution results to variables.
1413         (LIBGCC_LINKS): Define.
1414         (enable-execute-stack.c): New rule.
1415         (unwind.h): Likewise.
1416         (md-unwind-support.h): Likewise.
1417         (sfp-machine.h): Likewise.
1418         (gthr-default.h): Likewise.
1419         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1420         unwind.h as prerequisite of install-unwind_h-forbuild.
1422 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1424         PR libgcc/71744
1425         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1426         is not the primary registry and atomics are available.
1427         (any_objects_registered): New variable.
1428         (__register_frame_info_bases, __register_frame_info_table_bases):
1429         Atomically store 1 to any_objects_registered after registering first
1430         unwind info.
1431         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1433 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1435         PR target/63250
1436         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1437         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1438         (HFtype): Likewise.
1439         (HCtype): Likewise.
1440         (__divhc3): Likewise.
1441         (__mulhc3): Likewise.
1442         * libgcc2.c: Support _mulhc3 and _divhc3.
1444 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1446         PR libgcc/77519
1447         * libgcc2.c (NOTRUNC): Invert settings.
1449 2016-09-06  Martin Liska  <mliska@suse.cz>
1451         PR gcov-profile/77378
1452         PR gcov-profile/77466
1453         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1454         conditionaly enable/disable *_atomic functions.
1456 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1458         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1459         where not already enabled.
1461 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1463         * config/mips/linux-unwind.h: Use sys/syscall.h.
1465 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1467         PR libgcc/77265
1468         * soft-fp/adddf3.c: Update from glibc.
1469         * soft-fp/addsf3.c: Likewise.
1470         * soft-fp/addtf3.c: Likewise.
1471         * soft-fp/divdf3.c: Likewise.
1472         * soft-fp/divsf3.c: Likewise.
1473         * soft-fp/divtf3.c: Likewise.
1474         * soft-fp/double.h: Likewise.
1475         * soft-fp/eqdf2.c: Likewise.
1476         * soft-fp/eqsf2.c: Likewise.
1477         * soft-fp/eqtf2.c: Likewise.
1478         * soft-fp/extenddftf2.c: Likewise.
1479         * soft-fp/extended.h: Likewise.
1480         * soft-fp/extendsfdf2.c: Likewise.
1481         * soft-fp/extendsftf2.c: Likewise.
1482         * soft-fp/extendxftf2.c: Likewise.
1483         * soft-fp/fixdfdi.c: Likewise.
1484         * soft-fp/fixdfsi.c: Likewise.
1485         * soft-fp/fixdfti.c: Likewise.
1486         * soft-fp/fixsfdi.c: Likewise.
1487         * soft-fp/fixsfsi.c: Likewise.
1488         * soft-fp/fixsfti.c: Likewise.
1489         * soft-fp/fixtfdi.c: Likewise.
1490         * soft-fp/fixtfsi.c: Likewise.
1491         * soft-fp/fixtfti.c: Likewise.
1492         * soft-fp/fixunsdfdi.c: Likewise.
1493         * soft-fp/fixunsdfsi.c: Likewise.
1494         * soft-fp/fixunsdfti.c: Likewise.
1495         * soft-fp/fixunssfdi.c: Likewise.
1496         * soft-fp/fixunssfsi.c: Likewise.
1497         * soft-fp/fixunssfti.c: Likewise.
1498         * soft-fp/fixunstfdi.c: Likewise.
1499         * soft-fp/fixunstfsi.c: Likewise.
1500         * soft-fp/fixunstfti.c: Likewise.
1501         * soft-fp/floatdidf.c: Likewise.
1502         * soft-fp/floatdisf.c: Likewise.
1503         * soft-fp/floatditf.c: Likewise.
1504         * soft-fp/floatsidf.c: Likewise.
1505         * soft-fp/floatsisf.c: Likewise.
1506         * soft-fp/floatsitf.c: Likewise.
1507         * soft-fp/floattidf.c: Likewise.
1508         * soft-fp/floattisf.c: Likewise.
1509         * soft-fp/floattitf.c: Likewise.
1510         * soft-fp/floatundidf.c: Likewise.
1511         * soft-fp/floatundisf.c: Likewise.
1512         * soft-fp/floatunditf.c: Likewise.
1513         * soft-fp/floatunsidf.c: Likewise.
1514         * soft-fp/floatunsisf.c: Likewise.
1515         * soft-fp/floatunsitf.c: Likewise.
1516         * soft-fp/floatuntidf.c: Likewise.
1517         * soft-fp/floatuntisf.c: Likewise.
1518         * soft-fp/floatuntitf.c: Likewise.
1519         * soft-fp/gedf2.c: Likewise.
1520         * soft-fp/gesf2.c: Likewise.
1521         * soft-fp/getf2.c: Likewise.
1522         * soft-fp/ledf2.c: Likewise.
1523         * soft-fp/lesf2.c: Likewise.
1524         * soft-fp/letf2.c: Likewise.
1525         * soft-fp/muldf3.c: Likewise.
1526         * soft-fp/mulsf3.c: Likewise.
1527         * soft-fp/multf3.c: Likewise.
1528         * soft-fp/negdf2.c: Likewise.
1529         * soft-fp/negsf2.c: Likewise.
1530         * soft-fp/negtf2.c: Likewise.
1531         * soft-fp/op-1.h: Likewise.
1532         * soft-fp/op-2.h: Likewise.
1533         * soft-fp/op-4.h: Likewise.
1534         * soft-fp/op-8.h: Likewise.
1535         * soft-fp/op-common.h: Likewise.
1536         * soft-fp/quad.h: Likewise.
1537         * soft-fp/single.h: Likewise.
1538         * soft-fp/soft-fp.h: Likewise.
1539         * soft-fp/subdf3.c: Likewise.
1540         * soft-fp/subsf3.c: Likewise.
1541         * soft-fp/subtf3.c: Likewise.
1542         * soft-fp/truncdfsf2.c: Likewise.
1543         * soft-fp/trunctfdf2.c: Likewise.
1544         * soft-fp/trunctfsf2.c: Likewise.
1545         * soft-fp/trunctfxf2.c: Likewise.
1546         * soft-fp/unorddf2.c: Likewise.
1547         * soft-fp/unordsf2.c: Likewise.
1548         * soft-fp/unordtf2.c: Likewise.
1550 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1552         PR gcov-profile/67097
1553         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1555 2016-08-10  Martin Liska  <mliska@suse.cz>
1557         PR gcov-profile/58306
1558         * Makefile.in: New functions (modules) are added.
1559         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1560         function.
1561         (__gcov_pow2_profiler_atomic): New function.
1562         (__gcov_one_value_profiler_body): New argument is instroduced.
1563         (__gcov_one_value_profiler): Call with the new argument.
1564         (__gcov_one_value_profiler_atomic): Likewise.
1565         (__gcov_indirect_call_profiler_v2): Likewise.
1566         (__gcov_time_profiler_atomic): New function.
1567         (__gcov_average_profiler_atomic): Likewise.
1568         (__gcov_ior_profiler_atomic): Likewise.
1569         * libgcov.h: Declare the aforementioned functions.
1571 2016-08-09  Martin Liska  <mliska@suse.cz>
1573         * libgcov-util.c: Fix typo and GNU coding style.
1575 2016-08-09  Martin Liska  <mliska@suse.cz>
1577         * Makefile.in: Remove __gcov_indirect_call_profiler.
1578         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1579         function.
1580         * libgcov.h: And the declaration of the function.
1582 2016-08-09  Martin Liska  <mliska@suse.cz>
1584         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1585         power of two.
1587 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1589         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1590         * config/rs6000/_mulkc3.c: Likewise.
1592 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1594         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1595         zero_reg as previous call to __umulhisi3 already cleared it.
1597 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1599         PR target/59833
1600         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1602 2016-07-19  Nick Clifton  <nickc@redhat.com>
1604         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1605         Add crtinit.o and crtfini.o to extra_parts.
1607 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1609         * config/rs6000/_divkc3.c: New.
1610         * config/rs6000/_mulkc3.c: New.
1611         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1612         and _divkc3.
1613         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1614         fp128_ppc_funcs.
1616 2016-07-11  Hale Wang  <hale.wang@arm.com>
1617             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1619         * config/arm/lib1funcs.S: Add new wrapper.
1621 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1623         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1625 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1627         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1628         and ARMv5t* rather than for a fixed list of architectures.
1630 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1632         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1633         implementation suitable for.
1634         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1635         for all Thumb-1 only targets.
1636         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1637         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1638         __ARM_ARCH_6M__.
1639         (EQUIV): Likewise.
1640         (ARM_FUNC_ALIAS): Likewise.
1641         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1642         version.
1643         (modsi3): Likewise.
1644         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1645         (clzdi2): Likewise.
1646         (ctzsi2): Likewise.
1647         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1648         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1649         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1650         __ARM_ARCH_6M__ and add comment to indicate the connection between
1651         this condition and the one in gcc/config/arm/elf.h.
1652         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1653         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1654         * config/arm/t-softfp: Likewise.
1656 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1658         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1659         CTOR_LISTS_DEFINED_EXTERNALLY.
1661 2016-06-28  Walter Lee  <walt@tilera.com>
1663         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1664         asm/unistd.h.
1665         (SPR_CMPEXCH_VALUE): Define for tilegx.
1666         (__NR_FAST_cmpxchg): Define for tilepro.
1667         (__NR_FAST_atomic_update): Define for tilepro.
1668         (__NR_FAST_cmpxchg64): Define for tilepro.
1670 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1672         * config.host: Add suport for arm*-*-phoenix* targets.
1674 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1676         * config.host: Remove support for mep-*.
1677         * config/mep/lib1funcs.S: Remove.
1678         * config/mep/lib2funcs.c: Remove.
1679         * config/mep/t-mep: Remove.
1680         * config/mep/tramp.c: Remove.
1682 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1684         * config.host: Remove support for avr-rtems.
1685         * config/avr/t-rtems: Remove.
1687 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1689         * config.host: Remove m32r-rtems support.
1691 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1693         * config.host: Remove h8300-rtems support.
1695 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1697         * config.host: Remove support for knetbsd.
1699 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1701         * config.host: Remove support for openbsd 2 and 3.
1703 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1705         * config.host: Remove interix support.
1706         * config/i386/t-interix: Remove.
1708 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1710         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1711         least-significant bit in function pointer for fixup.
1713 2016-06-05  Aaron Conole  <aconole@redhat.com>
1714             Nathan Sidwell  <nathan@acm.org>
1716         PR libgcc/71400
1717         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1718         (get_gcov_error_file): Check __gcov_error_file before trying to
1719         initialize it.
1720         (gcov_error): Always use get_gcov_error_file.
1722 2016-06-02  Aaron Conole  <aconole@redhat.com>
1724         * libgcov-driver-system.c (__gcov_error_file): New.
1725         (get_gcov_error_file): New.
1726         (gcov_error): Use and set __gcov_error_file.
1727         (gcov_error_exit): New.
1728         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1730 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1732         * config/nvptx/free.asm: Delete.
1733         * config/nvptx/malloc.asm: Delete.
1734         * config/nvptx/realloc.c: Delete.
1735         * t-nvptx: Update.
1737 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1739         * config/nvptx/crt0.s: Delete.
1740         * config/nvptx/crt0.c: New.
1741         * t-nvptx: Update.
1743 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1745         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1746         dw2/seh configuration.
1747         [x86_64-*-mingw*]: Likewise.
1749 2016-05-10  Joel Sherrill <joel@rtems.org>
1751         PR libgcc/70720
1752         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1753         targets so the same extra_parts are built.  Also have tmake_file add
1754         on to its value rather than override.
1756 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1758         * config.host: Remove SH5 support.
1759         * configure: Likewise.
1761 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1763         * config/sh/crt1.S: Remove SH5 support.
1764         * config/sh/crti.S: Likewise.
1765         * config/sh/crtn.S: Likewise.
1766         * config/sh/lib1funcs-4-300.S: Likewise.
1767         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1768         * config/sh/lib1funcs.S: Likewise.
1769         * config/sh/linux-unwind.h: Likewise.
1770         * config/sh/t-sh64: Delete.
1772 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1774         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1776 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1777             Joern Rennecke  <joern.rennecke@embecosm.com>
1779         * config/arc/crttls.S: New file.
1780         * config/arc/t-arc: New rule.
1781         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1783 2016-04-25  Nick Clifton  <nickc@redhat.com>
1785         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1786         (__mspabi_cmpd): Likewise.
1787         * config/msp430/floathidf.c (__floathidf): Likewise.
1788         * config/msp430/floathisf.c (__floathisf): Likewise
1789         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1790         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1791         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1792         second parameter.
1793         (__ashrsi3): Likewise.
1795 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1797         * config/m68k/linux-atomic.c: Do not include unistd.h
1799 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1801         * config/arm/ieee754-df.S: Fix typos in comments.
1803 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1805         PR target/70381
1806         * configure.ac (powerpc*-*-linux*): Rework tests to build
1807         __float128 emulation routines to not depend on using #pragma GCC
1808         target to enable -mfloat128.
1809         * configure: Regnerate.
1811 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1813         PR target/67172
1814         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1815         __MINGW32__ is defined.
1817 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1819         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1821 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1823         PR libgcc/70363
1824         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1825         built with an assembler that does not support ISA 3.0
1826         instructions, rename __extendkftf2_sw to __extendkftf2.
1828 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1830         PR target/38239
1831         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1832         call-clobbered registers.
1833         (internal_mcount): Remove __i386__ handling.
1835 2016-02-26  Joel Sherrill <joel@rtems.org>
1837         * config.host: Add x86_64-*-rtems*.
1839 2016-02-26  Joel Sherrill <joel@rtems.org>
1841         * libgcc/config.host: Add aarch64-*-rtems*.
1843 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1844             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1846         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1847         union of u64 and double.
1848         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1849         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1850         value.
1851         (FP_ROUNDMODE): Update the usage of _fpscr.
1853 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1855         PR driver/68463
1856         * Makefile.in (crtoffloadtable$(objext)): New rule.
1857         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1858         enable_offload_targets is not empty.
1859         * configure: Regenerate.
1860         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1861         crtoffloadtable.
1863 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1865         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1866         .literal_position before the function.
1867         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1868         Likewise.
1870 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1872         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1873         * config/s390/morestack.S: New file.
1874         * config/s390/t-stack-s390: New file.
1875         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1877 2016-02-12  Walter Lee  <walt@tilera.com>
1879         * config.host (tilegx*-*-linux*): remove ti from
1880         softfp_int_modes for 32-bit configs.
1882 2016-02-10  Ian Lance Taylor  <iant@google.com>
1884         PR go/68562
1885         * config/i386/morestack.S (__stack_split_initialize): Align
1886         stack.
1888 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1890         PR bootstrap/69611
1891         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1892         __FLOAT128__ to compile only for __float128 capable targets.
1894 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1896         PR target/69444
1897         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1898         instead of ___NO_FPRS__.
1900 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1901             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1902             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1904         * config/rs6000/float128-sed: New files to convert TF names to KF
1905         names for PowerPC IEEE 128-bit floating point support.
1906         * config/rs6000/float128-sed-hw: Likewise.
1908         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1909         floating point hardware support.
1911         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1912         128-bit floating point software emulation or use ISA 3.0 hardware
1913         support if it is available.
1915         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1916         floating point.
1918         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1919         floating point to IBM extended double.
1921         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1922         double to IEEE 128-bit floating point.
1924         * config/rs6000/t-float128: New Makefile fragments to enable
1925         building __float128 emulation support.
1926         * config/rs6000/t-float128-hw: Likewise.
1928         * config/rs6000/sfp-exceptions.c: New file to provide exception
1929         support for IEEE 128-bit floating point.
1931         * config/rs6000/floattikf.c: New files for converting between IEEE
1932         128-bit floating point and signed/unsigned 128-bit integers.
1933         * config/rs6000/fixunskfti.c: Likewise.
1934         * config/rs6000/fixkfti.c: Likewise.
1935         * config/rs6000/floatuntikf.c: Likewise.
1937         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1938         when building on 64-bit systems, or when VSX is enabled.
1939         (_FP_W_TYPE): Likewise.
1940         (_FP_WS_TYPE): Likewise.
1941         (_FP_I_TYPE): Likewise.
1942         (TItype): Define on 64-bit systems.
1943         (UTItype): Likewise.
1944         (TI_BITS): Likewise.
1945         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1946         (_FP_MUL_MEAT_Q): Likewise.
1947         (_FP_DIV_MEAT_D): Likewise.
1948         (_FP_DIV_MEAT_Q): Likewise.
1949         (_FP_NANFRAC_D): Likewise.
1950         (_FP_NANFRAC_Q): Likewise.
1951         (ISA_BIT): Add exception support if we are being compiled on a
1952         machine with hardware floating point support to build the IEEE
1953         128-bit emulation functions.
1954         (FP_EX_INVALID): Likewise.
1955         (FP_EX_OVERFLOW): Likewise.
1956         (FP_EX_UNDERFLOW): Likewise.
1957         (FP_EX_DIVZERO): Likewise.
1958         (FP_EX_INEXACT): Likewise.
1959         (FP_EX_ALL): Likewise.
1960         (__sfp_handle_exceptions): Likewise.
1961         (FP_HANDLE_EXCEPTIONS): Likewise.
1962         (FP_RND_NEAREST): Likewise.
1963         (FP_RND_ZERO): Likewise.
1964         (FP_RND_PINF): Likewise.
1965         (FP_RND_MINF): Likewise.
1966         (FP_RND_MASK): Likewise.
1967         (_FP_DECL_EX): Likewise.
1968         (FP_INIT_ROUNDMODE): Likewise.
1969         (FP_ROUNDMODE): Likewise.
1971         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1972         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1973         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1974         floating point hardware instructions and it supports declaring
1975         functions with the ifunc attribute, enable ifunc functions to
1976         switch between software and hardware support.
1977         * configure.ac (powerpc*-*-linux*): Likewise.
1978         * configure: Regenerate.
1980 2016-01-15  Nick Clifton  <nickc@redhat.com>
1982         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1983         dependency as the source file to be compiled.
1984         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1985         (lib2hw_mul_f5.o): Likewise.
1987 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
1989         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1990         * libgcc/config/rs6000/fixkfti.c: Likewise.
1991         * libgcc/config/rs6000/fixunskfti.c: Likewise.
1992         * libgcc/config/rs6000/float128-hw.c: Likewise.
1993         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1994         * libgcc/config/rs6000/float128-sed: Likewise.
1995         * libgcc/config/rs6000/floattikf.c: Likewise.
1996         * libgcc/config/rs6000/floatuntikf.c: Likewise.
1997         * libgcc/config/rs6000/quad-float128.h: Likewise.
1998         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1999         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2000         * libgcc/config/rs6000/t-float128: Likewise.
2001         * libgcc/config/rs6000/t-float128-hw: Likewise.
2002         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2003         * libgcc/config.host: Likewise.
2004         * libgcc/configure: Likewise.
2005         * libgcc/configure.ac: Likewise.
2007 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2008             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2009             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2011         * config/rs6000/sfp-exceptions.c: New file to provide exception
2012         support for IEEE 128-bit floating point.
2014         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2015         floating point hardware support.
2017         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2018         point conversions.
2019         * config/rs6000/fixunskfti.c: Likewise.
2020         * config/rs6000/fixkfti.c: Likewise.
2021         * config/rs6000/floatuntikf.c: Likewise.
2022         * config/rs6000/extendkftf2-sw.c: Likewise.
2023         * config/rs6000/trunctfkf2-sw.c: Likewise.
2025         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2026         128-bit floating point software emulation or use ISA 3.0 hardware
2027         support if it is available.
2029         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2030         floating point.
2032         * config/rs6000/t-float128: New Makefile fragments to enable
2033         building __float128 emulation support.
2034         * config/rs6000/t-float128-hw: Likewise.
2036         * config/rs6000/float128-sed: New file to convert TF names to KF
2037         names for PowerPC IEEE 128-bit floating point support.
2039         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2040         when building on 64-bit systems, or when VSX is enabled.
2041         (_FP_W_TYPE): Likewise.
2042         (_FP_WS_TYPE): Likewise.
2043         (_FP_I_TYPE): Likewise.
2044         (TItype): Define on 64-bit systems.
2045         (UTItype): Likewise.
2046         (TI_BITS): Likewise.
2047         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2048         (_FP_MUL_MEAT_Q): Likewise.
2049         (_FP_DIV_MEAT_D): Likewise.
2050         (_FP_DIV_MEAT_Q): Likewise.
2051         (_FP_NANFRAC_D): Likewise.
2052         (_FP_NANFRAC_Q): Likewise.
2053         (ISA_BIT): Add exception support if we are being compiled on a
2054         machine with hardware floating point support to build the IEEE
2055         128-bit emulation functions.
2056         (FP_EX_INVALID): Likewise.
2057         (FP_EX_OVERFLOW): Likewise.
2058         (FP_EX_UNDERFLOW): Likewise.
2059         (FP_EX_DIVZERO): Likewise.
2060         (FP_EX_INEXACT): Likewise.
2061         (FP_EX_ALL): Likewise.
2062         (__sfp_handle_exceptions): Likewise.
2063         (FP_HANDLE_EXCEPTIONS): Likewise.
2064         (FP_RND_NEAREST): Likewise.
2065         (FP_RND_ZERO): Likewise.
2066         (FP_RND_PINF): Likewise.
2067         (FP_RND_MINF): Likewise.
2068         (FP_RND_MASK): Likewise.
2069         (_FP_DECL_EX): Likewise.
2070         (FP_INIT_ROUNDMODE): Likewise.
2071         (FP_ROUNDMODE): Likewise.
2073         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2074         compiler can do __float128.
2075         * configure: Regenerate.
2077         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2078         VSX code, enable IEEE 128-bit floating point.
2080 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2082         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2083         specificities.
2085 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2087         Update copyright years.
2089 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2091         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2092         soft-fp targets.
2094 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2096         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2097         instead of abort to avoid dependency on stdlib.h.
2099 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2101         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2102         to initialize call to __dl_fixup once.
2104 2015-12-04  Nick Clifton  <nickc@redhat.com>
2106         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2107         Allow for the second argument being negative.
2108         * config.host (extra_parts): Define for MSP430.  Create separate
2109         libraries for each of the hardware multiply formats.
2110         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2111         that are needed.
2112         * config/msp430/lib2mul.c: Likewise.
2113         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2114         Add rules to build hardware multiply libraries.
2115         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2116         __mspabi_divul function.
2117         (__mspabi_divllu): New stub function.
2119 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2121         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2122         fixup values if saved GOT address doesn't match runtime address.
2123         (fixup_branch_offset): Reorder list.
2125 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2127         * Makefile.in (VTV_CFLAGS): New variable.
2128         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2129         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2130         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2131         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2132         to extra_parts if $enable_vtable_verify = yes.
2134 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2136         PR target/68059
2137         * config/arm/linux-atomic-64bit.c (__write): Rename to...
2138         (write): ...this and fix the return type.
2140 2015-11-19  DJ Delorie  <dj@redhat.com>
2142         * config/msp430/lib2hw_mul.S: Fix alignment.
2144 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
2146         * config/nvptx/reduction.c: New.
2147         * config/nvptx/t-nvptx (LIB2ADD): Add it.
2149 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
2151         * config/rs6000/on_exit.c: New file.
2152         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2153         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2155 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
2157         * config/arc/dp-hack.h: Add support for ARCHS.
2158         * config/arc/ieee-754/divdf3.S: Likewise.
2159         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2160         * config/arc/ieee-754/muldf3.S: Likewise.
2161         * config/arc/ieee-754/mulsf3.S: Likewise
2162         * config/arc/lib1funcs.S: Likewise
2163         * config/arc/gmon/dcache_linesz.S: Don't read the build register
2164         for ARCv2 cores.
2165         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2166         for ARCv2 cores.
2167         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2168         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2169         cores.
2171 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2173         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2174         value.
2175         * config/ia64/crtend.S: Likewise.
2177 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2179         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2180         __CHAR_BIT__ instead of BITS_PER_UNIT.
2181         * fixed-bit.h: Likewise.
2182         * fp-bit.h: Likewise.
2183         * libgcc2.c (__popcountSI2): Likewise.
2184         (__popcountDI2): Likewise.
2185         * libgcc2.h: Likewise.
2186         * libgcov.h: Likewise.
2188 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
2190         * config/rs6000/atexit.c: New file.
2191         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2192         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2193         * config/rs6000/cxa_finalize.c
2194         (catomic_compare_and_exchange_bool_acq): Negate return value.
2196 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2198         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2199         (processor_subtypes): Add znver1.
2200         (get_amd_cpu): Detect znver1.
2202 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
2204         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2205         Include crtfastmath.o.
2207 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
2209         PR libgcc/66883
2210         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2212 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
2214         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2215         * config/rl78/divmodsi.S: Update return register to r8.
2216         * config/rl78/divmodhi.S: Update return register to r8,r9.
2217         Branch to main_loop_done_himode to pop registers before return.
2219 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2221         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2222         (__cpu_indicator_init): Fix model selection for AMD CPUs.
2224 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
2226         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2228 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
2230         * config.host (xtensa*-*-uclinux*): New configuration.
2232 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
2234         * config/i386/cpuinfo.c (processor_features): Add
2235         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2237 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2239         * soft-fp/adddf3.c: Update from glibc.
2240         * soft-fp/addsf3.c: Likewise.
2241         * soft-fp/addtf3.c: Likewise.
2242         * soft-fp/divdf3.c: Likewise.
2243         * soft-fp/divsf3.c: Likewise.
2244         * soft-fp/divtf3.c: Likewise.
2245         * soft-fp/double.h: Likewise.
2246         * soft-fp/eqdf2.c: Likewise.
2247         * soft-fp/eqsf2.c: Likewise.
2248         * soft-fp/eqtf2.c: Likewise.
2249         * soft-fp/extenddftf2.c: Likewise.
2250         * soft-fp/extended.h: Likewise.
2251         * soft-fp/extendsfdf2.c: Likewise.
2252         * soft-fp/extendsftf2.c: Likewise.
2253         * soft-fp/extendxftf2.c: Likewise.
2254         * soft-fp/fixdfdi.c: Likewise.
2255         * soft-fp/fixdfsi.c: Likewise.
2256         * soft-fp/fixdfti.c: Likewise.
2257         * soft-fp/fixsfdi.c: Likewise.
2258         * soft-fp/fixsfsi.c: Likewise.
2259         * soft-fp/fixsfti.c: Likewise.
2260         * soft-fp/fixtfdi.c: Likewise.
2261         * soft-fp/fixtfsi.c: Likewise.
2262         * soft-fp/fixtfti.c: Likewise.
2263         * soft-fp/fixunsdfdi.c: Likewise.
2264         * soft-fp/fixunsdfsi.c: Likewise.
2265         * soft-fp/fixunsdfti.c: Likewise.
2266         * soft-fp/fixunssfdi.c: Likewise.
2267         * soft-fp/fixunssfsi.c: Likewise.
2268         * soft-fp/fixunssfti.c: Likewise.
2269         * soft-fp/fixunstfdi.c: Likewise.
2270         * soft-fp/fixunstfsi.c: Likewise.
2271         * soft-fp/fixunstfti.c: Likewise.
2272         * soft-fp/floatdidf.c: Likewise.
2273         * soft-fp/floatdisf.c: Likewise.
2274         * soft-fp/floatditf.c: Likewise.
2275         * soft-fp/floatsidf.c: Likewise.
2276         * soft-fp/floatsisf.c: Likewise.
2277         * soft-fp/floatsitf.c: Likewise.
2278         * soft-fp/floattidf.c: Likewise.
2279         * soft-fp/floattisf.c: Likewise.
2280         * soft-fp/floattitf.c: Likewise.
2281         * soft-fp/floatundidf.c: Likewise.
2282         * soft-fp/floatundisf.c: Likewise.
2283         * soft-fp/floatunditf.c: Likewise.
2284         * soft-fp/floatunsidf.c: Likewise.
2285         * soft-fp/floatunsisf.c: Likewise.
2286         * soft-fp/floatunsitf.c: Likewise.
2287         * soft-fp/floatuntidf.c: Likewise.
2288         * soft-fp/floatuntisf.c: Likewise.
2289         * soft-fp/floatuntitf.c: Likewise.
2290         * soft-fp/gedf2.c: Likewise.
2291         * soft-fp/gesf2.c: Likewise.
2292         * soft-fp/getf2.c: Likewise.
2293         * soft-fp/ledf2.c: Likewise.
2294         * soft-fp/lesf2.c: Likewise.
2295         * soft-fp/letf2.c: Likewise.
2296         * soft-fp/muldf3.c: Likewise.
2297         * soft-fp/mulsf3.c: Likewise.
2298         * soft-fp/multf3.c: Likewise.
2299         * soft-fp/negdf2.c: Likewise.
2300         * soft-fp/negsf2.c: Likewise.
2301         * soft-fp/negtf2.c: Likewise.
2302         * soft-fp/op-1.h: Likewise.
2303         * soft-fp/op-2.h: Likewise.
2304         * soft-fp/op-4.h: Likewise.
2305         * soft-fp/op-8.h: Likewise.
2306         * soft-fp/op-common.h: Likewise.
2307         * soft-fp/quad.h: Likewise.
2308         * soft-fp/single.h: Likewise.
2309         * soft-fp/soft-fp.h: Likewise.
2310         * soft-fp/subdf3.c: Likewise.
2311         * soft-fp/subsf3.c: Likewise.
2312         * soft-fp/subtf3.c: Likewise.
2313         * soft-fp/truncdfsf2.c: Likewise.
2314         * soft-fp/trunctfdf2.c: Likewise.
2315         * soft-fp/trunctfsf2.c: Likewise.
2316         * soft-fp/trunctfxf2.c: Likewise.
2317         * soft-fp/unorddf2.c: Likewise.
2318         * soft-fp/unordsf2.c: Likewise.
2319         * soft-fp/unordtf2.c: Likewise.
2321 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
2323         PR libgcc/67624
2324         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2326 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2328         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2329         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2330         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2331         messages.
2332         (internal_mcount): Likewise.
2333         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2334         crt_compile, add CRTSTUFF_T_CFLAGS_S.
2336 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2338         * configure.ac (libgcc_cv_solaris_crts): New test.
2339         * configure: Regenerate.
2340         * config.in: Regenerate.
2341         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2342         * config/gmon-sol2.c: Rename to ...
2343         * config/sol2/gmon.c: ... this.
2344         Include auto-target.h.
2345         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2346         * config/t-sol2: Rename to ...
2347         * config/sol2/t-sol2: ... this.
2348         (gmon.o): Reflect renaming.
2349         (crtp.o, crtpg.o): New rules.
2350         * config.host (*-*-solaris2*): Reflect renaming.
2351         Use system CRTs if present.
2352         Remove default CRT case.
2354 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
2356         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2357         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2358         __kernel_cmpxchg2.
2359         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2360         (__sync_val_compare_and_swap_##WIDTH): Likewise.
2361         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2362         (__sync_lock_test_and_set_##WIDTH): Likewise.
2363         (__sync_lock_release_##WIDTH): Likewise.
2364         (__sync_fetch_and_##OP##_4): Change result to match type of
2365         __kernel_cmpxchg.
2366         (__sync_##OP##_and_fetch_4): Likewise.
2367         (__sync_val_compare_and_swap_4): Likewise.
2368         (__sync_bool_compare_and_swap_4): likewise.
2369         (__sync_lock_test_and_set_4): Likewise.
2370         (__sync_lock_release_4): Likewise.
2371         (FETCH_AND_OP_2): Add long long variants.
2372         (OP_AND_FETCH_2): Likewise.
2373         (COMPARE_AND_SWAP_2 ): Likewise.
2374         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2375         (SYNC_LOCK_RELEASE_2): Likewise.
2376         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2378 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2380         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2381         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2382         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2383         (get_available_features): Habdle new features.
2385 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2387         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2388         memory layout. Deal correctly with BSS region larger than 32K.
2389         Handle a watchdog reset like a power-on reset. Clean up unused
2390         code.
2392 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2393             David Edelsohn  <dje.gcc@gmail.com>
2395         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2396         * config/rs6000/crtdbase.S: New file.
2397         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2399 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2401         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2402         Add support for call0 ABI.
2404 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2406         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2408 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2410         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2411         (__GTHREAD_HAS_COND): Likewise.
2412         (__gthread_t): Likewise.
2413         (__gthread_cond_t): Likewise.
2414         (__gthread_time_t): Likewise.
2415         (__GTHREAD_MUTEX_INIT): Likewise.
2416         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2417         (__GTHREAD_COND_INIT): Likewise.
2418         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2419         (__GTHREAD_TIME_INIT): Likewise.
2420         (__gthread_create): Likewise.
2421         (__gthread_join): Likewise.
2422         (__gthread_detach): Likewise.
2423         (__gthread_equal): Likewise.
2424         (__gthread_self): Likewise.
2425         (__gthread_yield): Likewise.
2426         (__gthread_cond_broadcast): Likewise.
2427         (__gthread_cond_signal): Likewise.
2428         (__gthread_cond_wait): Likewise.
2429         (__gthread_cond_timedwait): Likewise.
2430         (__gthread_cond_wait_recursive): Likewise.
2431         (__gthread_cond_destroy): Likewise.
2432         (rtems_gxx_once): Delete.
2433         (rtems_gxx_key_create): Likewise.
2434         (rtems_gxx_key_delete): Likewise.
2435         (rtems_gxx_getspecific): Likewise.
2436         (rtems_gxx_setspecific): Likewise.
2437         (rtems_gxx_mutex_init): Likewise.
2438         (rtems_gxx_mutex_destroy): Likewise.
2439         (rtems_gxx_mutex_lock): Likewise.
2440         (rtems_gxx_mutex_trylock): Likewise.
2441         (rtems_gxx_mutex_unlock): Likewise.
2442         (rtems_gxx_recursive_mutex_init): Likewise.
2443         (rtems_gxx_recursive_mutex_lock): Likewise.
2444         (rtems_gxx_recursive_mutex_trylock): Likewise.
2445         (rtems_gxx_recursive_mutex_unlock): Likewise.
2446         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2447         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2448         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2449         (__gthread_once): Likewise.
2450         (__gthread_key_create): Likewise.
2451         (__gthread_key_delete): Likewise.
2452         (__gthread_getspecific): Likewise.
2453         (__gthread_setspecific): Likewise.
2454         (__gthread_key_t): Use <pthread.h> type.
2455         (__gthread_once_t): Likewise
2456         (__gthread_mutex_t): Use <sys/lock.h> type.
2457         (__gthread_recursive_mutex_t): Likewise
2458         (__gthread_mutex_lock): Use <sys/lock.h> function.
2459         (__gthread_mutex_trylock): Likewise.
2460         (__gthread_mutex_timedlock): Likewise.
2461         (__gthread_mutex_unlock): Likewise.
2462         (__gthread_mutex_destroy): Likewise.
2463         (__gthread_recursive_mutex_lock): Likewise.
2464         (__gthread_recursive_mutex_trylock): Likewise.
2465         (__gthread_recursive_mutex_timedlock): Likewise.
2466         (__gthread_recursive_mutex_unlock): Likewise.
2467         (__gthread_recursive_mutex_destroy): Likewise.
2469 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2471         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2472         context->sp instead of context->cfa.
2474 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2476         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2477         with unwind-dw2-fde-dip.
2479 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2481         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2482         CALL12 followed by series of ENTRY to spill windowed registers.
2483         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2484         instead of making linux spill syscall.
2486 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2488         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2489         (get_intel_cpu): Likewise.
2491 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2493         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2494         (get_intel_cpu): Add Knights Landing support.
2496 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2498         PR target/66954
2499         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2500         (get_available_features): Handle FEATURE_PCLMUL.
2502 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2504         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2505         Broadwell.
2507 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2509         PR target/66954
2510         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2511         (get_available_features): Handle FEATURE_AES.
2513 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2515         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2516         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2518 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2520         * offloadstuff.c: Constify host data.
2522 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2524         * config/t-softfp: Split up "else ifneq".
2526 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2527             Cesar Philippidis  <cesar@codesourcery.com>
2528             Chung-Lin Tang  <cltang@codesourcery.com>
2530         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2531         for __nios2_arch__ level.
2533 2015-07-13  John Marino  <gnugcc@marino.st>
2535         * config/i386/t-dragonfly: New.
2537 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2539         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2540         better match light-weight syscall argument order.
2541         (__kernel_cmpxchg2): Likewise.
2542         Adjust callers.
2544 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2546         * config.host: Support i[34567]86-*-elfiamcu target.
2547         * config/t-softfp-sfdftf: New file.
2548         * config/i386/32/t-iamcu: Likewise.
2549         * configure: Regenerated.
2551 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2553         libgcc/config/arm/
2554         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2556 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2558         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2560 2015-05-27  John Marino  <gnugcc@marino.st>
2562         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2563         md_unwind_header
2564         * config/i386/freebsd-unwind.h: New.
2566 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2568         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2569         i386/t-crtfm to tmake_file.
2570         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2571         (set_fast_math): Use set_fast_math_sse for SSE targets.
2572         * config/i386/t-crtfm: Remove.
2574 2015-05-21  Alan Modra  <amodra@gmail.com>
2576         PR libgcc/66225
2577         * config/rs6000/morestack.S: Remove ".abiversion 1".
2579 2015-05-20  Alan Modra  <amodra@gmail.com>
2581         * config/rs6000/morestack.S: New.
2582         * config/rs6000/t-stack-rs6000: New.
2583         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2584         to tmake_file.
2585         * generic-morestack.c: Don't build for powerpc 32-bit.
2587 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2589         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2590         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2592 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2594         * config.host: FT32 target added.
2595         * config/ft32/*: New files for FT32 target.
2597 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2599         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2600         New macros.
2601         * config/arm/ieee754-df.S: Add CFI directives.
2602         * config/arm/ieee754-sf.S: Add CFI directives.
2604 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2606         * configure.ac: Include config/sjlj.m4.
2607         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2608         * config.in: Regenerate.
2609         * configure: Likewise.
2610         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2612 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2614         * libgcov-util.c: Add space between string literal and macro name.
2616 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2617             Chris Jones  <chrisj@nvidia.com>
2618             Joshua Conner  <jconner@nvidia.com>
2620         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2621         (arm*-*-uclinux*): Likewise.
2622         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2623         * config/arm/crtfastmath.c: New file.
2625 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2627         * Makefile.in (real_host_noncanonical): New variable.
2628         (libsubdir): Use it.
2629         * configure.ac (real_host_noncanonical): Compute.  Remove special
2630         case for intelmicemul.
2631         * configure: Regenerate.
2633 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2635         * config/frv/elf-lib.h: New file.
2636         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2637         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2638         to tm_file.
2640 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2642         * config/frv/frvbengin.c: Do not include defaults.h
2643         * config/frv/frvend.c: Ditto.
2645 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2647         * config.host: Add h8300-*-linux
2648         * config/h8300/t-linux: New file.
2649         * config/h8300/lib1funs.s: Change symbol prefix.
2650         * config/h8300/sfp-machine.h: 64bit double support.
2652 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2653             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2655         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2656         Linux if target provides dl_iterate_phdr.
2658 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2660         PR target/65612
2661         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2662         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2663         (__cpu_indicator_init@GCC_4.8.0): New.
2664         (__cpu_model@GCC_4.8.0): Likewise.
2665         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2666         -DUSE_ELF_SYMVER.
2668 2015-04-16  Nick Clifton  <nickc@redhat.com>
2670         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2671         and __modhi3 functions.
2672         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2673         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2675 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2677         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2678         do-while loop as macro body to avoid warnings.
2680 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2681             Iain Sandoe  <iain@codesourcery.com>
2683         PR target/65351
2684         * configure: Regenerate.
2686 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2687             Iain Sandoe  <iain@codesourcery.com>
2689         PR target/65351
2690         * configure: Regenerate.
2692 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2694         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2696 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2698         Implement call0 ABI for xtensa
2699         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2700         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2701         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2702         use ret in call0 ABI.
2703         * config/xtensa/t-windowed: New file.
2704         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2705         * libgcc/configure: Regenerated.
2706         * libgcc/configure.ac: Check if xtensa target is configured for
2707         windowed ABI and thus needs to use custom unwind code.
2709 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2711         PR libgcc/64885
2712         * gthr-single.h: Use __unused__ attribute instead of unused.
2713         * config/gthr-vxworks.h: Likewise.
2714         * config/i386/gthr-win32.h: Likewise.
2716 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2718         PR target/65038
2719         * config.in: Regenerated.
2720         * configure: Likewise.
2721         * configure.ac (AC_HEADER_STDC): Added explicit.
2722         (AC_CHECK_HEADERS): Check for default headers  plus
2723         for ftw.h header.
2724         * libgcov-util.c (gcov_read_profile_dir): Disable use
2725         of ftw-function, if header is not found.
2726         (ftw_read_file): Likewise.
2728 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2730         PR target/65181
2731         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2732         -Dinhibit_libc.
2734 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2736         * config/arm/bpabi.S (test_div_by_zero): Make label names
2737         consistent between thumb2 and arm mode cases.  Separate the
2738         signed comparison on the high word of the numerator from the
2739         unsigned comparison on the low word.
2740         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2741         signed comparison.
2743 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2745         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2746         and <string.h>.
2747         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2749 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2751         PR gcov-profile/61889
2752         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2754 2015-02-02  Nick Clifton  <nickc@redhat.com>
2756         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2757         rounding up the fraction.
2759 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2761         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2762         oldval and newval to const void *.  Fix typo.
2763         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2764         (FETCH_AND_OP_WORD): Likewise.
2765         (OP_AND_FETCH_WORD): Likewise.
2766         (COMPARE_AND_SWAP_2): Likewise.
2767         (__sync_val_compare_and_swap_4): Likewise.
2768         (__sync_lock_test_and_set_4): Likewise.
2769         (SYNC_LOCK_RELEASE_2): Likewise.
2770         Remove support for long long atomic operations.
2772 2015-01-27  Caroline Tice  <cmtice@google.com>
2774         Committing VTV Cywin/Ming patch for Patrick Wollgast
2775         * Makefile.in: Move rules to build vtv_*.o out of the check
2776         for CUSTOM_CRTSTUFF.
2777         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2778         i[34567]86-*-mingw*)
2779          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2780         enable_vtable_verify.
2782 2015-01-27  Nick Clifton  <nickc@redhat.com>
2784         * config/rl78/cmpsi2.S: Use function start and end macros.
2785         (__gcc_bcmp): New function.
2786         * config/rl78/lshrsi3.S: Use function start and end macros.
2787         * config/rl78/mulsi3.S: Add support for G10.
2788         (__mulqi3): New function for G10.
2789         * config/rl78/signbit.S: Use function start and end macros.
2790         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2791         fpmath-sf.S.
2792         (LIB2FUNCS_EXCLUDE): Define.
2793         (LIB2FUNCS_ST): Define.
2794         * config/rl78/trampoline.S: Use function start and end macros.
2795         * config/rl78/vregs.h (START_FUNC): New macro.
2796         (START_ANOTHER_FUNC): New macro.
2797         (END_FUNC): New macro.
2798         (END_ANOTHER_FUNC): New macro.
2799         * config/rl78/bit-count.S: New file.  Contains assembler
2800         implementations of the bit counting functions: ___clzhi2,
2801         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2802         __paritysi2, __popcounthi2 and __popcountsi2.
2803         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2804         implementationas of the math functions: __negsf2, __cmpsf2,
2805         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2806         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2807         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2808         implementations of the math functions: __subsf3, __addsf3,
2809         __mulsf3 and __divsf3
2811 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2813         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2814         Add i386/elf-lib.h to tm_file.
2815         * config/i386/elf-lib.h: Fix comment.
2816         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2817         && __sun__ && __svr4__]: Remove workaround.
2819 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2821         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2822         FEATURE_BMI2.
2823         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2825 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2827         * config/i386/cpuinfo.c (processor_subtypes): Add
2828         INTEL_COREI7_BROADWELL.
2829         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2830         model numbers.
2832 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2834         * config/i386/elf-lib.h: New file.
2835         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2836         Wrap definition in #ifdef __i386__.
2837         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2838         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2839         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2840         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2841         to tm_file.
2843 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2845         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2846         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2848 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2850         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2851         Update rt_sigframe format and address for current Nios II
2852         Linux conventions.
2854 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2856         * config.host (arm*-*-freebsd*): Add new configuration for
2857         arm*-*-freebsd*.
2858         * config/arm/freebsd-atomic.c: New file.
2859         * config/arm/t-freebsd: Likewise.
2860         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2861         'PC-relative indirect' OS's.
2863 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2865         * config.host: Add Visium support.
2866         * config/visium: New directory.
2868 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2870         Update copyright years.
2872 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2874         * config.host: Support mipsisa32r6 and mipsisa64r6.
2875         * config/mips/mips16.S: Do not build for R6.
2877 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2879         * config/sh/crt.h: New.
2880         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2881         symbols.
2882         * config/sh/crt1.S: Likewise.
2884 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2886         PR libgcc/63832
2887         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2888         func_ptr *dtor_list temporary variable to avoid "array subscript
2889         is above array bounds" warnings.
2891 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2893         * Makefile.in (with_aix_soname): Define.
2894         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2895         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2896         * configure: Recreate.
2898 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2900         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2901         now provided by defaults.h.
2903 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2905         PR target/55351
2906         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2907         whether it's defined.
2909 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2911         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2912         * config/i386/cpuinfo.c (get_available_features): Detect it.
2914 2014-11-27  Tony Wang  <tony.wang@arm.com>
2916         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2917         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2918         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2920 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2922         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2924 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2926         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2927         instead.
2929 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2930             John David Anglin  <danglin@gcc.gnu.org>
2932         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2933         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2934         (OP_AND_FETCH_2): Likewise.
2935         (COMPARE_AND_SWAP_2): Likewise.
2936         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2937         (SYNC_LOCK_RELEASE_2): Likewise.
2938         (SUBWORD_SYNC_OP): Remove.
2939         (SUBWORD_VAL_CAS): Likewise.
2940         (SUBWORD_BOOL_CAS): Likewise.
2941         (FETCH_AND_OP_WORD): Update.
2942         Consistently use signed types.
2944 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2945             Thomas Schwinge  <thomas@codesourcery.com>
2946             Ilya Verbin  <ilya.verbin@intel.com>
2947             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2949         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2950         (crtoffloadend$(objext)): Likewise.
2951         * configure: Regenerate.
2952         * configure.ac (accel_dir_suffix): Compute new variable.
2953         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2954         if enable_offload_targets is not empty.
2955         * offloadstuff.c: New file.
2957 2014-11-13  Nick Clifton  <nickc@redhat.com>
2959         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2960         Use START_FUNC and END_FUNC macros to enable linker garbage
2961         collection.
2962         * config/rl78/divmodqi.S: Likewise.
2963         * config/rl78/divmodsi.S: Likewise.
2964         * config/rl78/mulsi3.S: Likewise.
2965         * config/rl78/lib2div.c: Remove G10 functions.
2966         * config/rl78/lib2muls.c: Likewise.
2967         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2968         * config/rl78/vregs.h (START_FUNC): New macro.
2969         (END_FUNC): New macro.
2971 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2973         * config/mips/mips16.S: Set .module when supported.  Update O32
2974         FP64 calling convention and use for FPXX when possible.  Add FPXX
2975         calling convention fallback case.
2977 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2979         * config.host: Handle nvptx-*-*.
2980         * shared-object.mk (as-flags-$o): Define.
2981         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2982         -xassembler-with-cpp.
2983         * static-object.mk: Identical changes.
2984         * config/nvptx/t-nvptx: New file.
2985         * config/nvptx/crt0.s: New file.
2986         * config/nvptx/free.asm: New file.
2987         * config/nvptx/malloc.asm: New file.
2988         * config/nvptx/realloc.c: New file.
2990 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2992         * Makefile.in (libgcc.map.in): New target.
2993         (libgcc.map): Use libgcc.map.in.
2994         * config/t-softfp (softfp_compat): New variable to be set by
2995         users.
2996         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2997         variables.
2998         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2999         directory.
3000         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3001         that use compat symbols and disable all code unless [SHARED].
3002         * config/t-softfp-compat: New file.
3003         * find-symver.awk: New file.
3004         * configure.ac (--with-glibc-version): New configure option.
3005         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3006         * configure: Regenerate.
3007         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3008         soft-float and e500.
3010 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3012         * config/t-hardfp (hardfp_exclusions): Document new variable for
3013         user to define.
3014         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3015         * config/t-softfp (softfp_extras): Document new variable for user
3016         to define.
3017         (softfp_func_list): Add functions from $(softfp_extras).
3018         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3019         * config.host (powerpc*-*-linux*): For e500v1, use
3020         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3021         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3022         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3024 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3026         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3027         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3028         memory read accesses are ok.
3030 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3032         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3033         * configure: Regenerate.
3034         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3035         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3036         of soft-fp for 32-bit classic hard float.  Do not use
3037         t-softfp-excl for soft float.
3039 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3041         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3042         configurations.
3043         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3044         Remove variables.
3046 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3048         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3049         introduced with 2014-10-21 trunk r216525.
3051 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3052             Vidya Praveen  <vidya.praveen@atmel.com>
3053             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3054             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3055             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3057         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3058         order.
3060         Updated library functions for AVRTINY arch.
3061         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3062         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3063         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3064         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3065         wsubi/wadi macors.
3066         (__mulsi3_helper): Update stack, preserve callee saved regs and
3067         argument from stack. Restore callee save registers.
3068         (__mulpsi3): Likewise.
3069         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3070         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3071         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3072         AVRTINY.
3073         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3074         (__do_copy_data): Added new definition for AVRTINY.
3075         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3076         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3077         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3078         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3079         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3080         macors.
3081         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3082         AVRTINY.
3084         Fix broken long multiplication on tiny arch.
3086 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3088         * soft-fp/double.h: Update from glibc.
3089         * soft-fp/eqdf2.c: Likewise.
3090         * soft-fp/eqsf2.c: Likewise.
3091         * soft-fp/eqtf2.c: Likewise.
3092         * soft-fp/extenddftf2.c: Likewise.
3093         * soft-fp/extended.h: Likewise.
3094         * soft-fp/extendsfdf2.c: Likewise.
3095         * soft-fp/extendsftf2.c: Likewise.
3096         * soft-fp/extendxftf2.c: Likewise.
3097         * soft-fp/gedf2.c: Likewise.
3098         * soft-fp/gesf2.c: Likewise.
3099         * soft-fp/getf2.c: Likewise.
3100         * soft-fp/ledf2.c: Likewise.
3101         * soft-fp/lesf2.c: Likewise.
3102         * soft-fp/letf2.c: Likewise.
3103         * soft-fp/op-1.h: Likewise.
3104         * soft-fp/op-2.h: Likewise.
3105         * soft-fp/op-4.h: Likewise.
3106         * soft-fp/op-8.h: Likewise.
3107         * soft-fp/op-common.h: Likewise.
3108         * soft-fp/quad.h: Likewise.
3109         * soft-fp/single.h: Likewise.
3110         * soft-fp/soft-fp.h: Likewise.
3111         * soft-fp/unorddf2.c: Likewise.
3112         * soft-fp/unordsf2.c: Likewise.
3113         * soft-fp/unordtf2.c: Likewise.
3114         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3115         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3116         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3117         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3118         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3119         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3120         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3121         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3122         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3123         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3125 2014-10-08  Rong Xu  <xur@google.com>
3127         * libgcov-util.c (read_gcda_file): Fix format.
3128         (find_match_gcov_info): Ditto.
3129         (calculate_2_entries): New.
3130         (compute_one_gcov): Ditto.
3131         (gcov_info_count_all_cold): Ditto.
3132         (gcov_info_count_all_zero): Ditto.
3133         (extract_file_basename): Ditto.
3134         (get_file_basename): Ditto.
3135         (set_flag): Ditto.
3136         (matched_gcov_info): Ditto.
3137         (calculate_overlap): Ditto.
3138         (gcov_profile_overlap): Ditto.
3139         * libgcov-driver.c (compute_summary): Make
3140         it avavilable for external calls.
3142 2014-10-06  Rong Xu  <xur@google.com>
3144         * Makefile.in: Ditto.
3145         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3146         (gcov_sort_icall_topn_counter): Ditto.
3147         (gcov_sort_topn_counter_arrays): Ditto.
3148         (dump_one_gcov): Sort indirect_call topn counters.
3149         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3150         function.
3151         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3152         utility function.
3153         (__gcov_indirect_call_topn_profiler): New profiler function.
3154         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3155         * libgcov.h: New decls.
3157 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
3159         * config.host: Remove support for score-*.
3161 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3163         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3164         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3165         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3166         __LIBGCC_XF_MANT_DIG__.
3167         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3168         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3169         __LIBGCC_TF_MANT_DIG__.
3170         * libgcc2.c (NOTRUNC): Define in terms of
3171         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3172         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3174 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3176         PR target/63312
3177         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3178         New macros.
3180 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
3182         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3183         override USE_PT_GNU_EH_FRAME.
3184         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3185         check USE_EH_FRAME_REGISTRY_ALWAYS against
3186         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3187         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3188         variable for substituted force_explicit_eh_registry.
3189         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3190         * configure.ac (explicit-exception-frame-registration):
3191         New AC_ARG_ENABLE.
3192         * configure: Regenerate.
3194 2014-09-19  Olivier Hainque  <hainque@adacore.com>
3196         * config.host (powerpc-wrs-vxworksmils): New configuration,
3197         same as vxworksae.
3199 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3201         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3203 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3205         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3206         bits not set bits as indicating trapping exceptions.
3208 2014-09-17  Nathan sidwell  <nathan@acm.org>
3210         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3211         (LIBGCOV_DRIVER): ... here.
3212         * libgcov-driver.c (gcov_master): New.
3213         (gcov_exit): Remove from master chain.
3214         (__gcov_init): Add to master chain if version compatible.  Don't
3215         clear the version.
3216         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3217         (gcov_reset_int): Clear master chain, if compatible.
3218         (gcov_dump_int): New internal interface.  Dump master chain, if
3219         compatible.
3220         (gcov_dump): Alias for gcov_dump_int.
3221         * libgcov.h (struct gcov_root): Add next and prev fields.
3222         (struct gcov_master): New struct.
3223         (__gcov_master): New.
3224         (gcov_dump_int): Declare.
3226 2014-09-17  Olivier Hainque  <hainque@adacore.com>
3228         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3229         and crtbegin.o + crtend.o to extra_parts.
3231 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3233         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3234         __LIBGCC_HAS_SF_MODE__.
3235         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3236         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3237         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3238         * config/libbid/bid_gcc_intrinsics.h
3239         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3240         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3241         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3242         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3243         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3244         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3246 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
3248         PR target/63223
3249         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3250         and R24 as needed.  Make work for all devices and .text locations.
3251         (__do_global_ctors, __do_global_dtors): Use word addresses.
3252         (__tablejump__, __tablejump_elpm__): Remove functions.
3253         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3254         Add _tablejump2.
3255         (XICALL, XIJMP): New macros.
3257 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3258         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3260         * config.host (aarch64*): Include crtfastmath.o and
3261         t-crtfm.
3262         * config/aarch64/crtfastmath.c: New file.
3264 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
3266         * config.host: Remove picochip support.
3267         * config/picochip/adddi3.S: Remove.
3268         * config/picochip/ashlsi3.S: Remove.
3269         * config/picochip/ashlsi3.c: Remove.
3270         * config/picochip/ashrsi3.S: Remove.
3271         * config/picochip/ashrsi3.c: Remove.
3272         * config/picochip/clzsi2.S: Remove.
3273         * config/picochip/cmpsi2.S: Remove.
3274         * config/picochip/divmod15.S: Remove.
3275         * config/picochip/divmodhi4.S: Remove.
3276         * config/picochip/divmodsi4.S: Remove.
3277         * config/picochip/lib1funcs.S: Remove.
3278         * config/picochip/longjmp.S: Remove.
3279         * config/picochip/lshrsi3.S: Remove.
3280         * config/picochip/lshrsi3.c: Remove.
3281         * config/picochip/parityhi2.S: Remove.
3282         * config/picochip/popcounthi2.S: Remove.
3283         * config/picochip/setjmp.S: Remove.
3284         * config/picochip/subdi3.S: Remove.
3285         * config/picochip/t-picochip: Remove.
3286         * config/picochip/ucmpsi2.S: Remove.
3287         * config/picochip/udivmodhi4.S: Remove.
3288         * config/picochip/udivmodsi4.S: Remove.
3290 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3292         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3293         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3294         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3295         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3296         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
3297         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3298         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
3299         defined and LIBGCC2_HAS_DF_MODE is defined.
3300         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
3301         defined and LIBGCC2_HAS_XF_MODE is defined.
3302         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
3303         defined and LIBGCC2_HAS_TF_MODE is defined.
3305 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3307         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3308         and ROUND_TOWARDS_ZERO conditionals.
3310 2014-09-07  Nathan sidwell  <nathan@acm.org>
3312         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3313         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
3315 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
3317         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3318         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3319         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3320         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3321         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3322         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3323         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3324         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3325         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3326         (DWARF_FRAME_REGISTERS): Change all uses to
3327         __LIBGCC_DWARF_FRAME_REGISTERS__.
3328         (EH_RETURN_STACKADJ_RTX): Change all uses to
3329         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3330         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3331         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
3332         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3333         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3334         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3335         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3336         to __LIBGCC_EH_FRAME_SECTION_NAME__.
3337         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3338         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3339         __LIBGCC_STACK_POINTER_REGNUM__.
3340         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3341         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3342         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3343         to __LIBGCC_STACK_POINTER_REGNUM__.
3344         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3345         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3346         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3347         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3348         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3349         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3350         (STACK_POINTER_REGNUM): Change all uses to
3351         __LIBGCC_STACK_POINTER_REGNUM__.
3352         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3353         use to __LIBGCC_STACK_POINTER_REGNUM__.
3354         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3355         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3356         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3357         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3358         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3359         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3360         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3361         to __LIBGCC_STACK_POINTER_REGNUM__.
3362         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3363         Remove conditional definition.
3364         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3365         __LIBGCC_TEXT_SECTION_ASM_OP__.
3366         (EH_FRAME_SECTION_NAME): Change all uses to
3367         __LIBGCC_EH_FRAME_SECTION_NAME__.
3368         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3369         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3370         (CTORS_SECTION_ASM_OP): Change all uses to
3371         __LIBGCC_CTORS_SECTION_ASM_OP__.
3372         (DTORS_SECTION_ASM_OP): Change all uses to
3373         __LIBGCC_DTORS_SECTION_ASM_OP__.
3374         (JCR_SECTION_NAME): Change all uses to
3375         __LIBGCC_JCR_SECTION_NAME__.
3376         (INIT_SECTION_ASM_OP): Change all uses to
3377         __LIBGCC_INIT_SECTION_ASM_OP__.
3378         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3379         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3380         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3381         __LIBGCC_STACK_GROWS_DOWNWARD__.
3382         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3383         __LIBGCC_INIT_SECTION_ASM_OP__.
3384         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3385         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3386         (EH_FRAME_SECTION_NAME): Change all uses to
3387         __LIBGCC_EH_FRAME_SECTION_NAME__.
3388         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3389         definitions.  Change all uses to
3390         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3391         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3392         __LIBGCC_STACK_GROWS_DOWNWARD__.
3393         (DWARF_FRAME_REGISTERS): Change all uses to
3394         __LIBGCC_DWARF_FRAME_REGISTERS__.
3395         (EH_RETURN_STACKADJ_RTX): Change all uses to
3396         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3397         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3398         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3399         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3400         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3401         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3403 2014-09-02  Nathan sidwell  <nathan@acm.org>
3405         * libgcov-interface.c (STRONG_ALIAS): New.
3406         (__gcov_flush): Call __gcov_reset_int.
3407         (__gcov_reset): Strong alias for ...
3408         (__gcov_reset_ing): ... this renamed hidden version.
3409         * libgcov.h (__gcov_reset_int): New declaration.
3411 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3413         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3414         call from here...
3415         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3416         (__dso_handle): Define on Cygwin.
3417         * config/i386/t-cygming (crtbeginS.o): New rule.
3418         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3420         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3421         declaration syntax.
3423 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3425         * crtstuff.c: Undef caddr_t.
3427 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3429         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3431 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3433         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3434         (LIBGCOV_DRIVER): ... to here.
3435         * libgcov.h (gcov_do_dump): New #define.
3436         (struct gcov_root): New.
3437         (__gcov_root): New declaration.
3438         (__gcov_dump_one): Declare.
3439         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3440         run_accounted): Delete.
3441         (gcov_compute_histogram): Add LIST argument, adjust.
3442         (compute_summary): Adjust gcov_compute_histogram call.
3443         (gcov_do_dump): Not hidden, static in libgcov.
3444         (gcov_clear): Move  to interface.c.
3445         (__gcov_dump_one): New, broken out of ...
3446         (gcov_exit): ... here.  Make static.
3447         (__gcov_root): New.
3448         (__gcov_init): Adjust.
3449         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3450         declarations.
3451         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3452         (gcov_clear): Moved from driver.c.   Add LIST argument.
3453         (__gcov_reset): Adjust for changed interfaces.
3454         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3456 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3458         PR target/60102
3459         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3460         based on change in SPE high register numbers and 3 HTM registers.
3462 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3464         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3465         LIBGCOV_INTERFACE): Reformat.
3466         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3467         IN_GCOV_TOOL.
3468         * libgcov-interface.c: Reformat some comments.
3469         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3471 2014-07-31  Alan Modra  <amodra@gmail.com>
3472             Peter Bergner  <bergner@vnet.ibm.com>
3474         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3475         (pack_ldouble): New function.
3476         (__gcc_qadd): Use it.
3477         (__gcc_qmul): Likewise.
3478         (__gcc_qdiv): Likewise.
3479         (__gcc_qneg): Likewise.
3480         (__gcc_stoq): Likewise.
3481         (__gcc_dtoq): Likewise.
3483 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3485         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3486         (__tpf_eh_return): Add original return address as second parameter.
3487         Handle cases where unwinder routines were called directly, instead
3488         of from within the C++ library.
3490 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3492         * libgcov.h: Move renaming of entry points to lib gcov specific
3493         portion.
3494         (gcov_do_dump): New rename.
3495         (gcov_rewrite): Remove inline, make HIDDEN.
3496         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3497         (gcov_exit_compute_summary): Rename to ...
3498         (compute_summary): ... here.  Add LIST argument.
3499         (gcov_exit_merge_gcda): Rename to ...
3500         (merge_one_data): ... here.
3501         (gcov_exit_write_gcda): Rename to ...
3502         (write_one_data): ... here.
3503         (gcov_exit_merge_summary): Rename to ...
3504         (merge_summary): Add RUN_COUNTED argument.
3505         (gcov_exit_dump_gcov): Rename to ...
3506         (dump_one_gcov): Add RUN_COUNTED argument.
3507         (gcov_do_dump): New function, broken out of ...
3508         (gcov_exit): ... here.  Call it.
3510 2014-07-27  Anthony Green  <green@moxielogic.com>
3512         * config.host: Add moxiebox configuration suppport.
3514 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3516         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3517         (struct gcov_filename): ... here.  Include buffer and max length
3518         fields.
3519         (gcov_max_filename): Remove.
3520         (gi_filename): Remove.
3521         (gcov_exit_compute_summary): Compute max filename here.
3522         (gcov_exit_merge_gcda): Add filename parm, adjust.
3523         (gcov_exit_merge_summary): Likewise.
3524         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3525         (gcov_exit): Likewise.
3526         (__gcov_init): Don't calculate max length here.
3527         * libgcov_util.c (max_filename_len): Remove.
3528         (read_gcda_file): Don't calculate max length here.
3529         (gcov_read_profile_dir): Don't propagate here.
3530         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3531         struct gcov_filename changes.
3532         (gcov_exit_open_gcda_file): Likewise.
3534 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3536         * libgcov-driver.c (set_gcov_dump_complete,
3537         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3538         functions polluting user's namespace.
3539         (gcov_exit): Set variable directly.
3540         (gcov_clear): Reset variable directly.
3541         * libgcov-interface.c (get_gcov_dymp_complete,
3542         reset_gov_dump_complete): Remove declarations.
3543         (__gcov_reset, __gcov_dump): Don't call them.
3545 2014-07-24  DJ Delorie  <dj@redhat.com>
3547         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3548         (__gcc_deregister_frame): Move logic to detect deregister function
3549         to ...
3550         (__gcc_register_frame): here, so it's consistent with the register
3551         logic.
3553 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3555         * libgcov-driver.c (set_gcov_list): Remove.
3556         (gcov_list): Make non-static in GCOV_TOOL.
3557         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3559 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3561         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3562         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3563         Don't use SYNC_LOCK_RELEASE for int type.
3565 2014-07-14  Richard Biener  <rguenther@suse.de>
3567         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3569 2014-07-11  Rong Xu  <xur@google.com>
3571         * libgcov-util.c (gcov_max_filename): Fix declartion.
3573 2014-07-10  Rong Xu  <xur@google.com>
3575         Add gcov-tool: an offline gcda profile processing tool
3576         Support.
3577         * libgcov-driver.c (gcov_max_filename): Make available
3578         to gcov-tool.
3579         * libgcov-merge.c (__gcov_merge_add): Replace
3580         gcov_read_counter() with a Macro.
3581         (__gcov_merge_ior): Ditto.
3582         (__gcov_merge_time_profile): Ditto.
3583         (__gcov_merge_single): Ditto.
3584         (__gcov_merge_delta): Ditto.
3585         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3586         in the utility functions.
3587         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3588         gcov_list object link lists.
3589         (tag_function): Ditto.
3590         (tag_blocks): Ditto.
3591         (tag_arcs): Ditto.
3592         (tag_lines): Ditto.
3593         (tag_counters): Ditto.
3594         (tag_summary): Ditto.
3595         (read_gcda_finalize): Ditto.
3596         (read_gcda_file): Ditto.
3597         (ftw_read_file): Ditto.
3598         (read_profile_dir_init): Ditto.
3599         (gcov_read_profile_dir): Ditto.
3600         (gcov_read_counter_mem): Ditto.
3601         (gcov_get_merge_weight): Ditto.
3602         (merge_wrapper): A wrapper function that calls merging handler.
3603         (gcov_merge): Merge two gcov_info objects with weights.
3604         (find_match_gcov_info): Find the matched gcov_info in the list.
3605         (gcov_profile_merge): Merge two gcov_info object lists.
3606         (__gcov_add_counter_op): Process edge profile counter values.
3607         (__gcov_ior_counter_op): Process IOR profile counter values.
3608         (__gcov_delta_counter_op): Process delta profile counter values.
3609         (__gcov_single_counter_op): Process single  profile counter values.
3610         (fp_scale): Callback function for float-point scaling.
3611         (int_scale): Callback function for integer fraction scaling.
3612         (gcov_profile_scale): Scaling profile counters.
3613         (gcov_profile_normalize): Normalize profile counters.
3614         * libgcov.h: Add headers and functions for gcov-tool use.
3615         (gcov_get_counter): New.
3616         (gcov_get_counter_target): Ditto.
3617         (struct gcov_info): Make the functions field mutable in gcov-tool
3618         compilation.
3620 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3622         PR libgcc/61585
3623         * unwind-seh.c (_Unwind_GetGR): Check for proper
3624         index range.
3625         (_Unwind_SetGR): Likewise.
3627 2014-05-22  Nick Clifton  <nickc@redhat.com>
3629         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3630         -mhwmult=none.
3632 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3634         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3635         include.
3637 2014-05-20  John Marino  <gnugcc@marino.st>
3639         * config.host (*-*-dragonfly*): New target.
3640         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3641         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3642         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3643         * config/i386/dragonfly-unwind.h: New.
3645 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3647         PR libgcc/60166
3648         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3649         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3651 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3653         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3654         implementation.
3656 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3658         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3660 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3662         PR libgcc/61097
3663         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3664         if --enable-shared.
3666 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3668         Work around for current cygwin32 build problems.
3669         * config/i386/cygming-crtbegin.c (__register_frame_info,
3670         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3671         functions only for 64-bit systems.
3673 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3675         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3676         (sigill_caught, sigill_hdlr): Remove.
3678 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3680         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3681         check.
3682         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3683         Solaris 9 single-threaded support.
3684         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3685         Solaris 9 single-threaded support.  Add call_user_handler code
3686         sequences.
3687         (sparc_is_sighandler): Likewise.
3689 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3691         * config.host: Append t-floattodi to tmake_file depending on
3692         host_address.
3694 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3696         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3698 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3700         PR libgcc/60472
3701         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3702         variable to avoid "array subscript is above array bounds" warnings.
3703         Use __builtin_expect when checking *jcr_list for NULL.
3705 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3707         PR libgcc/59339
3708         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3709         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3710         vtv_*.o to extra_parts if enable_vtable_verify.
3712 2014-03-06  Nick Clifton  <nickc@redhat.com>
3714         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3715         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3717 2014-02-28  Joey Ye  <joey.ye@arm.com>
3719         PR libgcc/60166
3720         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3721         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3722         Set to zero.
3724 2014-02-24  Walter Lee  <walt@tilera.com>
3726         * config.host: Support "tilegx*" and "tilepro*" triplets.
3727         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3728         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3730 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3731             Chung-Lin Tang  <cltang@codesourcery.com>
3733         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3734         * config/nios2/crti.S: Remove .file directive.
3735         * config/nios2/crtn.S: Likewise.
3737 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3738         Jonathan Schleifer  <js@webkeks.org>
3740         PR objc/56870
3741         * unwind-seh.c (_GCC_specific_handler): Pass proper
3742         value to unwind-handler.
3744 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3746         * soft-fp/adddf3.c: Update from glibc.
3747         * soft-fp/addsf3.c: Likewise.
3748         * soft-fp/addtf3.c: Likewise.
3749         * soft-fp/divdf3.c: Likewise.
3750         * soft-fp/divsf3.c: Likewise.
3751         * soft-fp/divtf3.c: Likewise.
3752         * soft-fp/double.h: Likewise.
3753         * soft-fp/eqdf2.c: Likewise.
3754         * soft-fp/eqsf2.c: Likewise.
3755         * soft-fp/eqtf2.c: Likewise.
3756         * soft-fp/extenddftf2.c: Likewise.
3757         * soft-fp/extended.h: Likewise.
3758         * soft-fp/extendsfdf2.c: Likewise.
3759         * soft-fp/extendsftf2.c: Likewise.
3760         * soft-fp/extendxftf2.c: Likewise.
3761         * soft-fp/fixdfdi.c: Likewise.
3762         * soft-fp/fixdfsi.c: Likewise.
3763         * soft-fp/fixdfti.c: Likewise.
3764         * soft-fp/fixsfdi.c: Likewise.
3765         * soft-fp/fixsfsi.c: Likewise.
3766         * soft-fp/fixsfti.c: Likewise.
3767         * soft-fp/fixtfdi.c: Likewise.
3768         * soft-fp/fixtfsi.c: Likewise.
3769         * soft-fp/fixtfti.c: Likewise.
3770         * soft-fp/fixunsdfdi.c: Likewise.
3771         * soft-fp/fixunsdfsi.c: Likewise.
3772         * soft-fp/fixunsdfti.c: Likewise.
3773         * soft-fp/fixunssfdi.c: Likewise.
3774         * soft-fp/fixunssfsi.c: Likewise.
3775         * soft-fp/fixunssfti.c: Likewise.
3776         * soft-fp/fixunstfdi.c: Likewise.
3777         * soft-fp/fixunstfsi.c: Likewise.
3778         * soft-fp/fixunstfti.c: Likewise.
3779         * soft-fp/floatdidf.c: Likewise.
3780         * soft-fp/floatdisf.c: Likewise.
3781         * soft-fp/floatditf.c: Likewise.
3782         * soft-fp/floatsidf.c: Likewise.
3783         * soft-fp/floatsisf.c: Likewise.
3784         * soft-fp/floatsitf.c: Likewise.
3785         * soft-fp/floattidf.c: Likewise.
3786         * soft-fp/floattisf.c: Likewise.
3787         * soft-fp/floattitf.c: Likewise.
3788         * soft-fp/floatundidf.c: Likewise.
3789         * soft-fp/floatundisf.c: Likewise.
3790         * soft-fp/floatunditf.c: Likewise.
3791         * soft-fp/floatunsidf.c: Likewise.
3792         * soft-fp/floatunsisf.c: Likewise.
3793         * soft-fp/floatunsitf.c: Likewise.
3794         * soft-fp/floatuntidf.c: Likewise.
3795         * soft-fp/floatuntisf.c: Likewise.
3796         * soft-fp/floatuntitf.c: Likewise.
3797         * soft-fp/gedf2.c: Likewise.
3798         * soft-fp/gesf2.c: Likewise.
3799         * soft-fp/getf2.c: Likewise.
3800         * soft-fp/ledf2.c: Likewise.
3801         * soft-fp/lesf2.c: Likewise.
3802         * soft-fp/letf2.c: Likewise.
3803         * soft-fp/muldf3.c: Likewise.
3804         * soft-fp/mulsf3.c: Likewise.
3805         * soft-fp/multf3.c: Likewise.
3806         * soft-fp/negdf2.c: Likewise.
3807         * soft-fp/negsf2.c: Likewise.
3808         * soft-fp/negtf2.c: Likewise.
3809         * soft-fp/op-1.h: Likewise.
3810         * soft-fp/op-2.h: Likewise.
3811         * soft-fp/op-4.h: Likewise.
3812         * soft-fp/op-8.h: Likewise.
3813         * soft-fp/op-common.h: Likewise.
3814         * soft-fp/quad.h: Likewise.
3815         * soft-fp/single.h: Likewise.
3816         * soft-fp/soft-fp.h: Likewise.
3817         * soft-fp/subdf3.c: Likewise.
3818         * soft-fp/subsf3.c: Likewise.
3819         * soft-fp/subtf3.c: Likewise.
3820         * soft-fp/truncdfsf2.c: Likewise.
3821         * soft-fp/trunctfdf2.c: Likewise.
3822         * soft-fp/trunctfsf2.c: Likewise.
3823         * soft-fp/trunctfxf2.c: Likewise.
3824         * soft-fp/unorddf2.c: Likewise.
3825         * soft-fp/unordsf2.c: Likewise.
3826         * soft-fp/unordtf2.c: Likewise.
3827         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3828         macro.
3829         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3830         Likewise.
3831         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3832         Likewise.
3833         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3834         Likewise.
3835         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3836         Likewise.
3837         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3838         Likewise.
3839         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3840         Likewise.
3841         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3842         Likewise.
3843         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3844         Likewise.
3845         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3846         Likewise.
3847         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3848         Likewise.
3849         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3850         Likewise.
3851         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3852         Likewise.
3853         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3854         Likewise.
3855         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3856         Likewise.
3857         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3858         Likewise.
3860 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3862         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3863         cannot be represented.
3864         * config/s390/32/_fixsfdi.c: Likewise.
3865         * config/s390/32/_fixtfdi.c: Likewise.
3866         * config/s390/32/_fixunsdfdi.c: Likewise.
3867         * config/s390/32/_fixunssfdi.c: Likewise.
3868         * config/s390/32/_fixunstfdi.c: Likewise.
3870 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3872         * configure.ac (libgcc_cv_mips_hard_float): New.
3873         * configure: Regenerate.
3874         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3875         t-softfp-sfdf for hard-float targets.
3876         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3877         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3878         (softfp_truncations, softfp_exclude_libgcc2): New.
3879         * config/t-hardfp: New file.
3880         * config/t-hardfp-sfdf: Likewise.
3881         * config/hardfp.c: Likewise.
3883 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3885         * config.host: Include t-floattodi also for s390x.
3886         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3887         * config/s390/32/_fixsfdi.c: Likewise.
3888         * config/s390/32/_fixtfdi.c: Likewise.
3889         * config/s390/32/_fixunsdfdi.c: Likewise.
3890         * config/s390/32/_fixunssfdi.c: Likewise.
3891         * config/s390/32/_fixunstfdi.c: Likewise.
3893 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3895         PR target/59788
3896         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3897         (install-libgcc-unwind-map-forbuild): New target.
3898         (all): Depend on install-libgcc-unwind-map-forbuild.
3899         (install-libgcc-unwind-map): New target.
3900         (install): Depend on install-libgcc-unwind-map.
3902 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3904         * config/nios2/crti.S (_init): Initialize GOT pointer from
3905         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3907 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3909         * configure.ac: Check __mips64 when setting host_address.
3910         * configure: Regenerate.
3911         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3912         mips/t-mips64 and t-softfp.
3913         (mips*-*-linux*): Don't add mips/t-tpbit.
3914         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3915         (DPBIT, DPBIT_CFLAGS): Delete.
3916         * config/mips/sfp-machine.h: New file.
3917         * config/mips/t-mips64: Likewise.
3918         * config/mips/t-softfp-tf: Likewise.
3919         * config/mips/t-tpbit: Delete.
3921 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3923         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3924         as long long.
3926 2014-01-25  Walter Lee  <walt@tilera.com>
3928         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3929         config.h or system.h.
3930         (bool) Define.
3932 2014-01-25  Walter Lee  <walt@tilera.com>
3934         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3935         (post_atomic_barrier): Ditto.
3936         (__fetch_and_do): New macro.
3937         (__atomic_fetch_and_do): Use __fetch_and_do.
3938         (__sync_fetch_and_do): New macro.
3939         (__sync_fetch_and_add_4): New function.
3940         (__sync_fetch_and_sub_4): New function.
3941         (__sync_fetch_and_or_4): New function.
3942         (__sync_fetch_and_and_4): New function.
3943         (__sync_fetch_and_xor_4): New function.
3944         (__sync_fetch_and_nand_4): New function.
3945         (__sync_fetch_and_add_8): New function.
3946         (__sync_fetch_and_sub_8): New function.
3947         (__sync_fetch_and_or_8): New function.
3948         (__sync_fetch_and_and_8): New function.
3949         (__sync_fetch_and_xor_8): New function.
3950         (__sync_fetch_and_nand_8): New function.
3951         (__do_and_fetch): New macro.
3952         (__atomic_do_and_fetch): Use __do_and_fetch.
3953         (__sync_do_and_fetch): New macro.
3954         (__sync_add_and_fetch_4): New function.
3955         (__sync_sub_and_fetch_4): New function.
3956         (__sync_or_and_fetch_4): New function.
3957         (__sync_and_and_fetch_4): New function.
3958         (__sync_xor_and_fetch_4): New function.
3959         (__sync_nand_and_fetch_4): New function.
3960         (__sync_add_and_fetch_8): New function.
3961         (__sync_sub_and_fetch_8): New function.
3962         (__sync_or_and_fetch_8): New function.
3963         (__sync_and_and_fetch_8): New function.
3964         (__sync_xor_and_fetch_8): New function.
3965         (__sync_nand_and_fetch_8): New function.
3966         (__sync_exchange_methods): New macro.
3967         (__sync_val_compare_and_swap_4): New function.
3968         (__sync_bool_compare_and_swap_4): New function.
3969         (__sync_lock_test_and_test_4): New function.
3970         (__sync_val_compare_and_swap_8): New function.
3971         (__sync_bool_compare_and_swap_8): New function.
3972         (__sync_lock_test_and_test_8): New function.
3973         (__subword_cmpxchg_body): New macro.
3974         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3975         (__atomic_compare_exchange_2): Ditto.
3976         (__sync_subword_cmpxchg): New macro.
3977         (__sync_val_compare_and_swap_1): New function.
3978         (__sync_bool_compare_and_swap_1): New function.
3979         (__sync_val_compare_and_swap_2): New function.
3980         (__sync_bool_compare_and_swap_2): New function.
3981         (__atomic_subword): Rename to ...
3982         (__subword): ... New name.
3983         (__atomic_subword_fetch): Use __subword.
3984         (__sync_subword_fetch): New macro.
3985         (__sync_fetch_and_add_1): New function.
3986         (__sync_fetch_and_sub_1): New function.
3987         (__sync_fetch_and_or_1): New function.
3988         (__sync_fetch_and_and_1): New function.
3989         (__sync_fetch_and_xor_1): New function.
3990         (__sync_fetch_and_nand_1): New function.
3991         (__sync_fetch_and_add_2): New function.
3992         (__sync_fetch_and_sub_2): New function.
3993         (__sync_fetch_and_or_2): New function.
3994         (__sync_fetch_and_and_2): New function.
3995         (__sync_fetch_and_xor_2): New function.
3996         (__sync_fetch_and_nand_2): New function.
3997         (__sync_add_and_fetch_1): New function.
3998         (__sync_sub_and_fetch_1): New function.
3999         (__sync_or_and_fetch_1): New function.
4000         (__sync_and_and_fetch_1): New function.
4001         (__sync_xor_and_fetch_1): New function.
4002         (__sync_nand_and_fetch_1): New function.
4003         (__sync_add_and_fetch_2): New function.
4004         (__sync_sub_and_fetch_2): New function.
4005         (__sync_or_and_fetch_2): New function.
4006         (__sync_and_and_fetch_2): New function.
4007         (__sync_xor_and_fetch_2): New function.
4008         (__sync_nand_and_fetch_2): New function.
4009         (__atomic_subword_lock): Use __subword.
4010         (__sync_subword_lock): New macro.
4011         (__sync_lock_test_and_set_1): New function.
4012         (__sync_lock_test_and_set_2): New function.
4014 2014-01-25  Walter Lee  <walt@tilera.com>
4016         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4017         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4018         (__atomic_subword): Ditto.
4020 2014-01-25  Walter Lee  <walt@tilera.com>
4022         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4023         a prefix op argument.
4024         (__atomic_nand_fetch_4): Add prefix op.
4025         (__atomic_nand_fetch_8): Ditto.
4027 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4029         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4031 2014-01-09  Rong Xu  <xur@google.com>
4033         * libgcov-driver.c (this_prg): make it local to save
4034         bss space.
4035         (gcov_exit_compute_summary): Ditto.
4036         (gcov_exit_merge_gcda): Ditto.
4037         (gcov_exit_merge_summary): Ditto.
4038         (gcov_exit_dump_gcov): Ditto.
4040 2014-01-08  Rong Xu  <xur@google.com>
4042         * libgcov-driver.c: Use libgcov.h.
4043         (buffer_fn_data): Use xmalloc instead of malloc.
4044         (gcov_exit_merge_gcda): Ditto.
4045         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4046         * libgcov.h: New common header files for libgcov-*.h.
4047         * libgcov-interface.c: Use libgcov.h
4048         * libgcov-merge.c: Ditto.
4049         * libgcov-profiler.c: Ditto.
4050         * Makefile.in: Add dependence to libgcov.h
4052 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4054         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4055         case of small numerator and finite nonzero result.
4057 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4059         Update copyright years
4061 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4063         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4064         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4065         config/arc/dp-hack.h, config/arc/fp-hack.h,
4066         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4067         config/arc/ieee-754/arc600-dsp/divdf3.S,
4068         config/arc/ieee-754/arc600-dsp/divsf3.S,
4069         config/arc/ieee-754/arc600-dsp/muldf3.S,
4070         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4071         config/arc/ieee-754/arc600-mul64/divdf3.S,
4072         config/arc/ieee-754/arc600-mul64/divsf3.S,
4073         config/arc/ieee-754/arc600-mul64/muldf3.S,
4074         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4075         config/arc/ieee-754/arc600/divsf3.S,
4076         config/arc/ieee-754/arc600/mulsf3.S,
4077         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4078         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4079         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4080         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4081         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4082         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4083         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4084         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4085         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4086         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4087         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4088         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4089         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4090         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4091         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4092         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4093         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4094         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4095         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4096         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4097         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4098         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4099         vtv_start_preinit.c: Use the standard form for the copyright notice.
4101 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4102             Chung-Lin Tang  <cltang@codesourcery.com>
4103             Based on patches from Altera Corporation
4105         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4106         * config/nios2/lib2-nios2.h: New file.
4107         * config/nios2/lib2-divmod-hi.c: New file.
4108         * config/nios2/linux-unwind.h: New file.
4109         * config/nios2/lib2-divmod.c: New file.
4110         * config/nios2/linux-atomic.c: New file.
4111         * config/nios2/t-nios2: New file.
4112         * config/nios2/crti.asm: New file.
4113         * config/nios2/t-linux: New file.
4114         * config/nios2/lib2-divtable.c: New file.
4115         * config/nios2/lib2-mul.c: New file.
4116         * config/nios2/tramp.c: New file.
4117         * config/nios2/crtn.asm: New file.
4119 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4121         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4122         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4123         from cpuid.h to check vendor signatures.
4125 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4127         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4128         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4129         (get_amd_cpu): Likewise.
4131 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
4133         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4134         Haswell.
4136 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4137             H.J. Lu  <hongjiu.lu@intel.com>
4139         PR target/59422
4140         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
4141         and AMD_JAGUAR.
4142         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4143         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4144         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
4145         FEATURE_XOP and FEATURE_FMA.
4146         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4147         AMDFAM15H_BDVER3.
4148         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4149         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4150         FEATURE_FMA4 and FEATURE_XOP.
4152 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
4154         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4155         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4156         (get_intel_cpu): Updated.
4158 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
4160         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4162 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
4164         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4165         instructions when __SSE_MATH__ is defined.
4167 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
4169         * config.host (microblaze-*-rtems*): New.
4171 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
4173         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4174         architectures that do not have hardware divide instruction.
4175         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4177 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
4179         * longlong.h: Delete (moved to include/).
4181 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4183         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4184         of normal number and qNaN to not raise an inexact exception.
4186 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
4188         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4190 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
4192         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4193         for correct opcodes on BE.
4195 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
4197         * soft-fp/op-4.h: Update from glibc.
4199 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
4201         * libgcc2.c (__udivmoddi4): Define new implementation when
4202         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4203         divide instructions.
4205 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
4207         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4209 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4211         * config/t-softfp (soft-fp-objects-base): New variable.
4212         (soft-fp-objects): Use it.
4214 2013-11-23  David Edelson  <dje.gcc@gmail.com>
4215             Andrew Dixie  <andrewd@gentrack.com>
4217         PR target/33704
4218         * config/rs6000/aixinitfini.c: New file.
4219         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4220         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4221         symbols.
4223 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
4225         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4227 2013-11-18  Jan Hubicka  <jh@suse.cz>
4229         * libgcov-driver.c (run_accounted): Make global level static.
4230         (gcov_exit_merge_summary): Silence warning; do not clear
4231         run_accounted here.
4232         (gcov_exit): Clear it here.
4234         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4235         run_accounted.
4237         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4238         (all_prg, crc32): Remove static vars.
4239         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4240         all_prg.
4241         (gcov_exit_merge_gcda): Add crc32 parameter.
4242         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4243         do not account run if it was already accounted.
4244         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4245         (gcov_exit): Initialize all_prg; update.
4247 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
4249         * configure: Regenerate.
4251 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4252             Alan Modra  <amodra@gmail.com>
4254         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4255         (frob_update_context): Use it.
4257 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4258             Alan Modra  <amodra@gmail.com>
4260         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4261         (trampoline_initial): Provide ELFv2 variant.
4262         (__trampoline_setup): Likewise.
4264         * config/rs6000/linux-unwind.h (frob_update_context): Do not
4265         check for AIX indirect function call sequence if _CALL_ELF == 2.
4267 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4268             Alan Modra  <amodra@gmail.com>
4270         * config/rs6000/linux-unwind.h (get_regs): Do not support
4271         old kernel versions if _CALL_ELF == 2.
4272         (frob_update_context): Do not support PLT stub variants only
4273         generated by old linkers if _CALL_ELF == 2.
4275 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4276             Alan Modra  <amodra@gmail.com>
4278         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4279         location of CR save area for 64-bit little-endian systems.
4281 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
4283         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4284         in tmake_file.
4285         * config/arm/t-vxworks: Delete.
4287 2013-11-10  Kai Tietz  <ktietz@redhat.com>
4289         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4290         Increment load-count on use of LIBGCC_SONAME DLL.
4291         (hmod_libgcc): New static variable to hold handle of
4292         LIBGCC_SONAME DLL.
4293         (__gcc_deregister_frame): Decrement load-count of
4294         LIBGCC_SONAME DLL.
4296 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
4298         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4299         availability.
4300         * configure: Regenerate
4302 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
4304         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4305         FP_EX_DENORM.  Store result to volatile location after SSE division
4306         to close interrupt window.  Remove unneeded fwait after x87
4307         division since interrupt window will be closed by emitted fstp.
4308         Rewrite FP_EX_INEXACT handling.
4310 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
4312         * soft-fp/README: Update.
4313         * soft-fp/adddf3.c: Update from glibc.
4314         * soft-fp/addsf3.c: Likewise.
4315         * soft-fp/addtf3.c: Likewise.
4316         * soft-fp/divdf3.c: Likewise.
4317         * soft-fp/divsf3.c: Likewise.
4318         * soft-fp/divtf3.c: Likewise.
4319         * soft-fp/double.h: Likewise.
4320         * soft-fp/eqdf2.c: Likewise.
4321         * soft-fp/eqsf2.c: Likewise.
4322         * soft-fp/eqtf2.c: Likewise.
4323         * soft-fp/extenddftf2.c: Likewise.
4324         * soft-fp/extended.h: Likewise.
4325         * soft-fp/extendsfdf2.c: Likewise.
4326         * soft-fp/extendsftf2.c: Likewise.
4327         * soft-fp/extendxftf2.c: Likewise.
4328         * soft-fp/fixdfdi.c: Likewise.
4329         * soft-fp/fixdfsi.c: Likewise.
4330         * soft-fp/fixdfti.c: Likewise.
4331         * soft-fp/fixsfdi.c: Likewise.
4332         * soft-fp/fixsfsi.c: Likewise.
4333         * soft-fp/fixsfti.c: Likewise.
4334         * soft-fp/fixtfdi.c: Likewise.
4335         * soft-fp/fixtfsi.c: Likewise.
4336         * soft-fp/fixtfti.c: Likewise.
4337         * soft-fp/fixunsdfdi.c: Likewise.
4338         * soft-fp/fixunsdfsi.c: Likewise.
4339         * soft-fp/fixunsdfti.c: Likewise.
4340         * soft-fp/fixunssfdi.c: Likewise.
4341         * soft-fp/fixunssfsi.c: Likewise.
4342         * soft-fp/fixunssfti.c: Likewise.
4343         * soft-fp/fixunstfdi.c: Likewise.
4344         * soft-fp/fixunstfsi.c: Likewise.
4345         * soft-fp/fixunstfti.c: Likewise.
4346         * soft-fp/floatdidf.c: Likewise.
4347         * soft-fp/floatdisf.c: Likewise.
4348         * soft-fp/floatditf.c: Likewise.
4349         * soft-fp/floatsidf.c: Likewise.
4350         * soft-fp/floatsisf.c: Likewise.
4351         * soft-fp/floatsitf.c: Likewise.
4352         * soft-fp/floattidf.c: Likewise.
4353         * soft-fp/floattisf.c: Likewise.
4354         * soft-fp/floattitf.c: Likewise.
4355         * soft-fp/floatundidf.c: Likewise.
4356         * soft-fp/floatundisf.c: Likewise.
4357         * soft-fp/floatunditf.c: Likewise.
4358         * soft-fp/floatunsidf.c: Likewise.
4359         * soft-fp/floatunsisf.c: Likewise.
4360         * soft-fp/floatunsitf.c: Likewise.
4361         * soft-fp/floatuntidf.c: Likewise.
4362         * soft-fp/floatuntisf.c: Likewise.
4363         * soft-fp/floatuntitf.c: Likewise.
4364         * soft-fp/gedf2.c: Likewise.
4365         * soft-fp/gesf2.c: Likewise.
4366         * soft-fp/getf2.c: Likewise.
4367         * soft-fp/ledf2.c: Likewise.
4368         * soft-fp/lesf2.c: Likewise.
4369         * soft-fp/letf2.c: Likewise.
4370         * soft-fp/muldf3.c: Likewise.
4371         * soft-fp/mulsf3.c: Likewise.
4372         * soft-fp/multf3.c: Likewise.
4373         * soft-fp/negdf2.c: Likewise.
4374         * soft-fp/negsf2.c: Likewise.
4375         * soft-fp/negtf2.c: Likewise.
4376         * soft-fp/op-1.h: Likewise.
4377         * soft-fp/op-2.h: Likewise.
4378         * soft-fp/op-4.h: Likewise.
4379         * soft-fp/op-8.h: Likewise.
4380         * soft-fp/op-common.h: Likewise.
4381         * soft-fp/quad.h: Likewise.
4382         * soft-fp/single.h: Likewise.
4383         * soft-fp/soft-fp.h: Likewise.
4384         * soft-fp/subdf3.c: Likewise.
4385         * soft-fp/subsf3.c: Likewise.
4386         * soft-fp/subtf3.c: Likewise.
4387         * soft-fp/truncdfsf2.c: Likewise.
4388         * soft-fp/trunctfdf2.c: Likewise.
4389         * soft-fp/trunctfsf2.c: Likewise.
4390         * soft-fp/trunctfxf2.c: Likewise.
4391         * soft-fp/unorddf2.c: Likewise.
4392         * soft-fp/unordsf2.c: Likewise.
4393         * soft-fp/unordtf2.c: Likewise.
4395 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4397         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4398         (_FP_MUL_MEAT_D): Ditto.
4399         (_FP_DIV_MEAT_S): Ditto.
4400         (_FP_DIV_MEAT_D): Ditto.
4401         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4402         t-softfp-sfdf and t-softfp to tmake_file.
4404 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4406         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4407         * config/i386/crtprec.c: Ditto.
4409 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4410             Shiva Chen  <shiva0217@gmail.com>
4412         * config.host (nds32*-elf*): Add nds32 target.
4413         * config/nds32 : New directory and files.
4415 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4417         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4418         * config.host (cpu_type) <Setting default>: Add entry for
4419         crisv32-*-*.
4420         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4421         <crisv32-*-linux*>: Adjust.
4422         * longlong.h: Wrap the whole CRIS section in a single
4423         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4424         and sub_ddmmss.
4425         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4426         defined.
4427         [__CRIS__] (__umulsidi3): Define.
4428         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4429         * config/cris/sfp-machine.h: New file.
4430         * config/cris/umulsidi3.S: New file.
4431         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4432         * config/cris/arit.c (SIGNMULT): New macro.
4433         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4434         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4435         saving 3 out of originally 33 cycles from the fastest
4436         path, 3 out of 54 from the medium path and one from the longest
4437         path.  Improve comments.
4439 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4441         * sync.c: Remove static aliases and define each function directly
4442         under its real name.
4444 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4446         * config.host (hppa*64*-*-linux*): Define extra_parts.
4447         (hppa*-*-linux*): Likewise.
4449 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4451         * config/arc/crtgend.S: Add 2013 to Copyright years.
4452         * config/arc/gmon/atomic.h: Likewise.
4453         * config/arc/gmon/auxreg.h: Likewise.
4454         * config/arc/gmon/sys/gmon_out.h: Likewise.
4455         * config/arc/gmon/sys/gmon.h: Likewise.
4456         * config/arc/gmon/prof-freq.c: Likewise.
4457         * config/arc/gmon/mcount.c: Likewise.
4458         * config/arc/gmon/prof-freq-stub.S: Likewise.
4459         * config/arc/gmon/gmon.c: Likewise.
4460         * config/arc/gmon/machine-gmon.h: Likewise.
4461         * config/arc/gmon/profil.S: Likewise.
4462         * config/arc/gmon/dcache_linesz.S: Likewise.
4463         * config/arc/crtg.S: Likewise.
4464         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4465         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4466         * config/arc/ieee-754/adddf3.S: Likewise.
4467         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4468         * config/arc/ieee-754/fixsfsi.S: Likewise.
4469         * config/arc/ieee-754/gtsf2.S: Likewise.
4470         * config/arc/ieee-754/floatsisf.S: Likewise.
4471         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4472         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4473         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4474         * config/arc/ieee-754/fixdfsi.S: Likewise.
4475         * config/arc/ieee-754/addsf3.S: Likewise.
4476         * config/arc/ieee-754/gesf2.S: Likewise.
4477         * config/arc/ieee-754/floatsidf.S: Likewise.
4478         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4479         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4480         * config/arc/ieee-754/gtdf2.S: Likewise.
4481         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4482         * config/arc/ieee-754/uneqdf2.S: Likewise.
4483         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4484         * config/arc/ieee-754/uneqsf2.S: Likewise.
4485         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4486         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4487         * config/arc/ieee-754/eqdf2.S: Likewise.
4488         * config/arc/ieee-754/ordsf2.S: Likewise.
4489         * config/arc/ieee-754/divsf3.S: Likewise.
4490         * config/arc/ieee-754/divdf3.S: Likewise.
4491         * config/arc/ieee-754/floatunsidf.S: Likewise.
4492         * config/arc/ieee-754/orddf2.S: Likewise.
4493         * config/arc/ieee-754/eqsf2.S: Likewise.
4494         * config/arc/ieee-754/gedf2.S: Likewise.
4495         * config/arc/crtn.S: Likewise.
4496         * config/arc/crti.S: Likewise.
4497         * config/arc/t-arc700-uClibc: Likewise.
4498         * config/arc/asm.h: Likewise.
4499         * config/arc/libgcc-excl.ver: Likewise.
4500         * config/arc/t-arc-newlib: Likewise.
4501         * config/arc/divtab-arc700.c: Likewise.
4502         * config/arc/initfini.c: Likewise.
4503         * config/arc/fp-hack.h: Likewise.
4505 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4506             Diego Novillo  <dnovillo@google.com>
4508         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4509         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4510         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4511         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4513 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4514             Brendan Kehoe  <brendan@zen.org>
4515             Simon Cook  <simon.cook@embecosm.com>
4517         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4518         * config/arc: New directory.
4519         * longlong.h [__arc__] (umul_ppmm): Remove.
4520         [__arc__] (__umulsidi3): Define.
4521         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4522         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4524 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4526         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4527         CreateSemaphoreA.
4528         * config/i386/gthr-win32.h: Likewise.
4530 2013-09-16  DJ Delorie  <dj@redhat.com>
4532         * config/rl78/vregs.h: Add G10 register definitions.
4533         * config/rl78/lib2mul.c: Enable for RL78/G10.
4534         * config/rl78/lib2div.c: Likewise.
4535         * config/rl78/lshrsi3.S: Use vregs.h.
4536         * config/rl78/cmpsi2.S: Likewise.
4537         * config/rl78/trampoline.S: Likewise.
4538         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4540 2013-09-14  DJ Delorie  <dj@redhat.com>
4541             Nick Clifton  <nickc@redhat.com>
4543         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4544         * config/rl78/vregs.h: New.
4545         * config/rl78/signbit.S: New file.  Implements signbit function.
4546         * config/rl78/divmodsi.S: New.
4547         * config/rl78/divmodhi.S: New.
4548         * config/rl78/divmodqi.S: New.
4549         * config/rl78/t-rl78: Build them here...
4550         * config/rl78/lib2div.c: ...but not here.
4552 2013-09-12  DJ Delorie  <dj@redhat.com>
4554         * config.host (msp*-*-elf): New.
4555         * config/msp430/: New port.
4557 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4559         PR gcov-profile/58127
4560         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4561         __thread var for emulated TLS.
4562         (__gcov_indirect_call_counters): Likewise.
4564 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4565             Catherine Moore  <clm@codesourcery.com>
4566             Richard Sandiford  <rdsandiford@googlemail.com>
4568         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4569         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4570         (CALL_STUB_NO_RET): Likewise.
4571         (CALL_STUB_RET): Likewise.
4572         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4573         __mips16_ret call/return stub symbols.
4574         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4575         to tmake_file.
4577 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4579         * config.host <mips*-*-linux*>: Remove a stray comment.
4581 2013-08-10  Jan Hubicka  <jh@suse.cz>
4583         Work around binutils PR14342
4584         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4585         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4586         (L_gcov_indirect_call_profiler_v2): New.
4588 2013-08-06  Jan Hubicka  <jh@suse.cz>
4590         * libgcov.c (__gcov_indirect_call_callee,
4591         __gcov_indirect_call_counters): New global vars.
4592         (__gcov_indirect_call_profiler): replace by ...
4593         (__gcov_indirect_call_profiler_v2) ... this one.
4595 2013-08-06  Caroline Tice  <cmtice@google.com>
4597         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4598         vtv_start_preinit.o and vtv_end_preinit.o.
4599         * configure.ac: Add code to check/set enable_vtable_verify.
4600         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4601         true.
4602         * vtv_start_preinit.c: New file.
4603         * vtv_end_preinit.c: New file.
4604         * vtv_start.c: New file.
4605         * vtv_end.c: New file.
4606         * configure: Regenerated.
4608 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4610         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4611         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4612         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4613         GPL-3.0-with-GCC-exception.
4615 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4617         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4618         ISA and up.
4620 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4622         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4623         mapping for FPRs when creating the fallback framestate.
4625 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4627         PR target/57516
4628         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4629         (__round_s2_const, __round_u2_const)
4630         (__round_s4_const, __round_u4_const, __round_x8):
4631         Saturate result if addition result cannot be represented.
4633 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4635         * libgcc2.c: Don't include <limits.h>.
4637 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4639         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4641 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4643         PR target/29776
4644         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4646 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4648         PR middle-end/36041
4649         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4650         Define.
4651         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4652         instead of table lookups.
4653         (__popcountDI2): Likewise.
4655 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4657         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4658         correctly.
4660 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4662         PR other/53317
4663         * soft-fp/adddf3.c: Update from glibc.
4664         * soft-fp/addsf3.c: Likewise.
4665         * soft-fp/addtf3.c: Likewise.
4666         * soft-fp/divdf3.c: Likewise.
4667         * soft-fp/divsf3.c: Likewise.
4668         * soft-fp/divtf3.c: Likewise.
4669         * soft-fp/double.h: Likewise.
4670         * soft-fp/eqdf2.c: Likewise.
4671         * soft-fp/eqsf2.c: Likewise.
4672         * soft-fp/eqtf2.c: Likewise.
4673         * soft-fp/extenddftf2.c: Likewise.
4674         * soft-fp/extended.h: Likewise.
4675         * soft-fp/extendsfdf2.c: Likewise.
4676         * soft-fp/extendsftf2.c: Likewise.
4677         * soft-fp/fixdfdi.c: Likewise.
4678         * soft-fp/fixdfsi.c: Likewise.
4679         * soft-fp/fixsfdi.c: Likewise.
4680         * soft-fp/fixsfsi.c: Likewise.
4681         * soft-fp/fixtfdi.c: Likewise.
4682         * soft-fp/fixtfsi.c: Likewise.
4683         * soft-fp/fixunsdfdi.c: Likewise.
4684         * soft-fp/fixunsdfsi.c: Likewise.
4685         * soft-fp/fixunssfdi.c: Likewise.
4686         * soft-fp/fixunssfsi.c: Likewise.
4687         * soft-fp/fixunstfdi.c: Likewise.
4688         * soft-fp/fixunstfsi.c: Likewise.
4689         * soft-fp/floatdidf.c: Likewise.
4690         * soft-fp/floatdisf.c: Likewise.
4691         * soft-fp/floatditf.c: Likewise.
4692         * soft-fp/floatsidf.c: Likewise.
4693         * soft-fp/floatsisf.c: Likewise.
4694         * soft-fp/floatsitf.c: Likewise.
4695         * soft-fp/floatundidf.c: Likewise.
4696         * soft-fp/floatundisf.c: Likewise.
4697         * soft-fp/floatunditf.c: Likewise.
4698         * soft-fp/floatunsidf.c: Likewise.
4699         * soft-fp/floatunsisf.c: Likewise.
4700         * soft-fp/floatunsitf.c: Likewise.
4701         * soft-fp/gedf2.c: Likewise.
4702         * soft-fp/gesf2.c: Likewise.
4703         * soft-fp/getf2.c: Likewise.
4704         * soft-fp/ledf2.c: Likewise.
4705         * soft-fp/lesf2.c: Likewise.
4706         * soft-fp/letf2.c: Likewise.
4707         * soft-fp/muldf3.c: Likewise.
4708         * soft-fp/mulsf3.c: Likewise.
4709         * soft-fp/multf3.c: Likewise.
4710         * soft-fp/negdf2.c: Likewise.
4711         * soft-fp/negsf2.c: Likewise.
4712         * soft-fp/negtf2.c: Likewise.
4713         * soft-fp/op-1.h: Likewise.
4714         * soft-fp/op-2.h: Likewise.
4715         * soft-fp/op-4.h: Likewise.
4716         * soft-fp/op-8.h: Likewise.
4717         * soft-fp/op-common.h: Likewise.
4718         * soft-fp/quad.h: Likewise.
4719         * soft-fp/single.h: Likewise.
4720         * soft-fp/soft-fp.h: Likewise.
4721         * soft-fp/subdf3.c: Likewise.
4722         * soft-fp/subsf3.c: Likewise.
4723         * soft-fp/subtf3.c: Likewise.
4724         * soft-fp/truncdfsf2.c: Likewise.
4725         * soft-fp/trunctfdf2.c: Likewise.
4726         * soft-fp/trunctfsf2.c: Likewise.
4727         * soft-fp/unorddf2.c: Likewise.
4728         * soft-fp/unordsf2.c: Likewise.
4729         * soft-fp/unordtf2.c: Likewise.
4730         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4731         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4732         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4733         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4734         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4735         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4736         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4737         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4738         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4739         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4740         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4741         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4743 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4745         * config/mips/lib2funcs.c: New file.
4746         * config/mips/t-mips (LIB2ADD_ST): Add it.
4748 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4750         PR target/6526
4751         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4752         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4754 2013-06-08  Walter Lee  <walt@tilera.com>
4756         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4757         Replace int64_t with long long.  Add __extension__ where
4758         appropriate.
4759         * config/tilepro/atomic.c: Include config.h.
4761 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4763         * config.host (arm-wrs-vxworks): Configure with other soft float.
4765 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4767         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4768         (mips64r5900el-*-elf*): New configurations.
4770 2013-06-04  Alan Modra  <amodra@gmail.com>
4772         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4774 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4776         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4778 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4780         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4781         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4782         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4784 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4786         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4787         (powerpc-wrs-vxworks): Likewise.
4789 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4791         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4792         signal frames as well.
4793         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4794         STACK_BIAS to the CFA offset.
4796 2013-05-17  Richard Henderson  <rth@redhat.com>
4798         PR target/49146
4799         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4800         (execute_cfa_program): Use it when storing to fs->regs.
4802 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4804         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4805         (__deregister_frame_info): Likewise.
4807 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4809         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4810         NaN's payload.
4812         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4814 2013-04-25  Alan Modra  <amodra@gmail.com>
4816         * config.host: Match little-endian powerpc-linux.
4818 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4820         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4821         as 'unsigned long long' instead of 'unsigned long'.
4822         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4823         'signed long'.
4825 2013-04-10  Julian Brown  <julian@codesourcery.com>
4827         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4828         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4829         unsigned char/unsigned short.
4830         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4832 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4834         PR other/55274
4835         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4837 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4839         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4840         computing the location of the link register.
4841         (aeabi_uldivmod): Ditto.
4843 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4845         * config.host: Add support for cygwin x64 target.
4846         * configure: Regenerated.
4848 2013-03-26  Walter Lee  <walt@tilera.com>
4850         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4851         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4853 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4855         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4857 2013-03-20  Robert Mason  <rbmj@verizon.net>
4859         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4860         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4861         (__gthread_leave_tsd_dtor_context): Add prototypes.
4862         (tls_delete_hook): Update.
4864 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4865             Joseph Myers  <joseph@codesourcery.com>
4866             Chao-ying Fu  <fu@mips.com>
4868         * config/mips/mips16.S:  Don't build for microMIPS.
4869         * config/mips/linux-unwind.h: Handle microMIPS frame.
4870         * config/mips/crtn.S (fini, init): New labels.
4872 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4874         PR tree-optimization/53265
4875         * unwind-dw2.c (execute_cfa_program): Avoid
4876         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4877         on targets with DWARF_FRAME_REGISTERS < 32.
4879 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4881         PR target/49880
4882         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4883         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4885 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4887         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4888         sandybridge processors.
4890 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4892         PR target/56529
4893         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4894         inclusion list.
4896 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4898         * config/microblaze/crti.S: Setup stack protection at entry
4900 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4902         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4903         (__rotldi3): Shift bytewise if applicable.
4905 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4907         * config/aarch64/sync-cache.c
4908         (__aarch64_sync_cache_range): Silence warnings.
4910 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4912         Revert:
4913         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4914             Joseph Myers  <joseph@codesourcery.com>
4915             Chao-ying Fu  <fu@mips.com>
4917         * config/mips/mips16.S:  Don't build for microMIPS.
4918         * config/mips/linux-unwind.h: Handle microMIPS frame.
4919         * config/mips/crtn.S (fini, init): New labels.
4921 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4922             Joseph Myers  <joseph@codesourcery.com>
4923             Chao-ying Fu  <fu@mips.com>
4925         * config/mips/mips16.S:  Don't build for microMIPS.
4926         * config/mips/linux-unwind.h: Handle microMIPS frame.
4927         * config/mips/crtn.S (fini, init): New labels.
4929 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4930         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4931         as dividend.
4933 2013-02-16  Alan Modra  <amodra@gmail.com>
4935         PR target/55431
4936         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4937         (ppc_fallback_frame_state): Always set up save locations for fp
4938         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4939         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4941 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4943         PR target/54222
4944         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4945         _ssmulHA, _ssmulSA.
4946         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4947         _ssmulha3, _usmulusa3, _ssmulsa3.
4948         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4949         (__muldi3): XCALL __muldi3_6 instead of rcall.
4950         (__umulsidi3, __mulsidi3): New functions.
4951         (do_prologue_saves, do_epilogue_restores): New .macros.
4952         (__divdi3_moddi3): Use them.
4953         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4954         (__usmulusa3, __ssmulsa3): New functions.
4956 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4957             Jack Howarth  <howarth@bromo.med.uc.edu>
4958             Patrick Marlier  <patrick.marlier@gmail.com>
4960         PR libitm/55693
4961         * config/darwin-crt-tm.c: Remove dummy functions hack.
4963 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4965         PR target/54222
4966         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4967         * config/avr/lib2-object.mk: New iterator to build objects from it.
4968         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4969         lib2funcs.c.
4970         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4971         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4972         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4973         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4974         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4975         * config/avr/lib1funcs-fixed.S: Implement them.
4977 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4979         Update copyright years.
4981 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4983         PR target/54601
4984         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4985         Add crtcxa to extra_parts.
4986         * config/rs6000/exit.h: New file.
4987         * config/rs6000/cxa_atexit.c: New file.
4988         * config/rs6000/cxa_finalize.c: New file.
4989         * config/rs6000/crtcxa.c: New file.
4990         * config/rs6000/t-aix-cxa: New file.
4991         * config/rs6000/libgcc-aix-cxa.ver: New file.
4993 2013-01-31  Nick Clifton  <nickc@redhat.com>
4995         * config/v850/lib1funcs.S: Add support for e3v5 architecture
4996         variant.
4998 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5000         PR target/54222
5001         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5002         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5003         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5004         _divQQ,  _divHQ,  _divHA,  _divSA,
5005         _divUQQ, _divUHQ, _divUHA, _divUSA.
5007 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5009         * config.host(microblaze*-linux*): tmake_file: Remove
5010         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5011         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5012         to exclude functions from being built with libgcc.c and use
5013         the microblaze assembly.
5015 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5017         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5018         extra_parts.
5020 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5022         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5023         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5024         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5025         alignment operation.
5027 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5029         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5030         loop start address for cache clearing.
5032 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5034         * config/avr/lib1funcs.S: Remove trailing blanks.
5035         * config/avr/lib1funcs-fixed.S: Ditto.
5037 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5039         * config/avr/avr-lib.h: Add GPL copyright notice.
5041 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5043         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5044         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5045         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5046         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5048 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5050         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5051         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5053 2013-01-04  Nick Clifton  <nickc@redhat.com>
5055         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5056         the CALLT instruction is supported.
5058 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5060         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5061         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5063 2012-12-13  John Tytgat  <John@bass-software.com>
5065         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5066         is 25.
5068 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5070         PR libgcc/55451
5071         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5072         undefined signed overflows.
5074 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5076         PR target/55344
5077         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5079 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5081         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5082         (FP_TRAPPING_EXCEPTIONS): Define.
5083         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5084         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5086 2012-12-04  Richard Henderson  <rth@redhat.com>
5088         PR bootstrap/55571
5089         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5091 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5093         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5094         (FP_EX_SHIFT): Define.
5095         (FP_TRAPPING_EXCEPTIONS): Define.
5097 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5099         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5100         (FP_ROUNDMODE): Use FP_RND_MASK.
5101         * config/aarch64/sfp-exceptions.c: New.
5102         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5103         Use __sfp_handle_exceptions.
5105 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5107         * config.host: (arm*-*-freebsd*): Remove.
5108         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5109         (arm*-*-elf*): Remove.
5110         (arm*-*-wince-pe*): Remove.
5111         * arm/unwind-arm.c (struct fpa_reg): Delete.
5112         (struct fpa_regs): Delete.
5113         (phase1_vrs): Remove fpa element.
5114         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5115         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5116         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5117         * ieee754-sf.S (floatundisf): Remove FPA support.
5118         (floatdisf): Likewise.
5119         * ieee75f-df.S (floatundidf): Likewise.
5120         (floatdidf): Likewise.
5122 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5124         PR target/55445
5125         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5126         * unwind-generic.h: Likewise.
5127         * unwind-seh.c: Likewise.
5129 2012-11-28  Richard Henderson  <rth@redhat.com>
5131         PR libgcc/48076
5132         * emutls.c (__emutls_get_address): Avoid race condition between
5133         obj->loc.offset read and emutls_key initialization.
5135 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
5137         Adjust decimal point of signed accum mode to GCC default.
5139         PR target/54222
5140         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5141         _divqq_helper.
5142         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5143         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5144         (__mulha3, __mulsa3)
5145         (__divqq3, __divha3, __divsa3): Adjust to new position of
5146         decimal point of signed accum types.
5148         (__mulusa3_round): New function.
5149         (__mulusa3): Use it.
5150         (__divqq_helper): New function.
5151         (__udivuqq3): Use it.
5153 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
5155         PR bootstrap/55370
5156         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5158 2012-11-18  Teresa Johnson  <tejohnson@google.com>
5160         PR bootstrap/55051
5161         * libgcov.c (gcov_exit): Remove merged program summary
5162         comparison unless !GCOV_LOCKED.
5164 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5166         * soft-fp: Updated from glibc upstream.
5168 2012-11-06  Ian Lance Taylor  <iant@google.com>
5170         * generic-morestack.c (__generic_morestack): Align the returned
5171         stack pointer to a 32 byte boundary.
5172         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5173         increment the return address until we have decided that we don't
5174         have a varargs function.
5175         (__morestack) [32-bit]: Align stack correctly when calling C
5176         functions.
5177         (__morestack) [64-bit]: Likewise.
5179 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5181         * configure: Regenerate.
5183 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
5185         PR target/55175
5186         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5187         * config/i386/sfp-machine.h: Guard exception handling
5188         code with _SOFT_FLOAT.
5189         * config/i386/32/sfp-machine.h: Guard rounding handling
5190         code with _SOFT_FLOAT.
5191         * config/i386/64/sfp-machine.h: Ditto.
5193 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
5195         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5196         as extra_parts.
5198 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
5200         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5201         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
5202         when appropriate.  Correct structure element types.
5203         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5204         -minline-all-stringops from compile flags.
5206 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5208         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5210 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5212         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5214 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5216         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5217         tmake_file.
5219 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
5220             Jim MacArthur  <jim.macarthur@arm.com>
5221             Marcus Shawcroft  <marcus.shawcroft@arm.com>
5222             Nigel Stephens  <nigel.stephens@arm.com>
5223             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5224             Richard Earnshaw  <rearnsha@arm.com>
5225             Sofiane Naci  <sofiane.naci@arm.com>
5226             Stephen Thomas  <stephen.thomas@arm.com>
5227             Tejas Belagod  <tejas.belagod@arm.com>
5228             Yufeng Zhang  <yufeng.zhang@arm.com>
5230         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5231         * config/aarch64/crti.S: New file.
5232         * config/aarch64/crtn.S: New file.
5233         * config/aarch64/linux-unwind.h: New file.
5234         * config/aarch64/sfp-machine.h: New file.
5235         * config/aarch64/sync-cache.c: New file.
5236         * config/aarch64/t-aarch64: New file.
5237         * config/aarch64/t-softfp: New file.
5239 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
5241         * config/mmix/crti.S: Mark program and data addresses using PRELD.
5242         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
5243         no-longer-needed LDBU insns.
5245 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5247         * config.host
5248         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5249         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5251 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5253         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5255 2012-10-15  Matthias Klose  <doko@ubuntu.com>
5257         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5259 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
5261         * configure: Regenerate.
5262         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5264 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5266         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5267         instructions for 64bit targets only.
5269 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5271         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5272         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5273         * config/i386/32/sfp-machine.h: ... here.
5274         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5275         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5276         New defines.
5278 2012-10-07  Matthias Klose  <doko@ubuntu.com>
5280         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5281         as unused.
5282         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5284 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
5286         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5287         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5288         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5289         (ElfW): Likewise.
5291 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
5293         PR other/53889
5294         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5295         Fix parameter names.
5297 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
5299         PR target/33135
5300         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5301         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5302         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5304 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
5306         PR target/50457
5307         * config/sh/linux-atomic.S: Delete.
5308         * config/sh/linux-atomic.c: New.
5309         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5310         linux-atomic.c.  Add cflags to disable warnings.
5312 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5314         PR other/53889
5315         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5316         function.
5317         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5318         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5319         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5320         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5321         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5322         Likewise.
5323         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5324         Likewise.
5325         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5326         Likewise.
5327         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5328         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5330 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
5332         * config.host (hppa-*-openbsd*): New target.
5333         * config/pa/t-openbsd: New file.
5335 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
5337         PR target/54222
5338         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5339         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5340         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5341         (__divsa3): Use __negsi2 to negate r_quoL.
5342         * config/avr/lib1funcs.S (FALIAS): New macro.
5343         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5344         (__negsi2): ...this new function.
5345         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5346         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5347         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5348         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5349         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5350         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5352 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
5354         PR target/54089
5355         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5356         (lshrsi3): Reimplement as lshrsi3_r0.
5358 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
5360         PR target/46191
5361         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5362         of libgcc.a.
5364 2012-09-07  Teresa Johnson  <tejohnson@google.com>
5366         PR gcov-profile/54487
5367         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5368         differences.
5370 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
5372         PR target/54461
5373         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5374         not configured --with-avrlibc=no.
5375         * config/avr/t-avrlibc: New file.
5376         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5377         (DPBIT_FUNCS): Ditto.
5378         (TPBIT_FUNCS): Ditto.
5380 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5382         * libgcov.c (struct gcov_summary_buffer): New structure.
5383         (gcov_histogram_insert): New function.
5384         (gcov_compute_histogram): Ditto.
5385         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5386         histograms during summary merging.
5388 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5390         * config.host (x86_64-*-openbsd*): New target.
5392 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5394         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5395         attribute.
5397 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5399         PR target/54222
5400         * config/avr/t-avr (conv_X): Rename to func_X.
5402 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5404         PR target/54222
5405         * config/avr/lib1funcs-fixed.S: New file.
5406         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5407         after they are used.
5408         (neg2, neg4): New macros.
5409         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5410         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5411         (__umulhisi3): Speed up MUL variant if there is enough flash.
5412         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5413         avr-modes.def.
5414         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5415         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5416         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5417         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5418         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5419         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5420         (LIB2FUNCS_EXCLUDE): Add supported functions.
5422 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5424         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5425         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5426         libgcc-s-objects.
5427         * fixed-obj.mk: Only expand dependency if $o is not in
5428         LIB2FUNCS_EXCLUDE.
5430 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5432         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5434 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5436         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5437         depend on --enable-shared.
5438         ($(lib1asmfuncs-o)): Use %.vis files independent of
5439         --enable-shared.
5440         * static-object.mk ($(base)$(objext), $(base).vis)
5441         ($(base)_s$(objext)): Use same rules for visibility handling as in
5442         shared-object.mk.
5444 2012-08-21  Ian Lance Taylor  <iant@google.com>
5446         * config/i386/morestack.S (__morestack_non_split): Increase amount
5447         of space allocated for non-split code stack.
5449 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5451         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5452         even if inhibit_libc.
5454 2012-08-17  Julian Brown  <julian@codesourcery.com>
5456         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5457         -fexceptions -fnon-call-exceptions if not defined.
5458         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5459         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5461 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5463         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5464         type.
5466 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5468         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5469         rs6000/t-slibgcc-aix.
5471 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5473         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5475 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5477         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5479 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5481         PR driver/54171
5482         * Makefile.in (version): Replace top_srcdir with srcdir.
5484 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5486         * Makefile.in (version): set to BASE-VER file from gcc directory.
5488 2012-08-01  Nick Clifton  <nickc@redhat.com>
5490         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5491         Implements __clrsb for an HImode argument.
5493 2012-07-31  Nick Clifton  <nickc@redhat.com>
5495         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5496         Implements __clrsb for an HImode argument.
5497         * config/stormy16/clrsbhi2.c: New file:
5498         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5500 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5502         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5504 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5505             Richard Henderson  <rth@redhat.com>
5507         * unwind-seh.c: New file.
5508         * unwind-generic.h: Include windows.h for SEH.
5509         (_Unwind_Exception): Use 6 private fields for SEH.
5510         (_GCC_specific_handler): Declare.
5511         * unwind-c.c (__gcc_personality_seh0): New function.
5512         Adjust for SEH.
5513         * config/i386/libgcc-cygming.ver: New file.
5514         * config/i386/t-seh-eh: New file.
5515         * config.host (x86_64-*-mingw*): Default to seh.
5517 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5519         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5521 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5523         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5524         __builtin_expect when checking for exceptions.
5525         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5527 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5529         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5530         function declaration.
5531         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5532         (FP_RND_MASK): New.
5533         * config/ia64/sfp-exceptions.c: New.
5534         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5536 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5538         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5539         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5540         * config/i386/64/sfp-machine: ... (delete here) ...
5541         * config/i386/sfp-machine.h: ... to here.
5542         (FP_EX_MASK): Remove.
5543         (FP_RND_MASK): New.
5544         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5546 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5548         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5549         * config/i386/libgcc-sol2.ver: Ditto.
5550         * config/i386/libgcc-glibc.ver: Ditto.
5552 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5554         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5555         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5556         pthread_cancel.
5558 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5560         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5561         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5562         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5563         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5564         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5565         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5566         * config/i386/64/sfp-machine: ... (delete here) ...
5567         * config/i386/sfp-machine.h: ... to here.
5568         (FP_EX_MASK): New.
5569         (__sfp_handle_exceptions): New function declaration.
5570         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5571         * config/i386/sfp-exceptions.c: New.
5572         * config/i386/t-softfp: New.
5573         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5574         i386/t-softfp to tmake_file.
5576 2012-06-03  David S. Miller  <davem@davemloft.net>
5578         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5579         change.
5581 2012-05-31  David S. Miller  <davem@davemloft.net>
5583         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5584         multiply and divide instructions on 32-bit when V9.
5585         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5587 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5589         * config/arm/ieee754-df.S: Fix typos.
5590         * config/arm/ieee754-sf.S: Fix typos.
5591         * config/c6x/libunwind.S: Fix typos.
5592         * config/epiphany/udivsi3-float.c: Fix typos.
5593         * config/microblaze/muldi3_hard.S: Fix typos.
5594         * config/picochip/adddi3.S: Fix typos.
5595         * config/picochip/ashlsi3.S: Fix typos.
5596         * config/picochip/ashrsi3.S: Fix typos.
5597         * config/picochip/clzsi2.S: Fix typos.
5598         * config/picochip/cmpsi2.S: Fix typos.
5599         * config/picochip/divmod15.S: Fix typos.
5600         * config/picochip/divmodhi4.S: Fix typos.
5601         * config/picochip/divmodsi4.S: Fix typos.
5602         * config/picochip/longjmp.S: Fix typos.
5603         * config/picochip/lshrsi3.S: Fix typos.
5604         * config/picochip/parityhi2.S: Fix typos.
5605         * config/picochip/popcounthi2.S: Fix typos.
5606         * config/picochip/setjmp.S: Fix typos.
5607         * config/picochip/subdi3.S: Fix typos.
5608         * config/picochip/ucmpsi2.S: Fix typos.
5609         * config/picochip/udivmodhi4.S: Fix typos.
5610         * config/picochip/udivmodsi4.S: Fix typos.
5611         * config/spu/divv2df3.c: Fix typos.
5612         * config/spu/mfc_multi_tag_release.c: Fix typos.
5613         * config/spu/mfc_tag_release.c: Fix typos.
5614         * configure.ac: Fix typos.
5615         * configure: Regenerate.
5617 2012-05-25  Ian Lance Taylor  <iant@google.com>
5619         * config/i386/morestack.S (__morestack_non_split): Check whether
5620         caller is varargs and needs %bp to hold the stack frame on return.
5622 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5624         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5625         sequence in the non pic case on VxWorks.
5627 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5629         * Makefile.in: Move dependency on install-unwind_h from
5630         "install-leaf" to "install".
5632 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5634         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5635         Use a separate command for stamp removals.
5637 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5639         PR bootstrap/53183
5640         * configure.ac: Define the default includes to being none.
5641         * configure: Regenerate.
5643 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5645         * Makefile.in (install-unwind_h): Rename into ...
5646         (install-unwind_h-forbuild): New target.
5647         (all): Use it instead of the former install-unwind_h.
5648         (install-unwind_h): Reinstate, copy to user install destination
5649         for include files, not to the internal gcc object directory one.
5650         (install-leaf): Depend on it.
5652 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5654         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5655         register numbers. LR_REGNO replaces R_LR.
5656         (ucontext_for): New, helper for ...
5657         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5658         and 5.3 of ...
5659         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5661 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5663         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5664         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5665         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5666         i386/t-cpuinfo ...
5667         (i[34567]86-*-*, x86_64-*-*): ... here.
5669         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5670         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5672         * config/i386/i386-cpuinfo.c: Rename to ...
5673         * config/i386/cpuinfo.c: ... this.
5674         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5676         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5677         (libgcc_cv_init_priority): New test.
5678         * configure: Regenerate.
5679         * config.in: New file.
5680         * Makefile.in (clean): Rename config.h to auto-target.h.
5681         (config.h): Likewise.
5682         (stamp-h): Likewise.
5684         * config/i386/cpuinfo.c (auto-target.h): Include.
5685         (CONSTRUCTOR_PRIORITY): Define.
5686         (__cpu_indicator_init): Use it.
5688 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5690         * longlong.h: Use a URL instead of an FSF postal address.
5691         Replace spaces with tab.
5693 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5695         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5696         (__gcov_dump): Ditto.
5697         (gcov_dump_complete): New global variable.
5698         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5699         (__gcov_flush): Outline functionality now in gcov_clear.
5700         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5702 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5704         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5705         (mips*-*-linux*): Include mips/t-tpbit when long double is
5706         16 bytes long.
5708 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5710         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5711         (get_available_features): New argument. Check for AVX2.
5712         (__cpu_indicator_init): Modify call to get_available_features.
5714 2012-04-25  Alan Modra  <amodra@gmail.com>
5716         * config/rs6000/crtsavevr.S: New file.
5717         * config/rs6000/crtrestvr.S: New file.
5718         * config/rs6000/t-savresfgpr: Build the above.
5719         * config/rs6000/t-netbsd: Likewise.
5721 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5723         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5725 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5727         * libgcc/config/i386/i386-cpuinfo.c: New file.
5728         * libgcc/config/i386/t-cpuinfo: New file.
5729         * libgcc/config.host: Include t-cpuinfo.
5730         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5732 2012-04-24  Chao-ying Fu  <fu@mips.com>
5734         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5736 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5738         struct siginfo vs. siginfo_t
5740         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5741         siginfo_t instead of struct siginfo.
5742         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5743         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5744         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5745         (ia64_handle_unwabi): Likewise.
5746         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5747         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5748         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5749         (sh_fallback_frame_state): Likewise.
5750         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5751         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5753 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5755         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5756         system call number.
5758 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5760         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5761         if it hasn't been previously saved.
5763 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5765         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5766         only for glibc.
5768 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5770         PR target/52737
5771         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5772         instead of __AVR_HAVE_8BIT_SP__.
5774 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5776         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5777         (unw_table_entry): Use unw_word instead of unsigned long.
5778         (_Unwind_FindTableEntry): Likewise.
5779         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5780         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5781         (_Unwind_FindTableEntry): Likewise.
5782         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5783         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5784         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5785         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5786         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5787         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5788         (uw_init_context_1, uw_install_context): Likewise.
5789         (unw_word): Move to unwind-ia64.h
5791 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5793         * config/vms/vms-ucrt0.c: Update copyright years.
5794         Add a sanity check.
5795         (___gcc_main_flags): Declare.
5796         (__main): Check flags to remap argv and exit code.
5797         * config.host (*-*-*vms*): Adjust extra_parts.
5798         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5799         (crt0.o): Add.
5801 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5803         * arm/lib1funcs.asm (ctzsi2): New function.
5804         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5805         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5806         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5807         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5808         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5809         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5811 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5813         * config.host: Add bits to support powerpc64-*-freebsd*.
5814         * config/rs6000/freebsd-unwind.h: New file.
5815         * config/rs6000/t-freebsd64: New file.
5817 2012-03-20  Richard Guenther  <rguenther@suse.de>
5819         PR gcov-profile/52627
5820         * libgcov.c (init_mx): Fix mutex name.
5822 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5824         * config/ia64/vms-unwind.h: Remove ulong (and replace
5825         it by unw_reg where used).  Define unw_reg with __int64.
5827 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5829         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5830         Solaris 8 handling.
5831         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5832         Solaris 8 handling.
5833         (sparc_is_sighandler): Likewise.
5835 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5837         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5838         <= saved reg size.
5840 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5842         * config/arm/crtn.S: Fix typo.
5844 2012-03-13  Richard Guenther  <rguenther@suse.de>
5846         * libgcov.c: Remove stdio.h include and NULL un-define.
5848 2012-03-13  Richard Guenther  <rguenther@suse.de>
5850         PR target/52569
5851         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5853 2012-03-13  Richard Guenther  <rguenther@suse.de>
5855         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5857 2012-03-13  Richard Guenther  <rguenther@suse.de>
5859         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5860         and __gthread_mutex_init_function definitions.
5862 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5864         * config.host (mips*-*-openbsd*): Remove.
5866 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5868         * config.host: Remove alpha*-dec-osf5.1* handling.
5869         * config/alpha/gthr-posix.c: Remove.
5870         * config/alpha/libgcc-osf5.ver: Remove.
5871         * config/alpha/osf5-unwind.h: Remove.
5872         * config/alpha/t-osf-pthread: Remove.
5873         * config/alpha/t-slibgcc-osf: Remove.
5874         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5875         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5876         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5877         * mkmap-flat.awk: Remove osf_export handling.
5879 2012-03-12  Richard Guenther  <rguenther@suse.de>
5881         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5882         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5883         (__gthread_mutex_init_function): New function.
5884         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5886         PR gcov/49484
5887         * libgcov.c: Include gthr.h.
5888         (__gcov_flush_mx): New global variable.
5889         (init_mx, init_mx_once): New functions.
5890         (__gcov_flush): Protect self with a mutex.
5891         (__gcov_fork): Re-initialize mutex after forking.
5892         * unwind-dw2-fde.c: Change condition under which to use
5893         __GTHREAD_MUTEX_INIT_FUNCTION.
5895 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5897         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5898         * config/ia64/t-vms: Likewise.
5900 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5902         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5903         for Thumb-2.
5905 2012-03-07  Walter Lee  <walt@tilera.com>
5907         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5908         "arch_atomic_".
5909         (atomic_xor): Rename and move definition to
5910         config/tilepro/atomic.h.
5911         (atomic_nand): Ditto.
5912         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5913         "arch_atomic_".
5914         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5915         (arch_atomic_nand): Ditto.
5917 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5919         PR target/52507
5920         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5922 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5924         PR target/52505
5925         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5926         from RAM.
5928 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5930         PR target/52461
5931         PR target/52508
5932         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5933         if RAMPZ affects reading from RAM.
5934         (__tablejump_elpm__): Ditto.
5935         (.xload): Ditto.
5936         (__movmemx_hi): Ditto.
5937         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5938         (__do_global_dtors): Ditto.
5939         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5940         (__movmemx_hi): Ditto.
5942 2012-03-05  Richard Henderson  <rth@redhat.com>
5944         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5945         [ARM] (count_trailing_zeros): Use the builtin.
5947 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5949         * soft-fp: Imported from glibc upstream.
5951 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5953         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5954         for mingw-targets as attribute gcc_struct.
5956 2012-02-28  Ian Lance Taylor  <iant@google.com>
5958         * generic-morestack.c (__splitstack_releasecontext): Correct call
5959         to __morestack_release_segments.
5961 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5963         PR target/52390
5964         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5965         for __linux__ when removing signals from __morestack_fullmask.
5967 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5969         PR target/52261
5970         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5972 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5974         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5975         instead of HAVE_INITFINI_ARRAY.
5976         * config/ia64/crtend.S: Likewise.
5978 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5980         PR libstdc++/52300
5981         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5983         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5984         to w32-unwind.h header.
5986 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5988         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5989         (mips*-*-linux*): Remove t-slibgcc-libgcc.
5990         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5991         * config/mips/mips16.S (__mips16_rdhwr): Delete.
5993 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
5995         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5997 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
5999         PR libitm/52220
6000         * config/darwin-crt-tm.c: Correct typo.
6002 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6003             Patrick Marlier  <patrick.marlier@gmail.com>
6005         PR libitm/52220
6006         * config/darwin-crt-tm.c: Generate dummy functions.
6008 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6009             Patrick Marlier  <patrick.marlier@gmail.com>
6011         PR libitm/52042
6012         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6013         (__doTMRegistrations): Call it.
6014         (__doTMdeRegistrations): Likewise.
6016 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6017             Anatoly Sokolov  <aesok@post.ru>
6018             Eric Weddington  <eric.weddington@atmel.com>
6020         PR target/52261
6021         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6022         (__epilogue_restores__): Ditto.
6024 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6026         PR target/51921
6027         PR target/52205
6028         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6029         Solaris 11 and slightly reformat.
6030         (sparc_is_sighandler): Likewise.
6032 2012-02-14  Walter Lee  <walt@tilera.com>
6034         * config.host: Handle tilegx and tilepro.
6035         * config/tilegx/sfp-machine.h: New file.
6036         * config/tilegx/sfp-machine32.h: New file.
6037         * config/tilegx/sfp-machine64.h: New file.
6038         * config/tilegx/t-crtstuff: New file.
6039         * config/tilegx/t-softfp: New file.
6040         * config/tilegx/t-tilegx: New file.
6041         * config/tilepro/atomic.c: New file.
6042         * config/tilepro/atomic.h: New file.
6043         * config/tilepro/linux-unwind.h: New file.
6044         * config/tilepro/sfp-machine.h: New file.
6045         * config/tilepro/softdivide.c: New file.
6046         * config/tilepro/softmpy.S: New file.
6047         * config/tilepro/t-crtstuff: New file.
6048         * config/tilepro/t-tilepro: New file.
6050 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6052         PR libstdc++/51296
6053         PR libstdc++/51906
6054         * gthr-posix.h: Allow static initializer macros to be disabled.
6055         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6057 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6059         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6060         Add t-slibgcc-libgcc to tmake_file.
6061         * config/mips/libgcc-mips16.ver: Revert previous patch.
6062         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6064 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6065             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6067         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6068         * config/cr16/crti.S: New file.
6069         * config/cr16/crtlibid.S: New file.
6070         * config/cr16/crtn.S: New file.
6071         * config/cr16/lib1funcs.S: New file.
6072         * config/cr16/t-cr16: New file.
6073         * config/cr16/t-crtlibid: New file.
6074         * config/cr16/unwind-dw2.h: New file.
6075         * config/cr16/unwind-cr16.c: New file.
6076         * config/cr16/divmodhi3.c: New file.
6078 2012-01-25  Alan Modra  <amodra@gmail.com>
6080         * config/rs6000/t-linux64: Delete.  Move..
6081         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6082         * config/rs6000/t-linux: ..and libgcc flags to here.
6084 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6086         * config.host (i[34567]86-*-interix3*):
6087         Change triplet to i[34567]86-*-interix[3-9]*.
6088         * configure: Regenerate.
6090 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6091             Richard Sandiford  <rdsandiford@googlemail.com>
6093         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6094         * config/mips/mips16.S (__mips16_rdhwr): New function.
6095         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6097 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6099         * libgcov.c (__gcov_init): Ignore objects with no functions.
6101 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6103         PR target/49868
6104         Extend __pgmx semantics to linearize memory.
6105         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6106         * config/avr/lib1funcs.S (__xload_1): New function.
6107         (__movmemx_qi, __movmemx_hi): New functions.
6108         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6109         semantics.
6111 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6113         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6114         purported sigacthandler address isn't null before dereferencing it.
6115         (sparc_is_sighandler): Likewise.
6117 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6119         PR ada/41929
6120         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6121         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6122         (sparc_is_sighandler): Likewise.
6123         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6125 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6127         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6128         compatibility thunks...
6129         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6130         (crtbeginS.o, crtendS.o): ... and these to ...
6131         * config/ia64/t-ia64-elf: ... this new file.
6132         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6133         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6135 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6137         * configure: Regenerate.
6138         * config/s390/t-crtstuff: Remove -fPIC.
6140 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6142         PR bootstrap/51006
6143         * enable-execute-stack-mprotect.c (getpagesize): Do not define
6144         for NetBSD.
6146 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6148         PR target/51345
6149         * config/avr/lib1funcs.S: Remove FIXME comments.
6150         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6152 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6154         Implement light-weight DImode support.
6155         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6156         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6157         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6158         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6160 2011-12-30  Nathan Sidwell  <nathan@acm.org>
6162         * libgcov.c (gcov_crc32): Remove global var.
6163         (free_fn_data): New function.
6164         (buffer_fn_data): Pass in filename, more robust error recovery.
6165         (crc32_unsigned): New function.
6166         (gcov_exit): More robust detection of new program. More robust
6167         error recovery.
6168         (__gcov_init): Do not update program's crc here.
6170 2011-12-21  Tristan Gingold  <gingold@adacore.com>
6172         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6174 2011-12-21  Ian Lance Taylor  <iant@google.com>
6176         * config/i386/morestack.S: Simplify CFI opcodes throughout.
6178 2011-12-20  Ian Lance Taylor  <iant@google.com>
6180         * config/i386/morestack.S (__morestack_non_split): If there is
6181         enough stack space already, don't split.  Ask for more stack space
6182         than we required.
6184 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
6186         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6187         `sys/sdt.h'.
6188         (_Unwind_DebugHook): New function.
6189         (uw_restore_core_regs): New define.
6190         (unwind_phase2): Use uw_restore_core_regs instead of
6191         restore_core_regs.
6192         (unwind_phase2_forced): Likewise.
6193         (__gnu_Unwind_Resume): Likewise.
6195 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
6197         * config/alpha/linux-unwind.h: Update copyright years.
6198         (MD_FROB_UPDATE_CONTEXT): New define.
6199         (alpha_frob_update_context): New function.
6201 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
6203         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6204         tmake_file rather replacing it.
6206 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
6208         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6209         function is not used for PPC64.
6210         (save_world): Amend comments.  Update the VRsave mask to reflect the
6211         saved regs.
6212         (rest_world): Update comments, do not  clobber r10, do not use r8.
6213         (eh_rest_world_r10): Amend comments, do not use r8.
6214         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6215         no longer used, move restore of CR and target address to the end of
6216         the routine.
6218 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
6220         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6221         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6223 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
6225         PR target/49313
6226         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6227         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6229 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
6231         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6233 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
6235         PR target/49313
6236         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6237         * config/avr/lib1funcs.S (__muldi3): New function.
6239 2011-12-06  Andrew Pinski  <apinski@cavium.com>
6241         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6242         size of func_ptr.
6243         (__frame_dummy_init_array_entry): Likewise.
6245 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
6247         Forward-port from gcc-4_6-branch r181936 2011-12-02.
6249         PR target/51345
6250         PR target/51002
6251         * config/avr/lib1funcs.S (__prologue_saves__,
6252         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6253         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
6255 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
6257         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6259 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6261         PR other/51272
6262         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6263         (_ITM_deregisterTMCloneTable): Likewise.
6264         (__register_frame_info): Fix unused warning.
6265         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6266         pthread_default_stacksize_np): Likewise.
6267         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6269 2011-11-29  DJ Delorie  <dj@redhat.com>
6271         * config.host (rl78-*-elf): New case.
6272         * config/rl78: New directory for the Renesas RL78.
6274 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
6276         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
6277         formatting.
6279 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6281         PR other/51022
6282         * config/rs6000/t-savresfgpr: New file.
6283         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6284         $(srcdir)/config/rs6000/eabi.S.
6285         * config/rs6000/t-ppccomm-ldbl: Remove.
6286         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6287         tmake_file.
6288         (powerpc-*-eabispe*): Likewise.
6289         (powerpc-*-eabi*): Likewise.
6290         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6291         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6292         to tmake_file, remove rs6000/t-ppccomm-ldbl.
6293         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6294         tmake_file.
6295         (powerpc-*-eabisim*): Likewise.
6296         (powerpc-*-elf*): Likewise.
6297         (powerpc-*-eabialtivec*): Likewise.
6298         (powerpc-xilinx-eabi*): Likewise.
6299         (powerpc-*-rtems*): Likewise.
6300         (powerpcle-*-elf*): Likewise.
6301         (powerpcle-*-eabisim*): Likewise.
6302         (powerpcle-*-eabi*): Likewise.
6304 2011-11-27  Ian Lance Taylor  <iant@google.com>
6306         * generic-morestack.c (__splitstack_find): Check for NULL old
6307         stack value.
6308         (__splitstack_resetcontext): New function.
6309         (__splitstack_releasecontext): New function.
6310         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6312 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6314         * config/darwin-crt-tm.c: Correct comments, use correct licence.
6316 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6318         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6320 2011-11-26  Richard Henderson  <rth@redhat.com>
6322         * config/m68k/linux-atomic.c: New file.
6323         * config/m68k/t-linux: New file.
6324         * config.host (m68k-uclinux, m68k-linux): Use it.
6326 2011-11-26  Richard Henderson  <rth@redhat.com>
6328         * crtstuff.c (__TMC_LIST__): Mark used not unused.
6329         (__TMC_END__): Only declare if hidden is available; in the definition,
6330         if hidden is unavailable add a null record.
6331         (deregister_tm_clones, register_tm_clones): New.
6332         (__do_global_dtors_aux, frame_dummy): Use them.
6333         (__do_global_dtors, __do_global_ctors_1): Likewise.
6335 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
6337         * config/darwin-crt-tm.c: New file.
6338         * config.host (darwin): Build crttms.o crttme.o to provide
6339         startup and shutdown for tm clones.
6340         * config/t-darwin (crttms.o): New build rule.
6341         (crttme.o): Likewise.
6343 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
6345         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6346         et al.
6348 2011-11-21  Richard Henderson  <rth@redhat.com>
6350         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6351         (__TMC_LIST__, __TMC_END__): New.
6352         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6353         (__do_global_dtors): Likewise.
6354         (frame_dummy): Call _ITM_registerTMCloneTable.
6355         (__do_global_ctors_1): Likewise.
6357 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6359         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6360         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6361         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6362         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6363         * config/i386/t-darwin64: Remove.
6364         * config/sh/t-netbsd (LIB2ADD): Remove.
6366 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
6368         PR target/49313
6369         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6370         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6371         * config/avr/lib1funcs.S (wmov): New assembler macro.
6372         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6373         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6374         (__udivmod64): New function.
6375         (__negdi2): New function.
6377 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
6379         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6380         *-*-freebsd*aout*): Remove.
6382 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6384         * static-object.mk (c_flags-$o): Save c_flags.
6385         ($(base)$(objext)): Use it.
6387 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6389         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6391 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6393         PR target/49868
6394         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6395         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6396         New functions.
6398 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6400         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6401         functions.
6402         (aeabi_uidivmod): Likewise.
6403         (umodsi3): Likewise.
6404         (divsi3): Likewise.
6405         (aeabi_idivmod): Likewise.
6406         (modsi3): Likewise.
6408 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6410         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6412 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6414         PR target/49868
6415         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6416         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6418 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6420         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6421         tmake_file list.
6422         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6423         * config/pa/t-stublib64: Delete.
6425 2011-11-12  Richard Henderson  <rth@redhat.com>
6427         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6428         cast the pointer argument to _Unwind_SetGRPtr.
6430 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6432         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6434 2011-11-09  Ian Lance Taylor  <iant@google.com>
6436         * generic-morestack.c: Include <string.h>.
6437         (uintptr_type): Define.
6438         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6439         extra array by 1.
6440         (allocate_segment): Set prev field to NULL.  Don't set
6441         __morestack_current_segment or __morestack_segments.
6442         (__generic_morestack): Update current->prev and *pp after calling
6443         allocate_segment.
6444         (__morestack_block_signals): Don't do anything if
6445         dont_block_signals is set.
6446         (__morestack_unblock_signals): Likewise.
6447         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6448         uintptr_type.
6449         (__splitstack_block_signals): New function.
6450         (enum __splitstack_content_offsets): Define.
6451         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6452         (__splitstack_makecontext): New function.
6453         (__splitstack_block_signals_context): New function.
6454         (__splitstack_find_context): New function.
6455         * config/i386/morestack.S (__morestack_get_guard): New function.
6456         (__morestack_set_guard, __morestack_make_guard): New functions.
6457         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6459 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6461         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6462         (i[34567]86-*-mingw*): ... here.
6463         (x86_64-*-mingw*): ... here.
6465 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6467         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6469 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6471         * libgcov.c (struct gcov_fn_buffer): New struct.
6472         (buffer_fn_data): New helper.
6473         (gcov_exit): Rework for new gcov data structures.
6475 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6477         PR target/49313
6478         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6480 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6482         * config.host (tmake_file): Correct comment.
6483         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6484         t-libgcc-pic.
6485         (bfin*-uclinux*): Likewise.
6486         (bfin*-linux-uclibc*): Likewise.
6487         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6489         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6490         assigning.
6491         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6492         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6493         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6494         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6495         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6496         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6497         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6498         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6499         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6500         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6501         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6502         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6503         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6505         * config/bfin/t-elf: Remove.
6506         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6508 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6510         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6511         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6512         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6513         (lm32-*-elf*): ... this.
6514         (lm32-*-rtems*): ... and this.
6515         Add to tmake_file.
6516         (m32r-*-rtems*): Add to tmake_file.
6517         (moxie-*-rtems*): Likewise.
6518         (sparc-*-rtems*): Likewise.
6519         Remove t-rtems from tmake_file.
6520         (sparc64-*-rtems*): Likewise.
6521         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6522         instead.
6524 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6526         PR bootstrap/50982
6527         * config/gthr-posix.h: Move ...
6528         * gthr-posix.h: ... here.
6529         * config/gthr-lynx.h: Reflect this.
6530         * config/gthr-vxworks.h: Likewise.
6531         * config/rs6000/gthr-aix.h: Likewise.
6532         * configure.ac (target_thread_file): Likewise.
6533         * configure: Regenerate.
6535 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6537         * config.host (arm*-*-rtemseabi*): New target.
6539 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6541         PR other/50991
6542         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6543         extra-parts.
6545 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6547         * config.host (epiphany-*-elf*): New configuration.
6548         * config/epiphany: New Directory.
6550 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6552         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6553         * config/avr/t-rtems: New.
6554         Filter out _exit from LIB1ASMFUNCS.
6556 2011-11-04  David S. Miller  <davem@davemloft.net>
6558         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6559         * configure: Rebuild.
6561 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6563         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6564         variable.
6566 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6568         PR target/50931
6569         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6570         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6572 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6574         PR target/50989
6575         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6577 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6579         * config/c6x/t-elf (LIB2ADDEH): Set.
6580         * config/c6x/t-c6x-elf: Remove.
6582 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6584         * config/i386/sol2-ci.S: Rename to ...
6585         * config/i386/crti.S: ... this.
6586         * config/i386/sol2-cn.S: Rename to ...
6587         * config/i386/crtn.S: ... this.
6588         * config/sparc/sol2-ci.S: Rename to ...
6589         * config/sparc/crti.S: ... this.
6590         * config/sparc/sol2-cn.S: Rename to ...
6591         * config/sparc/crtn.S: ... this.
6592         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6593         (crti.o, crtn.o): Remove.
6595 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6597         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6599 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6601         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6603 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6605         * config.host (crisv32-*-none, cris-*-none): Remove.
6606         (crisv32-*-elf): Append to tmake_file, don't just set it.
6607         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6609 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6611         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6612         (ecrtn$(objext)): Likewise.
6613         (ncrti$(objext)): Likewise.
6614         (ncrtn$(objext)): Likewise.
6616 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6618         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6620 2011-11-02  David S. Miller  <davem@davemloft.net>
6622         * configure.ac: Set host_address on sparc too.
6623         * configure: Regenerate.
6624         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6625         based upon host_address.
6626         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6628 2011-11-02  Jason Merrill  <jason@redhat.com>
6630         * config/rs6000/t-ppccomm: Add missing \.
6632 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6634         * gthr-single.h, gthr.h: New files.
6635         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6636         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6637         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6638         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6639         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6640         * configure.ac (thread_header): New variable.
6641         Set it depending on target_thread_file.
6642         (gthr-default.h): Link from $thread_header.
6643         * configure: Regenerate.
6644         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6646 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6648         * configure.ac (tm_file_): New variable.
6649         Determine from tm_file.
6650         (tm_file, tm_defines): Substitute.
6651         * configure: Regenerate.
6652         * mkheader.sh: New file.
6653         * Makefile.in (clean): Remove libgcc_tm.h.
6654         ($(objects)): Depend on libgcc_tm.h.
6655         (libgcc_tm_defines, libgcc_tm_file): New variables.
6656         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6657         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6658         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6659         ($(extra-parts)): Depend on libgcc_tm.h.
6660         * config.host (tm_defines, tm_file): New variable.
6661         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6662         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6663         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6664         (avr-*-rtems*): Likewise.
6665         (avr-*-*): Likewise.
6666         (frv-*-elf): Likewise.
6667         (frv-*-*linux*): Likewise.
6668         (h8300-*-rtems*): Likewise.
6669         (h8300-*-elf*): Likewise.
6670         (i[34567]86-*-darwin*): Likewise.
6671         (x86_64-*-darwin*): Likewise.
6672         (rx-*-elf): Likewise.
6673         (tic6x-*-uclinux): Likewise.
6674         (tic6x-*-elf): Likewise.
6675         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6676         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6677         * config/i386/cygming-crtbegin.c: Likewise.
6678         * config/i386/cygming-crtend.c: Likewise.
6679         * config/ia64/fde-vms.c: Likewise.
6680         * config/ia64/unwind-ia64.c: Likewise.
6681         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6682         * config/rs6000/darwin-fallback.c: Likewise.
6683         * config/stormy16/lib2funcs.c: Likewise.
6684         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6685         * crtstuff.c: Likewise.
6686         * dfp-bit.h: Likewise.
6687         * emutls.c: Likewise.
6688         * fixed-bit.c: Likewise.
6689         * fp-bit.c: Likewise.
6690         * generic-morestack-thread.c: Likewise.
6691         * generic-morestack.c: Likewise.
6692         * libgcc2.c: Likewise.
6693         * libgcov.c: Likewise.
6694         * unwind-dw2-fde-dip.c: Likewise.
6695         * unwind-dw2-fde.c: Likewise.
6696         * unwind-dw2.c: Likewise.
6697         * unwind-sjlj.c: Likewise.
6699 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6701         * configure.ac: Include ../config/picflag.m4.
6702         (GCC_PICFLAG): Call it.
6703         Substitute.
6704         * configure: Regenerate.
6705         * Makefile.in (gcc_srcdir): Remove.
6706         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6707         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6708         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6709         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6710         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6711         Use $<.
6712         Remove comment.
6713         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6714         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6715         to refer to libgcc2.c.
6716         Use $<.
6717         * config/darwin-64.c: New file.
6718         * config/darwin-crt3.c: Remove comment.
6719         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6720         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6721         config/udivmodsi4.c: New files.
6722         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6723         config/memset.c: New files.
6724         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6725         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6726         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6727         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6728         * config/t-openbsd-thread: New file.
6729         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6730         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6731         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6732         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6733         qrnnd.S.
6734         Adapt filename.
6735         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6736         to refer to gthr-posix.c.
6737         * config/alpha/t-vms (LIB2ADD): Set.
6738         * config/alpha/vms-gcc_shell_handler.c: New file.
6739         * config/arm/bpabi.c, config/arm/fp16.c,
6740         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6741         config/arm/unaligned-funcs.c: New files.
6742         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6743         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6744         * config/arm/t-linux: Likewise.
6745         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6746         * config/arm/t-netbsd: New file.
6747         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6748         * config/arm/t-symbian (LIB2ADD_ST): Set.
6749         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6750         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6751         * config/bfin/t-elf: New file.
6752         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6753         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6754         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6755         config/c6x/ltf.c: New files.
6756         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6757         (HOST_LIBGCC2_CFLAGS): Set.
6758         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6759         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6760         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6761         New files.
6762         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6763         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6764         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6765         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6766         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6767         files.
6768         * config/frv/t-frv (LIB2ADD): Set.
6769         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6770         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6771         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6772         config/h8300/popcounthi2.c: New files.
6773         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6774         * config/i386/gthr-win32.c: New file.
6775         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6776         * config/i386/t-cygwin: Likewise.
6777         * config/i386/t-darwin, config/i386/t-darwin64,
6778         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6779         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6780         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6781         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6782         * config/ia64/quadlib.c: New file.
6783         * config/ia64/t-hpux (LIB2ADD): Set.
6784         * config/ia64/t-ia64: Add comment.
6785         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6786         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6787         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6788         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6789         * config/m32c/t-m32c (LIB2ADD): Set.
6790         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6791         * config/m32r/t-m32r: Likewise.
6792         * config/m68k/fpgnulib.c: New file.
6793         * config/m68k/t-floatlib (LIB2ADD): Set.
6794         (xfgnulib.c): New target.
6795         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6796         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6797         * config/mep/t-mep (LIB2ADD): Set.
6798         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6799         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6800         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6801         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6802         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6803         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6804         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6805         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6806         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6807         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6808         New files.
6809         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6810         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6811         * config/pa/fptr.c, config/pa/lib2funcs.S,
6812         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6813         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6814         (LIB2ADD, LIB2ADD_ST): Set.
6815         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6816         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6817         Set.
6818         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6819         * config/pdp11/t-pdp11: New file.
6820         * config/picochip/libgccExtras/adddi3.S,
6821         config/picochip/libgccExtras/ashlsi3.S,
6822         config/picochip/libgccExtras/ashrsi3.S,
6823         config/picochip/libgccExtras/clzsi2.S,
6824         config/picochip/libgccExtras/cmpsi2.S,
6825         config/picochip/libgccExtras/divmod15.S,
6826         config/picochip/libgccExtras/divmodhi4.S,
6827         config/picochip/libgccExtras/divmodsi4.S,
6828         config/picochip/libgccExtras/lshrsi3.S,
6829         config/picochip/libgccExtras/parityhi2.S,
6830         config/picochip/libgccExtras/popcounthi2.S,
6831         config/picochip/libgccExtras/subdi3.S,
6832         config/picochip/libgccExtras/ucmpsi2.S,
6833         config/picochip/libgccExtras/udivmodhi4.S,
6834         config/picochip/libgccExtras/udivmodsi4.S: New files.
6835         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6836         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6837         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6838         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6839         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6840         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6841         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6842         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6843         files.
6844         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6845         (HOST_LIBGCC2_CFLAGS): Set.
6846         * config/rs6000/t-darwin64: New file.
6847         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6848         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6849         * config/rs6000/t-ppccomm (LIB2ADD): Add
6850         $(srcdir)/config/rs6000/tramp.S.
6851         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6852         Add  $(srcdir)/config/rs6000/eabi.S.
6853         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6854         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6855         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6856         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6857         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6858         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6859         * config/rs6000/tramp.S: New file.
6860         * config/s390/t-tpf: Remove.
6861         * config/sh/linux-atomic.S: New file.
6862         * config/sh/t-linux (LIB2ADD): Set.
6863         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6864         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6865         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6866         to unwind-dw2.c.
6867         (HOST_LIBGCC2_CFLAGS): Set.
6868         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6869         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6870         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6871         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6872         config/spu/mfc_multi_tag_release.c,
6873         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6874         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6875         config/spu/multi3.c: New files.
6876         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6877         (HOST_LIBGCC2_CFLAGS): Set.
6878         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6879         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6880         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6881         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6882         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6883         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6884         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6885         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6886         config/stormy16/umodsi3.c: New files.
6887         * config/xtensa/lib2funcs.S: New file.
6888         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6889         * config/xtensa/t-xtensa (LIB2ADD): Set.
6890         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6891         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6892         Add t-freebsd-thread to tmake_file for posix threads.
6893         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6894         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6895         (*-*-lynxos*): Likewise.
6896         (*-*-netbsd*): Likewise.
6897         (*-*-openbsd*): Likewise.
6898         Add t-openbsd-thread to tmake_file for posix threads.
6899         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6900         (*-*-vxworks*): Set tmake_file.
6901         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6902         (alpha*-*-freebsd*): Likewise.
6903         (alpha*-*-netbsd*): Likewise.
6904         (alpha*-*-openbsd*): Likewise.
6905         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6906         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6907         (alpha*-dec-*vms*): Likewise.
6908         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6909         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6910         (bfin*-uclinux*): Likewise.
6911         (bfin*-linux-uclibc*): Likewise.
6912         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6913         (crisv32-*-none): Likewise.
6914         (cris-*-elf): Likewise.
6915         (cris-*-none): Likewise.
6916         (cris-*-linux*, crisv32-*-linux*): Likewise.
6917         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6918         tmake_file.
6919         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6920         tmake_file.
6921         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6922         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6923         (x86_64-*-elf*): Likewise.
6924         (i[34567]86-*-nto-qnx*): Likewise.
6925         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6926         win32 threads.
6927         (x86_64-*-mingw*): Likewise.
6928         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6929         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6930         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6931         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6932         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6933         tmake_file.
6934         (mipsisa64sr71k-*-elf*): Likewise.
6935         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6936         (mips-*-elf*, mipsel-*-elf*): Likewise.
6937         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6938         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6939         (mips*-*-rtems*): Likewise.
6940         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6941         to tmake_file.
6942         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6943         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6944         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6945         (spu-*-elf*): Likewise.
6946         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6948 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6950         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6951         $(srcdir) to refer to $(LIB1ASMSRC).
6952         Use $<.
6953         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6954         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6955         config/arm/lib1funcs.S: New files.
6956         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6957         * config/arm/t-arm: New file.
6958         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6959         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6960         config/arm/t-strongarm-elf: New files.
6961         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6962         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6963         * config/avr/lib1funcs.S: New file.
6964         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6965         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6966         * config/c6x/lib1funcs.S: New file.
6967         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6968         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6969         * config/frv/lib1funcs.S: New file.
6970         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6971         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6972         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6973         * config/ia64/__divxf3.asm: Rename to ...
6974         * config/ia64/__divxf3.S: ... this.
6975         Adapt lib1funcs.asm filename.
6976         * config/ia64/_fixtfdi.asm: Rename to ...
6977         * config/ia64/_fixtfdi.S: ... this.
6978         Adapt lib1funcs.asm filename.
6979         * config/ia64/_fixunstfdi.asm: Rename to ...
6980         * config/ia64/_fixunstfdi.S: ... this.
6981         Adapt lib1funcs.asm filename.
6982         * config/ia64/_floatditf.asm: Rename to ...
6983         * config/ia64/_floatditf.S: ... this.
6984         Adapt lib1funcs.asm filename.
6985         * config/ia64/lib1funcs.S: New file.
6986         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6987         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6988         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6989         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6990         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6991         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6992         * config/mep/lib1funcs.S: New file.
6993         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6994         * config/mips/mips16.S: New file.
6995         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6996         * config/pa/milli64.S: New file.
6997         * config/pa/t-linux, config/pa/t-linux64: New files.
6998         * config/picochip/lib1funcs.S: New file.
6999         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7000         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7001         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7002         * config/sh/t-netbsd: New file.
7003         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7004         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7005         * config/sh/t-sh64: New file.
7006         * config/sparc/lb1spc.S: New file.
7007         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7008         filename.
7009         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7010         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7011         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7012         config/xtensa/lib1funcs.S: New files.
7013         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7014         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7015         tmake_file.
7016         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7017         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7018         (arm*-*-linux*): Likewise.
7019         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7020         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7021         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7022         (arm*-*-ecos-elf): Likewise.
7023         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7024         (arm*-*-rtems*): Likewise.
7025         (arm*-*-elf): Likewise.
7026         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7027         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7028         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7029         (bfin*-uclinux*): Likewise.
7030         (bfin*-linux-uclibc*): Likewise.
7031         (bfin*-rtems*): Likewise.
7032         (bfin*-*): Likewise.
7033         (fido-*-elf): Merge into m68k-*-elf*.
7034         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7035         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7036         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7037         (h8300-*-elf*): Likewise.
7038         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7039         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7040         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7041         (i[34567]86-*-mingw*): Likewise.
7042         (x86_64-*-mingw*): Likewise.
7043         (i[34567]86-*-interix3*): Likewise.
7044         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7045         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7046         (m68k-*-elf*): Also handle fido-*-elf.
7047         Add m68k/t-floatlib to tmake_file.
7048         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7049         (m68k-*-linux*): Likewise.
7050         (m68k-*-rtems*): Likewise.
7051         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7052         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7053         sh64*-*-*.
7054         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7055         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7056         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7057         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7058         sh/t-netbsd to tmake_file.
7059         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7060         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7061         (sh-wrs-vxworks): Likewise.
7062         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7063         *-leon[3-9]*.
7064         (v850*-*-*): Add v850/t-v850 to tmake_file.
7065         (vax-*-linux*): Add vax/t-linux to tmake_file.
7066         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7068 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7070         * crtstuff.c: New file.
7071         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7072         (CRTSTUFF_T_CFLAGS): Define.
7073         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7074         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7075         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7076         crtstuff.c.
7077         Use $<.
7078         (crtbeginT.o): Use $(objext).
7079         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7080         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7081         (gcc-extra-parts): Remove.
7082         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7083         Set extra_parts.
7084         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7085         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7086         Add t-crtstuff-pic to tmake_file.
7087         (*-*-lynxos*): New case.
7088         Set tmake_file, extra_parts.
7089         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7090         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7091         *-*-netbsdelf[2-9]*.
7092         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7093         (*-*-rtems*): Set extra_parts.
7094         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7095         (*-*-uclinux*): New case.
7096         Set extra_parts.
7097         (*-*-vms*): New case.
7098         Set tmake_file, extra_parts.
7099         (*-*-elf): Set extra_parts.
7100         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7101         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7102         vms/t-vms64.
7103         Set extra_parts.
7104         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7105         Set extra_parts.
7106         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7107         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7108         (arm-wrs-vxworks): Append to tmake_file.
7109         Set extra_parts.
7110         (arm*-*-uclinux*): Set extra_parts.
7111         (arm*-*-ecos-elf): Likewise.
7112         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7113         arm*-*-eabi*.
7114         (arm*-*-rtems*): Set extra_parts.
7115         (arm*-*-elf): Likewise.
7116         (avr-*-rtems*): Clear extra_parts.
7117         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7118         Set extra_parts.
7119         (bfin*-uclinux*): Likewise.
7120         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7121         (bfin*-rtems*): Append to tmake_file.
7122         Set extra_parts.
7123         (bfin*-*): Likewise.
7124         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7125         (crisv32-*-elf): ... this.
7126         (crisv32-*-none): ... this.
7127         (cris-*-elf, cris-*-none): New cases.
7128         Add cris/t-elfmulti to tmake_file.
7129         (fr30-*-elf): Append to tmake_file.
7130         Set extra_parts.
7131         (frv-*-elf): Append to tmake_file, add frv/t-frv.
7132         Set extra_parts.
7133         (h8300-*-rtems*): Append to tmake_file.
7134         Set extra_parts.
7135         (h8300-*-elf*): Likewise.
7136         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7137         Set extra_parts.
7138         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7139         Set extra_parts.
7140         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7141         (x86_64-*-elf*): Likewise.
7142         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7143         (x86_64-*-freebsd*): Likewise.
7144         (x86_64-*-netbsd*): Likewise.
7145         (i[34567]86-*-linux*): Likewise.
7146         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7147         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7148         (x86_64-*-linux*): Likewise.
7149         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7150         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7151         tmake_file.
7152         Set extra_parts.
7153         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7154         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7155         Append to extra_parts, remove crtbegin.o, crtend.o.
7156         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7157         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7158         crtend.o, crtbeginS.o, crtendS.o.
7159         (ia64*-*-linux*): Comment extra_parts.
7160         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7161         Set extra_parts.
7162         (iq2000*-*-elf*): Clear extra_parts.
7163         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7164         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7165         (m32r-*-elf*, m32r-*-rtems*): Split off ...
7166         (m32r-*-rtems*): ... this.
7167         Add m32r/t-m32r to tmake_file.
7168         (m68k-*-elf*): Add t-crtin to tmake_file.
7169         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7170         (mcore-*-elf): Likewise.
7171         (microblaze*-*-*): Set extra_parts.
7172         (mips*-sde-elf*): New case.
7173         Set tmake_file, extra_parts.
7174         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7175         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7176         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7177         tmake_file.
7178         Set extra_parts.
7179         (mipsisa64sr71k-*-elf*): Likewise.
7180         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7181         (mips-*-elf*, mipsel-*-elf*): Likewise.
7182         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7183         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7184         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
7185         (mips*-*-rtems*): Likewise.
7186         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7187         (moxie-*-*): Split into ...
7188         (moxie-*-elf, moxie-*-uclinux*): ... this.
7189         Add to extra_parts, remove crtbegin.o, crtend.o.
7190         (moxie-*-rtems*): New case.
7191         Set tmake_file.
7192         Clear extra_parts.
7193         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7194         Set extra_parts.
7195         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7196         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7197         tmake_file.
7198         Set extra_parts.
7199         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7200         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7201         Set extra_parts.
7202         (powerpc-*-eabisim*): Likewise.
7203         (powerpc-*-elf*): Likewise.
7204         (powerpc-*-eabialtivec*): Likewise.
7205         (powerpc-xilinx-eabi*): Likewise.
7206         (powerpc-*-eabi*): Likewise.
7207         (powerpc-*-rtems*): Likewise.
7208         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7209         tmake_file.
7210         Set extra_parts.
7211         (powerpc-*-lynxos*): Add to tmake_file.
7212         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7213         rs6000/t-crtstuff, t-crtstuff-pic.
7214         Set extra_parts.
7215         (powerpcle-*-eabisim*): Likewise.
7216         (powerpcle-*-eabi*): Likewise.
7217         (rx-*-elf): Remove extra_parts.
7218         (s390x-ibm-tpf*): Set extra_parts.
7219         (score-*-elf): Set extra_parts.
7220         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7221         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7222         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7223         (sh64l*-*-netbsd*): Split into ...
7224         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7225         Add t-crtstuff-pic to tmake_file.
7226         Set extra_parts.
7227         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7228         Set extra_parts.
7229         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7230         (sparc-*-elf*): Remove t-crtin from tmake_file.
7231         Add to extra_parts, remove crtbegin.o, crtend.o.
7232         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7233         (sparc64-*-linux*): Likewise.
7234         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7235         Add to extra_parts, remove crtbegin.o, crtend.o.
7236         (sparc64-*-elf*): Remove t-crtin from tmake_file.
7237         Add to extra_parts, remove crtbegin.o, crtend.o.
7238         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7239         Add to extra_parts, remove crtbegin.o, crtend.o.
7240         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7241         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7242         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7243         Set extra_parts.
7244         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7245         Set extra_parts.
7246         (tic6x-*-*): Change to ...
7247         (tic6x-*-elf): ... this.
7248         Set extra_parts.
7249         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7250         Set extra_parts.
7251         (am33_2.0-*-linux*): Add comment.
7252         (mep*-*-*): Add mep/t-mep to tmake_file.
7253         Set extra_parts.
7254         * config/alpha/t-vms: New file.
7255         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7256         * config/arm/crti.S, config/arm/crtn.S: New files.
7257         * config/bfin/crti.S, config/bfin/crtn.S: New files.
7258         * config/bfin/crtlibid.S: New file.
7259         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7260         * config/c6x/crti.S, config/c6x/crtn.S: New files.
7261         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7262         (crti.o, crtin.o): New rules.
7263         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7264         * config/c6x/t-uclinux: New file.
7265         * config/cris/t-elfmulti: New file.
7266         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7267         * config/fr30/crti.S, config/fr30/crtn.S: New files.
7268         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7269         * config/frv/t-frv: New file.
7270         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7271         * config/h8300/crti.S, config/h8300/crtn.S: New files.
7272         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7273         New files.
7274         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7275         refer to cygming-crtbegin.c, cygming-crtend.c.
7276         Use $<.
7277         * config/i386/t-nto: New file.
7278         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7279         * config/ia64/crti.S, config/ia64/crtn.S: New files.
7280         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7281         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7282         Use .S extension.
7283         Use $<.
7284         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7285         (crtinitS.o): New rule.
7286         * config/ia64/vms-crtinit.S: New file.
7287         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7288         * config/m32r/initfini.c: New file.
7289         * config/m32r/t-linux, config/m32r/t-m32r: New files.
7290         * config/m68k/crti.S, config/m68k/crtn.S: New files.
7291         * config/mcore/crti.S, config/mcore/crtn.S: New files.
7292         * config/mep/t-mep: New file.
7293         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7294         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7295         * config/mips/crti.S, config/mips/crtn.S: New files.
7296         * config/mips/t-crtstuff: New file.
7297         * config/mmix/crti.S, config/mmix/crtn.S: New files.
7298         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7299         (CUSTOM_CRTIN): Set.
7300         ($(T)crti.o, $(T)crtn.o): Remove $(T),
7301         dependencies.
7302         Use $(srcdir) to refer to crti.S, crtn.S.
7303         Use .S extension, $<.
7304         * config/moxie/crti.asm: Rename to ...
7305         * config/moxie/crti.S: ... this.
7306         * config/moxie/crtn.asm: Rename to ...
7307         * config/moxie/crtn.S: ... this.
7308         * config/moxie/t-moxie: Remove.
7309         * config/pa/stublib.c: New file.
7310         * config/pa/t-stublib, config/pa/t-stublib64: New files.
7311         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7312         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7313         * config/rs6000/t-crtstuff: New file.
7314         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7315         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7316         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7317         Make output file explicit.
7318         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7319         Make output file explicit.
7320         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7321         Make output file explicit.
7322         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7323         Make output file explicit.
7324         * config/score/crti.S, config/score/crtn.S: New files.
7325         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7326         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7327         files.
7328         * config/sh/t-sh, config/sh/t-superh: New files.
7329         * config/sparc/t-linux64: New file.
7330         * config/spu/cache.S, config/spu/cachemgr.c: New files.
7331         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7332         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7333         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7334         * config/t-crtin: Remove.
7335         * config/t-crtstuff-pic: New file.
7336         * config/t-sol2 (CUSTOM_CRTIN): Set.
7337         (crti.o, crtn.o): New rules.
7338         * config/vms/t-vms: New file.
7339         * config/vms/vms-ucrt0.c: New file.
7340         * config/xtensa/t-elf: New file.
7342 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7344         * Makefile.in (SHLIB_NM_FLAGS): Set.
7345         * mkmap-flat.awk, mkmap-symver.awk: New files.
7346         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7347         exceptions.
7348         * configure: Regenerate.
7349         * config/libgcc-glibc.ver: New file.
7350         * config/libgcc-libsystem.ver: New file.
7351         * config/t-libunwind (SHLIB_LC): Set.
7352         * config/t-linux: New file.
7353         * config/t-slibgcc (INSTALL_SHLIB): New.
7354         (SHLIB_INSTALL): Use it.
7355         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7356         to mkmap-symver.awk.
7357         (SHLIB_MAPFILES): Don't append, adapt pathname.
7358         (SHLIB_VERPFX): Set.
7359         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7360         to mkmap-symver.awk.
7361         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7362         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7363         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7364         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7365         to mkmap-flat.awk.
7366         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7367         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7368         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7369         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7370         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7371         * config/i386/libgcc-darwin.10.4.ver,
7372         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7373         New files.
7374         * config/i386/t-darwin: Remove.
7375         * config/i386/t-darwin64: Likewise.
7376         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7377         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7378         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7379         * config/i386/t-linux: New file.
7380         * config/i386/t-mingw32: New file.
7381         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7382         * config/ia64/t-glibc: Rename to ...
7383         * config/ia64/t-linux: ... this.
7384         (SHLIB_MAPFILES): Set.
7385         * config/ia64/t-glibc-libunwind: Rename to ...
7386         * config/ia64/t-linux-libunwind: ... this.
7387         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7388         * config/ia64/t-slibgcc-hpux: New file.
7389         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7390         * config/m68k/t-slibgcc-elf-ver: New file.
7391         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7392         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7393         to mkmap-flat.awk.
7394         * config/pa/t-slibgcc-hpux: New file.
7395         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7396         files.
7397         * config/rs6000/libgcc-darwin.10.4.ver,
7398         config/rs6000/libgcc-darwin.10.5.ver: New files.
7399         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7400         config/rs6000/libgcc-glibc.ver.
7401         * config/rs6000/libgcc-ppc64.ver: Rename to
7402         config/rs6000/libgcc-ibm-ldouble.ver.
7403         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7404         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7405         * config/rs6000/t-ldbl128: Rename to ...
7406         * config/rs6000/t-linux: ... this.
7407         (SHLIB_MAPFILES): Adapt filename.
7408         * config/rs6000/t-slibgcc-aix: New file.
7409         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7410         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7411         libgcc-excl.ver, libgcc-glibc.ver.
7412         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7413         * config/sparc/libgcc-glibc.ver: New file.
7414         * config/sparc/t-linux: New file.
7415         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7416         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7417         t-slibgcc-elf-ver to tmake_file.
7418         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7419         *-*-freebsd[34].
7420         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7421         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7422         t-slibgcc-elf-ver, t-linux to tmake_file.
7423         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7424         tmake_file.
7425         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7426         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7427         (alpha*-dec-*vms*): Likewise.
7428         (arm*-*-freebsd*): Append to tmake_file.
7429         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7430         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7431         arm*-*-linux-*eabi.
7432         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7433         tmake_file for arm*-*-symbianelf*.
7434         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7435         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7436         cris/t-linux.
7437         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7438         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7439         pa/t-slibgcc-dwarf-ver to tmake_file.
7440         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7441         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7442         (hppa*64*-*-hpux11*): Likewise.
7443         (hppa[12]*-*-hpux11*): Likewise.
7444         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7445         i386/t-crtpc, i386/t-crtfm.
7446         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7447         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7448         to tmake_file.
7449         Add i386/t-cygwin to tmake_file.
7450         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7451         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7452         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7453         to tmake_file.
7454         Add i386/t-mingw32 to tmake_file.
7455         (x86_64-*-mingw*): Likewise.
7456         (ia64*-*-freebsd*): Append to tmake_file.
7457         (ia64*-*-linux*): Append to tmake_file.
7458         Replace ia64/t-glibc by ia64/t-linux.
7459         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7460         system libunwind.
7461         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7462         t-slibgcc-hpux to tmake_file.
7463         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7464         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7465         (m32rle-*-linux*): Likewise.
7466         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7467         sjlj exceptions.
7468         (microblaze*-linux*): New case.
7469         Append to tmake_file, add t-slibgcc-nolc-override.
7470         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7471         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7472         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7473         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7474         rs6000/t-slibgcc-aix to tmake_file.
7475         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7476         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7477         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7478         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7479         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7480         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7481         sh*-*-linux*.
7482         (sparc-*-linux*): Append to tmake_file for *-leon*.
7483         Add sparc/t-linux to tmake_file for non-Leon targets.
7484         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7485         (tic6x-*-uclinux): New case.
7486         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7487         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7488         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7489         (am33_2.0-*-linux*): Append to tmake_file.
7490         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7491         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7492         x86_64-*-kfreebsd*-gnu.
7493         Add i386/t-linux to tmake_file.
7495 2011-10-28  Ian Lance Taylor  <iant@google.com>
7497         * config/i386/morestack.S: Correct CFI information to do proper
7498         returns throughout function.  In 32-bit mode, save %ebx so that it
7499         is restored on unwind.
7501 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7503         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7504         case where B3 isn't the return register.
7506         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7507         logic for doubleword pops.
7509 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7511         * config/rs6000/t-freebsd: Add wildcard.
7513 2011-10-21  Paul Brook  <paul@codesourcery.com>
7515         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7517 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7518             Eric Botcazou  <ebotcazou@adacore.com>
7520         PR target/50737
7521         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7522         fs->signal_frame to 1.
7524 2011-10-07  Ian Lance Taylor  <iant@google.com>
7526         * generic-morestack-thread.c: #include <errno.h>.
7528 2011-10-07  Ian Lance Taylor  <iant@google.com>
7530         PR target/46093
7531         * generic-morestack.c (__generic_morestack): Make sure the segment
7532         is large enough for both the stack frame and the copied
7533         parameters.
7535 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7537         PR bootstrap/49804
7538         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7539         extra_parts.
7541 2011-09-28  Nick Clifton  <nickc@redhat.com>
7543         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7544         64-bit doubles are not enabled.
7545         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7546         and floatunsisf functions.
7548 2011-09-13  Paul Brook  <paul@codesourcery.com>
7550         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7551         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7552         * unwind-arm-common.inc: New file.
7553         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7554         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7555         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7556         * config/c6x/libunwind.S: New file.
7557         * config/c6x/pr-support.c: New file.
7558         * config/c6x/unwind-c6x.c: New file.
7559         * config/c6x/unwind-c6x.h: New file.
7560         * config/c6x/t-c6x-elf: New file.
7562 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7564         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7565         (ASM_DIVZERO): Ditto.
7566         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7568 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7570         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7572 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7574         PR target/50090
7575         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7576         instead of an assembly one.
7578 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7580         PR bootstrap/50047
7581         * Makefile.in (install-unwind_h): Create
7582         $(gcc_objdir)/include/unwind.h atomically.
7584 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7586         * Makefile.in (install-unwind_h): Remove destination file first.
7588 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7590         * sync.c: New file.
7591         * config/mips/t-mips16: New file.
7592         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7593         (mips*-*-linux*): Likewise.
7594         (mips*-sde-elf*): Likewise.
7595         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7596         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7597         Add mips/t-mips16 to tmake_file.
7598         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7599         (mips-*-elf*): Likewise.
7600         (mips64-*-elf*): Likewise.
7601         (mips64orion-*-elf*): Likewise.
7602         (mips*-*-rtems*): Likewise.
7603         (mipstx39-*-elf*): Likewise.
7604         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7605         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7606         LIBGCC_SYNC_CFLAGS.
7607         Use $(srcdir) to refer to sync.c.
7608         Use $<.
7609         ($(libgcc-sync-funcs-o)): Likewise.
7610         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7611         ($(libgcc-sync-funcs-s-o)): Likewise.
7613 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7615         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7616         t-libunwind.
7618 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7620         PR other/48007
7621         * config/i386/value-unwind.h: New.
7623 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7625         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7626         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7627         Add to tmake_file rather than overriding it.
7629 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7631         * config/t-softfp: Remove.
7632         * soft-fp: Moved from ../gcc/config.
7633         * soft-fp/README: Remove t-softfp reference.
7634         * soft-fp/t-softfp: Move to config/t-softfp.
7635         (softfp_machine_header): Remove.
7636         (softfp_file_list): Remove config subdir.
7637         (soft-fp-objects): New variable.
7638         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7639         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7640         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7641         * config/t-softfp-excl: New file.
7642         * config/t-softfp-sfdf: New file.
7643         * config/t-softfp-tf: New file.
7644         * config/no-sfp-machine.h: New file.
7645         * config/arm/sfp-machine.h: New file.
7646         * config/arm/t-softfp: New file.
7647         * config/c6x/sfp-machine.h: New file.
7648         * config/i386/32/t-fprules-softfp: Rename to ...
7649         * config/i386/32/t-softfp: ... this.
7650         (tifunctions, LIB2ADD): Remove.
7651         (softfp_int_modes): Override.
7652         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7653         subdir.
7654         * config/i386/64/eqtf2.c: Likewise.
7655         * config/i386/64/getf2.c: Likewise.
7656         * config/i386/64/letf2.c: Likewise.
7657         * config/ia64/sft-machine.h: New file.
7658         * config/ia64/t-fprules-softfp: Rename to ...
7659         * config/ia64/t-softfp: ... this.
7660         * config/lm32/sfp-machine.h: New file.
7661         * config/moxie/t-moxie-softfp: Remove.
7662         * config/rs6000/ibm-ldouble-format: New file.
7663         * config/rs6000/ibm-ldouble.c: New file.
7664         * config/rs6000/libgcc-ppc-glibc.ver: New file
7665         * config/rs6000/libgcc-ppc64.ver: New file
7666         * config/rs6000/sfp-machine.h: New file.
7667         * config/rs6000/t-freebsd: New file.
7668         * config/rs6000/t-ibm-ldouble: New file.
7669         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7670         libgcc-ppc-glibc.ver.
7671         * config/rs6000/t-linux64: New file.
7672         * config/rs6000/t-ppccomm (LIB2ADD): Add
7673         $(srcdir)/config/rs6000/ibm-ldouble.c.
7674         * config/rs6000/t-ppccomm-ldbl: New file.
7675         * config/score/sfp-machine.h: New file.
7676         * config.host (sfp_machine_header): Explain.
7677         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7678         t-softfp to tmake_file.
7679         (arm*-*-uclinux*): Likewise.
7680         (arm*-*-ecos-elf): Likewise.
7681         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7682         (arm*-*-rtems*): Likewise.
7683         (arm*-*-elf): Likewise.
7684         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7685         in tmake_file.
7686         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7687         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7688         (lm32-*-uclinux*): Likewise.
7689         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7690         t-softfp-excl, t-softfp.
7691         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7692         (powerpc64-*-darwin*): Likewise.
7693         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7694         to tmake_file.
7695         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7696         tmake_file.
7697         (powerpc-*-eabisim*): Likewise.
7698         (powerpc-*-elf*): Likewise.
7699         (powerpc-*-eabialtivec*): Likewise.
7700         (powerpc-xilinx-eabi*): Likewise.
7701         (powerpc-*-rtems*): Likewise.
7702         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7703         t-softfp-excl, t-softfp to tmake_file.
7704         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7705         rs6000/t-ppccomm-ldbl to tmake_file.
7706         (powerpcle-*-elf*): Likewise.
7707         (powerpcle-*-eabisim*): Likewise.
7708         (powerpcle-*-eabi*): Likewise.
7709         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7710         rs6000/t-ibm-ldouble to tmake_file.
7711         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7712         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7713         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7714         (tic6x-*-*): Likewise.
7715         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7716         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7717         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7718         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7719         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7720         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7721         t-softfp to tmake_file.
7722         * configure.ac (sfp_machine_header): Provide default if unset.
7723         Substitute.
7724         Link sfp-machine.h to config/$sfp_machine_header.
7725         * configure: Regenerate.
7727 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7729         * Makefile.in (double_type_size, long_double_type_size): Set.
7730         Remove $(fpbit-in-libgcc) support.
7731         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7732         (fpbit-src): New variable.
7733         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7734         Compile with -DFLOAT $(FPBIT_CFLAGS).
7735         Use $<.
7736         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7737         Compile with $(FPBIT_CFLAGS).
7738         Use $<.
7739         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7740         Compile with -DFLOAT $(TPBIT_CFLAGS).
7741         Use $<.
7742         * configure.ac (double_type_size, long_double_type_size):
7743         Determine and substitute.
7744         * configure: Regenerate.
7745         * fp-bit.c, fp-bit.h: New files.
7746         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7747         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7748         * config/mips/t-mips: New file.
7749         * config/mips/t-sdemtk: New file.
7750         * config/rs6000/ppc64-fp.c: New file.
7751         * config/rs6000/t-darwin (LIB2ADD): Add
7752         $(srcdir)/config/rs6000/ppc64-fp.c.
7753         * config/rs6000/t-ppc64-fp: New file.
7754         * config/rx/rx-lib.h: New file.
7755         * config/rx/t-rx (FPBIT): Set to true.
7756         ($(gcc_objdir)/fp-bit.c): Remove.
7757         (DPBIT): Set to true only with -m64bit-doubles.
7758         ($(gcc_objdir)/dp-bit.c): Remove.
7759         * config/sparc/t-softfp: Remove.
7760         * config/spu/t-elf: New file.
7761         * config/t-fdpbit, config/t-fpbit: New files.
7762         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7763         (mips*-*-*): Likewise.
7764         (arm-wrs-vxworks): Likewise.
7765         (arm*-*-freebsd*): Likewise.
7766         (avr-*-rtems*): Add t-fpbit to tmake_file.
7767         (avr-*-*): Likewise.
7768         (bfin*-elf*): Add t-fdpbit to tmake_file.
7769         (bfin*-uclinux*): Likewise.
7770         (bfin*-linux-uclibc*): Likewise.
7771         (bfin*-rtems*): New case.
7772         Add t-fdpbit to tmake_file.
7773         (bfin*-*): Add t-fdpbit to tmake_file.
7774         (crisv32-*-elf): Likewise.
7775         (cris-*-linux*): Likewise.
7776         (fr30-*-elf): Likewise.
7777         (frv-*-elf, frv-*-*linux*): Likewise.
7778         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7779         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7780         (m32r-*-elf*): Likewise.
7781         (m32rle-*-elf*): Likewise.
7782         (m32r-*-linux*): Likewise.
7783         (m32rle-*-linux*): Likewise.
7784         (mcore-*-elf): Add t-fdpbit to tmake_file.
7785         (microblaze*-*-*): Likewise.
7786         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7787         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7788         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7789         Fix typo.
7790         Add mips/t-tpbit to tmake-file.
7791         (mips*-*-linux*): Fix typo.
7792         (mips*-sde-elf*): New case
7793         Add mips/t-sdemtk unless using newlib.
7794         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7795         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7796         (mn10300-*-*): Likewise.
7797         (pdp11-*-*): Likewise.
7798         (picochip-*-*): Add t-fpbit to tmake_file.
7799         (powerpc-*-eabisimaltivec*): Likewise.
7800         (powerpc-*-eabisim*): Likewise.
7801         (powerpc-*-elf*): Likewise.
7802         (powerpc-*-eabialtivec*): Likewise.
7803         (powerpc-xilinx-eabi*): New case.
7804         Add t-fdpbit to tmake_file.
7805         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7806         (powerpc-*-rtems*): Likewise.
7807         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7808         tmake_file.
7809         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7810         tmake_file.
7811         (powerpc-*-lynxos*): Likewise.
7812         (powerpcle-*-elf*): Likewise.
7813         (powerpcle-*-eabisim*): Likewise.
7814         (powerpcle-*-eabi*): Likewise.
7815         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7816         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7817         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7818         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7819         (rx-*-elf): Add t-fdpbit to tmake_file.
7820         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7821         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7822         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7823         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7824         sh*-*-netbsd*.
7825         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7826         (sh-wrs-vxworks): Likewise.
7827         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7828         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7829         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7830         (sparc64-*-rtems*): ... new case.
7831         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7832         (spu-*-elf*): Likewise.
7833         Add spu/t-elf to tmake_file.
7834         (v850*-*-*): Add t-fdpbit to tmake_file.
7835         (xstormy16-*-elf): Likewise.
7836         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7837         (mep*-*-*): Likewise.
7839 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7841         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7842         variables.
7843         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7844         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7845         (install-unwind_h): New target.
7846         (all): Depend on it.
7847         * config.host (unwind_header): New variable.
7848         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7849         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7850         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7851         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7852         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7853         Set unwind_header.
7854         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7855         Set unwind_header.
7856         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7857         arm*-*-eabi*.
7858         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7859         Set unwind_header.
7860         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7861         (ia64*-*-freebsd*): Likewise.
7862         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7863         tmake_file.
7864         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7865         $with_system_libunwind.
7866         (ia64*-*-hpux*): Set tmake_file.
7867         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7868         (picochip-*-*): Set tmake_file.
7869         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7870         md_unwind_header.
7871         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7872         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7873         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7874         (xtensa*-*-elf*): Set tmake_file.
7875         (xtensa*-*-linux*): Likewise.
7876         * configure.ac: Include ../config/unwind_ipinfo.m4.
7877         Call GCC_CHECK_UNWIND_GETIPINFO.
7878         Link unwind.h to $unwind_header.
7879         * configure: Regenerate.
7880         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7881         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7882         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7883         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7884         * config/unwind-dw2-fde-darwin.c: New file.
7885         * config/arm/libunwind.S, config/arm/pr-support.c,
7886         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7887         config/arm/unwind-arm.h,: New files.
7888         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7889         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7890         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7891         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7892         config/ia64/unwind-ia64.h: New files.
7893         * config/picochip/t-picochip: New file.
7894         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7895         files.
7896         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7897         * config/s390/t-tpf (LIB2ADDEH): Remove.
7898         * config/t-darwin (LIB2ADDEH): Set.
7899         * config/t-eh-dw2-dip: New file.
7900         * config/t-libunwind, config/t-libunwind-elf: New files.
7901         * config/t-sol2 (LIB2ADDEH): Remove.
7902         * config/xtensa/t-xtensa: New file.
7904 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7906         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7907         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7908         long long to check rt_sigreturn syscall.
7910 2011-08-02  Alan Modra  <amodra@gmail.com>
7912         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7913         Restore for indirect call bcrtl from correct stack slot, and only
7914         if cfa+40 isn't valid.
7916 2011-08-01  Julian Brown  <julian@codesourcery.com>
7918         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7919         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7920         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7922 2011-08-01  Julian Brown  <julian@codesourcery.com>
7924         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7925         (libgcc-std.ver.in): Use above.
7926         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7927         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7928         throughout file.
7929         * config/t-fixedpoint-gnu-prefix: New file.
7930         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7931         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7932         instead of __PFX__.
7934 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7936         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7937         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7938         for x86-64.  Properly check __x86_64__ and __LP64__.
7940 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7942         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7943         version.
7944         (_FP_WS_TYPE): Likewise.
7945         (_FP_I_TYPE): Likewise.
7947 2011-07-28  Alan Modra  <amodra@gmail.com>
7949         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7950         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7951         in a plt call stub.  Do restore r2 if stopped on bctrl.
7953 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7955         * config.host (i[3456x]86-*-netware*): Remove.
7956         * config/i386/netware-crt0.c, config/i386/t-nwld,
7957         config/i386/t-slibgcc-nwld: Remove.
7959 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7961         * config.host: Handle tic6x-*-*.
7962         * config/c6x/c6x-abi.h: New file.
7964 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7966         * config/i386/crtprec.c: New file.
7967         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7968         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7969         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7970         (x86_64-*-darwin*): Likewise.
7971         (i[34567]86-*-solaris2*: Likewise.
7973 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7975         * config/alpha/crtfastmath.c: New file.
7976         * config/i386/crtfastmath.c: New file.
7977         * config/ia64/crtfastmath.c: New file.
7978         * config/mips/crtfastmath.c: New file.
7979         * config/sparc/crtfastmath.c: New file.
7981         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7982         crtfastmath.c.
7983         Add -frandom-seed=gcc-crtfastmath.
7984         * config/alpha/t-crtfm: Remove.
7985         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7986         * config/ia64/t-ia64 (crtfastmath.o): Remove.
7988         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7989         (alpha*-dec-osf5.1*): Likewise.
7990         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7991         Add crtfastmath.o to extra_parts.
7992         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7993         Add crtfastmath.o to extra_parts.
7994         (x86_64-*-darwin*): Likewise.
7995         (x86_64-*-mingw*): Likewise.
7996         (ia64*-*-elf*): Add t-crtfm to tmake_file.
7997         (ia64*-*-freebsd*): Likewise.
7998         (ia64*-*-linux*): Likewise.
7999         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8000         Add crtfastmath.o to extra_parts.
8002 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8004         * config/darwin-crt3.o: New file.
8005         * config/rs6000/darwin-crt2.c: New file.
8006         * config/t-darwin: New file.
8007         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8008         (crt2.o): New rule.
8009         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8010         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8011         (powerpc64-*-darwin*): Likewise.
8013 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8015         * config/i386/netware-crt0.c: New file.
8016         * config/i386/t-nwld: Rename to ...
8017         * config/i386/t-slibgcc-nwld: ... this.
8018         * config/i386/t-nwld: New file.
8019         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8020         tmake_file.
8021         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8022         extra_parts.
8024 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8026         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8027         i386/t-crtstuff.
8028         * configure: Regenerate.
8030 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8032         * dfp-bit.c, dfp-bit.h: New files.
8033         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8034         variables.
8035         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8036         ($(d64pbit-o)): Likewise.
8037         ($(d128pbit-o)): Likewise.
8038         * config/t-dfprules: New file.
8039         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8040         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8041         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8042         (x86_64-*-linux*): Likewise.
8043         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8044         (i[34567]86-*-cygwin*): Likewise.
8045         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8046         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8048 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8050         * Makfile.in (LIBGCOV): New variable.
8051         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8052         * libgcov.c: New file.
8054 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8056         * fixed-bit.c, fixed-bit.h: New files.
8057         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8058         refer to fixed-bit.c.
8060 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8062         * config.host (*local*): Remove.
8064 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8066         PR target/39150
8067         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8068         like i?86-*-solaris2.1[0-9]*.
8069         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8070         * configure.ac (i?86-*-solaris2*): Likewise.
8071         * configure: Regenerate.
8073 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8075         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8076         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8077         md_unwind_header by splitting out of...
8078         (i[34567]86-*-linux*): ... this.
8079         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8080         Remove md_unwind_header by splitting out of...
8081         (x86_64-*-linux*): ... this.
8083 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8085         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8087 2011-06-28  Nick Clifton  <nickc@redhat.com>
8089         * config.host: Recognize all V850 variants.
8091 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8093         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8095 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8097         * shared-object.mk (c_flags-$o): Save c_flags.
8098         ($(base)$(objext)): Use it.
8099         ($(base)_s$(objext)): Likewise.
8101 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8103         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8104         * libgcc-std.ver.in (GCC_4.7.0): New section.
8106 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8108         PR target/49313
8109         PR target/29524
8110         * config/avr/t-avr: Fix line endings.
8111         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8112         _parityXX2.
8114 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8115             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8117         * config/mips/irix6-unwind.h: New file.
8118         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8120 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8122         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8123         (sparc64_fallback_frame_state): Use it.
8124         (sparc64_frob_update_context): Further adjust context.
8125         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8126         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8127         * config/sparc/sol2-cn.S: Likewise.
8129 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8131         * enable-execute-stack-empty.c: New file.
8132         * enable-execute-stack-mprotect.c: New file.
8133         * config/i386/enable-execute-stack-mingw32.c: New file.
8134         * config.host (enable_execute_stack): New variable.
8135         Select appropriate variants.
8136         * configure.ac: Link enable-execute-stack.c to
8137         $enable_execute_stack.
8138         * configure: Regenerate.
8139         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8140         (lib2funcs): Remove _enable_execute_stack.
8142 2011-06-09  David S. Miller  <davem@davemloft.net>
8143             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8145         * config.host (sparc-*-linux*): Correct md_unwind_header
8146         filename.
8147         (s390x-ibm-tpf*): Fix typo.
8149 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8151         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8152         Add crtfastmath.o to extra_parts.
8153         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8154         mips/t-crtfm.
8155         * config/mips/t-crtfm: Remove.
8157 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8159         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8161 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8163         * config.host (sh*-*-linux*): Fix typo.
8165 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8167         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8168         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8169         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8170         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8171         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8172         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8173         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8174         Wrap in !__MINGW64__.
8175         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8176         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8177         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8178         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8179         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8180         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8181         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8182         Wrap in !__LP64__.
8183         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8184         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8185         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8186         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8187         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8188         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8189         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8190         * config/no-unwind.h: New file.
8191         * config.host (md_unwind_header): Document.
8192         Define.
8193         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8194         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8195         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8196         hppa[12]*-*-hpux11*): Set md_unwind_header.
8197         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8198         Set md_unwind_header.
8199         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8200         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8201         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8202         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8203         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8204         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8205         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8206         md_unwind_header.
8207         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8208         * configure: Regenerate.
8210 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8212         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8213         Set tmake_file, extra_parts.
8214         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8215         Remove O32 support.
8216         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8217         Remove O32 support.
8218         * config/mips/t-irix6: New file.
8219         * config/mips/t-slibgcc-irix: New file.
8221 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8223         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8224         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8226 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8228         * configure.ac (target_thread_file): Determine thread model.
8229         * configure: Regenerate.
8230         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8231         * config/alpha/t-alpha: New file.
8232         * config/alpha/t-crtfm: Use $<.
8233         * config/alpha/t-ieee: New file.
8234         * config/alpha/t-osf-pthread: New file.
8235         * config/alpha/t-slibgcc-osf: New file.
8236         * config/alpha/libgcc-osf5.ver: New file.
8238 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8240         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8241         tmake_file.
8242         Add crtfastmath.o to extra_parts.
8244 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8246         * config/gmon-sol2.c: Reindent.
8247         Cleanup comments.
8248         Remove, correct casts.
8249         Use STDERR_FILENO, NULL.
8250         (BASEADDRESS): Remove.
8251         (minbrk): Remove.
8252         (errno, sbrk): Remove declarations.
8253         (monstartup) [hp300]: Remove.
8254         (mcount): Remove.
8256 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8258         * Makefile.in (cpu_type): Define.
8259         * config.host (i[34567]86-*-rtems*): Handle it.
8260         (i[34567]86-*-solaris2*): Move body ...
8261         (*-*-solaris2*): ... here.
8262         New case, generalize.
8263         (sparc-*-elf*): Handle it.
8264         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8265         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8266         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8267         Fold into ...
8268         (sparc*-*-solaris2*): ... this.
8269         New case.
8270         (sparc64-*-elf*): Handle it.
8271         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8272         Merge ../gcc/config/i386/gmon-sol2.c.
8273         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8274         Use C comments.
8275         Merge ../gcc/config/i386/sol2-gc1.asm.
8276         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8277         Use C comments.
8278         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8279         Use C comments.
8280         * config/i386/t-crtfm (crtfastmath.o): Use $<.
8281         * config/i386/t-crtstuff: New file.
8282         * config/i386/t-softfp: New file.
8283         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8284         $(T)crti.o, $(T)crtn.o): Remove.
8285         (gcrt1.o): New rule.
8286         (TARGET_LIBGCC2_CFLAGS): Remove.
8287         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8288         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8289         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8290         * config/sparc/t-sol2: New file.
8291         * config/sparc/t-crtfm: Move to ...
8292         * config/t-crtfm: ... this.
8293         Use $(cpu_type), $<.
8294         * config/t-crtin: New file.
8295         * config/sparc/t-softfp: New file.
8296         * config/sparc/t-softmul: New file.
8297         * config/t-rtems: New file.
8298         * config/t-slibgcc: New file.
8299         * config/t-slibgcc-elf-ver: New file.
8300         * config/t-slibgcc-gld: New file.
8301         * config/t-slibgcc-sld: New file.
8302         * config/t-sol2: New file.
8303         * configure.ac: Include ../config/lib-ld.m4.
8304         Call AC_LIB_PROG_LD_GNU.
8305         Substitute cpu_type.
8306         * configure: Regenerate.
8308 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
8310         PR bootstrap/49173
8311         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8312         libgcc-std.ver in the build directory.
8313         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8314         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8316 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
8318         * libgcc-std.ver.in: New file.
8319         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8320         variables.
8321         (libgcc-std.ver): New rule.
8322         * config/t-gnu-prefix: New file.
8324 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8326         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8328 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8330         * config/i386/darwin-lib.h: New file.
8332 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8334         * config/arm/symbian-lib.h: New.
8336 2011-05-04  Chris Demetriou  <cgd@google.com>
8338         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8339         (__x86.get_pc_thunk.bx): ...this.
8340         (__morestack): Adjust for rename, remove undef of __i686.
8342 2011-05-03  Chris Demetriou  <cgd@google.com>
8344         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8346 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
8348         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8349         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8350         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8351         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8352         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8353         Remove cases.
8355 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
8357         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8358         Adjust copyright year.
8360 2011-03-07  Ian Lance Taylor  <iant@google.com>
8362         * generic-morestack.c (__splitstack_find): Adjust returned stack
8363         pointer to include all registers pushed by __morestack.
8365 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
8367         PR target/40125
8368         * configure.ac: Call ACX_NONCANONICAL_TARGET.
8369         (toolexecdir): Calculate and AC_SUBST.
8370         (toolexeclibdir): Likewise.
8371         * Makefile.in (target_noncanonical): Import.
8372         (toolexecdir): Likewise.
8373         (toolexeclibdir): Likewise.
8374         * configure: Regenerate.
8376 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
8378         PR target/46040
8379         * config/arm/bpabi.h: Rename to...
8380         * config/arm/bpabi-lib.h: ...this.
8382 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8384         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8385         appropriate.
8386         * configure: Regenerate.
8388 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8390         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8391         __FLOAT_WORD_ORDER__.
8392         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8393         Delete.
8395 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8397         PR other/46202
8398         * Makefile.in (install-strip): New phony target.
8400 2010-11-07  Ian Lance Taylor  <iant@google.com>
8402         PR target/46089
8403         * config/i386/morestack.S (__morestack_large_model): New
8404         function.
8406 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8408         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8409         Delete.
8410         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8412 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8414         * config/arm/bpabi.h: New file.
8415         * config/frv/frv-abi.h: New file.
8417 2010-10-01  Ian Lance Taylor  <iant@google.com>
8419         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8420         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8422 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8424         PR target/45858
8425         * config.host: Add the missing `$'.
8427 2010-09-30  Michael Eager  <eager@eagercon.com>
8429         * config.host: Add microblaze*-*-*.
8430         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8431         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8432         udivsi3.asm,umodsi3.asm}:  New.
8434 2010-09-28  Ian Lance Taylor  <iant@google.com>
8436         * configure.ac: Adjust CFI test to test assembler directly rather
8437         than checking gcc preprocessor macro.
8438         * configure: Rebuild.
8440 2010-09-27  Ian Lance Taylor  <iant@google.com>
8442         * configure.ac: Test whether assembler supports CFI directives.
8443         * config.host: Only add t-stack and i386/t-stack-i386 to
8444         tmake_file if libgcc_cv_cfi is "yes".
8445         * configure: Rebuild.
8447 2010-09-27  Ian Lance Taylor  <iant@google.com>
8449         * generic-morestack.h: New file.
8450         * generic-morestack.c: New file.
8451         * generic-morestack-thread.c: New file.
8452         * config/i386/morestack.S: New file.
8453         * config/t-stack: New file.
8454         * config/i386/t-stack-i386: New file.
8455         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8456         i386/t-stack-i386 to tmake_file.
8458 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8460         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8461         invoke ranlib after installing them.
8462         (gcc-extra-parts): Likewise.
8463         (install-leaf): Likewise.
8465 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8467         * configure: Regenerated.
8469 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8471         * configure: Regenerated.
8473 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8474             Andrew Pinski  <pinskia@gmail.com>
8476         PR target/40959
8477         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8479 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8481         PR target/45524
8482         * configure: Regenerated.
8484 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8486         * configure: Regenerate.
8488 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8490         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8491         64bit targets.
8492         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8493         for 64bit targets.
8495 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8496             Iain Sandoe  <iains@gcc.gnu.org>
8498         PR target/45476
8499         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8500         LIB2FUNCS_EXCLUDE functions.
8502 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8504         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8505         Include dfp.m4.
8506         * configure: Regenerate.
8508 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8510         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8511         i386/t-freebsd to tmake_file.
8512         * config/i386/t-freebsd: New file.
8513         * config/i386/libgcc-bsd.ver: New file.
8515 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8517         * config.host (powerpc*-eabispe*): Set tmake_file.
8518         (powerpc*-eabi*): Likewise.
8519         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8520         crtbeginS, crtendS, crtbeginT.
8522 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8524         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8525         to tmake_file.  Add crtfastmath.o to extra_parts.
8526         * config/mips/t-crtfm: New.
8528 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8530         * config.host (sparc64-*-rtems*): New target.
8532 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8534         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8535         assembler syntax.
8537 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8539         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8541 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8543         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8544         alpha-dec-osf5.0* support.
8546 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8548         * config.host: Add lm32-*-rtems*.
8550 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8551             Uros Bizjak  <ubizjak@gmail.com>
8553         PR target/39048
8554         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8555         like other remaining 32-bit x86 OSes.
8556         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8557         assembler syntax.
8558         * config/i386/libgcc-sol2.ver: New file.
8559         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8561 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8563         PR c/43553
8564         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8565         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8566         is used and substitute set_use_emutls.
8567         * configure: Regenerated.
8569 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8571         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8573 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8575         PR target/38085
8576         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8577         MULTILIB_CFLAGS.
8578         ($(T)gcrt1.o): Likewise.
8579         ($(T)crt1.o): Likewise.
8580         ($(T)crti.o): Likewise.
8581         ($(T)crtn.o): Likewise.
8583 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8585         PR other/42980
8586         * Makefile.in (install): Use $(MAKE) string in rule, for
8587         parallel make.
8589 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8591         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8592         * config/mmix/t-mmix: New file.
8593         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8595 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8597         PR java/41991
8598         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8599         SHLIB_MAPFILES.
8601 2010-01-04  Anthony Green  <green@moxielogic.com>
8603         * config/moxie/crti.asm, config/moxie/crtn.asm,
8604         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8605         config/moxie/t-moxie: New files.
8606         * config.host: Add t-moxie-softfp reference.
8608 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8610         PR other/39888
8611         * config/t-slibgcc-darwin: Fix embedded rpaths for
8612         --enable-version-specific-runtime-libs, build extension stub
8613         libs exposing features available from current libgcc_s.
8615 2009-11-11  Jon Beniston  <jon@beniston.com>
8617         * config.host: Add lm32 targets.
8618         * config/lm32: New directory.
8619         * config/lm32/libgcc_lm32.h: New file.
8620         * config/lm32/_mulsi3.c: New file.
8621         * config/lm32/_udivmodsi4.c: New file.
8622         * config/lm32/_divsi3.c: New file.
8623         * config/lm32/_modsi3.c: New file.
8624         * config/lm32/_udivsi3.c: New file.
8625         * config/lm32/_umodsi3.c: New file.
8626         * config/lm32/_lshrsi3.S: New file.
8627         * config/lm32/_ashrsi3.S: New file.
8628         * config/lm32/_ashlsi3.S: New file.
8629         * config/lm32/crti.S: New file.
8630         * config/lm32/crtn.S: New file.
8631         * config/lm32/t-lm32: New file.
8632         * config/lm32/t-elf: New file.
8633         * config/lm32/t-uclinux: New file.
8635 2009-10-26  Nick Clifton  <nickc@redhat.com>
8637         * config.host: Add support for RX target.
8638         * config/rx: New directory.
8639         * config/rx/rx-abi-functions.c: New file. Supplementary
8640         functions for libgcc to support the RX ABI.
8641         * config/rx/rx-abi.h: New file.  Supplementary header file for
8642         libgcc RX ABI functions.
8643         * config/rx/t-rx: New file: Makefile fragment for building
8644         libgcc for the RX.
8646 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8648         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8649         constraint of y0 to "g".
8651 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8653         * config.host: Include the s390 makefile fragments.
8654         * config/s390/32/_fixdfdi.c: New file.
8655         * config/s390/32/_fixsfdi.c: New file.
8656         * config/s390/32/_fixtfdi.c: New file.
8657         * config/s390/32/_fixunsdfdi.c: New file.
8658         * config/s390/32/_fixunssfdi.c: New file.
8659         * config/s390/32/_fixunstfdi.c: New file.
8660         * config/s390/32/t-floattodi: New file.
8661         * config/s390/libgcc-glibc.ver: New file.
8662         * config/s390/t-crtstuff: New file.
8663         * config/s390/t-linux: New file.
8664         * config/s390/t-tpf: New file.
8666 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8668         * configure.ac (AC_PREREQ): Bump to 2.64.
8670 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8672         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8674 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8676         * configure: Regenerate.
8678 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8680         * config.host (ia64-hp-*vms*): New target.
8681         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8682         with ia64-hp-*vms*.
8684 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8686         * configure.ac: Add snippet for maintainer-mode.
8687         * configure: Regenerate.
8688         * Makefile.in (AUTOCONF, configure_deps): New variables.
8689         ($(srcdir)/configure)): New rule, active only with maintainer
8690         mode turned on.
8692 2009-06-23  DJ Delorie  <dj@redhat.com>
8694         Add MeP port.
8695         * config.host: Add mep support.
8697 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8699         * config.host: Add i386/${host_address}/t-fprules-softfp and
8700         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8702         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8703         for mingw targets.
8704         * config/i386/64/_multc3.c: Likewise.
8705         * config/i386/64/_powitf2.c: Likewise.
8706         * config/i386/64/eqtf2.c: Likewise.
8707         * config/i386/64/getf2.c: Likewise.
8708         * config/i386/64/letf2.c: Likewise.
8709         * config/i386/64/letf2.c: Likewise.
8710         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8711         unsigned long long for x64 mingw targets.
8712         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8713         (_FP_I_TYPE): Define as long long for x64 mingw target.
8715 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8717         * config.host (vax-*-linux*): New.
8719 2009-05-31  Anthony Green  <green@moxielogic.com>
8721         * config.host: Add moxie support.
8722         * config/moxie/t-moxie: New file.
8724 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8726         * config.host: Add i386/${host_address}/t-fprules-softfp and
8727         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8729 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8731         * config.host: Add i386/${host_address}/t-fprules-softfp to
8732         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8734 2009-04-09  Nick Clifton  <nickc@redhat.com>
8736         * config/ia64/tf-signs.c: Change copyright header to refer to
8737         version 3 of the GNU General Public License with version 3.1
8738         of the GCC Runtime Library Exception and to point readers at
8739         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8740         web page.
8741         * config/i386/32/tf-signs.c: Likewise.
8742         * config/libbid/_addsub_dd.c: Likewise.
8743         * config/libbid/_addsub_sd.c: Likewise.
8744         * config/libbid/_addsub_td.c: Likewise.
8745         * config/libbid/_dd_to_df.c: Likewise.
8746         * config/libbid/_dd_to_di.c: Likewise.
8747         * config/libbid/_dd_to_sd.c: Likewise.
8748         * config/libbid/_dd_to_sf.c: Likewise.
8749         * config/libbid/_dd_to_si.c: Likewise.
8750         * config/libbid/_dd_to_td.c: Likewise.
8751         * config/libbid/_dd_to_tf.c: Likewise.
8752         * config/libbid/_dd_to_udi.c: Likewise.
8753         * config/libbid/_dd_to_usi.c: Likewise.
8754         * config/libbid/_dd_to_xf.c: Likewise.
8755         * config/libbid/_df_to_dd.c: Likewise.
8756         * config/libbid/_df_to_sd.c: Likewise.
8757         * config/libbid/_df_to_td.c: Likewise.
8758         * config/libbid/_di_to_dd.c: Likewise.
8759         * config/libbid/_di_to_sd.c: Likewise.
8760         * config/libbid/_di_to_td.c: Likewise.
8761         * config/libbid/_div_dd.c: Likewise.
8762         * config/libbid/_div_sd.c: Likewise.
8763         * config/libbid/_div_td.c: Likewise.
8764         * config/libbid/_eq_dd.c: Likewise.
8765         * config/libbid/_eq_sd.c: Likewise.
8766         * config/libbid/_eq_td.c: Likewise.
8767         * config/libbid/_ge_dd.c: Likewise.
8768         * config/libbid/_ge_sd.c: Likewise.
8769         * config/libbid/_ge_td.c: Likewise.
8770         * config/libbid/_gt_dd.c: Likewise.
8771         * config/libbid/_gt_sd.c: Likewise.
8772         * config/libbid/_gt_td.c: Likewise.
8773         * config/libbid/_isinfd128.c: Likewise.
8774         * config/libbid/_isinfd32.c: Likewise.
8775         * config/libbid/_isinfd64.c: Likewise.
8776         * config/libbid/_le_dd.c: Likewise.
8777         * config/libbid/_le_sd.c: Likewise.
8778         * config/libbid/_le_td.c: Likewise.
8779         * config/libbid/_lt_dd.c: Likewise.
8780         * config/libbid/_lt_sd.c: Likewise.
8781         * config/libbid/_lt_td.c: Likewise.
8782         * config/libbid/_mul_dd.c: Likewise.
8783         * config/libbid/_mul_sd.c: Likewise.
8784         * config/libbid/_mul_td.c: Likewise.
8785         * config/libbid/_ne_dd.c: Likewise.
8786         * config/libbid/_ne_sd.c: Likewise.
8787         * config/libbid/_ne_td.c: Likewise.
8788         * config/libbid/_sd_to_dd.c: Likewise.
8789         * config/libbid/_sd_to_df.c: Likewise.
8790         * config/libbid/_sd_to_di.c: Likewise.
8791         * config/libbid/_sd_to_sf.c: Likewise.
8792         * config/libbid/_sd_to_si.c: Likewise.
8793         * config/libbid/_sd_to_td.c: Likewise.
8794         * config/libbid/_sd_to_tf.c: Likewise.
8795         * config/libbid/_sd_to_udi.c: Likewise.
8796         * config/libbid/_sd_to_usi.c: Likewise.
8797         * config/libbid/_sd_to_xf.c: Likewise.
8798         * config/libbid/_sf_to_dd.c: Likewise.
8799         * config/libbid/_sf_to_sd.c: Likewise.
8800         * config/libbid/_sf_to_td.c: Likewise.
8801         * config/libbid/_si_to_dd.c: Likewise.
8802         * config/libbid/_si_to_sd.c: Likewise.
8803         * config/libbid/_si_to_td.c: Likewise.
8804         * config/libbid/_td_to_dd.c: Likewise.
8805         * config/libbid/_td_to_df.c: Likewise.
8806         * config/libbid/_td_to_di.c: Likewise.
8807         * config/libbid/_td_to_sd.c: Likewise.
8808         * config/libbid/_td_to_sf.c: Likewise.
8809         * config/libbid/_td_to_si.c: Likewise.
8810         * config/libbid/_td_to_tf.c: Likewise.
8811         * config/libbid/_td_to_udi.c: Likewise.
8812         * config/libbid/_td_to_usi.c: Likewise.
8813         * config/libbid/_td_to_xf.c: Likewise.
8814         * config/libbid/_tf_to_dd.c: Likewise.
8815         * config/libbid/_tf_to_sd.c: Likewise.
8816         * config/libbid/_tf_to_td.c: Likewise.
8817         * config/libbid/_udi_to_dd.c: Likewise.
8818         * config/libbid/_udi_to_sd.c: Likewise.
8819         * config/libbid/_udi_to_td.c: Likewise.
8820         * config/libbid/_unord_dd.c: Likewise.
8821         * config/libbid/_unord_sd.c: Likewise.
8822         * config/libbid/_unord_td.c: Likewise.
8823         * config/libbid/_usi_to_dd.c: Likewise.
8824         * config/libbid/_usi_to_sd.c: Likewise.
8825         * config/libbid/_usi_to_td.c: Likewise.
8826         * config/libbid/_xf_to_dd.c: Likewise.
8827         * config/libbid/_xf_to_sd.c: Likewise.
8828         * config/libbid/_xf_to_td.c: Likewise.
8829         * config/libbid/bid128.c: Likewise.
8830         * config/libbid/bid128_2_str.h: Likewise.
8831         * config/libbid/bid128_2_str_macros.h: Likewise.
8832         * config/libbid/bid128_2_str_tables.c: Likewise.
8833         * config/libbid/bid128_add.c: Likewise.
8834         * config/libbid/bid128_compare.c: Likewise.
8835         * config/libbid/bid128_div.c: Likewise.
8836         * config/libbid/bid128_fma.c: Likewise.
8837         * config/libbid/bid128_logb.c: Likewise.
8838         * config/libbid/bid128_minmax.c: Likewise.
8839         * config/libbid/bid128_mul.c: Likewise.
8840         * config/libbid/bid128_next.c: Likewise.
8841         * config/libbid/bid128_noncomp.c: Likewise.
8842         * config/libbid/bid128_quantize.c: Likewise.
8843         * config/libbid/bid128_rem.c: Likewise.
8844         * config/libbid/bid128_round_integral.c: Likewise.
8845         * config/libbid/bid128_scalb.c: Likewise.
8846         * config/libbid/bid128_sqrt.c: Likewise.
8847         * config/libbid/bid128_string.c: Likewise.
8848         * config/libbid/bid128_to_int16.c: Likewise.
8849         * config/libbid/bid128_to_int32.c: Likewise.
8850         * config/libbid/bid128_to_int64.c: Likewise.
8851         * config/libbid/bid128_to_int8.c: Likewise.
8852         * config/libbid/bid128_to_uint16.c: Likewise.
8853         * config/libbid/bid128_to_uint32.c: Likewise.
8854         * config/libbid/bid128_to_uint64.c: Likewise.
8855         * config/libbid/bid128_to_uint8.c: Likewise.
8856         * config/libbid/bid32_to_bid128.c: Likewise.
8857         * config/libbid/bid32_to_bid64.c: Likewise.
8858         * config/libbid/bid64_add.c: Likewise.
8859         * config/libbid/bid64_compare.c: Likewise.
8860         * config/libbid/bid64_div.c: Likewise.
8861         * config/libbid/bid64_fma.c: Likewise.
8862         * config/libbid/bid64_logb.c: Likewise.
8863         * config/libbid/bid64_minmax.c: Likewise.
8864         * config/libbid/bid64_mul.c: Likewise.
8865         * config/libbid/bid64_next.c: Likewise.
8866         * config/libbid/bid64_noncomp.c: Likewise.
8867         * config/libbid/bid64_quantize.c: Likewise.
8868         * config/libbid/bid64_rem.c: Likewise.
8869         * config/libbid/bid64_round_integral.c: Likewise.
8870         * config/libbid/bid64_scalb.c: Likewise.
8871         * config/libbid/bid64_sqrt.c: Likewise.
8872         * config/libbid/bid64_string.c: Likewise.
8873         * config/libbid/bid64_to_bid128.c: Likewise.
8874         * config/libbid/bid64_to_int16.c: Likewise.
8875         * config/libbid/bid64_to_int32.c: Likewise.
8876         * config/libbid/bid64_to_int64.c: Likewise.
8877         * config/libbid/bid64_to_int8.c: Likewise.
8878         * config/libbid/bid64_to_uint16.c: Likewise.
8879         * config/libbid/bid64_to_uint32.c: Likewise.
8880         * config/libbid/bid64_to_uint64.c: Likewise.
8881         * config/libbid/bid64_to_uint8.c: Likewise.
8882         * config/libbid/bid_b2d.h: Likewise.
8883         * config/libbid/bid_binarydecimal.c: Likewise.
8884         * config/libbid/bid_conf.h: Likewise.
8885         * config/libbid/bid_convert_data.c: Likewise.
8886         * config/libbid/bid_decimal_data.c: Likewise.
8887         * config/libbid/bid_decimal_globals.c: Likewise.
8888         * config/libbid/bid_div_macros.h: Likewise.
8889         * config/libbid/bid_dpd.c: Likewise.
8890         * config/libbid/bid_flag_operations.c: Likewise.
8891         * config/libbid/bid_from_int.c: Likewise.
8892         * config/libbid/bid_functions.h: Likewise.
8893         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8894         * config/libbid/bid_inline_add.h: Likewise.
8895         * config/libbid/bid_internal.h: Likewise.
8896         * config/libbid/bid_round.c: Likewise.
8897         * config/libbid/bid_sqrt_macros.h: Likewise.
8899 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8901         * Makefile.in: Change copyright header to refer to version
8902         3 of the GNU General Public License and to point readers at the
8903         COPYING3 file and the FSF's license web page.
8904         * config.host: Likewise.
8906 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8908         * config.host: Reorder and merge to match config.gcc change.
8910 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8912         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8914 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8916         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8917         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8918         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8919         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8921 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8923         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8924         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8926 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8928         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8929         ia64/t-softfp-compat to tmake_file.
8931         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8933         * config/ia64/__divxf3.asm: New.
8934         * config/ia64/_fixtfdi.asm: Likewise.
8935         * config/ia64/_fixunstfdi.asm: Likewise.
8936         * config/ia64/_floatditf.asm: Likewise.
8937         * config/ia64/t-fprules-softfp: Likewise.
8938         * config/ia64/t-softfp-compat: Likewise.
8939         * config/ia64/tf-signs.c: Likewise.
8941 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8943         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8945 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8947         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8948         to tmake_file.
8950 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8952         * config/t-softfp: New file.
8953         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8954         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8956 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8958         * config.host: Add m32r*-*-rtems*.
8960 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8962         * config.host: Add m32c*-*-rtems*.
8964 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8966         PR bootstrap/33100
8967         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8968         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8969         * configure: Regenerate.
8970         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8971         tmake_file here from gcc/config.gcc.
8972         Move extra_parts here from gcc/config.gcc.
8973         * config/i386/t-sol2: Move here from gcc/config/i386.
8974         Use gcc_srcdir instead of srcdir.
8976 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8978         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8979         case.
8981 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8983         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8985 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
8987         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8989 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
8991         Add picoChip port.
8992         * config.host: Add picochip-*-*.
8994 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
8996         * config.host: Match more processor names for Xtensa.
8998 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9000         * config/i386/64/t-softfp-compat: Update comments.
9002 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9004         * config/i386/64/_divtc3-compat.c: Moved to ...
9005         * config/i386/64/_divtc3.c: Here.
9007         * config/i386/64/_multc3-compat.c: Moved to ...
9008         * config/i386/64/_multc3.c: Here.
9010         * config/i386/64/_powitf2-compat.c: Moved to ...
9011         * config/i386/64/_powitf2.c: Here.
9013         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9014         .c suffix instead of -compat.c.
9016 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9018         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9019         (_FP_MUL_MEAT_D): Ditto.
9020         (_FP_DIV_MEAT_S): Ditto.
9021         (_FP_DIV_MEAT_D): Ditto.
9023 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9025         * Makefile.in: Add support for __sync_* libgcc functions.
9027 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9029         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9031 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9033         PR boostrap/36702
9034         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9035         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9037         * config/i386/64/t-fprules-softfp: Moved to ...
9038         * config/i386/64/t-softfp-compat: This.  New.
9040 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9042         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9043         Initialize f with 0.0.
9045 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9047         PR target/36669
9048         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9050         * config/i386/64/_divtc3-compat.c: New.
9051         * config/i386/64/_multc3-compat.c: Likewise.
9052         * config/i386/64/_powitf2-compat.c: Likewise.
9053         * config/i386/64/eqtf2.c: Likewise.
9054         * config/i386/64/getf2.c: Likewise.
9055         * config/i386/64/letf2.c: Likewise.
9056         * config/i386/64/t-fprules-softfp: Likewise.
9058 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9060         * config.host: Add i386/${host_address}/t-fprules-softfp to
9061         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9062         i[34567]86-*-linux*, x86_64-*-linux*.
9064         * configure.ac: Set host_address to 64 or 32 for x86.
9065         * configure: Regenerated.
9067         * Makefile.in (config.status): Also depend on
9068         $(srcdir)/config.host.
9070         * config/i386/32/t-fprules-softfp: New.
9071         * config/i386/32/tf-signs.c: Likewise.
9073         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9075 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9076             Uros Bizjak  <ubizjak@gmail.com>
9078         * config/i386/32/sfp-machine.h: New.
9080 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9082         * config/rs6000/t-ppccomm: Remove rules that conflict with
9083         auto-generated rules.
9085 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9087         * configure.ac: sinclude override.m4.
9088         * configure: Regenerate.
9090 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9092         * configure: Regenerate.
9094 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9096         * Makefile.in (DECNUMINC): Remove
9097         -I$(MULTIBUILDTOP)../../libdecnumber.
9098         * gstdint.h: New.
9100 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9102         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9103         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9104         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9105         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9106         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9107         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9108         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9109         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9110         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9111         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9112         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9113         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9114         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9115         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9117 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9119         * config.host (sh2[lbe]*-*-linux*): Allow target.
9121 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9123         * config/rs6000/t-ppccomm: Add build rules for new files.
9124         (LIB2ADD_ST): New variable.
9126 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9128         PR target/34210
9129         PR target/35508
9130         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9131         * config/t-avr: New file. Build 16bit libgcc functions.
9133 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
9135         PR target/35401
9136         * config/t-slibgcc-darwin: Make install-leaf dependent on
9137         install-darwin-libgcc-stubs instead of install.
9139 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9141         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9142         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9143         sh-*-rtemscoff*): Remove cases.
9145 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
9147         * Makefile.in (all): Use install-leaf rather than install.
9148         (install): Split most of the rule into...
9149         (install-leaf): ...this new one.
9151 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
9152             Paolo Bonzini  <bonzini@gnu.org>
9154         PR target/30572
9155         * Makefile.in: Use @shlib_slibdir@ substitution to get
9156         correct install name on darwin.
9157         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9159 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
9161         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9162         cris-*-elf and cris-*-none.
9163         (crisv32-*-linux*): Similar, as cris-*-linux*.
9165 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
9167         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9169 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
9171         PR regression/33926
9172         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9173         * configure: Regenerated.
9175 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9177         * Makefile.in (dfp-filenames): Replace decimal_globals,
9178         decimal_data, binarydecimal and convert_data with
9179         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9180         and bid_convert_data, respectively.
9182 2007-09-17  Chao-ying Fu  <fu@mips.com>
9183             Nigel Stephens  <nigel@mips.com>
9185         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9186         * Makefile.in (fixed_point): Define.
9187         Check if fixed_point is yes to build support functions.
9188         * configure.ac: Check for fixed_point support.
9189         * configure: Regenerated.
9190         * gen-fixed.sh: New file to generate lists of fixed-point labels,
9191         funcs, modes, from, to.
9193 2007-09-11  Janis Johnson  <janis187@us.ibm.com
9195         * Makefile.in (dfp-filenames): Add bid128_noncomp.
9197 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
9199         * Makefile.in (dfp-filenames): Remove decUtility, add
9200         decDouble, decPacked, decQuad, decSingle.
9202 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
9204         * config.host : Add x86_64-elf target.
9206 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9208         * configure.ac (set_have_cc_tls): Add a missing =.
9209         * configure: Regenerated.
9211 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9213         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9214         and x86_64-*-linux*.
9216         * config/t-tls: New file.
9218         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9220         * configure.ac: Include ../config/enable.m4 and
9221         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
9222         supports TLS and substitute set_have_cc_tls.
9223         * configure: Regenerated.
9225 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9227         * Makefile.in: Use libbid for DFP when BID is enabled.
9229 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
9231         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9232         extra_parts. Add config/i386/t-cygming to tmake_file.
9233         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9235 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
9236             Danny Smith  <dannysmith@users.sourceforge.net>
9238         PR target/29498
9239         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9240         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
9241         * config/i386/t-crtfm: Compile crtfastmath.o with
9242         -minline-all-stringops.
9244 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
9246         * config.host (sparc-wrs-vxworks): New target.
9248 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
9250         * config.host: Recognize fido.
9252 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
9254         * configure: Check host, not target, for decimal float support.
9256 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
9258         * config/i386/t-crtpc: New file.
9259         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9260         (x86_64-*-linux*): Ditto.
9262 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
9264         * config.host (x86_64-*-mingw*): New target.
9266 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
9267             H.J. Lu  <hongjiu.lu@intel.com>
9269         * Makefile.in (enable_decimal_float): New.
9270         (DECNUMINC): Add
9271         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9272         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9273         (decbits-filenames): This.
9274         (decbits-objects): New.
9275         (libgcc-objects): Add $(decbits-objects).
9277         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9278         Substitute enable_decimal_float.
9279         * configure: Regenerated.
9281 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
9283         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9285 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
9287         * Makefile.in (install-info): New dummy target.
9289 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
9291         * config.host (bfin*-linux-uclibc*): Set extra_parts.
9293 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
9295         * Makefile.in: Add install-html and install-pdf dummy
9296         targets.
9298 2007-02-05  Roger Sayle  <roger@eyesopen.com>
9299             Daniel Jacobowitz  <dan@codesourcery.com>
9301         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9302         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9303         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9305 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
9307         * Makefile.in (dec-filenames): Add decExcept.
9309 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
9311         PR bootstrap/30469
9312         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9313         -fprofile-use.
9315 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
9317         * configure.ac: Add --enable-version-specific-runtime-libs.
9318         Correct $slibdir default.
9319         * configure: Regenerated.
9321 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
9323         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9325 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
9327         PR target/30519
9328         * config.host (alpha*-*-linux*): Set extra_parts.
9330 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
9332         * config/sh/t-linux: New.
9333         * config.host (sh*-*-linux*): Set tmake_file.
9335 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
9337         * Makefile.in (install): Handle multilibs.
9339 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9341         * Makefile.in: Added .PHONY entry for documentation targets.
9343 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9345         * Makefile.in: Add empty info, html, dvi, pdf targets.
9347 2007-01-04  Mike Stump  <mrs@apple.com>
9349         * Makefile.in (MAKEINFO): Remove.
9350         (PERL): Likewise.
9352 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
9354         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9355         * configure: Regenerate.
9356         * Makefile.in (host_subdir): Substitute it.
9357         (gcc_objdir): Use it.
9359 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9361         * config.host (ia64*-*-linux*): Set tmake_file.
9363 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9365         * Makefile.in (version): Define.
9367 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
9368             Paolo Bonzini  <bonzini@gnu.org>
9370         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9371         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9372         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9373         config/sparc/t-crtfm, config/t-slibgcc-darwin,
9374         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9375         shared-object.mk, siditi-object.mk, static-object.mk: New files.
9376         * configure: Generated.
9378 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9380 Copying and distribution of this file, with or without modification,
9381 are permitted in any medium without royalty provided the copyright
9382 notice and this notice are preserved.