fix reassoc cut&pasto
[official-gcc.git] / libgcc / ChangeLog
blob1cfba4c5d59dcff69a7e382acbb3eb303a665c1e
1 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3         * config.host: Add crtbegin.o and crtend.o for
4         powerpc-wrs-vxworks target.
6 2018-08-17  Jojo  <jijie_rong@c-sky.com>
7             Huibin Wang  <huibin_wang@c-sky.com>
8             Sandra Loosemore  <sandra@codesourcery.com>
9             Chung-Lin Tang  <cltang@codesourcery.com>
11         C-SKY port: libgcc
13         * config.host: Add C-SKY support.
14         * config/csky/*: New.
16 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
18         * config/nds32/t-nds32-isr: Rearrange object dependency.
19         * config/nds32/initfini.c: Add dwarf2 unwinding support.
20         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
21         and registers usage.
22         * config/nds32/isr-library/excp_isr.S: Ditto.
23         * config/nds32/isr-library/intr_isr.S: Ditto.
24         * config/nds32/isr-library/reset.S: Ditto.
25         * config/nds32/isr-library/restore_all.inc: Ditto.
26         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
27         * config/nds32/isr-library/restore_partial.inc: Ditto.
28         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
29         * config/nds32/isr-library/save_all.inc: Ditto.
30         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
31         * config/nds32/isr-library/save_partial.inc: Ditto.
32         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
33         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
35 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
37         * config/pa/linux-atomic.c: Update comment.
38         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
39         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
40         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
41         __ATOMIC_RELAXED for atomic loads.
42         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
43         unordered store to release lock.
44         (__sync_lock_release_8): Likewise.
45         (SYNC_LOCK_RELEASE_2): Remove define.
46          
47 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
49         PR libgcc/86512
50         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
51         exponent goes negative. Update my email address.
52         * config/arm/ieee754-sf.S: Likewise.
54 2018-08-01  Martin Liska  <mliska@suse.cz>
56         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
57         check that  __gcov_indirect_call_callee is non-null.
59 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
61         * config/arm/ieee754-df.S: Fix comment for code working on
62         architectures >= 4.
63         * config/arm/ieee754-sf.S: Likewise.
65 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
67         PR libgcc/85334
68         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
69         Removed.
71 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
73         * configure: Regenerated.
75 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
77         * Makefile.in (install_leaf): Use enable_gcov instead of
78         enable_libgcov.
80 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
82         * configure.ac: Add --disable-gcov option.
83         * configure: Regenerate.
84         * Makefile.in: Honour @enable_gcov@.
86 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
88         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
89         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
90         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
91         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
92         __ARM_ARCH__.
93         * config/arm/ieee754-sf.S: Likewise.
94         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
96 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
98         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
99         longer supported.
100         * config/arm/ieee754-sf.S: Likewise.
102 2018-06-20  Than McIntosh  <thanm@google.com>
104         PR libgcc/86213
105         * generic-morestack.c (allocate_segment): Move calls to getenv and
106         getpagesize to __morestack_load_mmap.
107         (__morestack_load_mmap) Initialize static_pagesize and
108         use_guard_page here so as to avoid clobbering SSE regs during a
109         __morestack call.
111 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
113         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
114         support modules with -mno-gnu-attribute.
115         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
117 2018-06-07  Olivier Hainque  <hainque@adacore.com>
119         * config/t-vxworks (LIBGCC_INCLUDES): Add
120         -I$(MULTIBUILDTOP)../../gcc/include.
121         * config/t-vxworks7: Likewise. Reformat a bit to match
122         the t-vxworks layout.
124 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
126         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
128 2018-06-07  Martin Liska  <mliska@suse.cz>
130         * libgcov-driver.c: Rename cs_all to all and assign it from
131         all_prg.
133 2018-06-07  Martin Liska  <mliska@suse.cz>
135         PR bootstrap/86057
136         * libgcov-driver-system.c (replace_filename_variables): Use
137         memcpy instead of mempcpy.
138         (allocate_filename_struct): Do not allocate filename, allocate
139         prefix and set it.
140         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
141         here and properly copy content into it.
142         * libgcov-driver.c (struct gcov_filename): Remove max_length
143         field, change prefix from size_t into char *.
144         (compute_summary): Do not calculate longest filename.
145         (gcov_do_dump): Release memory of gf.filename after each file.
146         * libgcov-util.c (compute_summary): Use new signature of
147         compute_summary.
148         (calculate_overlap): Likewise.
150 2018-06-05  Martin Liska  <mliska@suse.cz>
152         PR gcov-profile/47618
153         * libgcov-driver-system.c (replace_filename_variables): New
154         function.
155         (gcov_exit_open_gcda_file): Use it.
157 2018-06-05  Martin Liska  <mliska@suse.cz>
159         * libgcov-driver.c (gcov_compute_histogram): Remove usage
160         of gcov_ctr_summary.
161         (compute_summary): Do it just for a single summary.
162         (merge_one_data): Likewise.
163         (merge_summary): Simplify as we read just single summary.
164         (dump_one_gcov): Pass proper argument.
165         * libgcov-util.c (compute_one_gcov): Simplify as we have just
166         single summary.
167         (gcov_info_count_all_cold): Likewise.
168         (calculate_overlap): Likewise.
170 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
171             Monk Chiang  <sh.chiang04@gmail.com>
173         * config.host (nds32*-linux*): New.
174         * config/nds32/linux-atomic.c: New file.
175         * config/nds32/linux-unwind.h: New file.
177 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
179         PR target/85591
180         * config/i386/cpuinfo.c (get_amd_cpu): Return
181         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
183 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
185         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
187 2018-05-29  Martin Liska  <mliska@suse.cz>
189         PR gcov-profile/85759
190         * libgcov-driver-system.c (gcov_error): Introduce usage of
191         GCOV_EXIT_AT_ERROR env. variable.
192         * libgcov-driver.c (merge_one_data): Print error that we
193         overwrite a gcov file with a different timestamp.
195 2018-05-23  Kalamatee  <kalamatee@gmail.com>
197         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
198         path to Lf$finfty.
200 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
201             Monk Chiang  <sh.chiang04@gmail.com>
202             Jim Wilson <jimw@sifive.com>
204         * config/riscv/save-restore.S: Add support for rv32e.
206 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
208         * config/arm/libunwind.S: Update comment relating to armv5.
210 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
212         * config/arm/cmse.c (cmse_check_address_range): Replace
213         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
215 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
217         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
218         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
220 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
222         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
223         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
225 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
227         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
229 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
230             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
232         PR libgcc/84292
233         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
234         op_and_fetch to return the right result.
236 2018-04-27  Alan Modra  <amodra@gmail.com>
238         PR libgcc/85532
239         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
240         -fno-asynchronous-unwind-tables.
242 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
244         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
245         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
247 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
249         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
250         when including "config/i386/shadow-stack-unwind.h".
252 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
254         * configure: Regenerated.
256 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
258         PR target/85456
259         * config/rs6000/_powikf2.c: New file.  Add support for the
260         __builtin_powil function when long double is IEEE 128-bit floating
261         point.
262         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
263         __powikf2 support.
264         (__powikf2): Likewise.
265         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
266         (__powikf2_hw): Likewise.
267         (__powikf2): Likewise.
268         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
269         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
270         (_powikf2-hw.c): Likewise.
272 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
274         PR libgcc/85334
275         * unwind-generic.h (_Unwind_Frames_Increment): New.
276         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
277         Likewise.
278         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
279         count with _Unwind_Frames_Increment.
280         (_Unwind_ForcedUnwind_Phase2): Likewise.
282 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
284         PR libgcc/85379
285         * config/i386/morestack.S (__stack_split_initialize): Add
286         _CET_ENDBR.
288 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
290         * configure: Regenerated.
292 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
294         PR jit/85384
295         * configure: Regenerate.
297 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
299         PR target/84945
300         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
301         -Wdangling-else warnings.  Mask shift counts to avoid
302         -Wshift-count-negative and -Wshift-count-overflow false positives.
304 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
306         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
308 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
310         PR target/85100
311         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
312         (XSTATE_FP): Likewise.
313         (XSTATE_SSE): Likewise.
314         (XSTATE_YMM): Likewise.
315         (XSTATE_OPMASK): Likewise.
316         (XSTATE_ZMM): Likewise.
317         (XSTATE_HI_ZMM): Likewise.
318         (XCR_AVX_ENABLED_MASK): Likewise.
319         (XCR_AVX512F_ENABLED_MASK): Likewise.
320         (get_available_features): Enable AVX and AVX512 features only
321         if their states are supported by OSXSAVE.
323 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
325         PR target/85025
326         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
327         Fix a typo, tmp => 255.
329 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
331         PR target/84945
332         * config/i386/cpuinfo.h (__cpu_features2): Declare.
333         * config/i386/cpuinfo.c (__cpu_features2): New variable for
334         ifndef SHARED only.
335         (set_feature): Define.
336         (get_available_features): Use set_feature macro.  Set __cpu_features2
337         to the second word of features ifndef SHARED.
339 2018-03-15  Julia Koval  <julia.koval@intel.com>
341         * config/i386/cpuinfo.c (get_available_features): Add
342         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
343         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
344         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
345         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
346         FEATURE_AVX512BITALG.
348 2018-03-14  Julia Koval  <julia.koval@intel.com>
350         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
351         icelake client and icelake server.
353 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
355         * config/pa/fptr.c (_dl_read_access_allowed): New.
356         (__canonicalize_funcptr_for_compare): Use it.
357         
358 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
360         PR debug/83917
361         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
362         $asm_hidden_op if visibility ("hidden") attribute works.
363         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
364         * config/i386/i386-asm.h: Don't include auto-host.h.
365         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
366         PACKAGE_URL): Don't undefine.
367         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
368         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
369         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
370         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
371         definition instead of hardcoded .hidden.
372         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
373         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
374         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
375         (USE_GAS_CFI_DIRECTIVES): Don't define.
376         * configure: Regenerated.
377         * config.in: Likewise.
379 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
381         PR debug/83917
382         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
383         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
384         inclusion of auto-target.h and auto-host.h.
385         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
386         __GCC_HAVE_DWARF2_CFI_ASM.
387         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
388         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
389         cfi_pop): Define.
390         * config/i386/cygwin.S: Don't include auto-host.h here, just
391         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
392         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
393         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
394         * config/i386/resms64fx.h: Add cfi_* directives.
395         * config/i386/resms64x.h: Likewise.
397 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
399         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
400         .literal_position directive.
401         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
403 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
405         PR target/84148
406         * configure: Regenerate.
408 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
410         PR target/84239
411         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
412         Include cetintrin.h not x86intrin.h.
414 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
416         PR target/84239
417         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
418         Use new _get_ssp and _inc_ssp intrinsics.
420 2018-02-02  Julia Koval  <julia.koval@intel.com>
422         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
424 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
426         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
427         option.
428         (__divsi3): Use RF16 safe registers.
429         (__modsi3): Likewise.
431 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
433         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
434         (__divsf3): Make NaN return value quiet.
435         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
436         (__divdf3): Make NaN return value quiet.
438 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
440         * config/rl78/anddi3.S: New assembly file.
441         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
443 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
445         * config/rl78/umindi3.S: New assembly file.
446         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
448 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
450         * config/rl78/smindi3.S: New assembly file.
451         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
453 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
455         * config/rl78/smaxdi3.S: New assembly file.
456         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
458 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
460         * config/rl78/umaxdi3.S: New assembly file.
461         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
462         
463 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
465         PR lto/83452
466         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
467         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
468         
469 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
471         * config/aarch64/value-unwind.h (aarch64_vg): New function.
472         (DWARF_LAZY_REGISTER_VALUE): Define.
473         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
474         to provide a fallback register value.
476 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
478         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
479         __ibm128, instead of trying to use long double.
480         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
481         accomidate -mabi=ieeelongdouble multilibs.
482         (CVT_IBM128_TO_FLOAT128): Likewise.
483         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
484         the appropriate IBM extended double type.
485         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
486         (__gcc_qsub): Likewise.
487         (__gcc_qmul): Likewise.
488         (__gcc_qdiv): Likewise.
489         (pack_ldouble): Likewise.
490         (__gcc_qneg): Likewise.
491         (__gcc_qeq): Likewise.
492         (__gcc_qne): Likewise.
493         (__gcc_qge): Likewise.
494         (__gcc_qle): Likewise.
495         (__gcc_stoq): Likewise.
496         (__gcc_dtoq): Likewise.
497         (__gcc_itoq): Likewise.
498         (__gcc_utoq): Likewise.
499         (__gcc_qunord): Likewise.
500         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
501         quad-float128.h for the definitions.
502         (COPYSIGN): Use the f128 version instead of the q version.
503         (INFINITY): Likewise.
504         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
505         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
506         quad-float128.h for the definitions.
507         (COPYSIGN): Use the f128 version instead of the q version.
508         (INFINITY): Likewise.
509         (FABS): Likewise.
510         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
511         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
512         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
514 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
516         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
517         configuration.
519 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
521         Update copyright years.
523 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
525         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
526         * config/riscv/multi3.c: New file.
527         * config/riscv/multi3.S: Remove.
529 2017-12-08  Jim Wilson  <jimw@sifive.com>
531         * config/riscv/div.S: Use FUNC_* macros.
532         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
533         * config/riscv/save-restore.S: Likewise.
534         * config/riscv/riscv-asm.h: New.
536 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
538         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
539         * config/rs6000/_divkc3.c (__divkc3): Likewise.
541         PR libgcc/83112
542         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
543         correct type for all ifunc resolvers to silence -Wattribute-alias
544         warnings.  Eliminate the forward declaration of the resolver
545         functions which is no longer needed.
546         (__subkf3_resolve): Likewise.
547         (__mulkf3_resolve): Likewise.
548         (__divkf3_resolve): Likewise.
549         (__negkf2_resolve): Likewise.
550         (__eqkf2_resolve): Likewise.
551         (__nekf2_resolve): Likewise.
552         (__gekf2_resolve): Likewise.
553         (__gtkf2_resolve): Likewise.
554         (__lekf2_resolve): Likewise.
555         (__ltkf2_resolve): Likewise.
556         (__unordkf2_resolve): Likewise.
557         (__extendsfkf2_resolve): Likewise.
558         (__extenddfkf2_resolve): Likewise.
559         (__trunckfsf2_resolve): Likewise.
560         (__trunckfdf2_resolve): Likewise.
561         (__fixkfsi_resolve): Likewise.
562         (__fixkfdi_resolve): Likewise.
563         (__fixunskfsi_resolve): Likewise.
564         (__fixunskfdi_resolve): Likewise.
565         (__floatsikf_resolve): Likewise.
566         (__floatdikf_resolve): Likewise.
567         (__floatunsikf_resolve): Likewise.
568         (__floatundikf_resolve): Likewise.
569         (__extendkftf2_resolve): Likewise.
570         (__trunctfkf2_resolve): Likewise.
572         PR libgcc/83103
573         * config/rs6000/quad-float128.h (TF): Don't define if long double
574         is IEEE 128-bit floating point.
575         (TCtype): Define as either TCmode or KCmode, depending on whether
576         long double is IEEE 128-bit floating point.
577         (__mulkc3_sw): Add declarations for software/hardware versions of
578         complex multiply/divide.
579         (__divkc3_sw): Likewise.
580         (__mulkc3_hw): Likewise.
581         (__divkc3_hw): Likewise.
582         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
583         handlers to switch between using software emulation and hardware
584         float128 instructions, build the complex multiply/divide functions
585         for both software and hardware support.
586         * config/rs6000/_divkc3.c (_divkc3): Likewise.
587         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
588         (__divkc3_resolve): Likewise.
589         (__mulkc3): Likewise.
590         (__divkc3): Likewise.
591         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
592         (fp128_hw_src): Likewise.
593         (fp128_hw_static_obj): Likewise.
594         (fp128_hw_shared_obj): Likewise.
595         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
596         _mulkc3.c and _divkc3.c, changing the function name.
597         (_divkc3-hw.c): Likewise.
598         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
599         and _divkc3-hw.c.
601 2017-11-26  Julia Koval  <julia.koval@intel.com>
603         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
604         * config/i386/cpuinfo.h (processor_subtypes): Add
605         INTEL_COREI7_CANNONLAKE.
607 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
609         PR bootstrap/83015
610         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
611         parameter.
612         * config/xtensa/unwind-dw2-xtensa.c: Likewise
613         * config/ia64/unwind-ia64.c: Add frames parameter.
614         * unwind-sjlj.c: Likewise.
616 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
618         * config/i386/linux-unwind.h: Include
619         config/i386/shadow-stack-unwind.h.
620         * config/i386/shadow-stack-unwind.h: New file.
621         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
622         pass it to _Unwind_Frames_Extra.
623         * unwind-generic.h (_Unwind_Frames_Extra): New.
624         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
625         parameter. Add local variable frames to count number of frames.
626         (_Unwind_ForcedUnwind_Phase2): Likewise.
627         (_Unwind_RaiseException): Add local variable frames to count
628         number of frames, pass it to _Unwind_RaiseException_Phase2 and
629         uw_install_context.
630         (_Unwind_ForcedUnwind): Likewise.
631         (_Unwind_Resume): Likewise.
632         (_Unwind_Resume_or_Rethrow): Likewise.
634 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
636         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
637         (CET_FLAGS): New.
638         * config/i386/morestack.S: Include <cet.h>.
639         (__morestack_large_model): Add _CET_ENDBR at function entrance.
640         * config/i386/resms64.h: Include <cet.h>.
641         * config/i386/resms64f.h: Likewise.
642         * config/i386/resms64fx.h: Likewise.
643         * config/i386/resms64x.h: Likewise.
644         * config/i386/savms64.h: Likewise.
645         * config/i386/savms64f.h: Likewise.
646         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
647         (CRTSTUFF_T_CFLAGS): Likewise.
648         * configure.ac: Include ../config/cet.m4.
649         Set and substitute CET_FLAGS.
650         * configure: Regenerated.
652 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
654         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
655         renaming.
656         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
657         * configure.ac (libgcc_cv_solaris_crts): Likewise.
658         * configure: Regenerate.
660 2017-11-07  Tom de Vries  <tom@codesourcery.com>
662         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
663         after "do {} while (0)".
665 2017-11-07  Tom de Vries  <tom@codesourcery.com>
667         PR other/82784
668         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
669         semicolon after "do {} while (0)".
670         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
671         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
672         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
673         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
675 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
677         PR libgcc/82635
678         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
679         sysctl to determine whether we're in a trampoline.
680         Keep the pattern matching method for systems without
681         KERN_PROC_SIGTRAMP sysctl.
683 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
684             Vineet Gupta <vgupta@synopsys.com>
686         * config.host (arc*-*-linux*): Set md_unwind_header variable.
687         * config/arc/linux-unwind-reg.def: New file.
688         * config/arc/linux-unwind-reg.h: Likewise.
690 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
692         * config/rl78/subdi3.S: New assembly file.
693         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
695 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
697         * config/rl78/adddi3.S: New assembly file.
698         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
700 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
702         PR target/82274
703         * libgcc2.c (__mulvDI3): If both operands have
704         the same highpart of -1 and the topmost bit of lowpart is 0,
705         multiplication overflows even if both lowparts are 0.
707 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
709         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
711 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
713         * config/microblaze/crti.S, config/microblaze/crtn.S,
714         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
715         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
716         config/microblaze/mulsi3.S,
717         config/microblaze/stack_overflow_exit.S,
718         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
719         config/pa/milli64.S: Add .note.GNU-stack section.
721 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
723         * configure.ac: Add Check for HAVE_AS_AVX.
724         * config.in: Regenerate.
725         * configure: Likewise.
726         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
727         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
728         Correct out-of-date comments.
730 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
732         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
733         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
735 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
737         * config/i386/i386-asm.h (PASTE2): New macro.
738         (ASMNAME): Modify to use PASTE2.
739         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
740         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
741         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
742         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
743         * config/i386/resms64f.S: Likewise.
744         * config/i386/resms64fx.S: Likewise.
745         * config/i386/resms64x.S: Likewise.
746         * config/i386/savms64.S: Likewise.
747         * config/i386/savms64f.S: Likewise.
748         * config/i386/avx_resms64.S: New file that only defines a macro and
749         includes it's corresponding header file.
750         * config/i386/avx_resms64f.S: Likewise.
751         * config/i386/avx_resms64fx.S: Likewise.
752         * config/i386/avx_resms64x.S: Likewise.
753         * config/i386/avx_savms64.S: Likewise.
754         * config/i386/avx_savms64f.S: Likewise.
755         * config/i386/sse_resms64.S: Likewise.
756         * config/i386/sse_resms64f.S: Likewise.
757         * config/i386/sse_resms64fx.S: Likewise.
758         * config/i386/sse_resms64x.S: Likewise.
759         * config/i386/sse_savms64.S: Likewise.
760         * config/i386/sse_savms64f.S: Likewise.
761         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
763 2017-09-01  Olivier Hainque  <hainque@adacore.com>
764         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
766 2017-08-31  Olivier Hainque  <hainque@adacore.com>
768         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
769         match as powerpc-wrs-vxworks*.
771 2017-08-07  Jonathan Yong  <10walls@gmail.com>
773         * config.host (*-cygwin): Include file from mingw
774         config/i386/enable-execute-stack-mingw32.c
776 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
777             Doug Rupp  <rupp@adacore.com>
778             Olivier Hainque  <hainque@adacore.com>
780         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
781         as well as arm-wrs-vxworks.
782         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
783         LIB2ADDEH.
784         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
785         __exidx_start and __exidx_end for downloadable modules.
787 2017-08-01  Olivier Hainque  <hainque@adacore.com>
789         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
790         * config/t-vxworks7: Likewise.
792 2017-08-01  Olivier Hainque  <hainque@adacore.com>
794         * config/t-vxworks: Instead of redefining LIB2ADD,
795         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
797 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
799         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
801 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
803         PR testsuite/80759
804         * config.host: include i386/t-msabi for darwin and solaris.
805         * config/i386/i386-asm.h
806         (ELFFN): Rename to FN_TYPE.
807         (FN_SIZE): New macro.
808         (FN_HIDDEN): Likewise.
809         (ASMNAME): Likewise.
810         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
811         .globl.
812         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
813         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
814         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
815         .macro.
816         * config/i386/resms64f.S: Likewise.
817         * config/i386/resms64fx.S: Likewise.
818         * config/i386/resms64x.S: Likewise.
819         * config/i386/savms64.S: Likewise.
820         * config/i386/savms64f.S: Likewise.
822 2017-07-19  John Marino  <gnugcc@marino.st>
824         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
826 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
828         PR target/81193
829         * configure.ac (PowerPC float128 hardware support): Test whether
830         we can use __builtin_cpu_supports before enabling the ifunc
831         handler.
832         * configure: Regenerate.
834 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
836         * config.host: Remove uclibc from arc target spec.
838 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
840         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
842 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
844         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
845         (have_ieee_hw_p): Delete function.
846         (SW_OR_HW) Use __builtin_cpu_supports().
848 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
850         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
852 2017-07-03  Olivier Hainque  <hainque@adacore.com>
854         * config/t-vxworks7: New file, really.
856 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
858         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
859         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
860         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
861         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
862         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
863         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
864         config/pa/linux-unwind.h (pa32_fallback_frame_state),
865         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
866         config/sh/linux-unwind.h (sh_fallback_frame_state),
867         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
868         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
869         ucontext_t instead of struct ucontext.
871 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
873         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
874         (x86_64-wrs-vxworks7): Likewise.
876 2017-06-27  Olivier Hainque  <hainque@adacore.com>
878         * config/t-vxworks7: New file.
879         * config.host (*-*-vxworks7): Use it.
881 2017-06-22  Matt Turner  <mattst88@gmail.com>
883         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
884         skylake case.
886 2017-06-21  Richard Biener  <rguenther@suse.de>
888         PR gcov-profile/81080
889         * configure.ac: Add AC_SYS_LARGEFILE.
890         * libgcov.h: Include auto-target.h before tsystem.h to pick
891         up _FILE_OFFSET_BITS which might differ for multilibs.
892         * config.in: Regenerate.
893         * configure: Likewise.
895 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
897         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
899 2017-06-09  Martin Liska  <mliska@suse.cz>
901         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
902         Reset __gcov_indirect_call_callee to NULL.
904 2017-06-08  Olivier Hainque  <hainque@adacore.com>
906         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
907         the set of -I options, support for direct inclusions of net/uio.h
908         by VxWorks header files via ioLib.h.
910 2017-06-07  Tony Reix  <tony.reix@atos.net>
911             Matthieu Sarter  <matthieu.sarter.external@atos.net>
912             David Edelsohn  <dje.gcc@gmail.com>
914         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
915         unconditionally.
916         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
917         AIX 7.2 support.
919 2017-06-02  Olivier Hainque  <hainque@adacore.com>
921         * config/vxlib.c (__gthread_once): Add missing value to
922         return statement.
924 2017-05-30  Olivier Hainque  <hainque@adacore.com>
926         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
927         dollar sign before $(MULTIDIR).
929 2017-05-26  Richard Henderson  <rth@redhat.com>
931         PR libgcc/80037
932         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
934 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
936         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
937         _Unwind_SetIP available as functions for arm*-*-freebsd*.
938         * config/arm/unwind-arm.c: Implement the above.
940 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
942         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
943         section for a non-executable stack.
945 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
947         PR target/80600
948         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
950 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
952         * config.host: Add i386/t-msabi to i386/t-linux file list.
953         * config/i386/i386-asm.h: New file.
954         * config/i386/resms64.S: New file.
955         * config/i386/resms64f.S: New file.
956         * config/i386/resms64fx.S: New file.
957         * config/i386/resms64x.S: New file.
958         * config/i386/savms64.S: New file.
959         * config/i386/savms64f.S: New file.
960         * config/i386/t-msabi: New file.
962 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
964         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
965         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
967 2017-05-05  Joshua Conner  <joshconner@google.com>
969         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
970         pc-relative indirect handling for fuchsia.
971         * config/t-slibgcc-fuchsia: New file.
972         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
973         x86_64-*-fuchsia*): Add definitions.
975 2017-04-19  Martin Liska  <mliska@suse.cz>
977         PR gcov-profile/80435
978         * Makefile.in: Install gcov.h.
979         * gcov.h: New file.
980         * libgcov.h: Use the header and make __gcov_flush publicly
981         visible.
983 2017-04-18  Martin Liska  <mliska@suse.cz>
985         PR gcov-profile/78783
986         * libgcov-driver.c (gcov_get_filename): New function.
988 2017-04-07  Jeff Law  <law@redhat.com>
990         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
991         target makefile fragment.
992         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
994 2017-04-07  Alan Modra  <amodra@gmail.com>
996         PR target/45053
997         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
999 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
1001         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1003 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
1005         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1007 2017-03-10  John Marino  <gnugcc@marino.st>
1009         * config/aarch64/freebsd-unwind.h: New file.
1010         * config.host: Add aarch64-*-freebsd unwinder.
1012 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1014         * config/rs6000/crtrestvr.s: Use .machine altivec.
1015         * config/rs6000/crtsavevr.s: Ditto.
1017 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1019         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1020         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1021         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1022         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1023         * configure: Regenerate.
1024         * config.in: Regenerate.
1026 2017-03-02  Jonathan Yong <10walls@gmail.com>
1028         * config/i386/gthr-win32.h: Define NOGDI before
1029         windows.h include to prevent w32api CC_NONE macro
1030         clash with libgfortran.
1032 2017-03-02  Jonathan Yong <10walls@gmail.com>
1034         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1036 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1038         * config/aarch64/value-unwind.h: New file.
1039         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1040         to tm_file.
1042 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1044         * config.host: Add RISC-V tuples.
1045         * config/riscv/atomic.c: New file.
1046         * config/riscv/crti.S: Likewise.
1047         * config/riscv/crtn.S: Likewise.
1048         * config/riscv/div.S: Likewise.
1049         * config/riscv/linux-unwind.h: Likewise.
1050         * config/riscv/muldi3.S: Likewise.
1051         * config/riscv/multi3.S: Likewise.
1052         * config/riscv/save-restore.S: Likewise.
1053         * config/riscv/sfp-machine.h: Likewise.
1054         * config/riscv/t-elf: Likewise.
1055         * config/riscv/t-elf32: Likewise.
1056         * config/riscv/t-elf64: Likewise.
1057         * config/riscv/t-softfp32: Likewise.
1058         * config/riscv/t-softfp64: Likewise.
1060 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1062         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1063         /* FALLTHRU */ comments.
1065 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1067         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1069 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1071         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1072         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1073         DW_CFA_GNU_window_save for AArch64 and LP64.
1075 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1077         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1079 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1081         * config/aarch64/aarch64-unwind.h: New file.
1082         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1083         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1084         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1085         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1086         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1087         (aarch64_post_extract_frame_addr): New function.
1088         (aarch64_post_frob_eh_handler_addr): New function.
1089         (aarch64_frob_update_context): New function.
1090         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1091         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1092         aarch64*-*-freebsd*):
1093         Initialize md_unwind_header to include aarch64-unwind.h.
1094         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1095         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1096         __aarch64__.
1097         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1098         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1099         (uw_frob_return_addr): New function.
1100         (uw_install_context): Use uw_frob_return_addr.
1102 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1104         PR other/79046
1105         * configure.ac: Add GCC_BASE_VER.
1106         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1107         version from BASE-VER file.
1108         * configure: Regenerated.
1110 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1112         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1113         libmul_f5.a): Filter archived prerequisites.
1115 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1117         * config/i386/cpuinfo.h (processor_features): Add
1118         FEATURE_AVX512VPOPCNTDQ.
1119         * config/i386/cpuinfo.c (get_available_features): Habdle new
1120         feature.
1122 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1124         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1125         payload if [__mips_nan2008].
1127 2017-01-04  Alan Modra  <amodra@gmail.com>
1129         * Makefile.in (configure_deps): Update.
1130         * configure: Regenerate.
1132 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1134         Update copyright years.
1136 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1138         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1139         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1140         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1142 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1144         * config/arc/gmon: Remove empty directory.
1146 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
1148         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1149         crtgend.
1150         (arc*-*-elf*): Likewise.
1151         * config/arc/t-arc: Remove old gmon lib targets.
1152         * config/arc/crtg.S: Remove.
1153         * config/arc/crtgend.S: Likewise.
1154         * config/arc/gmon/atomic.h: Likewise.
1155         * config/arc/gmon/auxreg.h: Likewise.
1156         * config/arc/gmon/dcache_linesz.S: Likewise.
1157         * config/arc/gmon/gmon.c: Likewise.
1158         * config/arc/gmon/machine-gmon.h: Likewise.
1159         * config/arc/gmon/mcount.c: Likewise.
1160         * config/arc/gmon/prof-freq-stub.S: Likewise.
1161         * config/arc/gmon/prof-freq.c: Likewise.
1162         * config/arc/gmon/profil.S: Likewise.
1163         * config/arc/gmon/sys/gmon.h: Likewise.
1164         * config/arc/gmon/sys/gmon_out.h: Likewise.
1165         * config/arc/t-arc-newlib: Likewise.
1166         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1168 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1170         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1172 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1174         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1175         R16 instead of push + pop.
1176         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1178 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
1180         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1181         tmake_file.
1183 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
1185         * config.host (arc*-*-linux-uclibc*): Use default extra
1186         objects. Include linux-android header.
1187         * config/arc/crti.S (_init): Declare symbol as function.
1188         (_fini): Likewise.
1190 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
1192         PR fortran/78379
1193         * config/i386/cpuinfo.c:  Move denums for processor vendors,
1194         processor type, processor subtypes and declaration of
1195         struct __processor_model into
1196         * config/i386/cpuinfo.h:  New header file.
1198 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1199             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1201         * config/arm/cmse_nonsecure_call.S: New.
1202         * config/arm/t-arm: Compile cmse_nonsecure_call.S
1204 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1205             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1207         * config/arm/t-arm (HAVE_CMSE): New.
1208         * config/arm/cmse.c: New.
1210 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1212         PR gcc/74748
1213         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1214         use generic linker version information on Blackfin.
1216         PR gcc/74748
1217         * libgcc/mkmap-symver.awk: add support for skip_underscore
1219 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
1220             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1222         PR target/67710
1223         *  config/t-darwin: Default builds to 10.5 codegen.
1225 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
1227         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1228         (_FP_NANSIGN_H): Likewise.
1229         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1230         (softfp_truncations): Add tfhf.
1231         (softfp_extras): Add required conversion functions.
1233 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1234             Matthew Wahab  <matthew.wahab@arm.com>
1236         * config/arm/fp16.c (binary64): New.
1237         (__gnu_d2h_internal): New.
1238         (__gnu_d2h_ieee): New.
1239         (__gnu_d2h_alternative): New.
1241 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1242             Matthew Wahab  <matthew.wahab@arm.com>
1244         * config/arm/fp16.c (struct format): New.
1245         (binary32): New.
1246         (__gnu_float2h_internal): New.  Body moved from
1247         __gnu_f2h_internal and generalize.
1248         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1249         Call it with binary32.
1251 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1253         * soft-fp/extendhftf2.c: Update from glibc.
1254         * soft-fp/fixhfti.c: Likewise.
1255         * soft-fp/fixunshfti.c: Likewise.
1256         * soft-fp/floattihf.c: Likewise.
1257         * soft-fp/floatuntihf.c: Likewise.
1258         * soft-fp/half.h: Likewise.
1259         * soft-fp/trunctfhf2.c: Likewise.
1261 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
1263         PR libgcc/77813
1264         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1265         __TMC_END__ behind a passthrough asm.
1267 2016-11-18  Walter Lee  <walt@tilera.com>
1269         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1271 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
1273         * config/i386/cpuinfo.c (processor_features): Add
1274         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1276 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
1278         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1279         (__ARC_NORM__): Use instead ARC_OPTFPE.
1280         * config/arc/fp-hack.h: Likewise.
1281         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1282         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1284 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
1286         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1287         * config/nvptx/mgomp.c: New file.
1288         * config/nvptx/t-nvptx: Add mgomp.c
1290 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
1292         PR libgcc/68468
1293         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1295 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
1297         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1298         of checking for cpus.
1299         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1300         (__modsi3, __clzsi2): Likewise.
1302 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1304         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1305         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1306         * config/i386/t-cpuinfo-static: New.
1308 2016-11-03  Martin Liska  <mliska@suse.cz>
1310         * libgcov-profiler.c (__gcov_time_profiler): Remove.
1311         (__gcov_time_profiler_atomic): Likewise.
1313 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1315         PR libgcc/78067
1316         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1317         count_leading_zeros.
1319 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
1321         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1322         * libgcc2.c (__divmoddi4): New function.
1323         * libgcc2.h (__divmoddi4): Declare.
1324         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1325         and __PFX_divmodti4.
1327 2016-10-24  Florian Weimer  <fweimer@redhat.com>
1329         PR libgcc/78064
1330         * unwind-c.c: Include auto-target.h.
1332 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
1334         * config/pa/pa64-hpux-lib.h: New file.
1335         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1336         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1337         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1338         hppa*64*-*-hpux11*.
1340 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
1342         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1343         definition.
1344         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1345         definition.
1346         * config/xtensa/t-windowed (LIB2ADDEH): Use
1347         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1348         or xtensa/t-linux.
1350 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
1352         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1353         __ieee754_sqrt): New functions.
1354         (__divdf3): Add implementation with new FPU instructions under
1355         #if XCHAL_HAVE_DFP_DIV.
1356         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1357         __ieee754_sqrtf): New functions.
1358         (__divsf3): Add implementation with new FPU instructions under
1359         #if XCHAL_HAVE_FP_DIV.
1360         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1361         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1363 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1365         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1366         equivalent.
1367         * config/tilepro/atomic.c: Likewise and stop casting model to
1368         enum memmodel.
1370 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
1372         PR target/77586
1373         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1374         soft-fp.
1376 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
1378         * config.host: Add support for aarch64-*-freebsd*.
1380 2016-10-05  Andreas Schwab  <schwab@suse.de>
1382         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1383         (.section .init_array): Don't call __do_jv_register_classes.
1384         (.section .init): Likewise.
1386 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
1388         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1389         (__JCR_LIST__): Remove.
1390         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1391         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1392         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1393         * config/ia64/crtend.S (__JCR_END__): Remove.
1394         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1395         conditionals.
1396         (__JCR_LIST__, __JCR_END__): Remove.
1397         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1398         (__do_global_ctors_1): Likewise.
1400 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1402         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1403         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1405 2016-09-27  Martin Liska  <mliska@suse.cz>
1407         PR gcov-profile/7970
1408         PR gcov-profile/16855
1409         PR gcov-profile/44779
1410         * libgcov-driver.c (__gcov_init): Do not register a atexit
1411         handler.
1412         (__gcov_exit): Rename from gcov_exit.
1413         * libgcov.h (__gcov_exit): Declare.
1415 2016-09-27  Martin Liska  <mliska@suse.cz>
1417         PR bootstrap/77749
1418         * Makefile.in: Remove _gcov_merge_delta.
1419         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1420         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1421         * libgcov.h: Remove declaration of __gcov_merge_delta.
1423 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1425         * configure.ac: Do not create links, only substitute the filenames.
1426         * configure: Regenerate.
1427         * Makefile.in: Assign the substitution results to variables.
1428         (LIBGCC_LINKS): Define.
1429         (enable-execute-stack.c): New rule.
1430         (unwind.h): Likewise.
1431         (md-unwind-support.h): Likewise.
1432         (sfp-machine.h): Likewise.
1433         (gthr-default.h): Likewise.
1434         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1435         unwind.h as prerequisite of install-unwind_h-forbuild.
1437 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1439         PR libgcc/71744
1440         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1441         is not the primary registry and atomics are available.
1442         (any_objects_registered): New variable.
1443         (__register_frame_info_bases, __register_frame_info_table_bases):
1444         Atomically store 1 to any_objects_registered after registering first
1445         unwind info.
1446         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1448 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1450         PR target/63250
1451         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1452         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1453         (HFtype): Likewise.
1454         (HCtype): Likewise.
1455         (__divhc3): Likewise.
1456         (__mulhc3): Likewise.
1457         * libgcc2.c: Support _mulhc3 and _divhc3.
1459 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1461         PR libgcc/77519
1462         * libgcc2.c (NOTRUNC): Invert settings.
1464 2016-09-06  Martin Liska  <mliska@suse.cz>
1466         PR gcov-profile/77378
1467         PR gcov-profile/77466
1468         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1469         conditionaly enable/disable *_atomic functions.
1471 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1473         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1474         where not already enabled.
1476 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1478         * config/mips/linux-unwind.h: Use sys/syscall.h.
1480 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1482         PR libgcc/77265
1483         * soft-fp/adddf3.c: Update from glibc.
1484         * soft-fp/addsf3.c: Likewise.
1485         * soft-fp/addtf3.c: Likewise.
1486         * soft-fp/divdf3.c: Likewise.
1487         * soft-fp/divsf3.c: Likewise.
1488         * soft-fp/divtf3.c: Likewise.
1489         * soft-fp/double.h: Likewise.
1490         * soft-fp/eqdf2.c: Likewise.
1491         * soft-fp/eqsf2.c: Likewise.
1492         * soft-fp/eqtf2.c: Likewise.
1493         * soft-fp/extenddftf2.c: Likewise.
1494         * soft-fp/extended.h: Likewise.
1495         * soft-fp/extendsfdf2.c: Likewise.
1496         * soft-fp/extendsftf2.c: Likewise.
1497         * soft-fp/extendxftf2.c: Likewise.
1498         * soft-fp/fixdfdi.c: Likewise.
1499         * soft-fp/fixdfsi.c: Likewise.
1500         * soft-fp/fixdfti.c: Likewise.
1501         * soft-fp/fixsfdi.c: Likewise.
1502         * soft-fp/fixsfsi.c: Likewise.
1503         * soft-fp/fixsfti.c: Likewise.
1504         * soft-fp/fixtfdi.c: Likewise.
1505         * soft-fp/fixtfsi.c: Likewise.
1506         * soft-fp/fixtfti.c: Likewise.
1507         * soft-fp/fixunsdfdi.c: Likewise.
1508         * soft-fp/fixunsdfsi.c: Likewise.
1509         * soft-fp/fixunsdfti.c: Likewise.
1510         * soft-fp/fixunssfdi.c: Likewise.
1511         * soft-fp/fixunssfsi.c: Likewise.
1512         * soft-fp/fixunssfti.c: Likewise.
1513         * soft-fp/fixunstfdi.c: Likewise.
1514         * soft-fp/fixunstfsi.c: Likewise.
1515         * soft-fp/fixunstfti.c: Likewise.
1516         * soft-fp/floatdidf.c: Likewise.
1517         * soft-fp/floatdisf.c: Likewise.
1518         * soft-fp/floatditf.c: Likewise.
1519         * soft-fp/floatsidf.c: Likewise.
1520         * soft-fp/floatsisf.c: Likewise.
1521         * soft-fp/floatsitf.c: Likewise.
1522         * soft-fp/floattidf.c: Likewise.
1523         * soft-fp/floattisf.c: Likewise.
1524         * soft-fp/floattitf.c: Likewise.
1525         * soft-fp/floatundidf.c: Likewise.
1526         * soft-fp/floatundisf.c: Likewise.
1527         * soft-fp/floatunditf.c: Likewise.
1528         * soft-fp/floatunsidf.c: Likewise.
1529         * soft-fp/floatunsisf.c: Likewise.
1530         * soft-fp/floatunsitf.c: Likewise.
1531         * soft-fp/floatuntidf.c: Likewise.
1532         * soft-fp/floatuntisf.c: Likewise.
1533         * soft-fp/floatuntitf.c: Likewise.
1534         * soft-fp/gedf2.c: Likewise.
1535         * soft-fp/gesf2.c: Likewise.
1536         * soft-fp/getf2.c: Likewise.
1537         * soft-fp/ledf2.c: Likewise.
1538         * soft-fp/lesf2.c: Likewise.
1539         * soft-fp/letf2.c: Likewise.
1540         * soft-fp/muldf3.c: Likewise.
1541         * soft-fp/mulsf3.c: Likewise.
1542         * soft-fp/multf3.c: Likewise.
1543         * soft-fp/negdf2.c: Likewise.
1544         * soft-fp/negsf2.c: Likewise.
1545         * soft-fp/negtf2.c: Likewise.
1546         * soft-fp/op-1.h: Likewise.
1547         * soft-fp/op-2.h: Likewise.
1548         * soft-fp/op-4.h: Likewise.
1549         * soft-fp/op-8.h: Likewise.
1550         * soft-fp/op-common.h: Likewise.
1551         * soft-fp/quad.h: Likewise.
1552         * soft-fp/single.h: Likewise.
1553         * soft-fp/soft-fp.h: Likewise.
1554         * soft-fp/subdf3.c: Likewise.
1555         * soft-fp/subsf3.c: Likewise.
1556         * soft-fp/subtf3.c: Likewise.
1557         * soft-fp/truncdfsf2.c: Likewise.
1558         * soft-fp/trunctfdf2.c: Likewise.
1559         * soft-fp/trunctfsf2.c: Likewise.
1560         * soft-fp/trunctfxf2.c: Likewise.
1561         * soft-fp/unorddf2.c: Likewise.
1562         * soft-fp/unordsf2.c: Likewise.
1563         * soft-fp/unordtf2.c: Likewise.
1565 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1567         PR gcov-profile/67097
1568         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1570 2016-08-10  Martin Liska  <mliska@suse.cz>
1572         PR gcov-profile/58306
1573         * Makefile.in: New functions (modules) are added.
1574         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1575         function.
1576         (__gcov_pow2_profiler_atomic): New function.
1577         (__gcov_one_value_profiler_body): New argument is instroduced.
1578         (__gcov_one_value_profiler): Call with the new argument.
1579         (__gcov_one_value_profiler_atomic): Likewise.
1580         (__gcov_indirect_call_profiler_v2): Likewise.
1581         (__gcov_time_profiler_atomic): New function.
1582         (__gcov_average_profiler_atomic): Likewise.
1583         (__gcov_ior_profiler_atomic): Likewise.
1584         * libgcov.h: Declare the aforementioned functions.
1586 2016-08-09  Martin Liska  <mliska@suse.cz>
1588         * libgcov-util.c: Fix typo and GNU coding style.
1590 2016-08-09  Martin Liska  <mliska@suse.cz>
1592         * Makefile.in: Remove __gcov_indirect_call_profiler.
1593         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1594         function.
1595         * libgcov.h: And the declaration of the function.
1597 2016-08-09  Martin Liska  <mliska@suse.cz>
1599         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1600         power of two.
1602 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1604         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1605         * config/rs6000/_mulkc3.c: Likewise.
1607 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1609         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1610         zero_reg as previous call to __umulhisi3 already cleared it.
1612 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1614         PR target/59833
1615         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1617 2016-07-19  Nick Clifton  <nickc@redhat.com>
1619         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1620         Add crtinit.o and crtfini.o to extra_parts.
1622 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1624         * config/rs6000/_divkc3.c: New.
1625         * config/rs6000/_mulkc3.c: New.
1626         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1627         and _divkc3.
1628         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1629         fp128_ppc_funcs.
1631 2016-07-11  Hale Wang  <hale.wang@arm.com>
1632             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1634         * config/arm/lib1funcs.S: Add new wrapper.
1636 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1638         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1640 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1642         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1643         and ARMv5t* rather than for a fixed list of architectures.
1645 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1647         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1648         implementation suitable for.
1649         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1650         for all Thumb-1 only targets.
1651         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1652         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1653         __ARM_ARCH_6M__.
1654         (EQUIV): Likewise.
1655         (ARM_FUNC_ALIAS): Likewise.
1656         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1657         version.
1658         (modsi3): Likewise.
1659         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1660         (clzdi2): Likewise.
1661         (ctzsi2): Likewise.
1662         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1663         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1664         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1665         __ARM_ARCH_6M__ and add comment to indicate the connection between
1666         this condition and the one in gcc/config/arm/elf.h.
1667         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1668         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1669         * config/arm/t-softfp: Likewise.
1671 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1673         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1674         CTOR_LISTS_DEFINED_EXTERNALLY.
1676 2016-06-28  Walter Lee  <walt@tilera.com>
1678         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1679         asm/unistd.h.
1680         (SPR_CMPEXCH_VALUE): Define for tilegx.
1681         (__NR_FAST_cmpxchg): Define for tilepro.
1682         (__NR_FAST_atomic_update): Define for tilepro.
1683         (__NR_FAST_cmpxchg64): Define for tilepro.
1685 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1687         * config.host: Add suport for arm*-*-phoenix* targets.
1689 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1691         * config.host: Remove support for mep-*.
1692         * config/mep/lib1funcs.S: Remove.
1693         * config/mep/lib2funcs.c: Remove.
1694         * config/mep/t-mep: Remove.
1695         * config/mep/tramp.c: Remove.
1697 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1699         * config.host: Remove support for avr-rtems.
1700         * config/avr/t-rtems: Remove.
1702 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1704         * config.host: Remove m32r-rtems support.
1706 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1708         * config.host: Remove h8300-rtems support.
1710 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1712         * config.host: Remove support for knetbsd.
1714 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1716         * config.host: Remove support for openbsd 2 and 3.
1718 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1720         * config.host: Remove interix support.
1721         * config/i386/t-interix: Remove.
1723 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1725         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1726         least-significant bit in function pointer for fixup.
1728 2016-06-05  Aaron Conole  <aconole@redhat.com>
1729             Nathan Sidwell  <nathan@acm.org>
1731         PR libgcc/71400
1732         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1733         (get_gcov_error_file): Check __gcov_error_file before trying to
1734         initialize it.
1735         (gcov_error): Always use get_gcov_error_file.
1737 2016-06-02  Aaron Conole  <aconole@redhat.com>
1739         * libgcov-driver-system.c (__gcov_error_file): New.
1740         (get_gcov_error_file): New.
1741         (gcov_error): Use and set __gcov_error_file.
1742         (gcov_error_exit): New.
1743         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1745 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1747         * config/nvptx/free.asm: Delete.
1748         * config/nvptx/malloc.asm: Delete.
1749         * config/nvptx/realloc.c: Delete.
1750         * t-nvptx: Update.
1752 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1754         * config/nvptx/crt0.s: Delete.
1755         * config/nvptx/crt0.c: New.
1756         * t-nvptx: Update.
1758 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1760         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1761         dw2/seh configuration.
1762         [x86_64-*-mingw*]: Likewise.
1764 2016-05-10  Joel Sherrill <joel@rtems.org>
1766         PR libgcc/70720
1767         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1768         targets so the same extra_parts are built.  Also have tmake_file add
1769         on to its value rather than override.
1771 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1773         * config.host: Remove SH5 support.
1774         * configure: Likewise.
1776 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1778         * config/sh/crt1.S: Remove SH5 support.
1779         * config/sh/crti.S: Likewise.
1780         * config/sh/crtn.S: Likewise.
1781         * config/sh/lib1funcs-4-300.S: Likewise.
1782         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1783         * config/sh/lib1funcs.S: Likewise.
1784         * config/sh/linux-unwind.h: Likewise.
1785         * config/sh/t-sh64: Delete.
1787 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1789         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1791 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1792             Joern Rennecke  <joern.rennecke@embecosm.com>
1794         * config/arc/crttls.S: New file.
1795         * config/arc/t-arc: New rule.
1796         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1798 2016-04-25  Nick Clifton  <nickc@redhat.com>
1800         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1801         (__mspabi_cmpd): Likewise.
1802         * config/msp430/floathidf.c (__floathidf): Likewise.
1803         * config/msp430/floathisf.c (__floathisf): Likewise
1804         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1805         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1806         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1807         second parameter.
1808         (__ashrsi3): Likewise.
1810 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1812         * config/m68k/linux-atomic.c: Do not include unistd.h
1814 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1816         * config/arm/ieee754-df.S: Fix typos in comments.
1818 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1820         PR target/70381
1821         * configure.ac (powerpc*-*-linux*): Rework tests to build
1822         __float128 emulation routines to not depend on using #pragma GCC
1823         target to enable -mfloat128.
1824         * configure: Regnerate.
1826 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1828         PR target/67172
1829         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1830         __MINGW32__ is defined.
1832 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1834         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1836 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1838         PR libgcc/70363
1839         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1840         built with an assembler that does not support ISA 3.0
1841         instructions, rename __extendkftf2_sw to __extendkftf2.
1843 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1845         PR target/38239
1846         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1847         call-clobbered registers.
1848         (internal_mcount): Remove __i386__ handling.
1850 2016-02-26  Joel Sherrill <joel@rtems.org>
1852         * config.host: Add x86_64-*-rtems*.
1854 2016-02-26  Joel Sherrill <joel@rtems.org>
1856         * libgcc/config.host: Add aarch64-*-rtems*.
1858 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1859             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1861         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1862         union of u64 and double.
1863         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1864         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1865         value.
1866         (FP_ROUNDMODE): Update the usage of _fpscr.
1868 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1870         PR driver/68463
1871         * Makefile.in (crtoffloadtable$(objext)): New rule.
1872         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1873         enable_offload_targets is not empty.
1874         * configure: Regenerate.
1875         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1876         crtoffloadtable.
1878 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1880         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1881         .literal_position before the function.
1882         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1883         Likewise.
1885 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
1887         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1888         * config/s390/morestack.S: New file.
1889         * config/s390/t-stack-s390: New file.
1890         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1892 2016-02-12  Walter Lee  <walt@tilera.com>
1894         * config.host (tilegx*-*-linux*): remove ti from
1895         softfp_int_modes for 32-bit configs.
1897 2016-02-10  Ian Lance Taylor  <iant@google.com>
1899         PR go/68562
1900         * config/i386/morestack.S (__stack_split_initialize): Align
1901         stack.
1903 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1905         PR bootstrap/69611
1906         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1907         __FLOAT128__ to compile only for __float128 capable targets.
1909 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1911         PR target/69444
1912         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1913         instead of ___NO_FPRS__.
1915 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1916             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1917             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1919         * config/rs6000/float128-sed: New files to convert TF names to KF
1920         names for PowerPC IEEE 128-bit floating point support.
1921         * config/rs6000/float128-sed-hw: Likewise.
1923         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1924         floating point hardware support.
1926         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1927         128-bit floating point software emulation or use ISA 3.0 hardware
1928         support if it is available.
1930         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1931         floating point.
1933         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1934         floating point to IBM extended double.
1936         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1937         double to IEEE 128-bit floating point.
1939         * config/rs6000/t-float128: New Makefile fragments to enable
1940         building __float128 emulation support.
1941         * config/rs6000/t-float128-hw: Likewise.
1943         * config/rs6000/sfp-exceptions.c: New file to provide exception
1944         support for IEEE 128-bit floating point.
1946         * config/rs6000/floattikf.c: New files for converting between IEEE
1947         128-bit floating point and signed/unsigned 128-bit integers.
1948         * config/rs6000/fixunskfti.c: Likewise.
1949         * config/rs6000/fixkfti.c: Likewise.
1950         * config/rs6000/floatuntikf.c: Likewise.
1952         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1953         when building on 64-bit systems, or when VSX is enabled.
1954         (_FP_W_TYPE): Likewise.
1955         (_FP_WS_TYPE): Likewise.
1956         (_FP_I_TYPE): Likewise.
1957         (TItype): Define on 64-bit systems.
1958         (UTItype): Likewise.
1959         (TI_BITS): Likewise.
1960         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1961         (_FP_MUL_MEAT_Q): Likewise.
1962         (_FP_DIV_MEAT_D): Likewise.
1963         (_FP_DIV_MEAT_Q): Likewise.
1964         (_FP_NANFRAC_D): Likewise.
1965         (_FP_NANFRAC_Q): Likewise.
1966         (ISA_BIT): Add exception support if we are being compiled on a
1967         machine with hardware floating point support to build the IEEE
1968         128-bit emulation functions.
1969         (FP_EX_INVALID): Likewise.
1970         (FP_EX_OVERFLOW): Likewise.
1971         (FP_EX_UNDERFLOW): Likewise.
1972         (FP_EX_DIVZERO): Likewise.
1973         (FP_EX_INEXACT): Likewise.
1974         (FP_EX_ALL): Likewise.
1975         (__sfp_handle_exceptions): Likewise.
1976         (FP_HANDLE_EXCEPTIONS): Likewise.
1977         (FP_RND_NEAREST): Likewise.
1978         (FP_RND_ZERO): Likewise.
1979         (FP_RND_PINF): Likewise.
1980         (FP_RND_MINF): Likewise.
1981         (FP_RND_MASK): Likewise.
1982         (_FP_DECL_EX): Likewise.
1983         (FP_INIT_ROUNDMODE): Likewise.
1984         (FP_ROUNDMODE): Likewise.
1986         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1987         VSX code, enable IEEE 128-bit floating point.  If the compiler can
1988         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1989         floating point hardware instructions and it supports declaring
1990         functions with the ifunc attribute, enable ifunc functions to
1991         switch between software and hardware support.
1992         * configure.ac (powerpc*-*-linux*): Likewise.
1993         * configure: Regenerate.
1995 2016-01-15  Nick Clifton  <nickc@redhat.com>
1997         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1998         dependency as the source file to be compiled.
1999         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2000         (lib2hw_mul_f5.o): Likewise.
2002 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2004         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2005         * libgcc/config/rs6000/fixkfti.c: Likewise.
2006         * libgcc/config/rs6000/fixunskfti.c: Likewise.
2007         * libgcc/config/rs6000/float128-hw.c: Likewise.
2008         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2009         * libgcc/config/rs6000/float128-sed: Likewise.
2010         * libgcc/config/rs6000/floattikf.c: Likewise.
2011         * libgcc/config/rs6000/floatuntikf.c: Likewise.
2012         * libgcc/config/rs6000/quad-float128.h: Likewise.
2013         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2014         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2015         * libgcc/config/rs6000/t-float128: Likewise.
2016         * libgcc/config/rs6000/t-float128-hw: Likewise.
2017         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2018         * libgcc/config.host: Likewise.
2019         * libgcc/configure: Likewise.
2020         * libgcc/configure.ac: Likewise.
2022 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2023             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2024             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2026         * config/rs6000/sfp-exceptions.c: New file to provide exception
2027         support for IEEE 128-bit floating point.
2029         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2030         floating point hardware support.
2032         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2033         point conversions.
2034         * config/rs6000/fixunskfti.c: Likewise.
2035         * config/rs6000/fixkfti.c: Likewise.
2036         * config/rs6000/floatuntikf.c: Likewise.
2037         * config/rs6000/extendkftf2-sw.c: Likewise.
2038         * config/rs6000/trunctfkf2-sw.c: Likewise.
2040         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2041         128-bit floating point software emulation or use ISA 3.0 hardware
2042         support if it is available.
2044         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2045         floating point.
2047         * config/rs6000/t-float128: New Makefile fragments to enable
2048         building __float128 emulation support.
2049         * config/rs6000/t-float128-hw: Likewise.
2051         * config/rs6000/float128-sed: New file to convert TF names to KF
2052         names for PowerPC IEEE 128-bit floating point support.
2054         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2055         when building on 64-bit systems, or when VSX is enabled.
2056         (_FP_W_TYPE): Likewise.
2057         (_FP_WS_TYPE): Likewise.
2058         (_FP_I_TYPE): Likewise.
2059         (TItype): Define on 64-bit systems.
2060         (UTItype): Likewise.
2061         (TI_BITS): Likewise.
2062         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2063         (_FP_MUL_MEAT_Q): Likewise.
2064         (_FP_DIV_MEAT_D): Likewise.
2065         (_FP_DIV_MEAT_Q): Likewise.
2066         (_FP_NANFRAC_D): Likewise.
2067         (_FP_NANFRAC_Q): Likewise.
2068         (ISA_BIT): Add exception support if we are being compiled on a
2069         machine with hardware floating point support to build the IEEE
2070         128-bit emulation functions.
2071         (FP_EX_INVALID): Likewise.
2072         (FP_EX_OVERFLOW): Likewise.
2073         (FP_EX_UNDERFLOW): Likewise.
2074         (FP_EX_DIVZERO): Likewise.
2075         (FP_EX_INEXACT): Likewise.
2076         (FP_EX_ALL): Likewise.
2077         (__sfp_handle_exceptions): Likewise.
2078         (FP_HANDLE_EXCEPTIONS): Likewise.
2079         (FP_RND_NEAREST): Likewise.
2080         (FP_RND_ZERO): Likewise.
2081         (FP_RND_PINF): Likewise.
2082         (FP_RND_MINF): Likewise.
2083         (FP_RND_MASK): Likewise.
2084         (_FP_DECL_EX): Likewise.
2085         (FP_INIT_ROUNDMODE): Likewise.
2086         (FP_ROUNDMODE): Likewise.
2088         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2089         compiler can do __float128.
2090         * configure: Regenerate.
2092         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2093         VSX code, enable IEEE 128-bit floating point.
2095 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2097         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2098         specificities.
2100 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2102         Update copyright years.
2104 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2106         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2107         soft-fp targets.
2109 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2111         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2112         instead of abort to avoid dependency on stdlib.h.
2114 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2116         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2117         to initialize call to __dl_fixup once.
2119 2015-12-04  Nick Clifton  <nickc@redhat.com>
2121         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2122         Allow for the second argument being negative.
2123         * config.host (extra_parts): Define for MSP430.  Create separate
2124         libraries for each of the hardware multiply formats.
2125         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2126         that are needed.
2127         * config/msp430/lib2mul.c: Likewise.
2128         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2129         Add rules to build hardware multiply libraries.
2130         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2131         __mspabi_divul function.
2132         (__mspabi_divllu): New stub function.
2134 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2136         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2137         fixup values if saved GOT address doesn't match runtime address.
2138         (fixup_branch_offset): Reorder list.
2140 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2142         * Makefile.in (VTV_CFLAGS): New variable.
2143         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2144         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2145         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2146         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2147         to extra_parts if $enable_vtable_verify = yes.
2149 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2151         PR target/68059
2152         * config/arm/linux-atomic-64bit.c (__write): Rename to...
2153         (write): ...this and fix the return type.
2155 2015-11-19  DJ Delorie  <dj@redhat.com>
2157         * config/msp430/lib2hw_mul.S: Fix alignment.
2159 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
2161         * config/nvptx/reduction.c: New.
2162         * config/nvptx/t-nvptx (LIB2ADD): Add it.
2164 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
2166         * config/rs6000/on_exit.c: New file.
2167         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2168         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2170 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
2172         * config/arc/dp-hack.h: Add support for ARCHS.
2173         * config/arc/ieee-754/divdf3.S: Likewise.
2174         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2175         * config/arc/ieee-754/muldf3.S: Likewise.
2176         * config/arc/ieee-754/mulsf3.S: Likewise
2177         * config/arc/lib1funcs.S: Likewise
2178         * config/arc/gmon/dcache_linesz.S: Don't read the build register
2179         for ARCv2 cores.
2180         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2181         for ARCv2 cores.
2182         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2183         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2184         cores.
2186 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2188         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2189         value.
2190         * config/ia64/crtend.S: Likewise.
2192 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2194         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2195         __CHAR_BIT__ instead of BITS_PER_UNIT.
2196         * fixed-bit.h: Likewise.
2197         * fp-bit.h: Likewise.
2198         * libgcc2.c (__popcountSI2): Likewise.
2199         (__popcountDI2): Likewise.
2200         * libgcc2.h: Likewise.
2201         * libgcov.h: Likewise.
2203 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
2205         * config/rs6000/atexit.c: New file.
2206         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2207         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2208         * config/rs6000/cxa_finalize.c
2209         (catomic_compare_and_exchange_bool_acq): Negate return value.
2211 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2213         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2214         (processor_subtypes): Add znver1.
2215         (get_amd_cpu): Detect znver1.
2217 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
2219         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2220         Include crtfastmath.o.
2222 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
2224         PR libgcc/66883
2225         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2227 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
2229         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2230         * config/rl78/divmodsi.S: Update return register to r8.
2231         * config/rl78/divmodhi.S: Update return register to r8,r9.
2232         Branch to main_loop_done_himode to pop registers before return.
2234 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2236         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2237         (__cpu_indicator_init): Fix model selection for AMD CPUs.
2239 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
2241         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2243 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
2245         * config.host (xtensa*-*-uclinux*): New configuration.
2247 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
2249         * config/i386/cpuinfo.c (processor_features): Add
2250         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2252 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2254         * soft-fp/adddf3.c: Update from glibc.
2255         * soft-fp/addsf3.c: Likewise.
2256         * soft-fp/addtf3.c: Likewise.
2257         * soft-fp/divdf3.c: Likewise.
2258         * soft-fp/divsf3.c: Likewise.
2259         * soft-fp/divtf3.c: Likewise.
2260         * soft-fp/double.h: Likewise.
2261         * soft-fp/eqdf2.c: Likewise.
2262         * soft-fp/eqsf2.c: Likewise.
2263         * soft-fp/eqtf2.c: Likewise.
2264         * soft-fp/extenddftf2.c: Likewise.
2265         * soft-fp/extended.h: Likewise.
2266         * soft-fp/extendsfdf2.c: Likewise.
2267         * soft-fp/extendsftf2.c: Likewise.
2268         * soft-fp/extendxftf2.c: Likewise.
2269         * soft-fp/fixdfdi.c: Likewise.
2270         * soft-fp/fixdfsi.c: Likewise.
2271         * soft-fp/fixdfti.c: Likewise.
2272         * soft-fp/fixsfdi.c: Likewise.
2273         * soft-fp/fixsfsi.c: Likewise.
2274         * soft-fp/fixsfti.c: Likewise.
2275         * soft-fp/fixtfdi.c: Likewise.
2276         * soft-fp/fixtfsi.c: Likewise.
2277         * soft-fp/fixtfti.c: Likewise.
2278         * soft-fp/fixunsdfdi.c: Likewise.
2279         * soft-fp/fixunsdfsi.c: Likewise.
2280         * soft-fp/fixunsdfti.c: Likewise.
2281         * soft-fp/fixunssfdi.c: Likewise.
2282         * soft-fp/fixunssfsi.c: Likewise.
2283         * soft-fp/fixunssfti.c: Likewise.
2284         * soft-fp/fixunstfdi.c: Likewise.
2285         * soft-fp/fixunstfsi.c: Likewise.
2286         * soft-fp/fixunstfti.c: Likewise.
2287         * soft-fp/floatdidf.c: Likewise.
2288         * soft-fp/floatdisf.c: Likewise.
2289         * soft-fp/floatditf.c: Likewise.
2290         * soft-fp/floatsidf.c: Likewise.
2291         * soft-fp/floatsisf.c: Likewise.
2292         * soft-fp/floatsitf.c: Likewise.
2293         * soft-fp/floattidf.c: Likewise.
2294         * soft-fp/floattisf.c: Likewise.
2295         * soft-fp/floattitf.c: Likewise.
2296         * soft-fp/floatundidf.c: Likewise.
2297         * soft-fp/floatundisf.c: Likewise.
2298         * soft-fp/floatunditf.c: Likewise.
2299         * soft-fp/floatunsidf.c: Likewise.
2300         * soft-fp/floatunsisf.c: Likewise.
2301         * soft-fp/floatunsitf.c: Likewise.
2302         * soft-fp/floatuntidf.c: Likewise.
2303         * soft-fp/floatuntisf.c: Likewise.
2304         * soft-fp/floatuntitf.c: Likewise.
2305         * soft-fp/gedf2.c: Likewise.
2306         * soft-fp/gesf2.c: Likewise.
2307         * soft-fp/getf2.c: Likewise.
2308         * soft-fp/ledf2.c: Likewise.
2309         * soft-fp/lesf2.c: Likewise.
2310         * soft-fp/letf2.c: Likewise.
2311         * soft-fp/muldf3.c: Likewise.
2312         * soft-fp/mulsf3.c: Likewise.
2313         * soft-fp/multf3.c: Likewise.
2314         * soft-fp/negdf2.c: Likewise.
2315         * soft-fp/negsf2.c: Likewise.
2316         * soft-fp/negtf2.c: Likewise.
2317         * soft-fp/op-1.h: Likewise.
2318         * soft-fp/op-2.h: Likewise.
2319         * soft-fp/op-4.h: Likewise.
2320         * soft-fp/op-8.h: Likewise.
2321         * soft-fp/op-common.h: Likewise.
2322         * soft-fp/quad.h: Likewise.
2323         * soft-fp/single.h: Likewise.
2324         * soft-fp/soft-fp.h: Likewise.
2325         * soft-fp/subdf3.c: Likewise.
2326         * soft-fp/subsf3.c: Likewise.
2327         * soft-fp/subtf3.c: Likewise.
2328         * soft-fp/truncdfsf2.c: Likewise.
2329         * soft-fp/trunctfdf2.c: Likewise.
2330         * soft-fp/trunctfsf2.c: Likewise.
2331         * soft-fp/trunctfxf2.c: Likewise.
2332         * soft-fp/unorddf2.c: Likewise.
2333         * soft-fp/unordsf2.c: Likewise.
2334         * soft-fp/unordtf2.c: Likewise.
2336 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
2338         PR libgcc/67624
2339         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2341 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2343         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2344         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2345         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2346         messages.
2347         (internal_mcount): Likewise.
2348         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2349         crt_compile, add CRTSTUFF_T_CFLAGS_S.
2351 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2353         * configure.ac (libgcc_cv_solaris_crts): New test.
2354         * configure: Regenerate.
2355         * config.in: Regenerate.
2356         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2357         * config/gmon-sol2.c: Rename to ...
2358         * config/sol2/gmon.c: ... this.
2359         Include auto-target.h.
2360         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2361         * config/t-sol2: Rename to ...
2362         * config/sol2/t-sol2: ... this.
2363         (gmon.o): Reflect renaming.
2364         (crtp.o, crtpg.o): New rules.
2365         * config.host (*-*-solaris2*): Reflect renaming.
2366         Use system CRTs if present.
2367         Remove default CRT case.
2369 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
2371         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2372         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2373         __kernel_cmpxchg2.
2374         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2375         (__sync_val_compare_and_swap_##WIDTH): Likewise.
2376         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2377         (__sync_lock_test_and_set_##WIDTH): Likewise.
2378         (__sync_lock_release_##WIDTH): Likewise.
2379         (__sync_fetch_and_##OP##_4): Change result to match type of
2380         __kernel_cmpxchg.
2381         (__sync_##OP##_and_fetch_4): Likewise.
2382         (__sync_val_compare_and_swap_4): Likewise.
2383         (__sync_bool_compare_and_swap_4): likewise.
2384         (__sync_lock_test_and_set_4): Likewise.
2385         (__sync_lock_release_4): Likewise.
2386         (FETCH_AND_OP_2): Add long long variants.
2387         (OP_AND_FETCH_2): Likewise.
2388         (COMPARE_AND_SWAP_2 ): Likewise.
2389         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2390         (SYNC_LOCK_RELEASE_2): Likewise.
2391         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2393 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2395         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2396         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2397         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2398         (get_available_features): Habdle new features.
2400 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2402         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2403         memory layout. Deal correctly with BSS region larger than 32K.
2404         Handle a watchdog reset like a power-on reset. Clean up unused
2405         code.
2407 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2408             David Edelsohn  <dje.gcc@gmail.com>
2410         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2411         * config/rs6000/crtdbase.S: New file.
2412         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2414 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2416         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2417         Add support for call0 ABI.
2419 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2421         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2423 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2425         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2426         (__GTHREAD_HAS_COND): Likewise.
2427         (__gthread_t): Likewise.
2428         (__gthread_cond_t): Likewise.
2429         (__gthread_time_t): Likewise.
2430         (__GTHREAD_MUTEX_INIT): Likewise.
2431         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2432         (__GTHREAD_COND_INIT): Likewise.
2433         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2434         (__GTHREAD_TIME_INIT): Likewise.
2435         (__gthread_create): Likewise.
2436         (__gthread_join): Likewise.
2437         (__gthread_detach): Likewise.
2438         (__gthread_equal): Likewise.
2439         (__gthread_self): Likewise.
2440         (__gthread_yield): Likewise.
2441         (__gthread_cond_broadcast): Likewise.
2442         (__gthread_cond_signal): Likewise.
2443         (__gthread_cond_wait): Likewise.
2444         (__gthread_cond_timedwait): Likewise.
2445         (__gthread_cond_wait_recursive): Likewise.
2446         (__gthread_cond_destroy): Likewise.
2447         (rtems_gxx_once): Delete.
2448         (rtems_gxx_key_create): Likewise.
2449         (rtems_gxx_key_delete): Likewise.
2450         (rtems_gxx_getspecific): Likewise.
2451         (rtems_gxx_setspecific): Likewise.
2452         (rtems_gxx_mutex_init): Likewise.
2453         (rtems_gxx_mutex_destroy): Likewise.
2454         (rtems_gxx_mutex_lock): Likewise.
2455         (rtems_gxx_mutex_trylock): Likewise.
2456         (rtems_gxx_mutex_unlock): Likewise.
2457         (rtems_gxx_recursive_mutex_init): Likewise.
2458         (rtems_gxx_recursive_mutex_lock): Likewise.
2459         (rtems_gxx_recursive_mutex_trylock): Likewise.
2460         (rtems_gxx_recursive_mutex_unlock): Likewise.
2461         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2462         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2463         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2464         (__gthread_once): Likewise.
2465         (__gthread_key_create): Likewise.
2466         (__gthread_key_delete): Likewise.
2467         (__gthread_getspecific): Likewise.
2468         (__gthread_setspecific): Likewise.
2469         (__gthread_key_t): Use <pthread.h> type.
2470         (__gthread_once_t): Likewise
2471         (__gthread_mutex_t): Use <sys/lock.h> type.
2472         (__gthread_recursive_mutex_t): Likewise
2473         (__gthread_mutex_lock): Use <sys/lock.h> function.
2474         (__gthread_mutex_trylock): Likewise.
2475         (__gthread_mutex_timedlock): Likewise.
2476         (__gthread_mutex_unlock): Likewise.
2477         (__gthread_mutex_destroy): Likewise.
2478         (__gthread_recursive_mutex_lock): Likewise.
2479         (__gthread_recursive_mutex_trylock): Likewise.
2480         (__gthread_recursive_mutex_timedlock): Likewise.
2481         (__gthread_recursive_mutex_unlock): Likewise.
2482         (__gthread_recursive_mutex_destroy): Likewise.
2484 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2486         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2487         context->sp instead of context->cfa.
2489 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2491         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2492         with unwind-dw2-fde-dip.
2494 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2496         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2497         CALL12 followed by series of ENTRY to spill windowed registers.
2498         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2499         instead of making linux spill syscall.
2501 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2503         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2504         (get_intel_cpu): Likewise.
2506 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2508         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2509         (get_intel_cpu): Add Knights Landing support.
2511 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2513         PR target/66954
2514         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2515         (get_available_features): Handle FEATURE_PCLMUL.
2517 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2519         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2520         Broadwell.
2522 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2524         PR target/66954
2525         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2526         (get_available_features): Handle FEATURE_AES.
2528 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2530         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2531         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2533 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2535         * offloadstuff.c: Constify host data.
2537 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2539         * config/t-softfp: Split up "else ifneq".
2541 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2542             Cesar Philippidis  <cesar@codesourcery.com>
2543             Chung-Lin Tang  <cltang@codesourcery.com>
2545         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2546         for __nios2_arch__ level.
2548 2015-07-13  John Marino  <gnugcc@marino.st>
2550         * config/i386/t-dragonfly: New.
2552 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2554         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2555         better match light-weight syscall argument order.
2556         (__kernel_cmpxchg2): Likewise.
2557         Adjust callers.
2559 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2561         * config.host: Support i[34567]86-*-elfiamcu target.
2562         * config/t-softfp-sfdftf: New file.
2563         * config/i386/32/t-iamcu: Likewise.
2564         * configure: Regenerated.
2566 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2568         libgcc/config/arm/
2569         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2571 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2573         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2575 2015-05-27  John Marino  <gnugcc@marino.st>
2577         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2578         md_unwind_header
2579         * config/i386/freebsd-unwind.h: New.
2581 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2583         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2584         i386/t-crtfm to tmake_file.
2585         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2586         (set_fast_math): Use set_fast_math_sse for SSE targets.
2587         * config/i386/t-crtfm: Remove.
2589 2015-05-21  Alan Modra  <amodra@gmail.com>
2591         PR libgcc/66225
2592         * config/rs6000/morestack.S: Remove ".abiversion 1".
2594 2015-05-20  Alan Modra  <amodra@gmail.com>
2596         * config/rs6000/morestack.S: New.
2597         * config/rs6000/t-stack-rs6000: New.
2598         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2599         to tmake_file.
2600         * generic-morestack.c: Don't build for powerpc 32-bit.
2602 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2604         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2605         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2607 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2609         * config.host: FT32 target added.
2610         * config/ft32/*: New files for FT32 target.
2612 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2614         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2615         New macros.
2616         * config/arm/ieee754-df.S: Add CFI directives.
2617         * config/arm/ieee754-sf.S: Add CFI directives.
2619 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2621         * configure.ac: Include config/sjlj.m4.
2622         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2623         * config.in: Regenerate.
2624         * configure: Likewise.
2625         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2627 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2629         * libgcov-util.c: Add space between string literal and macro name.
2631 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2632             Chris Jones  <chrisj@nvidia.com>
2633             Joshua Conner  <jconner@nvidia.com>
2635         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2636         (arm*-*-uclinux*): Likewise.
2637         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2638         * config/arm/crtfastmath.c: New file.
2640 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2642         * Makefile.in (real_host_noncanonical): New variable.
2643         (libsubdir): Use it.
2644         * configure.ac (real_host_noncanonical): Compute.  Remove special
2645         case for intelmicemul.
2646         * configure: Regenerate.
2648 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2650         * config/frv/elf-lib.h: New file.
2651         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2652         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2653         to tm_file.
2655 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2657         * config/frv/frvbengin.c: Do not include defaults.h
2658         * config/frv/frvend.c: Ditto.
2660 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2662         * config.host: Add h8300-*-linux
2663         * config/h8300/t-linux: New file.
2664         * config/h8300/lib1funs.s: Change symbol prefix.
2665         * config/h8300/sfp-machine.h: 64bit double support.
2667 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2668             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2670         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2671         Linux if target provides dl_iterate_phdr.
2673 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2675         PR target/65612
2676         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2677         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2678         (__cpu_indicator_init@GCC_4.8.0): New.
2679         (__cpu_model@GCC_4.8.0): Likewise.
2680         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2681         -DUSE_ELF_SYMVER.
2683 2015-04-16  Nick Clifton  <nickc@redhat.com>
2685         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2686         and __modhi3 functions.
2687         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2688         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2690 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2692         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2693         do-while loop as macro body to avoid warnings.
2695 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2696             Iain Sandoe  <iain@codesourcery.com>
2698         PR target/65351
2699         * configure: Regenerate.
2701 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2702             Iain Sandoe  <iain@codesourcery.com>
2704         PR target/65351
2705         * configure: Regenerate.
2707 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2709         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2711 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2713         Implement call0 ABI for xtensa
2714         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2715         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2716         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2717         use ret in call0 ABI.
2718         * config/xtensa/t-windowed: New file.
2719         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2720         * libgcc/configure: Regenerated.
2721         * libgcc/configure.ac: Check if xtensa target is configured for
2722         windowed ABI and thus needs to use custom unwind code.
2724 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2726         PR libgcc/64885
2727         * gthr-single.h: Use __unused__ attribute instead of unused.
2728         * config/gthr-vxworks.h: Likewise.
2729         * config/i386/gthr-win32.h: Likewise.
2731 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2733         PR target/65038
2734         * config.in: Regenerated.
2735         * configure: Likewise.
2736         * configure.ac (AC_HEADER_STDC): Added explicit.
2737         (AC_CHECK_HEADERS): Check for default headers  plus
2738         for ftw.h header.
2739         * libgcov-util.c (gcov_read_profile_dir): Disable use
2740         of ftw-function, if header is not found.
2741         (ftw_read_file): Likewise.
2743 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2745         PR target/65181
2746         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2747         -Dinhibit_libc.
2749 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2751         * config/arm/bpabi.S (test_div_by_zero): Make label names
2752         consistent between thumb2 and arm mode cases.  Separate the
2753         signed comparison on the high word of the numerator from the
2754         unsigned comparison on the low word.
2755         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2756         signed comparison.
2758 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2760         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2761         and <string.h>.
2762         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2764 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2766         PR gcov-profile/61889
2767         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2769 2015-02-02  Nick Clifton  <nickc@redhat.com>
2771         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2772         rounding up the fraction.
2774 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2776         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2777         oldval and newval to const void *.  Fix typo.
2778         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2779         (FETCH_AND_OP_WORD): Likewise.
2780         (OP_AND_FETCH_WORD): Likewise.
2781         (COMPARE_AND_SWAP_2): Likewise.
2782         (__sync_val_compare_and_swap_4): Likewise.
2783         (__sync_lock_test_and_set_4): Likewise.
2784         (SYNC_LOCK_RELEASE_2): Likewise.
2785         Remove support for long long atomic operations.
2787 2015-01-27  Caroline Tice  <cmtice@google.com>
2789         Committing VTV Cywin/Ming patch for Patrick Wollgast
2790         * Makefile.in: Move rules to build vtv_*.o out of the check
2791         for CUSTOM_CRTSTUFF.
2792         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2793         i[34567]86-*-mingw*)
2794          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2795         enable_vtable_verify.
2797 2015-01-27  Nick Clifton  <nickc@redhat.com>
2799         * config/rl78/cmpsi2.S: Use function start and end macros.
2800         (__gcc_bcmp): New function.
2801         * config/rl78/lshrsi3.S: Use function start and end macros.
2802         * config/rl78/mulsi3.S: Add support for G10.
2803         (__mulqi3): New function for G10.
2804         * config/rl78/signbit.S: Use function start and end macros.
2805         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2806         fpmath-sf.S.
2807         (LIB2FUNCS_EXCLUDE): Define.
2808         (LIB2FUNCS_ST): Define.
2809         * config/rl78/trampoline.S: Use function start and end macros.
2810         * config/rl78/vregs.h (START_FUNC): New macro.
2811         (START_ANOTHER_FUNC): New macro.
2812         (END_FUNC): New macro.
2813         (END_ANOTHER_FUNC): New macro.
2814         * config/rl78/bit-count.S: New file.  Contains assembler
2815         implementations of the bit counting functions: ___clzhi2,
2816         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2817         __paritysi2, __popcounthi2 and __popcountsi2.
2818         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2819         implementationas of the math functions: __negsf2, __cmpsf2,
2820         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2821         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2822         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2823         implementations of the math functions: __subsf3, __addsf3,
2824         __mulsf3 and __divsf3
2826 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2828         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2829         Add i386/elf-lib.h to tm_file.
2830         * config/i386/elf-lib.h: Fix comment.
2831         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2832         && __sun__ && __svr4__]: Remove workaround.
2834 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2836         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2837         FEATURE_BMI2.
2838         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2840 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2842         * config/i386/cpuinfo.c (processor_subtypes): Add
2843         INTEL_COREI7_BROADWELL.
2844         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2845         model numbers.
2847 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2849         * config/i386/elf-lib.h: New file.
2850         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2851         Wrap definition in #ifdef __i386__.
2852         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2853         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2854         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2855         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2856         to tm_file.
2858 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2860         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2861         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2863 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2865         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2866         Update rt_sigframe format and address for current Nios II
2867         Linux conventions.
2869 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2871         * config.host (arm*-*-freebsd*): Add new configuration for
2872         arm*-*-freebsd*.
2873         * config/arm/freebsd-atomic.c: New file.
2874         * config/arm/t-freebsd: Likewise.
2875         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2876         'PC-relative indirect' OS's.
2878 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2880         * config.host: Add Visium support.
2881         * config/visium: New directory.
2883 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2885         Update copyright years.
2887 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2889         * config.host: Support mipsisa32r6 and mipsisa64r6.
2890         * config/mips/mips16.S: Do not build for R6.
2892 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2894         * config/sh/crt.h: New.
2895         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2896         symbols.
2897         * config/sh/crt1.S: Likewise.
2899 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2901         PR libgcc/63832
2902         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2903         func_ptr *dtor_list temporary variable to avoid "array subscript
2904         is above array bounds" warnings.
2906 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2908         * Makefile.in (with_aix_soname): Define.
2909         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2910         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2911         * configure: Recreate.
2913 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2915         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2916         now provided by defaults.h.
2918 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2920         PR target/55351
2921         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2922         whether it's defined.
2924 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2926         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2927         * config/i386/cpuinfo.c (get_available_features): Detect it.
2929 2014-11-27  Tony Wang  <tony.wang@arm.com>
2931         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2932         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2933         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2935 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2937         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2939 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2941         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2942         instead.
2944 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2945             John David Anglin  <danglin@gcc.gnu.org>
2947         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2948         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
2949         (OP_AND_FETCH_2): Likewise.
2950         (COMPARE_AND_SWAP_2): Likewise.
2951         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2952         (SYNC_LOCK_RELEASE_2): Likewise.
2953         (SUBWORD_SYNC_OP): Remove.
2954         (SUBWORD_VAL_CAS): Likewise.
2955         (SUBWORD_BOOL_CAS): Likewise.
2956         (FETCH_AND_OP_WORD): Update.
2957         Consistently use signed types.
2959 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
2960             Thomas Schwinge  <thomas@codesourcery.com>
2961             Ilya Verbin  <ilya.verbin@intel.com>
2962             Andrey Turetskiy  <andrey.turetskiy@intel.com>
2964         * Makefile.in (crtoffloadbegin$(objext)): New rule.
2965         (crtoffloadend$(objext)): Likewise.
2966         * configure: Regenerate.
2967         * configure.ac (accel_dir_suffix): Compute new variable.
2968         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2969         if enable_offload_targets is not empty.
2970         * offloadstuff.c: New file.
2972 2014-11-13  Nick Clifton  <nickc@redhat.com>
2974         * config/rl78/divmodhi.S: Add support for the G10 architecture.
2975         Use START_FUNC and END_FUNC macros to enable linker garbage
2976         collection.
2977         * config/rl78/divmodqi.S: Likewise.
2978         * config/rl78/divmodsi.S: Likewise.
2979         * config/rl78/mulsi3.S: Likewise.
2980         * config/rl78/lib2div.c: Remove G10 functions.
2981         * config/rl78/lib2muls.c: Likewise.
2982         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2983         * config/rl78/vregs.h (START_FUNC): New macro.
2984         (END_FUNC): New macro.
2986 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
2988         * config/mips/mips16.S: Set .module when supported.  Update O32
2989         FP64 calling convention and use for FPXX when possible.  Add FPXX
2990         calling convention fallback case.
2992 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
2994         * config.host: Handle nvptx-*-*.
2995         * shared-object.mk (as-flags-$o): Define.
2996         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2997         -xassembler-with-cpp.
2998         * static-object.mk: Identical changes.
2999         * config/nvptx/t-nvptx: New file.
3000         * config/nvptx/crt0.s: New file.
3001         * config/nvptx/free.asm: New file.
3002         * config/nvptx/malloc.asm: New file.
3003         * config/nvptx/realloc.c: New file.
3005 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3007         * Makefile.in (libgcc.map.in): New target.
3008         (libgcc.map): Use libgcc.map.in.
3009         * config/t-softfp (softfp_compat): New variable to be set by
3010         users.
3011         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3012         variables.
3013         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3014         directory.
3015         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3016         that use compat symbols and disable all code unless [SHARED].
3017         * config/t-softfp-compat: New file.
3018         * find-symver.awk: New file.
3019         * configure.ac (--with-glibc-version): New configure option.
3020         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3021         * configure: Regenerate.
3022         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3023         soft-float and e500.
3025 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3027         * config/t-hardfp (hardfp_exclusions): Document new variable for
3028         user to define.
3029         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3030         * config/t-softfp (softfp_extras): Document new variable for user
3031         to define.
3032         (softfp_func_list): Add functions from $(softfp_extras).
3033         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3034         * config.host (powerpc*-*-linux*): For e500v1, use
3035         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3036         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3037         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3039 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3041         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3042         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3043         memory read accesses are ok.
3045 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3047         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3048         * configure: Regenerate.
3049         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3050         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3051         of soft-fp for 32-bit classic hard float.  Do not use
3052         t-softfp-excl for soft float.
3054 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3056         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3057         configurations.
3058         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3059         Remove variables.
3061 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3063         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3064         introduced with 2014-10-21 trunk r216525.
3066 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3067             Vidya Praveen  <vidya.praveen@atmel.com>
3068             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3069             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3070             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3072         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3073         order.
3075         Updated library functions for AVRTINY arch.
3076         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3077         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3078         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3079         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3080         wsubi/wadi macors.
3081         (__mulsi3_helper): Update stack, preserve callee saved regs and
3082         argument from stack. Restore callee save registers.
3083         (__mulpsi3): Likewise.
3084         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3085         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3086         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3087         AVRTINY.
3088         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3089         (__do_copy_data): Added new definition for AVRTINY.
3090         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3091         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3092         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3093         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3094         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3095         macors.
3096         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3097         AVRTINY.
3099         Fix broken long multiplication on tiny arch.
3101 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3103         * soft-fp/double.h: Update from glibc.
3104         * soft-fp/eqdf2.c: Likewise.
3105         * soft-fp/eqsf2.c: Likewise.
3106         * soft-fp/eqtf2.c: Likewise.
3107         * soft-fp/extenddftf2.c: Likewise.
3108         * soft-fp/extended.h: Likewise.
3109         * soft-fp/extendsfdf2.c: Likewise.
3110         * soft-fp/extendsftf2.c: Likewise.
3111         * soft-fp/extendxftf2.c: Likewise.
3112         * soft-fp/gedf2.c: Likewise.
3113         * soft-fp/gesf2.c: Likewise.
3114         * soft-fp/getf2.c: Likewise.
3115         * soft-fp/ledf2.c: Likewise.
3116         * soft-fp/lesf2.c: Likewise.
3117         * soft-fp/letf2.c: Likewise.
3118         * soft-fp/op-1.h: Likewise.
3119         * soft-fp/op-2.h: Likewise.
3120         * soft-fp/op-4.h: Likewise.
3121         * soft-fp/op-8.h: Likewise.
3122         * soft-fp/op-common.h: Likewise.
3123         * soft-fp/quad.h: Likewise.
3124         * soft-fp/single.h: Likewise.
3125         * soft-fp/soft-fp.h: Likewise.
3126         * soft-fp/unorddf2.c: Likewise.
3127         * soft-fp/unordsf2.c: Likewise.
3128         * soft-fp/unordtf2.c: Likewise.
3129         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3130         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3131         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3132         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3133         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3134         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3135         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3136         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3137         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3138         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3140 2014-10-08  Rong Xu  <xur@google.com>
3142         * libgcov-util.c (read_gcda_file): Fix format.
3143         (find_match_gcov_info): Ditto.
3144         (calculate_2_entries): New.
3145         (compute_one_gcov): Ditto.
3146         (gcov_info_count_all_cold): Ditto.
3147         (gcov_info_count_all_zero): Ditto.
3148         (extract_file_basename): Ditto.
3149         (get_file_basename): Ditto.
3150         (set_flag): Ditto.
3151         (matched_gcov_info): Ditto.
3152         (calculate_overlap): Ditto.
3153         (gcov_profile_overlap): Ditto.
3154         * libgcov-driver.c (compute_summary): Make
3155         it avavilable for external calls.
3157 2014-10-06  Rong Xu  <xur@google.com>
3159         * Makefile.in: Ditto.
3160         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3161         (gcov_sort_icall_topn_counter): Ditto.
3162         (gcov_sort_topn_counter_arrays): Ditto.
3163         (dump_one_gcov): Sort indirect_call topn counters.
3164         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3165         function.
3166         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3167         utility function.
3168         (__gcov_indirect_call_topn_profiler): New profiler function.
3169         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3170         * libgcov.h: New decls.
3172 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
3174         * config.host: Remove support for score-*.
3176 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3178         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3179         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3180         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3181         __LIBGCC_XF_MANT_DIG__.
3182         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3183         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3184         __LIBGCC_TF_MANT_DIG__.
3185         * libgcc2.c (NOTRUNC): Define in terms of
3186         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3187         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3189 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3191         PR target/63312
3192         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3193         New macros.
3195 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
3197         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3198         override USE_PT_GNU_EH_FRAME.
3199         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3200         check USE_EH_FRAME_REGISTRY_ALWAYS against
3201         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3202         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3203         variable for substituted force_explicit_eh_registry.
3204         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3205         * configure.ac (explicit-exception-frame-registration):
3206         New AC_ARG_ENABLE.
3207         * configure: Regenerate.
3209 2014-09-19  Olivier Hainque  <hainque@adacore.com>
3211         * config.host (powerpc-wrs-vxworksmils): New configuration,
3212         same as vxworksae.
3214 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3216         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3218 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3220         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3221         bits not set bits as indicating trapping exceptions.
3223 2014-09-17  Nathan sidwell  <nathan@acm.org>
3225         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3226         (LIBGCOV_DRIVER): ... here.
3227         * libgcov-driver.c (gcov_master): New.
3228         (gcov_exit): Remove from master chain.
3229         (__gcov_init): Add to master chain if version compatible.  Don't
3230         clear the version.
3231         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3232         (gcov_reset_int): Clear master chain, if compatible.
3233         (gcov_dump_int): New internal interface.  Dump master chain, if
3234         compatible.
3235         (gcov_dump): Alias for gcov_dump_int.
3236         * libgcov.h (struct gcov_root): Add next and prev fields.
3237         (struct gcov_master): New struct.
3238         (__gcov_master): New.
3239         (gcov_dump_int): Declare.
3241 2014-09-17  Olivier Hainque  <hainque@adacore.com>
3243         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3244         and crtbegin.o + crtend.o to extra_parts.
3246 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3248         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3249         __LIBGCC_HAS_SF_MODE__.
3250         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3251         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3252         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3253         * config/libbid/bid_gcc_intrinsics.h
3254         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3255         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3256         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3257         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3258         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3259         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3261 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
3263         PR target/63223
3264         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3265         and R24 as needed.  Make work for all devices and .text locations.
3266         (__do_global_ctors, __do_global_dtors): Use word addresses.
3267         (__tablejump__, __tablejump_elpm__): Remove functions.
3268         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3269         Add _tablejump2.
3270         (XICALL, XIJMP): New macros.
3272 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3273         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3275         * config.host (aarch64*): Include crtfastmath.o and
3276         t-crtfm.
3277         * config/aarch64/crtfastmath.c: New file.
3279 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
3281         * config.host: Remove picochip support.
3282         * config/picochip/adddi3.S: Remove.
3283         * config/picochip/ashlsi3.S: Remove.
3284         * config/picochip/ashlsi3.c: Remove.
3285         * config/picochip/ashrsi3.S: Remove.
3286         * config/picochip/ashrsi3.c: Remove.
3287         * config/picochip/clzsi2.S: Remove.
3288         * config/picochip/cmpsi2.S: Remove.
3289         * config/picochip/divmod15.S: Remove.
3290         * config/picochip/divmodhi4.S: Remove.
3291         * config/picochip/divmodsi4.S: Remove.
3292         * config/picochip/lib1funcs.S: Remove.
3293         * config/picochip/longjmp.S: Remove.
3294         * config/picochip/lshrsi3.S: Remove.
3295         * config/picochip/lshrsi3.c: Remove.
3296         * config/picochip/parityhi2.S: Remove.
3297         * config/picochip/popcounthi2.S: Remove.
3298         * config/picochip/setjmp.S: Remove.
3299         * config/picochip/subdi3.S: Remove.
3300         * config/picochip/t-picochip: Remove.
3301         * config/picochip/ucmpsi2.S: Remove.
3302         * config/picochip/udivmodhi4.S: Remove.
3303         * config/picochip/udivmodsi4.S: Remove.
3305 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3307         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3308         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3309         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3310         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3311         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
3312         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3313         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
3314         defined and LIBGCC2_HAS_DF_MODE is defined.
3315         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
3316         defined and LIBGCC2_HAS_XF_MODE is defined.
3317         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
3318         defined and LIBGCC2_HAS_TF_MODE is defined.
3320 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3322         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3323         and ROUND_TOWARDS_ZERO conditionals.
3325 2014-09-07  Nathan sidwell  <nathan@acm.org>
3327         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3328         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
3330 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
3332         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3333         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3334         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3335         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3336         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3337         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3338         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3339         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3340         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3341         (DWARF_FRAME_REGISTERS): Change all uses to
3342         __LIBGCC_DWARF_FRAME_REGISTERS__.
3343         (EH_RETURN_STACKADJ_RTX): Change all uses to
3344         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3345         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3346         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
3347         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3348         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3349         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3350         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3351         to __LIBGCC_EH_FRAME_SECTION_NAME__.
3352         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3353         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3354         __LIBGCC_STACK_POINTER_REGNUM__.
3355         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3356         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3357         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3358         to __LIBGCC_STACK_POINTER_REGNUM__.
3359         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3360         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3361         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3362         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3363         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3364         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3365         (STACK_POINTER_REGNUM): Change all uses to
3366         __LIBGCC_STACK_POINTER_REGNUM__.
3367         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3368         use to __LIBGCC_STACK_POINTER_REGNUM__.
3369         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3370         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3371         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3372         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3373         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3374         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3375         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3376         to __LIBGCC_STACK_POINTER_REGNUM__.
3377         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3378         Remove conditional definition.
3379         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3380         __LIBGCC_TEXT_SECTION_ASM_OP__.
3381         (EH_FRAME_SECTION_NAME): Change all uses to
3382         __LIBGCC_EH_FRAME_SECTION_NAME__.
3383         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3384         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3385         (CTORS_SECTION_ASM_OP): Change all uses to
3386         __LIBGCC_CTORS_SECTION_ASM_OP__.
3387         (DTORS_SECTION_ASM_OP): Change all uses to
3388         __LIBGCC_DTORS_SECTION_ASM_OP__.
3389         (JCR_SECTION_NAME): Change all uses to
3390         __LIBGCC_JCR_SECTION_NAME__.
3391         (INIT_SECTION_ASM_OP): Change all uses to
3392         __LIBGCC_INIT_SECTION_ASM_OP__.
3393         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3394         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3395         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3396         __LIBGCC_STACK_GROWS_DOWNWARD__.
3397         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3398         __LIBGCC_INIT_SECTION_ASM_OP__.
3399         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3400         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3401         (EH_FRAME_SECTION_NAME): Change all uses to
3402         __LIBGCC_EH_FRAME_SECTION_NAME__.
3403         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3404         definitions.  Change all uses to
3405         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3406         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3407         __LIBGCC_STACK_GROWS_DOWNWARD__.
3408         (DWARF_FRAME_REGISTERS): Change all uses to
3409         __LIBGCC_DWARF_FRAME_REGISTERS__.
3410         (EH_RETURN_STACKADJ_RTX): Change all uses to
3411         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3412         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3413         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3414         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3415         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3416         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3418 2014-09-02  Nathan sidwell  <nathan@acm.org>
3420         * libgcov-interface.c (STRONG_ALIAS): New.
3421         (__gcov_flush): Call __gcov_reset_int.
3422         (__gcov_reset): Strong alias for ...
3423         (__gcov_reset_ing): ... this renamed hidden version.
3424         * libgcov.h (__gcov_reset_int): New declaration.
3426 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3428         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3429         call from here...
3430         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3431         (__dso_handle): Define on Cygwin.
3432         * config/i386/t-cygming (crtbeginS.o): New rule.
3433         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3435         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3436         declaration syntax.
3438 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3440         * crtstuff.c: Undef caddr_t.
3442 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3444         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3446 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3448         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3449         (LIBGCOV_DRIVER): ... to here.
3450         * libgcov.h (gcov_do_dump): New #define.
3451         (struct gcov_root): New.
3452         (__gcov_root): New declaration.
3453         (__gcov_dump_one): Declare.
3454         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3455         run_accounted): Delete.
3456         (gcov_compute_histogram): Add LIST argument, adjust.
3457         (compute_summary): Adjust gcov_compute_histogram call.
3458         (gcov_do_dump): Not hidden, static in libgcov.
3459         (gcov_clear): Move  to interface.c.
3460         (__gcov_dump_one): New, broken out of ...
3461         (gcov_exit): ... here.  Make static.
3462         (__gcov_root): New.
3463         (__gcov_init): Adjust.
3464         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3465         declarations.
3466         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3467         (gcov_clear): Moved from driver.c.   Add LIST argument.
3468         (__gcov_reset): Adjust for changed interfaces.
3469         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3471 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3473         PR target/60102
3474         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3475         based on change in SPE high register numbers and 3 HTM registers.
3477 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3479         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3480         LIBGCOV_INTERFACE): Reformat.
3481         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3482         IN_GCOV_TOOL.
3483         * libgcov-interface.c: Reformat some comments.
3484         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3486 2014-07-31  Alan Modra  <amodra@gmail.com>
3487             Peter Bergner  <bergner@vnet.ibm.com>
3489         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3490         (pack_ldouble): New function.
3491         (__gcc_qadd): Use it.
3492         (__gcc_qmul): Likewise.
3493         (__gcc_qdiv): Likewise.
3494         (__gcc_qneg): Likewise.
3495         (__gcc_stoq): Likewise.
3496         (__gcc_dtoq): Likewise.
3498 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3500         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3501         (__tpf_eh_return): Add original return address as second parameter.
3502         Handle cases where unwinder routines were called directly, instead
3503         of from within the C++ library.
3505 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3507         * libgcov.h: Move renaming of entry points to lib gcov specific
3508         portion.
3509         (gcov_do_dump): New rename.
3510         (gcov_rewrite): Remove inline, make HIDDEN.
3511         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3512         (gcov_exit_compute_summary): Rename to ...
3513         (compute_summary): ... here.  Add LIST argument.
3514         (gcov_exit_merge_gcda): Rename to ...
3515         (merge_one_data): ... here.
3516         (gcov_exit_write_gcda): Rename to ...
3517         (write_one_data): ... here.
3518         (gcov_exit_merge_summary): Rename to ...
3519         (merge_summary): Add RUN_COUNTED argument.
3520         (gcov_exit_dump_gcov): Rename to ...
3521         (dump_one_gcov): Add RUN_COUNTED argument.
3522         (gcov_do_dump): New function, broken out of ...
3523         (gcov_exit): ... here.  Call it.
3525 2014-07-27  Anthony Green  <green@moxielogic.com>
3527         * config.host: Add moxiebox configuration suppport.
3529 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3531         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3532         (struct gcov_filename): ... here.  Include buffer and max length
3533         fields.
3534         (gcov_max_filename): Remove.
3535         (gi_filename): Remove.
3536         (gcov_exit_compute_summary): Compute max filename here.
3537         (gcov_exit_merge_gcda): Add filename parm, adjust.
3538         (gcov_exit_merge_summary): Likewise.
3539         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3540         (gcov_exit): Likewise.
3541         (__gcov_init): Don't calculate max length here.
3542         * libgcov_util.c (max_filename_len): Remove.
3543         (read_gcda_file): Don't calculate max length here.
3544         (gcov_read_profile_dir): Don't propagate here.
3545         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3546         struct gcov_filename changes.
3547         (gcov_exit_open_gcda_file): Likewise.
3549 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3551         * libgcov-driver.c (set_gcov_dump_complete,
3552         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3553         functions polluting user's namespace.
3554         (gcov_exit): Set variable directly.
3555         (gcov_clear): Reset variable directly.
3556         * libgcov-interface.c (get_gcov_dymp_complete,
3557         reset_gov_dump_complete): Remove declarations.
3558         (__gcov_reset, __gcov_dump): Don't call them.
3560 2014-07-24  DJ Delorie  <dj@redhat.com>
3562         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3563         (__gcc_deregister_frame): Move logic to detect deregister function
3564         to ...
3565         (__gcc_register_frame): here, so it's consistent with the register
3566         logic.
3568 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3570         * libgcov-driver.c (set_gcov_list): Remove.
3571         (gcov_list): Make non-static in GCOV_TOOL.
3572         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3574 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3576         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3577         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3578         Don't use SYNC_LOCK_RELEASE for int type.
3580 2014-07-14  Richard Biener  <rguenther@suse.de>
3582         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3584 2014-07-11  Rong Xu  <xur@google.com>
3586         * libgcov-util.c (gcov_max_filename): Fix declartion.
3588 2014-07-10  Rong Xu  <xur@google.com>
3590         Add gcov-tool: an offline gcda profile processing tool
3591         Support.
3592         * libgcov-driver.c (gcov_max_filename): Make available
3593         to gcov-tool.
3594         * libgcov-merge.c (__gcov_merge_add): Replace
3595         gcov_read_counter() with a Macro.
3596         (__gcov_merge_ior): Ditto.
3597         (__gcov_merge_time_profile): Ditto.
3598         (__gcov_merge_single): Ditto.
3599         (__gcov_merge_delta): Ditto.
3600         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3601         in the utility functions.
3602         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3603         gcov_list object link lists.
3604         (tag_function): Ditto.
3605         (tag_blocks): Ditto.
3606         (tag_arcs): Ditto.
3607         (tag_lines): Ditto.
3608         (tag_counters): Ditto.
3609         (tag_summary): Ditto.
3610         (read_gcda_finalize): Ditto.
3611         (read_gcda_file): Ditto.
3612         (ftw_read_file): Ditto.
3613         (read_profile_dir_init): Ditto.
3614         (gcov_read_profile_dir): Ditto.
3615         (gcov_read_counter_mem): Ditto.
3616         (gcov_get_merge_weight): Ditto.
3617         (merge_wrapper): A wrapper function that calls merging handler.
3618         (gcov_merge): Merge two gcov_info objects with weights.
3619         (find_match_gcov_info): Find the matched gcov_info in the list.
3620         (gcov_profile_merge): Merge two gcov_info object lists.
3621         (__gcov_add_counter_op): Process edge profile counter values.
3622         (__gcov_ior_counter_op): Process IOR profile counter values.
3623         (__gcov_delta_counter_op): Process delta profile counter values.
3624         (__gcov_single_counter_op): Process single  profile counter values.
3625         (fp_scale): Callback function for float-point scaling.
3626         (int_scale): Callback function for integer fraction scaling.
3627         (gcov_profile_scale): Scaling profile counters.
3628         (gcov_profile_normalize): Normalize profile counters.
3629         * libgcov.h: Add headers and functions for gcov-tool use.
3630         (gcov_get_counter): New.
3631         (gcov_get_counter_target): Ditto.
3632         (struct gcov_info): Make the functions field mutable in gcov-tool
3633         compilation.
3635 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3637         PR libgcc/61585
3638         * unwind-seh.c (_Unwind_GetGR): Check for proper
3639         index range.
3640         (_Unwind_SetGR): Likewise.
3642 2014-05-22  Nick Clifton  <nickc@redhat.com>
3644         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3645         -mhwmult=none.
3647 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3649         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3650         include.
3652 2014-05-20  John Marino  <gnugcc@marino.st>
3654         * config.host (*-*-dragonfly*): New target.
3655         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3656         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3657         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3658         * config/i386/dragonfly-unwind.h: New.
3660 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3662         PR libgcc/60166
3663         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3664         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3666 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3668         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3669         implementation.
3671 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3673         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3675 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3677         PR libgcc/61097
3678         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3679         if --enable-shared.
3681 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3683         Work around for current cygwin32 build problems.
3684         * config/i386/cygming-crtbegin.c (__register_frame_info,
3685         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3686         functions only for 64-bit systems.
3688 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3690         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3691         (sigill_caught, sigill_hdlr): Remove.
3693 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3695         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3696         check.
3697         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3698         Solaris 9 single-threaded support.
3699         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3700         Solaris 9 single-threaded support.  Add call_user_handler code
3701         sequences.
3702         (sparc_is_sighandler): Likewise.
3704 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3706         * config.host: Append t-floattodi to tmake_file depending on
3707         host_address.
3709 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3711         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3713 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3715         PR libgcc/60472
3716         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3717         variable to avoid "array subscript is above array bounds" warnings.
3718         Use __builtin_expect when checking *jcr_list for NULL.
3720 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3722         PR libgcc/59339
3723         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3724         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3725         vtv_*.o to extra_parts if enable_vtable_verify.
3727 2014-03-06  Nick Clifton  <nickc@redhat.com>
3729         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3730         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3732 2014-02-28  Joey Ye  <joey.ye@arm.com>
3734         PR libgcc/60166
3735         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3736         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3737         Set to zero.
3739 2014-02-24  Walter Lee  <walt@tilera.com>
3741         * config.host: Support "tilegx*" and "tilepro*" triplets.
3742         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3743         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3745 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3746             Chung-Lin Tang  <cltang@codesourcery.com>
3748         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3749         * config/nios2/crti.S: Remove .file directive.
3750         * config/nios2/crtn.S: Likewise.
3752 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3753         Jonathan Schleifer  <js@webkeks.org>
3755         PR objc/56870
3756         * unwind-seh.c (_GCC_specific_handler): Pass proper
3757         value to unwind-handler.
3759 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3761         * soft-fp/adddf3.c: Update from glibc.
3762         * soft-fp/addsf3.c: Likewise.
3763         * soft-fp/addtf3.c: Likewise.
3764         * soft-fp/divdf3.c: Likewise.
3765         * soft-fp/divsf3.c: Likewise.
3766         * soft-fp/divtf3.c: Likewise.
3767         * soft-fp/double.h: Likewise.
3768         * soft-fp/eqdf2.c: Likewise.
3769         * soft-fp/eqsf2.c: Likewise.
3770         * soft-fp/eqtf2.c: Likewise.
3771         * soft-fp/extenddftf2.c: Likewise.
3772         * soft-fp/extended.h: Likewise.
3773         * soft-fp/extendsfdf2.c: Likewise.
3774         * soft-fp/extendsftf2.c: Likewise.
3775         * soft-fp/extendxftf2.c: Likewise.
3776         * soft-fp/fixdfdi.c: Likewise.
3777         * soft-fp/fixdfsi.c: Likewise.
3778         * soft-fp/fixdfti.c: Likewise.
3779         * soft-fp/fixsfdi.c: Likewise.
3780         * soft-fp/fixsfsi.c: Likewise.
3781         * soft-fp/fixsfti.c: Likewise.
3782         * soft-fp/fixtfdi.c: Likewise.
3783         * soft-fp/fixtfsi.c: Likewise.
3784         * soft-fp/fixtfti.c: Likewise.
3785         * soft-fp/fixunsdfdi.c: Likewise.
3786         * soft-fp/fixunsdfsi.c: Likewise.
3787         * soft-fp/fixunsdfti.c: Likewise.
3788         * soft-fp/fixunssfdi.c: Likewise.
3789         * soft-fp/fixunssfsi.c: Likewise.
3790         * soft-fp/fixunssfti.c: Likewise.
3791         * soft-fp/fixunstfdi.c: Likewise.
3792         * soft-fp/fixunstfsi.c: Likewise.
3793         * soft-fp/fixunstfti.c: Likewise.
3794         * soft-fp/floatdidf.c: Likewise.
3795         * soft-fp/floatdisf.c: Likewise.
3796         * soft-fp/floatditf.c: Likewise.
3797         * soft-fp/floatsidf.c: Likewise.
3798         * soft-fp/floatsisf.c: Likewise.
3799         * soft-fp/floatsitf.c: Likewise.
3800         * soft-fp/floattidf.c: Likewise.
3801         * soft-fp/floattisf.c: Likewise.
3802         * soft-fp/floattitf.c: Likewise.
3803         * soft-fp/floatundidf.c: Likewise.
3804         * soft-fp/floatundisf.c: Likewise.
3805         * soft-fp/floatunditf.c: Likewise.
3806         * soft-fp/floatunsidf.c: Likewise.
3807         * soft-fp/floatunsisf.c: Likewise.
3808         * soft-fp/floatunsitf.c: Likewise.
3809         * soft-fp/floatuntidf.c: Likewise.
3810         * soft-fp/floatuntisf.c: Likewise.
3811         * soft-fp/floatuntitf.c: Likewise.
3812         * soft-fp/gedf2.c: Likewise.
3813         * soft-fp/gesf2.c: Likewise.
3814         * soft-fp/getf2.c: Likewise.
3815         * soft-fp/ledf2.c: Likewise.
3816         * soft-fp/lesf2.c: Likewise.
3817         * soft-fp/letf2.c: Likewise.
3818         * soft-fp/muldf3.c: Likewise.
3819         * soft-fp/mulsf3.c: Likewise.
3820         * soft-fp/multf3.c: Likewise.
3821         * soft-fp/negdf2.c: Likewise.
3822         * soft-fp/negsf2.c: Likewise.
3823         * soft-fp/negtf2.c: Likewise.
3824         * soft-fp/op-1.h: Likewise.
3825         * soft-fp/op-2.h: Likewise.
3826         * soft-fp/op-4.h: Likewise.
3827         * soft-fp/op-8.h: Likewise.
3828         * soft-fp/op-common.h: Likewise.
3829         * soft-fp/quad.h: Likewise.
3830         * soft-fp/single.h: Likewise.
3831         * soft-fp/soft-fp.h: Likewise.
3832         * soft-fp/subdf3.c: Likewise.
3833         * soft-fp/subsf3.c: Likewise.
3834         * soft-fp/subtf3.c: Likewise.
3835         * soft-fp/truncdfsf2.c: Likewise.
3836         * soft-fp/trunctfdf2.c: Likewise.
3837         * soft-fp/trunctfsf2.c: Likewise.
3838         * soft-fp/trunctfxf2.c: Likewise.
3839         * soft-fp/unorddf2.c: Likewise.
3840         * soft-fp/unordsf2.c: Likewise.
3841         * soft-fp/unordtf2.c: Likewise.
3842         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3843         macro.
3844         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3845         Likewise.
3846         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3847         Likewise.
3848         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3849         Likewise.
3850         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3851         Likewise.
3852         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3853         Likewise.
3854         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3855         Likewise.
3856         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3857         Likewise.
3858         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3859         Likewise.
3860         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3861         Likewise.
3862         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3863         Likewise.
3864         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3865         Likewise.
3866         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3867         Likewise.
3868         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3869         Likewise.
3870         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3871         Likewise.
3872         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3873         Likewise.
3875 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3877         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3878         cannot be represented.
3879         * config/s390/32/_fixsfdi.c: Likewise.
3880         * config/s390/32/_fixtfdi.c: Likewise.
3881         * config/s390/32/_fixunsdfdi.c: Likewise.
3882         * config/s390/32/_fixunssfdi.c: Likewise.
3883         * config/s390/32/_fixunstfdi.c: Likewise.
3885 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3887         * configure.ac (libgcc_cv_mips_hard_float): New.
3888         * configure: Regenerate.
3889         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3890         t-softfp-sfdf for hard-float targets.
3891         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3892         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3893         (softfp_truncations, softfp_exclude_libgcc2): New.
3894         * config/t-hardfp: New file.
3895         * config/t-hardfp-sfdf: Likewise.
3896         * config/hardfp.c: Likewise.
3898 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3900         * config.host: Include t-floattodi also for s390x.
3901         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3902         * config/s390/32/_fixsfdi.c: Likewise.
3903         * config/s390/32/_fixtfdi.c: Likewise.
3904         * config/s390/32/_fixunsdfdi.c: Likewise.
3905         * config/s390/32/_fixunssfdi.c: Likewise.
3906         * config/s390/32/_fixunstfdi.c: Likewise.
3908 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3910         PR target/59788
3911         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3912         (install-libgcc-unwind-map-forbuild): New target.
3913         (all): Depend on install-libgcc-unwind-map-forbuild.
3914         (install-libgcc-unwind-map): New target.
3915         (install): Depend on install-libgcc-unwind-map.
3917 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3919         * config/nios2/crti.S (_init): Initialize GOT pointer from
3920         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3922 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3924         * configure.ac: Check __mips64 when setting host_address.
3925         * configure: Regenerate.
3926         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3927         mips/t-mips64 and t-softfp.
3928         (mips*-*-linux*): Don't add mips/t-tpbit.
3929         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3930         (DPBIT, DPBIT_CFLAGS): Delete.
3931         * config/mips/sfp-machine.h: New file.
3932         * config/mips/t-mips64: Likewise.
3933         * config/mips/t-softfp-tf: Likewise.
3934         * config/mips/t-tpbit: Delete.
3936 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3938         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3939         as long long.
3941 2014-01-25  Walter Lee  <walt@tilera.com>
3943         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
3944         config.h or system.h.
3945         (bool) Define.
3947 2014-01-25  Walter Lee  <walt@tilera.com>
3949         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3950         (post_atomic_barrier): Ditto.
3951         (__fetch_and_do): New macro.
3952         (__atomic_fetch_and_do): Use __fetch_and_do.
3953         (__sync_fetch_and_do): New macro.
3954         (__sync_fetch_and_add_4): New function.
3955         (__sync_fetch_and_sub_4): New function.
3956         (__sync_fetch_and_or_4): New function.
3957         (__sync_fetch_and_and_4): New function.
3958         (__sync_fetch_and_xor_4): New function.
3959         (__sync_fetch_and_nand_4): New function.
3960         (__sync_fetch_and_add_8): New function.
3961         (__sync_fetch_and_sub_8): New function.
3962         (__sync_fetch_and_or_8): New function.
3963         (__sync_fetch_and_and_8): New function.
3964         (__sync_fetch_and_xor_8): New function.
3965         (__sync_fetch_and_nand_8): New function.
3966         (__do_and_fetch): New macro.
3967         (__atomic_do_and_fetch): Use __do_and_fetch.
3968         (__sync_do_and_fetch): New macro.
3969         (__sync_add_and_fetch_4): New function.
3970         (__sync_sub_and_fetch_4): New function.
3971         (__sync_or_and_fetch_4): New function.
3972         (__sync_and_and_fetch_4): New function.
3973         (__sync_xor_and_fetch_4): New function.
3974         (__sync_nand_and_fetch_4): New function.
3975         (__sync_add_and_fetch_8): New function.
3976         (__sync_sub_and_fetch_8): New function.
3977         (__sync_or_and_fetch_8): New function.
3978         (__sync_and_and_fetch_8): New function.
3979         (__sync_xor_and_fetch_8): New function.
3980         (__sync_nand_and_fetch_8): New function.
3981         (__sync_exchange_methods): New macro.
3982         (__sync_val_compare_and_swap_4): New function.
3983         (__sync_bool_compare_and_swap_4): New function.
3984         (__sync_lock_test_and_test_4): New function.
3985         (__sync_val_compare_and_swap_8): New function.
3986         (__sync_bool_compare_and_swap_8): New function.
3987         (__sync_lock_test_and_test_8): New function.
3988         (__subword_cmpxchg_body): New macro.
3989         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3990         (__atomic_compare_exchange_2): Ditto.
3991         (__sync_subword_cmpxchg): New macro.
3992         (__sync_val_compare_and_swap_1): New function.
3993         (__sync_bool_compare_and_swap_1): New function.
3994         (__sync_val_compare_and_swap_2): New function.
3995         (__sync_bool_compare_and_swap_2): New function.
3996         (__atomic_subword): Rename to ...
3997         (__subword): ... New name.
3998         (__atomic_subword_fetch): Use __subword.
3999         (__sync_subword_fetch): New macro.
4000         (__sync_fetch_and_add_1): New function.
4001         (__sync_fetch_and_sub_1): New function.
4002         (__sync_fetch_and_or_1): New function.
4003         (__sync_fetch_and_and_1): New function.
4004         (__sync_fetch_and_xor_1): New function.
4005         (__sync_fetch_and_nand_1): New function.
4006         (__sync_fetch_and_add_2): New function.
4007         (__sync_fetch_and_sub_2): New function.
4008         (__sync_fetch_and_or_2): New function.
4009         (__sync_fetch_and_and_2): New function.
4010         (__sync_fetch_and_xor_2): New function.
4011         (__sync_fetch_and_nand_2): New function.
4012         (__sync_add_and_fetch_1): New function.
4013         (__sync_sub_and_fetch_1): New function.
4014         (__sync_or_and_fetch_1): New function.
4015         (__sync_and_and_fetch_1): New function.
4016         (__sync_xor_and_fetch_1): New function.
4017         (__sync_nand_and_fetch_1): New function.
4018         (__sync_add_and_fetch_2): New function.
4019         (__sync_sub_and_fetch_2): New function.
4020         (__sync_or_and_fetch_2): New function.
4021         (__sync_and_and_fetch_2): New function.
4022         (__sync_xor_and_fetch_2): New function.
4023         (__sync_nand_and_fetch_2): New function.
4024         (__atomic_subword_lock): Use __subword.
4025         (__sync_subword_lock): New macro.
4026         (__sync_lock_test_and_set_1): New function.
4027         (__sync_lock_test_and_set_2): New function.
4029 2014-01-25  Walter Lee  <walt@tilera.com>
4031         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4032         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4033         (__atomic_subword): Ditto.
4035 2014-01-25  Walter Lee  <walt@tilera.com>
4037         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4038         a prefix op argument.
4039         (__atomic_nand_fetch_4): Add prefix op.
4040         (__atomic_nand_fetch_8): Ditto.
4042 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4044         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4046 2014-01-09  Rong Xu  <xur@google.com>
4048         * libgcov-driver.c (this_prg): make it local to save
4049         bss space.
4050         (gcov_exit_compute_summary): Ditto.
4051         (gcov_exit_merge_gcda): Ditto.
4052         (gcov_exit_merge_summary): Ditto.
4053         (gcov_exit_dump_gcov): Ditto.
4055 2014-01-08  Rong Xu  <xur@google.com>
4057         * libgcov-driver.c: Use libgcov.h.
4058         (buffer_fn_data): Use xmalloc instead of malloc.
4059         (gcov_exit_merge_gcda): Ditto.
4060         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4061         * libgcov.h: New common header files for libgcov-*.h.
4062         * libgcov-interface.c: Use libgcov.h
4063         * libgcov-merge.c: Ditto.
4064         * libgcov-profiler.c: Ditto.
4065         * Makefile.in: Add dependence to libgcov.h
4067 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4069         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4070         case of small numerator and finite nonzero result.
4072 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4074         Update copyright years
4076 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4078         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4079         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4080         config/arc/dp-hack.h, config/arc/fp-hack.h,
4081         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4082         config/arc/ieee-754/arc600-dsp/divdf3.S,
4083         config/arc/ieee-754/arc600-dsp/divsf3.S,
4084         config/arc/ieee-754/arc600-dsp/muldf3.S,
4085         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4086         config/arc/ieee-754/arc600-mul64/divdf3.S,
4087         config/arc/ieee-754/arc600-mul64/divsf3.S,
4088         config/arc/ieee-754/arc600-mul64/muldf3.S,
4089         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4090         config/arc/ieee-754/arc600/divsf3.S,
4091         config/arc/ieee-754/arc600/mulsf3.S,
4092         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4093         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4094         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4095         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4096         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4097         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4098         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4099         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4100         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4101         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4102         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4103         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4104         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4105         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4106         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4107         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4108         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4109         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4110         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4111         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4112         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4113         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4114         vtv_start_preinit.c: Use the standard form for the copyright notice.
4116 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4117             Chung-Lin Tang  <cltang@codesourcery.com>
4118             Based on patches from Altera Corporation
4120         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4121         * config/nios2/lib2-nios2.h: New file.
4122         * config/nios2/lib2-divmod-hi.c: New file.
4123         * config/nios2/linux-unwind.h: New file.
4124         * config/nios2/lib2-divmod.c: New file.
4125         * config/nios2/linux-atomic.c: New file.
4126         * config/nios2/t-nios2: New file.
4127         * config/nios2/crti.asm: New file.
4128         * config/nios2/t-linux: New file.
4129         * config/nios2/lib2-divtable.c: New file.
4130         * config/nios2/lib2-mul.c: New file.
4131         * config/nios2/tramp.c: New file.
4132         * config/nios2/crtn.asm: New file.
4134 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4136         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4137         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4138         from cpuid.h to check vendor signatures.
4140 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4142         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4143         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4144         (get_amd_cpu): Likewise.
4146 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
4148         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4149         Haswell.
4151 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4152             H.J. Lu  <hongjiu.lu@intel.com>
4154         PR target/59422
4155         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
4156         and AMD_JAGUAR.
4157         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4158         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4159         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
4160         FEATURE_XOP and FEATURE_FMA.
4161         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4162         AMDFAM15H_BDVER3.
4163         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4164         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4165         FEATURE_FMA4 and FEATURE_XOP.
4167 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
4169         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4170         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4171         (get_intel_cpu): Updated.
4173 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
4175         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4177 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
4179         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4180         instructions when __SSE_MATH__ is defined.
4182 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
4184         * config.host (microblaze-*-rtems*): New.
4186 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
4188         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4189         architectures that do not have hardware divide instruction.
4190         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4192 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
4194         * longlong.h: Delete (moved to include/).
4196 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4198         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4199         of normal number and qNaN to not raise an inexact exception.
4201 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
4203         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4205 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
4207         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4208         for correct opcodes on BE.
4210 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
4212         * soft-fp/op-4.h: Update from glibc.
4214 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
4216         * libgcc2.c (__udivmoddi4): Define new implementation when
4217         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4218         divide instructions.
4220 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
4222         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4224 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4226         * config/t-softfp (soft-fp-objects-base): New variable.
4227         (soft-fp-objects): Use it.
4229 2013-11-23  David Edelson  <dje.gcc@gmail.com>
4230             Andrew Dixie  <andrewd@gentrack.com>
4232         PR target/33704
4233         * config/rs6000/aixinitfini.c: New file.
4234         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4235         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4236         symbols.
4238 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
4240         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4242 2013-11-18  Jan Hubicka  <jh@suse.cz>
4244         * libgcov-driver.c (run_accounted): Make global level static.
4245         (gcov_exit_merge_summary): Silence warning; do not clear
4246         run_accounted here.
4247         (gcov_exit): Clear it here.
4249         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4250         run_accounted.
4252         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4253         (all_prg, crc32): Remove static vars.
4254         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4255         all_prg.
4256         (gcov_exit_merge_gcda): Add crc32 parameter.
4257         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4258         do not account run if it was already accounted.
4259         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4260         (gcov_exit): Initialize all_prg; update.
4262 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
4264         * configure: Regenerate.
4266 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4267             Alan Modra  <amodra@gmail.com>
4269         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4270         (frob_update_context): Use it.
4272 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4273             Alan Modra  <amodra@gmail.com>
4275         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4276         (trampoline_initial): Provide ELFv2 variant.
4277         (__trampoline_setup): Likewise.
4279         * config/rs6000/linux-unwind.h (frob_update_context): Do not
4280         check for AIX indirect function call sequence if _CALL_ELF == 2.
4282 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4283             Alan Modra  <amodra@gmail.com>
4285         * config/rs6000/linux-unwind.h (get_regs): Do not support
4286         old kernel versions if _CALL_ELF == 2.
4287         (frob_update_context): Do not support PLT stub variants only
4288         generated by old linkers if _CALL_ELF == 2.
4290 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4291             Alan Modra  <amodra@gmail.com>
4293         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4294         location of CR save area for 64-bit little-endian systems.
4296 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
4298         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4299         in tmake_file.
4300         * config/arm/t-vxworks: Delete.
4302 2013-11-10  Kai Tietz  <ktietz@redhat.com>
4304         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4305         Increment load-count on use of LIBGCC_SONAME DLL.
4306         (hmod_libgcc): New static variable to hold handle of
4307         LIBGCC_SONAME DLL.
4308         (__gcc_deregister_frame): Decrement load-count of
4309         LIBGCC_SONAME DLL.
4311 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
4313         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4314         availability.
4315         * configure: Regenerate
4317 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
4319         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4320         FP_EX_DENORM.  Store result to volatile location after SSE division
4321         to close interrupt window.  Remove unneeded fwait after x87
4322         division since interrupt window will be closed by emitted fstp.
4323         Rewrite FP_EX_INEXACT handling.
4325 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
4327         * soft-fp/README: Update.
4328         * soft-fp/adddf3.c: Update from glibc.
4329         * soft-fp/addsf3.c: Likewise.
4330         * soft-fp/addtf3.c: Likewise.
4331         * soft-fp/divdf3.c: Likewise.
4332         * soft-fp/divsf3.c: Likewise.
4333         * soft-fp/divtf3.c: Likewise.
4334         * soft-fp/double.h: Likewise.
4335         * soft-fp/eqdf2.c: Likewise.
4336         * soft-fp/eqsf2.c: Likewise.
4337         * soft-fp/eqtf2.c: Likewise.
4338         * soft-fp/extenddftf2.c: Likewise.
4339         * soft-fp/extended.h: Likewise.
4340         * soft-fp/extendsfdf2.c: Likewise.
4341         * soft-fp/extendsftf2.c: Likewise.
4342         * soft-fp/extendxftf2.c: Likewise.
4343         * soft-fp/fixdfdi.c: Likewise.
4344         * soft-fp/fixdfsi.c: Likewise.
4345         * soft-fp/fixdfti.c: Likewise.
4346         * soft-fp/fixsfdi.c: Likewise.
4347         * soft-fp/fixsfsi.c: Likewise.
4348         * soft-fp/fixsfti.c: Likewise.
4349         * soft-fp/fixtfdi.c: Likewise.
4350         * soft-fp/fixtfsi.c: Likewise.
4351         * soft-fp/fixtfti.c: Likewise.
4352         * soft-fp/fixunsdfdi.c: Likewise.
4353         * soft-fp/fixunsdfsi.c: Likewise.
4354         * soft-fp/fixunsdfti.c: Likewise.
4355         * soft-fp/fixunssfdi.c: Likewise.
4356         * soft-fp/fixunssfsi.c: Likewise.
4357         * soft-fp/fixunssfti.c: Likewise.
4358         * soft-fp/fixunstfdi.c: Likewise.
4359         * soft-fp/fixunstfsi.c: Likewise.
4360         * soft-fp/fixunstfti.c: Likewise.
4361         * soft-fp/floatdidf.c: Likewise.
4362         * soft-fp/floatdisf.c: Likewise.
4363         * soft-fp/floatditf.c: Likewise.
4364         * soft-fp/floatsidf.c: Likewise.
4365         * soft-fp/floatsisf.c: Likewise.
4366         * soft-fp/floatsitf.c: Likewise.
4367         * soft-fp/floattidf.c: Likewise.
4368         * soft-fp/floattisf.c: Likewise.
4369         * soft-fp/floattitf.c: Likewise.
4370         * soft-fp/floatundidf.c: Likewise.
4371         * soft-fp/floatundisf.c: Likewise.
4372         * soft-fp/floatunditf.c: Likewise.
4373         * soft-fp/floatunsidf.c: Likewise.
4374         * soft-fp/floatunsisf.c: Likewise.
4375         * soft-fp/floatunsitf.c: Likewise.
4376         * soft-fp/floatuntidf.c: Likewise.
4377         * soft-fp/floatuntisf.c: Likewise.
4378         * soft-fp/floatuntitf.c: Likewise.
4379         * soft-fp/gedf2.c: Likewise.
4380         * soft-fp/gesf2.c: Likewise.
4381         * soft-fp/getf2.c: Likewise.
4382         * soft-fp/ledf2.c: Likewise.
4383         * soft-fp/lesf2.c: Likewise.
4384         * soft-fp/letf2.c: Likewise.
4385         * soft-fp/muldf3.c: Likewise.
4386         * soft-fp/mulsf3.c: Likewise.
4387         * soft-fp/multf3.c: Likewise.
4388         * soft-fp/negdf2.c: Likewise.
4389         * soft-fp/negsf2.c: Likewise.
4390         * soft-fp/negtf2.c: Likewise.
4391         * soft-fp/op-1.h: Likewise.
4392         * soft-fp/op-2.h: Likewise.
4393         * soft-fp/op-4.h: Likewise.
4394         * soft-fp/op-8.h: Likewise.
4395         * soft-fp/op-common.h: Likewise.
4396         * soft-fp/quad.h: Likewise.
4397         * soft-fp/single.h: Likewise.
4398         * soft-fp/soft-fp.h: Likewise.
4399         * soft-fp/subdf3.c: Likewise.
4400         * soft-fp/subsf3.c: Likewise.
4401         * soft-fp/subtf3.c: Likewise.
4402         * soft-fp/truncdfsf2.c: Likewise.
4403         * soft-fp/trunctfdf2.c: Likewise.
4404         * soft-fp/trunctfsf2.c: Likewise.
4405         * soft-fp/trunctfxf2.c: Likewise.
4406         * soft-fp/unorddf2.c: Likewise.
4407         * soft-fp/unordsf2.c: Likewise.
4408         * soft-fp/unordtf2.c: Likewise.
4410 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4412         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4413         (_FP_MUL_MEAT_D): Ditto.
4414         (_FP_DIV_MEAT_S): Ditto.
4415         (_FP_DIV_MEAT_D): Ditto.
4416         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4417         t-softfp-sfdf and t-softfp to tmake_file.
4419 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4421         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4422         * config/i386/crtprec.c: Ditto.
4424 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4425             Shiva Chen  <shiva0217@gmail.com>
4427         * config.host (nds32*-elf*): Add nds32 target.
4428         * config/nds32 : New directory and files.
4430 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4432         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4433         * config.host (cpu_type) <Setting default>: Add entry for
4434         crisv32-*-*.
4435         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4436         <crisv32-*-linux*>: Adjust.
4437         * longlong.h: Wrap the whole CRIS section in a single
4438         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4439         and sub_ddmmss.
4440         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4441         defined.
4442         [__CRIS__] (__umulsidi3): Define.
4443         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4444         * config/cris/sfp-machine.h: New file.
4445         * config/cris/umulsidi3.S: New file.
4446         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4447         * config/cris/arit.c (SIGNMULT): New macro.
4448         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4449         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4450         saving 3 out of originally 33 cycles from the fastest
4451         path, 3 out of 54 from the medium path and one from the longest
4452         path.  Improve comments.
4454 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4456         * sync.c: Remove static aliases and define each function directly
4457         under its real name.
4459 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4461         * config.host (hppa*64*-*-linux*): Define extra_parts.
4462         (hppa*-*-linux*): Likewise.
4464 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4466         * config/arc/crtgend.S: Add 2013 to Copyright years.
4467         * config/arc/gmon/atomic.h: Likewise.
4468         * config/arc/gmon/auxreg.h: Likewise.
4469         * config/arc/gmon/sys/gmon_out.h: Likewise.
4470         * config/arc/gmon/sys/gmon.h: Likewise.
4471         * config/arc/gmon/prof-freq.c: Likewise.
4472         * config/arc/gmon/mcount.c: Likewise.
4473         * config/arc/gmon/prof-freq-stub.S: Likewise.
4474         * config/arc/gmon/gmon.c: Likewise.
4475         * config/arc/gmon/machine-gmon.h: Likewise.
4476         * config/arc/gmon/profil.S: Likewise.
4477         * config/arc/gmon/dcache_linesz.S: Likewise.
4478         * config/arc/crtg.S: Likewise.
4479         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4480         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4481         * config/arc/ieee-754/adddf3.S: Likewise.
4482         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4483         * config/arc/ieee-754/fixsfsi.S: Likewise.
4484         * config/arc/ieee-754/gtsf2.S: Likewise.
4485         * config/arc/ieee-754/floatsisf.S: Likewise.
4486         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4487         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4488         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4489         * config/arc/ieee-754/fixdfsi.S: Likewise.
4490         * config/arc/ieee-754/addsf3.S: Likewise.
4491         * config/arc/ieee-754/gesf2.S: Likewise.
4492         * config/arc/ieee-754/floatsidf.S: Likewise.
4493         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4494         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4495         * config/arc/ieee-754/gtdf2.S: Likewise.
4496         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4497         * config/arc/ieee-754/uneqdf2.S: Likewise.
4498         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4499         * config/arc/ieee-754/uneqsf2.S: Likewise.
4500         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4501         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4502         * config/arc/ieee-754/eqdf2.S: Likewise.
4503         * config/arc/ieee-754/ordsf2.S: Likewise.
4504         * config/arc/ieee-754/divsf3.S: Likewise.
4505         * config/arc/ieee-754/divdf3.S: Likewise.
4506         * config/arc/ieee-754/floatunsidf.S: Likewise.
4507         * config/arc/ieee-754/orddf2.S: Likewise.
4508         * config/arc/ieee-754/eqsf2.S: Likewise.
4509         * config/arc/ieee-754/gedf2.S: Likewise.
4510         * config/arc/crtn.S: Likewise.
4511         * config/arc/crti.S: Likewise.
4512         * config/arc/t-arc700-uClibc: Likewise.
4513         * config/arc/asm.h: Likewise.
4514         * config/arc/libgcc-excl.ver: Likewise.
4515         * config/arc/t-arc-newlib: Likewise.
4516         * config/arc/divtab-arc700.c: Likewise.
4517         * config/arc/initfini.c: Likewise.
4518         * config/arc/fp-hack.h: Likewise.
4520 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4521             Diego Novillo  <dnovillo@google.com>
4523         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4524         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4525         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4526         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4528 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4529             Brendan Kehoe  <brendan@zen.org>
4530             Simon Cook  <simon.cook@embecosm.com>
4532         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4533         * config/arc: New directory.
4534         * longlong.h [__arc__] (umul_ppmm): Remove.
4535         [__arc__] (__umulsidi3): Define.
4536         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4537         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4539 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4541         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4542         CreateSemaphoreA.
4543         * config/i386/gthr-win32.h: Likewise.
4545 2013-09-16  DJ Delorie  <dj@redhat.com>
4547         * config/rl78/vregs.h: Add G10 register definitions.
4548         * config/rl78/lib2mul.c: Enable for RL78/G10.
4549         * config/rl78/lib2div.c: Likewise.
4550         * config/rl78/lshrsi3.S: Use vregs.h.
4551         * config/rl78/cmpsi2.S: Likewise.
4552         * config/rl78/trampoline.S: Likewise.
4553         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4555 2013-09-14  DJ Delorie  <dj@redhat.com>
4556             Nick Clifton  <nickc@redhat.com>
4558         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4559         * config/rl78/vregs.h: New.
4560         * config/rl78/signbit.S: New file.  Implements signbit function.
4561         * config/rl78/divmodsi.S: New.
4562         * config/rl78/divmodhi.S: New.
4563         * config/rl78/divmodqi.S: New.
4564         * config/rl78/t-rl78: Build them here...
4565         * config/rl78/lib2div.c: ...but not here.
4567 2013-09-12  DJ Delorie  <dj@redhat.com>
4569         * config.host (msp*-*-elf): New.
4570         * config/msp430/: New port.
4572 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4574         PR gcov-profile/58127
4575         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4576         __thread var for emulated TLS.
4577         (__gcov_indirect_call_counters): Likewise.
4579 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4580             Catherine Moore  <clm@codesourcery.com>
4581             Richard Sandiford  <rdsandiford@googlemail.com>
4583         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4584         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4585         (CALL_STUB_NO_RET): Likewise.
4586         (CALL_STUB_RET): Likewise.
4587         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4588         __mips16_ret call/return stub symbols.
4589         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4590         to tmake_file.
4592 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4594         * config.host <mips*-*-linux*>: Remove a stray comment.
4596 2013-08-10  Jan Hubicka  <jh@suse.cz>
4598         Work around binutils PR14342
4599         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4600         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4601         (L_gcov_indirect_call_profiler_v2): New.
4603 2013-08-06  Jan Hubicka  <jh@suse.cz>
4605         * libgcov.c (__gcov_indirect_call_callee,
4606         __gcov_indirect_call_counters): New global vars.
4607         (__gcov_indirect_call_profiler): replace by ...
4608         (__gcov_indirect_call_profiler_v2) ... this one.
4610 2013-08-06  Caroline Tice  <cmtice@google.com>
4612         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4613         vtv_start_preinit.o and vtv_end_preinit.o.
4614         * configure.ac: Add code to check/set enable_vtable_verify.
4615         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4616         true.
4617         * vtv_start_preinit.c: New file.
4618         * vtv_end_preinit.c: New file.
4619         * vtv_start.c: New file.
4620         * vtv_end.c: New file.
4621         * configure: Regenerated.
4623 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4625         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4626         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4627         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4628         GPL-3.0-with-GCC-exception.
4630 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4632         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4633         ISA and up.
4635 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4637         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4638         mapping for FPRs when creating the fallback framestate.
4640 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4642         PR target/57516
4643         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4644         (__round_s2_const, __round_u2_const)
4645         (__round_s4_const, __round_u4_const, __round_x8):
4646         Saturate result if addition result cannot be represented.
4648 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4650         * libgcc2.c: Don't include <limits.h>.
4652 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4654         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4656 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4658         PR target/29776
4659         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4661 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4663         PR middle-end/36041
4664         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4665         Define.
4666         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4667         instead of table lookups.
4668         (__popcountDI2): Likewise.
4670 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4672         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4673         correctly.
4675 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4677         PR other/53317
4678         * soft-fp/adddf3.c: Update from glibc.
4679         * soft-fp/addsf3.c: Likewise.
4680         * soft-fp/addtf3.c: Likewise.
4681         * soft-fp/divdf3.c: Likewise.
4682         * soft-fp/divsf3.c: Likewise.
4683         * soft-fp/divtf3.c: Likewise.
4684         * soft-fp/double.h: Likewise.
4685         * soft-fp/eqdf2.c: Likewise.
4686         * soft-fp/eqsf2.c: Likewise.
4687         * soft-fp/eqtf2.c: Likewise.
4688         * soft-fp/extenddftf2.c: Likewise.
4689         * soft-fp/extended.h: Likewise.
4690         * soft-fp/extendsfdf2.c: Likewise.
4691         * soft-fp/extendsftf2.c: Likewise.
4692         * soft-fp/fixdfdi.c: Likewise.
4693         * soft-fp/fixdfsi.c: Likewise.
4694         * soft-fp/fixsfdi.c: Likewise.
4695         * soft-fp/fixsfsi.c: Likewise.
4696         * soft-fp/fixtfdi.c: Likewise.
4697         * soft-fp/fixtfsi.c: Likewise.
4698         * soft-fp/fixunsdfdi.c: Likewise.
4699         * soft-fp/fixunsdfsi.c: Likewise.
4700         * soft-fp/fixunssfdi.c: Likewise.
4701         * soft-fp/fixunssfsi.c: Likewise.
4702         * soft-fp/fixunstfdi.c: Likewise.
4703         * soft-fp/fixunstfsi.c: Likewise.
4704         * soft-fp/floatdidf.c: Likewise.
4705         * soft-fp/floatdisf.c: Likewise.
4706         * soft-fp/floatditf.c: Likewise.
4707         * soft-fp/floatsidf.c: Likewise.
4708         * soft-fp/floatsisf.c: Likewise.
4709         * soft-fp/floatsitf.c: Likewise.
4710         * soft-fp/floatundidf.c: Likewise.
4711         * soft-fp/floatundisf.c: Likewise.
4712         * soft-fp/floatunditf.c: Likewise.
4713         * soft-fp/floatunsidf.c: Likewise.
4714         * soft-fp/floatunsisf.c: Likewise.
4715         * soft-fp/floatunsitf.c: Likewise.
4716         * soft-fp/gedf2.c: Likewise.
4717         * soft-fp/gesf2.c: Likewise.
4718         * soft-fp/getf2.c: Likewise.
4719         * soft-fp/ledf2.c: Likewise.
4720         * soft-fp/lesf2.c: Likewise.
4721         * soft-fp/letf2.c: Likewise.
4722         * soft-fp/muldf3.c: Likewise.
4723         * soft-fp/mulsf3.c: Likewise.
4724         * soft-fp/multf3.c: Likewise.
4725         * soft-fp/negdf2.c: Likewise.
4726         * soft-fp/negsf2.c: Likewise.
4727         * soft-fp/negtf2.c: Likewise.
4728         * soft-fp/op-1.h: Likewise.
4729         * soft-fp/op-2.h: Likewise.
4730         * soft-fp/op-4.h: Likewise.
4731         * soft-fp/op-8.h: Likewise.
4732         * soft-fp/op-common.h: Likewise.
4733         * soft-fp/quad.h: Likewise.
4734         * soft-fp/single.h: Likewise.
4735         * soft-fp/soft-fp.h: Likewise.
4736         * soft-fp/subdf3.c: Likewise.
4737         * soft-fp/subsf3.c: Likewise.
4738         * soft-fp/subtf3.c: Likewise.
4739         * soft-fp/truncdfsf2.c: Likewise.
4740         * soft-fp/trunctfdf2.c: Likewise.
4741         * soft-fp/trunctfsf2.c: Likewise.
4742         * soft-fp/unorddf2.c: Likewise.
4743         * soft-fp/unordsf2.c: Likewise.
4744         * soft-fp/unordtf2.c: Likewise.
4745         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4746         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4747         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4748         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4749         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4750         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4751         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4752         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4753         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4754         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4755         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4756         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4758 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4760         * config/mips/lib2funcs.c: New file.
4761         * config/mips/t-mips (LIB2ADD_ST): Add it.
4763 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4765         PR target/6526
4766         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4767         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4769 2013-06-08  Walter Lee  <walt@tilera.com>
4771         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4772         Replace int64_t with long long.  Add __extension__ where
4773         appropriate.
4774         * config/tilepro/atomic.c: Include config.h.
4776 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4778         * config.host (arm-wrs-vxworks): Configure with other soft float.
4780 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4782         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4783         (mips64r5900el-*-elf*): New configurations.
4785 2013-06-04  Alan Modra  <amodra@gmail.com>
4787         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4789 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4791         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4793 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4795         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4796         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4797         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4799 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4801         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4802         (powerpc-wrs-vxworks): Likewise.
4804 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4806         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4807         signal frames as well.
4808         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4809         STACK_BIAS to the CFA offset.
4811 2013-05-17  Richard Henderson  <rth@redhat.com>
4813         PR target/49146
4814         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4815         (execute_cfa_program): Use it when storing to fs->regs.
4817 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4819         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4820         (__deregister_frame_info): Likewise.
4822 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4824         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4825         NaN's payload.
4827         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4829 2013-04-25  Alan Modra  <amodra@gmail.com>
4831         * config.host: Match little-endian powerpc-linux.
4833 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4835         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4836         as 'unsigned long long' instead of 'unsigned long'.
4837         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4838         'signed long'.
4840 2013-04-10  Julian Brown  <julian@codesourcery.com>
4842         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4843         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4844         unsigned char/unsigned short.
4845         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4847 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4849         PR other/55274
4850         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4852 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4854         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4855         computing the location of the link register.
4856         (aeabi_uldivmod): Ditto.
4858 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4860         * config.host: Add support for cygwin x64 target.
4861         * configure: Regenerated.
4863 2013-03-26  Walter Lee  <walt@tilera.com>
4865         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4866         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4868 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4870         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4872 2013-03-20  Robert Mason  <rbmj@verizon.net>
4874         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4875         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4876         (__gthread_leave_tsd_dtor_context): Add prototypes.
4877         (tls_delete_hook): Update.
4879 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4880             Joseph Myers  <joseph@codesourcery.com>
4881             Chao-ying Fu  <fu@mips.com>
4883         * config/mips/mips16.S:  Don't build for microMIPS.
4884         * config/mips/linux-unwind.h: Handle microMIPS frame.
4885         * config/mips/crtn.S (fini, init): New labels.
4887 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4889         PR tree-optimization/53265
4890         * unwind-dw2.c (execute_cfa_program): Avoid
4891         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4892         on targets with DWARF_FRAME_REGISTERS < 32.
4894 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4896         PR target/49880
4897         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4898         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4900 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4902         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4903         sandybridge processors.
4905 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4907         PR target/56529
4908         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4909         inclusion list.
4911 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4913         * config/microblaze/crti.S: Setup stack protection at entry
4915 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4917         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4918         (__rotldi3): Shift bytewise if applicable.
4920 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4922         * config/aarch64/sync-cache.c
4923         (__aarch64_sync_cache_range): Silence warnings.
4925 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4927         Revert:
4928         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4929             Joseph Myers  <joseph@codesourcery.com>
4930             Chao-ying Fu  <fu@mips.com>
4932         * config/mips/mips16.S:  Don't build for microMIPS.
4933         * config/mips/linux-unwind.h: Handle microMIPS frame.
4934         * config/mips/crtn.S (fini, init): New labels.
4936 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4937             Joseph Myers  <joseph@codesourcery.com>
4938             Chao-ying Fu  <fu@mips.com>
4940         * config/mips/mips16.S:  Don't build for microMIPS.
4941         * config/mips/linux-unwind.h: Handle microMIPS frame.
4942         * config/mips/crtn.S (fini, init): New labels.
4944 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4945         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
4946         as dividend.
4948 2013-02-16  Alan Modra  <amodra@gmail.com>
4950         PR target/55431
4951         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4952         (ppc_fallback_frame_state): Always set up save locations for fp
4953         and altivec.  Don't bother with non-callee-saved regs, r0-r13
4954         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4956 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
4958         PR target/54222
4959         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4960         _ssmulHA, _ssmulSA.
4961         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4962         _ssmulha3, _usmulusa3, _ssmulsa3.
4963         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4964         (__muldi3): XCALL __muldi3_6 instead of rcall.
4965         (__umulsidi3, __mulsidi3): New functions.
4966         (do_prologue_saves, do_epilogue_restores): New .macros.
4967         (__divdi3_moddi3): Use them.
4968         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4969         (__usmulusa3, __ssmulsa3): New functions.
4971 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
4972             Jack Howarth  <howarth@bromo.med.uc.edu>
4973             Patrick Marlier  <patrick.marlier@gmail.com>
4975         PR libitm/55693
4976         * config/darwin-crt-tm.c: Remove dummy functions hack.
4978 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
4980         PR target/54222
4981         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4982         * config/avr/lib2-object.mk: New iterator to build objects from it.
4983         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4984         lib2funcs.c.
4985         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4986         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4987         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4988         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4989         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4990         * config/avr/lib1funcs-fixed.S: Implement them.
4992 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
4994         Update copyright years.
4996 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4998         PR target/54601
4999         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5000         Add crtcxa to extra_parts.
5001         * config/rs6000/exit.h: New file.
5002         * config/rs6000/cxa_atexit.c: New file.
5003         * config/rs6000/cxa_finalize.c: New file.
5004         * config/rs6000/crtcxa.c: New file.
5005         * config/rs6000/t-aix-cxa: New file.
5006         * config/rs6000/libgcc-aix-cxa.ver: New file.
5008 2013-01-31  Nick Clifton  <nickc@redhat.com>
5010         * config/v850/lib1funcs.S: Add support for e3v5 architecture
5011         variant.
5013 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5015         PR target/54222
5016         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5017         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5018         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5019         _divQQ,  _divHQ,  _divHA,  _divSA,
5020         _divUQQ, _divUHQ, _divUHA, _divUSA.
5022 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5024         * config.host(microblaze*-linux*): tmake_file: Remove
5025         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5026         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5027         to exclude functions from being built with libgcc.c and use
5028         the microblaze assembly.
5030 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5032         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5033         extra_parts.
5035 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5037         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5038         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5039         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5040         alignment operation.
5042 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5044         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5045         loop start address for cache clearing.
5047 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5049         * config/avr/lib1funcs.S: Remove trailing blanks.
5050         * config/avr/lib1funcs-fixed.S: Ditto.
5052 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5054         * config/avr/avr-lib.h: Add GPL copyright notice.
5056 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5058         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5059         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5060         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5061         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5063 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5065         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5066         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5068 2013-01-04  Nick Clifton  <nickc@redhat.com>
5070         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5071         the CALLT instruction is supported.
5073 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5075         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5076         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5078 2012-12-13  John Tytgat  <John@bass-software.com>
5080         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5081         is 25.
5083 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5085         PR libgcc/55451
5086         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5087         undefined signed overflows.
5089 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5091         PR target/55344
5092         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5094 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5096         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5097         (FP_TRAPPING_EXCEPTIONS): Define.
5098         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5099         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5101 2012-12-04  Richard Henderson  <rth@redhat.com>
5103         PR bootstrap/55571
5104         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5106 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5108         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5109         (FP_EX_SHIFT): Define.
5110         (FP_TRAPPING_EXCEPTIONS): Define.
5112 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5114         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5115         (FP_ROUNDMODE): Use FP_RND_MASK.
5116         * config/aarch64/sfp-exceptions.c: New.
5117         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5118         Use __sfp_handle_exceptions.
5120 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5122         * config.host: (arm*-*-freebsd*): Remove.
5123         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5124         (arm*-*-elf*): Remove.
5125         (arm*-*-wince-pe*): Remove.
5126         * arm/unwind-arm.c (struct fpa_reg): Delete.
5127         (struct fpa_regs): Delete.
5128         (phase1_vrs): Remove fpa element.
5129         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5130         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5131         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5132         * ieee754-sf.S (floatundisf): Remove FPA support.
5133         (floatdisf): Likewise.
5134         * ieee75f-df.S (floatundidf): Likewise.
5135         (floatdidf): Likewise.
5137 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5139         PR target/55445
5140         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5141         * unwind-generic.h: Likewise.
5142         * unwind-seh.c: Likewise.
5144 2012-11-28  Richard Henderson  <rth@redhat.com>
5146         PR libgcc/48076
5147         * emutls.c (__emutls_get_address): Avoid race condition between
5148         obj->loc.offset read and emutls_key initialization.
5150 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
5152         Adjust decimal point of signed accum mode to GCC default.
5154         PR target/54222
5155         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5156         _divqq_helper.
5157         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5158         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5159         (__mulha3, __mulsa3)
5160         (__divqq3, __divha3, __divsa3): Adjust to new position of
5161         decimal point of signed accum types.
5163         (__mulusa3_round): New function.
5164         (__mulusa3): Use it.
5165         (__divqq_helper): New function.
5166         (__udivuqq3): Use it.
5168 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
5170         PR bootstrap/55370
5171         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5173 2012-11-18  Teresa Johnson  <tejohnson@google.com>
5175         PR bootstrap/55051
5176         * libgcov.c (gcov_exit): Remove merged program summary
5177         comparison unless !GCOV_LOCKED.
5179 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5181         * soft-fp: Updated from glibc upstream.
5183 2012-11-06  Ian Lance Taylor  <iant@google.com>
5185         * generic-morestack.c (__generic_morestack): Align the returned
5186         stack pointer to a 32 byte boundary.
5187         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5188         increment the return address until we have decided that we don't
5189         have a varargs function.
5190         (__morestack) [32-bit]: Align stack correctly when calling C
5191         functions.
5192         (__morestack) [64-bit]: Likewise.
5194 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5196         * configure: Regenerate.
5198 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
5200         PR target/55175
5201         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5202         * config/i386/sfp-machine.h: Guard exception handling
5203         code with _SOFT_FLOAT.
5204         * config/i386/32/sfp-machine.h: Guard rounding handling
5205         code with _SOFT_FLOAT.
5206         * config/i386/64/sfp-machine.h: Ditto.
5208 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
5210         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5211         as extra_parts.
5213 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
5215         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5216         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
5217         when appropriate.  Correct structure element types.
5218         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5219         -minline-all-stringops from compile flags.
5221 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5223         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5225 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5227         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5229 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5231         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5232         tmake_file.
5234 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
5235             Jim MacArthur  <jim.macarthur@arm.com>
5236             Marcus Shawcroft  <marcus.shawcroft@arm.com>
5237             Nigel Stephens  <nigel.stephens@arm.com>
5238             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5239             Richard Earnshaw  <rearnsha@arm.com>
5240             Sofiane Naci  <sofiane.naci@arm.com>
5241             Stephen Thomas  <stephen.thomas@arm.com>
5242             Tejas Belagod  <tejas.belagod@arm.com>
5243             Yufeng Zhang  <yufeng.zhang@arm.com>
5245         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5246         * config/aarch64/crti.S: New file.
5247         * config/aarch64/crtn.S: New file.
5248         * config/aarch64/linux-unwind.h: New file.
5249         * config/aarch64/sfp-machine.h: New file.
5250         * config/aarch64/sync-cache.c: New file.
5251         * config/aarch64/t-aarch64: New file.
5252         * config/aarch64/t-softfp: New file.
5254 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
5256         * config/mmix/crti.S: Mark program and data addresses using PRELD.
5257         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
5258         no-longer-needed LDBU insns.
5260 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5262         * config.host
5263         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5264         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5266 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5268         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5270 2012-10-15  Matthias Klose  <doko@ubuntu.com>
5272         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5274 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
5276         * configure: Regenerate.
5277         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5279 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5281         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5282         instructions for 64bit targets only.
5284 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5286         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5287         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5288         * config/i386/32/sfp-machine.h: ... here.
5289         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5290         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5291         New defines.
5293 2012-10-07  Matthias Klose  <doko@ubuntu.com>
5295         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5296         as unused.
5297         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5299 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
5301         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5302         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5303         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5304         (ElfW): Likewise.
5306 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
5308         PR other/53889
5309         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5310         Fix parameter names.
5312 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
5314         PR target/33135
5315         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5316         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5317         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5319 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
5321         PR target/50457
5322         * config/sh/linux-atomic.S: Delete.
5323         * config/sh/linux-atomic.c: New.
5324         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5325         linux-atomic.c.  Add cflags to disable warnings.
5327 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5329         PR other/53889
5330         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5331         function.
5332         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5333         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5334         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5335         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5336         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5337         Likewise.
5338         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5339         Likewise.
5340         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5341         Likewise.
5342         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5343         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5345 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
5347         * config.host (hppa-*-openbsd*): New target.
5348         * config/pa/t-openbsd: New file.
5350 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
5352         PR target/54222
5353         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5354         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5355         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5356         (__divsa3): Use __negsi2 to negate r_quoL.
5357         * config/avr/lib1funcs.S (FALIAS): New macro.
5358         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5359         (__negsi2): ...this new function.
5360         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5361         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5362         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5363         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5364         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5365         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5367 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
5369         PR target/54089
5370         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5371         (lshrsi3): Reimplement as lshrsi3_r0.
5373 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
5375         PR target/46191
5376         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5377         of libgcc.a.
5379 2012-09-07  Teresa Johnson  <tejohnson@google.com>
5381         PR gcov-profile/54487
5382         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5383         differences.
5385 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
5387         PR target/54461
5388         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5389         not configured --with-avrlibc=no.
5390         * config/avr/t-avrlibc: New file.
5391         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5392         (DPBIT_FUNCS): Ditto.
5393         (TPBIT_FUNCS): Ditto.
5395 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5397         * libgcov.c (struct gcov_summary_buffer): New structure.
5398         (gcov_histogram_insert): New function.
5399         (gcov_compute_histogram): Ditto.
5400         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5401         histograms during summary merging.
5403 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5405         * config.host (x86_64-*-openbsd*): New target.
5407 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5409         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5410         attribute.
5412 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5414         PR target/54222
5415         * config/avr/t-avr (conv_X): Rename to func_X.
5417 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5419         PR target/54222
5420         * config/avr/lib1funcs-fixed.S: New file.
5421         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5422         after they are used.
5423         (neg2, neg4): New macros.
5424         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5425         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5426         (__umulhisi3): Speed up MUL variant if there is enough flash.
5427         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5428         avr-modes.def.
5429         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5430         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5431         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5432         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5433         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5434         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5435         (LIB2FUNCS_EXCLUDE): Add supported functions.
5437 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5439         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5440         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5441         libgcc-s-objects.
5442         * fixed-obj.mk: Only expand dependency if $o is not in
5443         LIB2FUNCS_EXCLUDE.
5445 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5447         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5449 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5451         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5452         depend on --enable-shared.
5453         ($(lib1asmfuncs-o)): Use %.vis files independent of
5454         --enable-shared.
5455         * static-object.mk ($(base)$(objext), $(base).vis)
5456         ($(base)_s$(objext)): Use same rules for visibility handling as in
5457         shared-object.mk.
5459 2012-08-21  Ian Lance Taylor  <iant@google.com>
5461         * config/i386/morestack.S (__morestack_non_split): Increase amount
5462         of space allocated for non-split code stack.
5464 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5466         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5467         even if inhibit_libc.
5469 2012-08-17  Julian Brown  <julian@codesourcery.com>
5471         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5472         -fexceptions -fnon-call-exceptions if not defined.
5473         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5474         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5476 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5478         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5479         type.
5481 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5483         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5484         rs6000/t-slibgcc-aix.
5486 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5488         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5490 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5492         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5494 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5496         PR driver/54171
5497         * Makefile.in (version): Replace top_srcdir with srcdir.
5499 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5501         * Makefile.in (version): set to BASE-VER file from gcc directory.
5503 2012-08-01  Nick Clifton  <nickc@redhat.com>
5505         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5506         Implements __clrsb for an HImode argument.
5508 2012-07-31  Nick Clifton  <nickc@redhat.com>
5510         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5511         Implements __clrsb for an HImode argument.
5512         * config/stormy16/clrsbhi2.c: New file:
5513         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5515 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5517         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5519 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5520             Richard Henderson  <rth@redhat.com>
5522         * unwind-seh.c: New file.
5523         * unwind-generic.h: Include windows.h for SEH.
5524         (_Unwind_Exception): Use 6 private fields for SEH.
5525         (_GCC_specific_handler): Declare.
5526         * unwind-c.c (__gcc_personality_seh0): New function.
5527         Adjust for SEH.
5528         * config/i386/libgcc-cygming.ver: New file.
5529         * config/i386/t-seh-eh: New file.
5530         * config.host (x86_64-*-mingw*): Default to seh.
5532 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5534         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5536 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5538         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5539         __builtin_expect when checking for exceptions.
5540         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5542 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5544         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5545         function declaration.
5546         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5547         (FP_RND_MASK): New.
5548         * config/ia64/sfp-exceptions.c: New.
5549         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5551 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5553         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5554         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5555         * config/i386/64/sfp-machine: ... (delete here) ...
5556         * config/i386/sfp-machine.h: ... to here.
5557         (FP_EX_MASK): Remove.
5558         (FP_RND_MASK): New.
5559         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5561 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5563         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5564         * config/i386/libgcc-sol2.ver: Ditto.
5565         * config/i386/libgcc-glibc.ver: Ditto.
5567 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5569         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5570         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5571         pthread_cancel.
5573 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5575         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5576         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5577         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5578         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5579         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5580         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5581         * config/i386/64/sfp-machine: ... (delete here) ...
5582         * config/i386/sfp-machine.h: ... to here.
5583         (FP_EX_MASK): New.
5584         (__sfp_handle_exceptions): New function declaration.
5585         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5586         * config/i386/sfp-exceptions.c: New.
5587         * config/i386/t-softfp: New.
5588         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5589         i386/t-softfp to tmake_file.
5591 2012-06-03  David S. Miller  <davem@davemloft.net>
5593         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5594         change.
5596 2012-05-31  David S. Miller  <davem@davemloft.net>
5598         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5599         multiply and divide instructions on 32-bit when V9.
5600         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5602 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5604         * config/arm/ieee754-df.S: Fix typos.
5605         * config/arm/ieee754-sf.S: Fix typos.
5606         * config/c6x/libunwind.S: Fix typos.
5607         * config/epiphany/udivsi3-float.c: Fix typos.
5608         * config/microblaze/muldi3_hard.S: Fix typos.
5609         * config/picochip/adddi3.S: Fix typos.
5610         * config/picochip/ashlsi3.S: Fix typos.
5611         * config/picochip/ashrsi3.S: Fix typos.
5612         * config/picochip/clzsi2.S: Fix typos.
5613         * config/picochip/cmpsi2.S: Fix typos.
5614         * config/picochip/divmod15.S: Fix typos.
5615         * config/picochip/divmodhi4.S: Fix typos.
5616         * config/picochip/divmodsi4.S: Fix typos.
5617         * config/picochip/longjmp.S: Fix typos.
5618         * config/picochip/lshrsi3.S: Fix typos.
5619         * config/picochip/parityhi2.S: Fix typos.
5620         * config/picochip/popcounthi2.S: Fix typos.
5621         * config/picochip/setjmp.S: Fix typos.
5622         * config/picochip/subdi3.S: Fix typos.
5623         * config/picochip/ucmpsi2.S: Fix typos.
5624         * config/picochip/udivmodhi4.S: Fix typos.
5625         * config/picochip/udivmodsi4.S: Fix typos.
5626         * config/spu/divv2df3.c: Fix typos.
5627         * config/spu/mfc_multi_tag_release.c: Fix typos.
5628         * config/spu/mfc_tag_release.c: Fix typos.
5629         * configure.ac: Fix typos.
5630         * configure: Regenerate.
5632 2012-05-25  Ian Lance Taylor  <iant@google.com>
5634         * config/i386/morestack.S (__morestack_non_split): Check whether
5635         caller is varargs and needs %bp to hold the stack frame on return.
5637 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5639         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5640         sequence in the non pic case on VxWorks.
5642 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5644         * Makefile.in: Move dependency on install-unwind_h from
5645         "install-leaf" to "install".
5647 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5649         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5650         Use a separate command for stamp removals.
5652 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5654         PR bootstrap/53183
5655         * configure.ac: Define the default includes to being none.
5656         * configure: Regenerate.
5658 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5660         * Makefile.in (install-unwind_h): Rename into ...
5661         (install-unwind_h-forbuild): New target.
5662         (all): Use it instead of the former install-unwind_h.
5663         (install-unwind_h): Reinstate, copy to user install destination
5664         for include files, not to the internal gcc object directory one.
5665         (install-leaf): Depend on it.
5667 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5669         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5670         register numbers. LR_REGNO replaces R_LR.
5671         (ucontext_for): New, helper for ...
5672         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5673         and 5.3 of ...
5674         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5676 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5678         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5679         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5680         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5681         i386/t-cpuinfo ...
5682         (i[34567]86-*-*, x86_64-*-*): ... here.
5684         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5685         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5687         * config/i386/i386-cpuinfo.c: Rename to ...
5688         * config/i386/cpuinfo.c: ... this.
5689         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5691         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5692         (libgcc_cv_init_priority): New test.
5693         * configure: Regenerate.
5694         * config.in: New file.
5695         * Makefile.in (clean): Rename config.h to auto-target.h.
5696         (config.h): Likewise.
5697         (stamp-h): Likewise.
5699         * config/i386/cpuinfo.c (auto-target.h): Include.
5700         (CONSTRUCTOR_PRIORITY): Define.
5701         (__cpu_indicator_init): Use it.
5703 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5705         * longlong.h: Use a URL instead of an FSF postal address.
5706         Replace spaces with tab.
5708 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5710         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5711         (__gcov_dump): Ditto.
5712         (gcov_dump_complete): New global variable.
5713         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5714         (__gcov_flush): Outline functionality now in gcov_clear.
5715         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5717 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5719         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5720         (mips*-*-linux*): Include mips/t-tpbit when long double is
5721         16 bytes long.
5723 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5725         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5726         (get_available_features): New argument. Check for AVX2.
5727         (__cpu_indicator_init): Modify call to get_available_features.
5729 2012-04-25  Alan Modra  <amodra@gmail.com>
5731         * config/rs6000/crtsavevr.S: New file.
5732         * config/rs6000/crtrestvr.S: New file.
5733         * config/rs6000/t-savresfgpr: Build the above.
5734         * config/rs6000/t-netbsd: Likewise.
5736 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5738         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5740 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5742         * libgcc/config/i386/i386-cpuinfo.c: New file.
5743         * libgcc/config/i386/t-cpuinfo: New file.
5744         * libgcc/config.host: Include t-cpuinfo.
5745         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5747 2012-04-24  Chao-ying Fu  <fu@mips.com>
5749         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5751 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5753         struct siginfo vs. siginfo_t
5755         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5756         siginfo_t instead of struct siginfo.
5757         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5758         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5759         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5760         (ia64_handle_unwabi): Likewise.
5761         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5762         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5763         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5764         (sh_fallback_frame_state): Likewise.
5765         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5766         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5768 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5770         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5771         system call number.
5773 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5775         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5776         if it hasn't been previously saved.
5778 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5780         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5781         only for glibc.
5783 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5785         PR target/52737
5786         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5787         instead of __AVR_HAVE_8BIT_SP__.
5789 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5791         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5792         (unw_table_entry): Use unw_word instead of unsigned long.
5793         (_Unwind_FindTableEntry): Likewise.
5794         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5795         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5796         (_Unwind_FindTableEntry): Likewise.
5797         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5798         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5799         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5800         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5801         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5802         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5803         (uw_init_context_1, uw_install_context): Likewise.
5804         (unw_word): Move to unwind-ia64.h
5806 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5808         * config/vms/vms-ucrt0.c: Update copyright years.
5809         Add a sanity check.
5810         (___gcc_main_flags): Declare.
5811         (__main): Check flags to remap argv and exit code.
5812         * config.host (*-*-*vms*): Adjust extra_parts.
5813         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5814         (crt0.o): Add.
5816 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5818         * arm/lib1funcs.asm (ctzsi2): New function.
5819         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5820         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5821         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5822         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5823         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5824         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5826 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5828         * config.host: Add bits to support powerpc64-*-freebsd*.
5829         * config/rs6000/freebsd-unwind.h: New file.
5830         * config/rs6000/t-freebsd64: New file.
5832 2012-03-20  Richard Guenther  <rguenther@suse.de>
5834         PR gcov-profile/52627
5835         * libgcov.c (init_mx): Fix mutex name.
5837 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5839         * config/ia64/vms-unwind.h: Remove ulong (and replace
5840         it by unw_reg where used).  Define unw_reg with __int64.
5842 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5844         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5845         Solaris 8 handling.
5846         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5847         Solaris 8 handling.
5848         (sparc_is_sighandler): Likewise.
5850 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5852         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5853         <= saved reg size.
5855 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5857         * config/arm/crtn.S: Fix typo.
5859 2012-03-13  Richard Guenther  <rguenther@suse.de>
5861         * libgcov.c: Remove stdio.h include and NULL un-define.
5863 2012-03-13  Richard Guenther  <rguenther@suse.de>
5865         PR target/52569
5866         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5868 2012-03-13  Richard Guenther  <rguenther@suse.de>
5870         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5872 2012-03-13  Richard Guenther  <rguenther@suse.de>
5874         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5875         and __gthread_mutex_init_function definitions.
5877 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5879         * config.host (mips*-*-openbsd*): Remove.
5881 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5883         * config.host: Remove alpha*-dec-osf5.1* handling.
5884         * config/alpha/gthr-posix.c: Remove.
5885         * config/alpha/libgcc-osf5.ver: Remove.
5886         * config/alpha/osf5-unwind.h: Remove.
5887         * config/alpha/t-osf-pthread: Remove.
5888         * config/alpha/t-slibgcc-osf: Remove.
5889         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5890         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5891         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5892         * mkmap-flat.awk: Remove osf_export handling.
5894 2012-03-12  Richard Guenther  <rguenther@suse.de>
5896         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5897         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5898         (__gthread_mutex_init_function): New function.
5899         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5901         PR gcov/49484
5902         * libgcov.c: Include gthr.h.
5903         (__gcov_flush_mx): New global variable.
5904         (init_mx, init_mx_once): New functions.
5905         (__gcov_flush): Protect self with a mutex.
5906         (__gcov_fork): Re-initialize mutex after forking.
5907         * unwind-dw2-fde.c: Change condition under which to use
5908         __GTHREAD_MUTEX_INIT_FUNCTION.
5910 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5912         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5913         * config/ia64/t-vms: Likewise.
5915 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5917         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5918         for Thumb-2.
5920 2012-03-07  Walter Lee  <walt@tilera.com>
5922         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5923         "arch_atomic_".
5924         (atomic_xor): Rename and move definition to
5925         config/tilepro/atomic.h.
5926         (atomic_nand): Ditto.
5927         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5928         "arch_atomic_".
5929         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5930         (arch_atomic_nand): Ditto.
5932 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5934         PR target/52507
5935         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5937 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5939         PR target/52505
5940         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5941         from RAM.
5943 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5945         PR target/52461
5946         PR target/52508
5947         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5948         if RAMPZ affects reading from RAM.
5949         (__tablejump_elpm__): Ditto.
5950         (.xload): Ditto.
5951         (__movmemx_hi): Ditto.
5952         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5953         (__do_global_dtors): Ditto.
5954         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5955         (__movmemx_hi): Ditto.
5957 2012-03-05  Richard Henderson  <rth@redhat.com>
5959         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5960         [ARM] (count_trailing_zeros): Use the builtin.
5962 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5964         * soft-fp: Imported from glibc upstream.
5966 2012-02-28  Kai Tietz  <ktietz@redhat.com>
5968         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5969         for mingw-targets as attribute gcc_struct.
5971 2012-02-28  Ian Lance Taylor  <iant@google.com>
5973         * generic-morestack.c (__splitstack_releasecontext): Correct call
5974         to __morestack_release_segments.
5976 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5978         PR target/52390
5979         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5980         for __linux__ when removing signals from __morestack_fullmask.
5982 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
5984         PR target/52261
5985         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5987 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5989         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5990         instead of HAVE_INITFINI_ARRAY.
5991         * config/ia64/crtend.S: Likewise.
5993 2012-02-20  Kai Tietz  <ktietz@redhat.com>
5995         PR libstdc++/52300
5996         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5998         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5999         to w32-unwind.h header.
6001 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6003         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6004         (mips*-*-linux*): Remove t-slibgcc-libgcc.
6005         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6006         * config/mips/mips16.S (__mips16_rdhwr): Delete.
6008 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6010         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6012 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6014         PR libitm/52220
6015         * config/darwin-crt-tm.c: Correct typo.
6017 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6018             Patrick Marlier  <patrick.marlier@gmail.com>
6020         PR libitm/52220
6021         * config/darwin-crt-tm.c: Generate dummy functions.
6023 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6024             Patrick Marlier  <patrick.marlier@gmail.com>
6026         PR libitm/52042
6027         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6028         (__doTMRegistrations): Call it.
6029         (__doTMdeRegistrations): Likewise.
6031 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6032             Anatoly Sokolov  <aesok@post.ru>
6033             Eric Weddington  <eric.weddington@atmel.com>
6035         PR target/52261
6036         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6037         (__epilogue_restores__): Ditto.
6039 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6041         PR target/51921
6042         PR target/52205
6043         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6044         Solaris 11 and slightly reformat.
6045         (sparc_is_sighandler): Likewise.
6047 2012-02-14  Walter Lee  <walt@tilera.com>
6049         * config.host: Handle tilegx and tilepro.
6050         * config/tilegx/sfp-machine.h: New file.
6051         * config/tilegx/sfp-machine32.h: New file.
6052         * config/tilegx/sfp-machine64.h: New file.
6053         * config/tilegx/t-crtstuff: New file.
6054         * config/tilegx/t-softfp: New file.
6055         * config/tilegx/t-tilegx: New file.
6056         * config/tilepro/atomic.c: New file.
6057         * config/tilepro/atomic.h: New file.
6058         * config/tilepro/linux-unwind.h: New file.
6059         * config/tilepro/sfp-machine.h: New file.
6060         * config/tilepro/softdivide.c: New file.
6061         * config/tilepro/softmpy.S: New file.
6062         * config/tilepro/t-crtstuff: New file.
6063         * config/tilepro/t-tilepro: New file.
6065 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6067         PR libstdc++/51296
6068         PR libstdc++/51906
6069         * gthr-posix.h: Allow static initializer macros to be disabled.
6070         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6072 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6074         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6075         Add t-slibgcc-libgcc to tmake_file.
6076         * config/mips/libgcc-mips16.ver: Revert previous patch.
6077         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6079 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6080             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6082         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6083         * config/cr16/crti.S: New file.
6084         * config/cr16/crtlibid.S: New file.
6085         * config/cr16/crtn.S: New file.
6086         * config/cr16/lib1funcs.S: New file.
6087         * config/cr16/t-cr16: New file.
6088         * config/cr16/t-crtlibid: New file.
6089         * config/cr16/unwind-dw2.h: New file.
6090         * config/cr16/unwind-cr16.c: New file.
6091         * config/cr16/divmodhi3.c: New file.
6093 2012-01-25  Alan Modra  <amodra@gmail.com>
6095         * config/rs6000/t-linux64: Delete.  Move..
6096         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6097         * config/rs6000/t-linux: ..and libgcc flags to here.
6099 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6101         * config.host (i[34567]86-*-interix3*):
6102         Change triplet to i[34567]86-*-interix[3-9]*.
6103         * configure: Regenerate.
6105 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6106             Richard Sandiford  <rdsandiford@googlemail.com>
6108         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6109         * config/mips/mips16.S (__mips16_rdhwr): New function.
6110         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6112 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6114         * libgcov.c (__gcov_init): Ignore objects with no functions.
6116 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6118         PR target/49868
6119         Extend __pgmx semantics to linearize memory.
6120         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6121         * config/avr/lib1funcs.S (__xload_1): New function.
6122         (__movmemx_qi, __movmemx_hi): New functions.
6123         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6124         semantics.
6126 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6128         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6129         purported sigacthandler address isn't null before dereferencing it.
6130         (sparc_is_sighandler): Likewise.
6132 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6134         PR ada/41929
6135         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6136         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6137         (sparc_is_sighandler): Likewise.
6138         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6140 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6142         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6143         compatibility thunks...
6144         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6145         (crtbeginS.o, crtendS.o): ... and these to ...
6146         * config/ia64/t-ia64-elf: ... this new file.
6147         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6148         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6150 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6152         * configure: Regenerate.
6153         * config/s390/t-crtstuff: Remove -fPIC.
6155 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6157         PR bootstrap/51006
6158         * enable-execute-stack-mprotect.c (getpagesize): Do not define
6159         for NetBSD.
6161 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6163         PR target/51345
6164         * config/avr/lib1funcs.S: Remove FIXME comments.
6165         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6167 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6169         Implement light-weight DImode support.
6170         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6171         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6172         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6173         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6175 2011-12-30  Nathan Sidwell  <nathan@acm.org>
6177         * libgcov.c (gcov_crc32): Remove global var.
6178         (free_fn_data): New function.
6179         (buffer_fn_data): Pass in filename, more robust error recovery.
6180         (crc32_unsigned): New function.
6181         (gcov_exit): More robust detection of new program. More robust
6182         error recovery.
6183         (__gcov_init): Do not update program's crc here.
6185 2011-12-21  Tristan Gingold  <gingold@adacore.com>
6187         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6189 2011-12-21  Ian Lance Taylor  <iant@google.com>
6191         * config/i386/morestack.S: Simplify CFI opcodes throughout.
6193 2011-12-20  Ian Lance Taylor  <iant@google.com>
6195         * config/i386/morestack.S (__morestack_non_split): If there is
6196         enough stack space already, don't split.  Ask for more stack space
6197         than we required.
6199 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
6201         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6202         `sys/sdt.h'.
6203         (_Unwind_DebugHook): New function.
6204         (uw_restore_core_regs): New define.
6205         (unwind_phase2): Use uw_restore_core_regs instead of
6206         restore_core_regs.
6207         (unwind_phase2_forced): Likewise.
6208         (__gnu_Unwind_Resume): Likewise.
6210 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
6212         * config/alpha/linux-unwind.h: Update copyright years.
6213         (MD_FROB_UPDATE_CONTEXT): New define.
6214         (alpha_frob_update_context): New function.
6216 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
6218         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6219         tmake_file rather replacing it.
6221 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
6223         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6224         function is not used for PPC64.
6225         (save_world): Amend comments.  Update the VRsave mask to reflect the
6226         saved regs.
6227         (rest_world): Update comments, do not  clobber r10, do not use r8.
6228         (eh_rest_world_r10): Amend comments, do not use r8.
6229         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6230         no longer used, move restore of CR and target address to the end of
6231         the routine.
6233 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
6235         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6236         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6238 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
6240         PR target/49313
6241         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6242         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6244 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
6246         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6248 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
6250         PR target/49313
6251         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6252         * config/avr/lib1funcs.S (__muldi3): New function.
6254 2011-12-06  Andrew Pinski  <apinski@cavium.com>
6256         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6257         size of func_ptr.
6258         (__frame_dummy_init_array_entry): Likewise.
6260 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
6262         Forward-port from gcc-4_6-branch r181936 2011-12-02.
6264         PR target/51345
6265         PR target/51002
6266         * config/avr/lib1funcs.S (__prologue_saves__,
6267         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6268         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
6270 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
6272         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6274 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6276         PR other/51272
6277         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6278         (_ITM_deregisterTMCloneTable): Likewise.
6279         (__register_frame_info): Fix unused warning.
6280         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6281         pthread_default_stacksize_np): Likewise.
6282         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6284 2011-11-29  DJ Delorie  <dj@redhat.com>
6286         * config.host (rl78-*-elf): New case.
6287         * config/rl78: New directory for the Renesas RL78.
6289 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
6291         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
6292         formatting.
6294 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6296         PR other/51022
6297         * config/rs6000/t-savresfgpr: New file.
6298         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6299         $(srcdir)/config/rs6000/eabi.S.
6300         * config/rs6000/t-ppccomm-ldbl: Remove.
6301         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6302         tmake_file.
6303         (powerpc-*-eabispe*): Likewise.
6304         (powerpc-*-eabi*): Likewise.
6305         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6306         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6307         to tmake_file, remove rs6000/t-ppccomm-ldbl.
6308         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6309         tmake_file.
6310         (powerpc-*-eabisim*): Likewise.
6311         (powerpc-*-elf*): Likewise.
6312         (powerpc-*-eabialtivec*): Likewise.
6313         (powerpc-xilinx-eabi*): Likewise.
6314         (powerpc-*-rtems*): Likewise.
6315         (powerpcle-*-elf*): Likewise.
6316         (powerpcle-*-eabisim*): Likewise.
6317         (powerpcle-*-eabi*): Likewise.
6319 2011-11-27  Ian Lance Taylor  <iant@google.com>
6321         * generic-morestack.c (__splitstack_find): Check for NULL old
6322         stack value.
6323         (__splitstack_resetcontext): New function.
6324         (__splitstack_releasecontext): New function.
6325         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6327 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6329         * config/darwin-crt-tm.c: Correct comments, use correct licence.
6331 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6333         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6335 2011-11-26  Richard Henderson  <rth@redhat.com>
6337         * config/m68k/linux-atomic.c: New file.
6338         * config/m68k/t-linux: New file.
6339         * config.host (m68k-uclinux, m68k-linux): Use it.
6341 2011-11-26  Richard Henderson  <rth@redhat.com>
6343         * crtstuff.c (__TMC_LIST__): Mark used not unused.
6344         (__TMC_END__): Only declare if hidden is available; in the definition,
6345         if hidden is unavailable add a null record.
6346         (deregister_tm_clones, register_tm_clones): New.
6347         (__do_global_dtors_aux, frame_dummy): Use them.
6348         (__do_global_dtors, __do_global_ctors_1): Likewise.
6350 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
6352         * config/darwin-crt-tm.c: New file.
6353         * config.host (darwin): Build crttms.o crttme.o to provide
6354         startup and shutdown for tm clones.
6355         * config/t-darwin (crttms.o): New build rule.
6356         (crttme.o): Likewise.
6358 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
6360         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6361         et al.
6363 2011-11-21  Richard Henderson  <rth@redhat.com>
6365         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6366         (__TMC_LIST__, __TMC_END__): New.
6367         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6368         (__do_global_dtors): Likewise.
6369         (frame_dummy): Call _ITM_registerTMCloneTable.
6370         (__do_global_ctors_1): Likewise.
6372 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6374         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6375         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6376         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6377         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6378         * config/i386/t-darwin64: Remove.
6379         * config/sh/t-netbsd (LIB2ADD): Remove.
6381 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
6383         PR target/49313
6384         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6385         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6386         * config/avr/lib1funcs.S (wmov): New assembler macro.
6387         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6388         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6389         (__udivmod64): New function.
6390         (__negdi2): New function.
6392 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
6394         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6395         *-*-freebsd*aout*): Remove.
6397 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6399         * static-object.mk (c_flags-$o): Save c_flags.
6400         ($(base)$(objext)): Use it.
6402 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6404         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6406 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6408         PR target/49868
6409         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6410         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6411         New functions.
6413 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6415         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6416         functions.
6417         (aeabi_uidivmod): Likewise.
6418         (umodsi3): Likewise.
6419         (divsi3): Likewise.
6420         (aeabi_idivmod): Likewise.
6421         (modsi3): Likewise.
6423 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6425         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6427 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6429         PR target/49868
6430         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6431         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6433 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6435         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6436         tmake_file list.
6437         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6438         * config/pa/t-stublib64: Delete.
6440 2011-11-12  Richard Henderson  <rth@redhat.com>
6442         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6443         cast the pointer argument to _Unwind_SetGRPtr.
6445 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6447         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6449 2011-11-09  Ian Lance Taylor  <iant@google.com>
6451         * generic-morestack.c: Include <string.h>.
6452         (uintptr_type): Define.
6453         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6454         extra array by 1.
6455         (allocate_segment): Set prev field to NULL.  Don't set
6456         __morestack_current_segment or __morestack_segments.
6457         (__generic_morestack): Update current->prev and *pp after calling
6458         allocate_segment.
6459         (__morestack_block_signals): Don't do anything if
6460         dont_block_signals is set.
6461         (__morestack_unblock_signals): Likewise.
6462         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6463         uintptr_type.
6464         (__splitstack_block_signals): New function.
6465         (enum __splitstack_content_offsets): Define.
6466         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6467         (__splitstack_makecontext): New function.
6468         (__splitstack_block_signals_context): New function.
6469         (__splitstack_find_context): New function.
6470         * config/i386/morestack.S (__morestack_get_guard): New function.
6471         (__morestack_set_guard, __morestack_make_guard): New functions.
6472         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6474 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6476         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6477         (i[34567]86-*-mingw*): ... here.
6478         (x86_64-*-mingw*): ... here.
6480 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6482         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6484 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6486         * libgcov.c (struct gcov_fn_buffer): New struct.
6487         (buffer_fn_data): New helper.
6488         (gcov_exit): Rework for new gcov data structures.
6490 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6492         PR target/49313
6493         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6495 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6497         * config.host (tmake_file): Correct comment.
6498         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6499         t-libgcc-pic.
6500         (bfin*-uclinux*): Likewise.
6501         (bfin*-linux-uclibc*): Likewise.
6502         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6504         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6505         assigning.
6506         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6507         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6508         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6509         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6510         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6511         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6512         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6513         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6514         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6515         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6516         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6517         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6518         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6520         * config/bfin/t-elf: Remove.
6521         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6523 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6525         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6526         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6527         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6528         (lm32-*-elf*): ... this.
6529         (lm32-*-rtems*): ... and this.
6530         Add to tmake_file.
6531         (m32r-*-rtems*): Add to tmake_file.
6532         (moxie-*-rtems*): Likewise.
6533         (sparc-*-rtems*): Likewise.
6534         Remove t-rtems from tmake_file.
6535         (sparc64-*-rtems*): Likewise.
6536         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6537         instead.
6539 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6541         PR bootstrap/50982
6542         * config/gthr-posix.h: Move ...
6543         * gthr-posix.h: ... here.
6544         * config/gthr-lynx.h: Reflect this.
6545         * config/gthr-vxworks.h: Likewise.
6546         * config/rs6000/gthr-aix.h: Likewise.
6547         * configure.ac (target_thread_file): Likewise.
6548         * configure: Regenerate.
6550 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6552         * config.host (arm*-*-rtemseabi*): New target.
6554 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6556         PR other/50991
6557         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6558         extra-parts.
6560 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6562         * config.host (epiphany-*-elf*): New configuration.
6563         * config/epiphany: New Directory.
6565 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6567         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6568         * config/avr/t-rtems: New.
6569         Filter out _exit from LIB1ASMFUNCS.
6571 2011-11-04  David S. Miller  <davem@davemloft.net>
6573         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6574         * configure: Rebuild.
6576 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6578         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6579         variable.
6581 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6583         PR target/50931
6584         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6585         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6587 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6589         PR target/50989
6590         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6592 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6594         * config/c6x/t-elf (LIB2ADDEH): Set.
6595         * config/c6x/t-c6x-elf: Remove.
6597 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6599         * config/i386/sol2-ci.S: Rename to ...
6600         * config/i386/crti.S: ... this.
6601         * config/i386/sol2-cn.S: Rename to ...
6602         * config/i386/crtn.S: ... this.
6603         * config/sparc/sol2-ci.S: Rename to ...
6604         * config/sparc/crti.S: ... this.
6605         * config/sparc/sol2-cn.S: Rename to ...
6606         * config/sparc/crtn.S: ... this.
6607         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6608         (crti.o, crtn.o): Remove.
6610 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6612         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6614 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6616         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6618 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6620         * config.host (crisv32-*-none, cris-*-none): Remove.
6621         (crisv32-*-elf): Append to tmake_file, don't just set it.
6622         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6624 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6626         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6627         (ecrtn$(objext)): Likewise.
6628         (ncrti$(objext)): Likewise.
6629         (ncrtn$(objext)): Likewise.
6631 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6633         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6635 2011-11-02  David S. Miller  <davem@davemloft.net>
6637         * configure.ac: Set host_address on sparc too.
6638         * configure: Regenerate.
6639         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6640         based upon host_address.
6641         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6643 2011-11-02  Jason Merrill  <jason@redhat.com>
6645         * config/rs6000/t-ppccomm: Add missing \.
6647 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6649         * gthr-single.h, gthr.h: New files.
6650         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6651         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6652         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6653         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6654         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6655         * configure.ac (thread_header): New variable.
6656         Set it depending on target_thread_file.
6657         (gthr-default.h): Link from $thread_header.
6658         * configure: Regenerate.
6659         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6661 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6663         * configure.ac (tm_file_): New variable.
6664         Determine from tm_file.
6665         (tm_file, tm_defines): Substitute.
6666         * configure: Regenerate.
6667         * mkheader.sh: New file.
6668         * Makefile.in (clean): Remove libgcc_tm.h.
6669         ($(objects)): Depend on libgcc_tm.h.
6670         (libgcc_tm_defines, libgcc_tm_file): New variables.
6671         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6672         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6673         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6674         ($(extra-parts)): Depend on libgcc_tm.h.
6675         * config.host (tm_defines, tm_file): New variable.
6676         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6677         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6678         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6679         (avr-*-rtems*): Likewise.
6680         (avr-*-*): Likewise.
6681         (frv-*-elf): Likewise.
6682         (frv-*-*linux*): Likewise.
6683         (h8300-*-rtems*): Likewise.
6684         (h8300-*-elf*): Likewise.
6685         (i[34567]86-*-darwin*): Likewise.
6686         (x86_64-*-darwin*): Likewise.
6687         (rx-*-elf): Likewise.
6688         (tic6x-*-uclinux): Likewise.
6689         (tic6x-*-elf): Likewise.
6690         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6691         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6692         * config/i386/cygming-crtbegin.c: Likewise.
6693         * config/i386/cygming-crtend.c: Likewise.
6694         * config/ia64/fde-vms.c: Likewise.
6695         * config/ia64/unwind-ia64.c: Likewise.
6696         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6697         * config/rs6000/darwin-fallback.c: Likewise.
6698         * config/stormy16/lib2funcs.c: Likewise.
6699         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6700         * crtstuff.c: Likewise.
6701         * dfp-bit.h: Likewise.
6702         * emutls.c: Likewise.
6703         * fixed-bit.c: Likewise.
6704         * fp-bit.c: Likewise.
6705         * generic-morestack-thread.c: Likewise.
6706         * generic-morestack.c: Likewise.
6707         * libgcc2.c: Likewise.
6708         * libgcov.c: Likewise.
6709         * unwind-dw2-fde-dip.c: Likewise.
6710         * unwind-dw2-fde.c: Likewise.
6711         * unwind-dw2.c: Likewise.
6712         * unwind-sjlj.c: Likewise.
6714 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6716         * configure.ac: Include ../config/picflag.m4.
6717         (GCC_PICFLAG): Call it.
6718         Substitute.
6719         * configure: Regenerate.
6720         * Makefile.in (gcc_srcdir): Remove.
6721         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6722         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6723         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6724         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6725         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6726         Use $<.
6727         Remove comment.
6728         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6729         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6730         to refer to libgcc2.c.
6731         Use $<.
6732         * config/darwin-64.c: New file.
6733         * config/darwin-crt3.c: Remove comment.
6734         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6735         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6736         config/udivmodsi4.c: New files.
6737         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6738         config/memset.c: New files.
6739         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6740         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6741         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6742         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6743         * config/t-openbsd-thread: New file.
6744         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6745         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6746         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6747         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6748         qrnnd.S.
6749         Adapt filename.
6750         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6751         to refer to gthr-posix.c.
6752         * config/alpha/t-vms (LIB2ADD): Set.
6753         * config/alpha/vms-gcc_shell_handler.c: New file.
6754         * config/arm/bpabi.c, config/arm/fp16.c,
6755         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6756         config/arm/unaligned-funcs.c: New files.
6757         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6758         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6759         * config/arm/t-linux: Likewise.
6760         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6761         * config/arm/t-netbsd: New file.
6762         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6763         * config/arm/t-symbian (LIB2ADD_ST): Set.
6764         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6765         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6766         * config/bfin/t-elf: New file.
6767         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6768         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6769         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6770         config/c6x/ltf.c: New files.
6771         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6772         (HOST_LIBGCC2_CFLAGS): Set.
6773         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6774         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6775         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6776         New files.
6777         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6778         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6779         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6780         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6781         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6782         files.
6783         * config/frv/t-frv (LIB2ADD): Set.
6784         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6785         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6786         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6787         config/h8300/popcounthi2.c: New files.
6788         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6789         * config/i386/gthr-win32.c: New file.
6790         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6791         * config/i386/t-cygwin: Likewise.
6792         * config/i386/t-darwin, config/i386/t-darwin64,
6793         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6794         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6795         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6796         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6797         * config/ia64/quadlib.c: New file.
6798         * config/ia64/t-hpux (LIB2ADD): Set.
6799         * config/ia64/t-ia64: Add comment.
6800         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6801         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6802         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6803         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6804         * config/m32c/t-m32c (LIB2ADD): Set.
6805         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6806         * config/m32r/t-m32r: Likewise.
6807         * config/m68k/fpgnulib.c: New file.
6808         * config/m68k/t-floatlib (LIB2ADD): Set.
6809         (xfgnulib.c): New target.
6810         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6811         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6812         * config/mep/t-mep (LIB2ADD): Set.
6813         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6814         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6815         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6816         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6817         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6818         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6819         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6820         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6821         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6822         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6823         New files.
6824         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6825         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6826         * config/pa/fptr.c, config/pa/lib2funcs.S,
6827         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6828         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6829         (LIB2ADD, LIB2ADD_ST): Set.
6830         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6831         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6832         Set.
6833         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6834         * config/pdp11/t-pdp11: New file.
6835         * config/picochip/libgccExtras/adddi3.S,
6836         config/picochip/libgccExtras/ashlsi3.S,
6837         config/picochip/libgccExtras/ashrsi3.S,
6838         config/picochip/libgccExtras/clzsi2.S,
6839         config/picochip/libgccExtras/cmpsi2.S,
6840         config/picochip/libgccExtras/divmod15.S,
6841         config/picochip/libgccExtras/divmodhi4.S,
6842         config/picochip/libgccExtras/divmodsi4.S,
6843         config/picochip/libgccExtras/lshrsi3.S,
6844         config/picochip/libgccExtras/parityhi2.S,
6845         config/picochip/libgccExtras/popcounthi2.S,
6846         config/picochip/libgccExtras/subdi3.S,
6847         config/picochip/libgccExtras/ucmpsi2.S,
6848         config/picochip/libgccExtras/udivmodhi4.S,
6849         config/picochip/libgccExtras/udivmodsi4.S: New files.
6850         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6851         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6852         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6853         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6854         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6855         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6856         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6857         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6858         files.
6859         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6860         (HOST_LIBGCC2_CFLAGS): Set.
6861         * config/rs6000/t-darwin64: New file.
6862         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6863         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6864         * config/rs6000/t-ppccomm (LIB2ADD): Add
6865         $(srcdir)/config/rs6000/tramp.S.
6866         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6867         Add  $(srcdir)/config/rs6000/eabi.S.
6868         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6869         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6870         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6871         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6872         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6873         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6874         * config/rs6000/tramp.S: New file.
6875         * config/s390/t-tpf: Remove.
6876         * config/sh/linux-atomic.S: New file.
6877         * config/sh/t-linux (LIB2ADD): Set.
6878         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6879         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6880         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6881         to unwind-dw2.c.
6882         (HOST_LIBGCC2_CFLAGS): Set.
6883         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6884         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6885         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6886         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6887         config/spu/mfc_multi_tag_release.c,
6888         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6889         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6890         config/spu/multi3.c: New files.
6891         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6892         (HOST_LIBGCC2_CFLAGS): Set.
6893         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6894         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6895         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6896         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6897         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6898         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6899         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6900         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6901         config/stormy16/umodsi3.c: New files.
6902         * config/xtensa/lib2funcs.S: New file.
6903         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6904         * config/xtensa/t-xtensa (LIB2ADD): Set.
6905         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6906         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6907         Add t-freebsd-thread to tmake_file for posix threads.
6908         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6909         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6910         (*-*-lynxos*): Likewise.
6911         (*-*-netbsd*): Likewise.
6912         (*-*-openbsd*): Likewise.
6913         Add t-openbsd-thread to tmake_file for posix threads.
6914         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6915         (*-*-vxworks*): Set tmake_file.
6916         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6917         (alpha*-*-freebsd*): Likewise.
6918         (alpha*-*-netbsd*): Likewise.
6919         (alpha*-*-openbsd*): Likewise.
6920         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6921         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6922         (alpha*-dec-*vms*): Likewise.
6923         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6924         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6925         (bfin*-uclinux*): Likewise.
6926         (bfin*-linux-uclibc*): Likewise.
6927         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6928         (crisv32-*-none): Likewise.
6929         (cris-*-elf): Likewise.
6930         (cris-*-none): Likewise.
6931         (cris-*-linux*, crisv32-*-linux*): Likewise.
6932         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6933         tmake_file.
6934         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6935         tmake_file.
6936         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6937         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6938         (x86_64-*-elf*): Likewise.
6939         (i[34567]86-*-nto-qnx*): Likewise.
6940         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6941         win32 threads.
6942         (x86_64-*-mingw*): Likewise.
6943         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6944         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6945         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6946         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6947         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6948         tmake_file.
6949         (mipsisa64sr71k-*-elf*): Likewise.
6950         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6951         (mips-*-elf*, mipsel-*-elf*): Likewise.
6952         (mips64-*-elf*, mips64el-*-elf*): Likewise.
6953         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6954         (mips*-*-rtems*): Likewise.
6955         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6956         to tmake_file.
6957         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6958         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6959         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6960         (spu-*-elf*): Likewise.
6961         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6963 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6965         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6966         $(srcdir) to refer to $(LIB1ASMSRC).
6967         Use $<.
6968         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6969         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6970         config/arm/lib1funcs.S: New files.
6971         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6972         * config/arm/t-arm: New file.
6973         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6974         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6975         config/arm/t-strongarm-elf: New files.
6976         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6977         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6978         * config/avr/lib1funcs.S: New file.
6979         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6980         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6981         * config/c6x/lib1funcs.S: New file.
6982         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6983         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6984         * config/frv/lib1funcs.S: New file.
6985         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6986         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6987         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6988         * config/ia64/__divxf3.asm: Rename to ...
6989         * config/ia64/__divxf3.S: ... this.
6990         Adapt lib1funcs.asm filename.
6991         * config/ia64/_fixtfdi.asm: Rename to ...
6992         * config/ia64/_fixtfdi.S: ... this.
6993         Adapt lib1funcs.asm filename.
6994         * config/ia64/_fixunstfdi.asm: Rename to ...
6995         * config/ia64/_fixunstfdi.S: ... this.
6996         Adapt lib1funcs.asm filename.
6997         * config/ia64/_floatditf.asm: Rename to ...
6998         * config/ia64/_floatditf.S: ... this.
6999         Adapt lib1funcs.asm filename.
7000         * config/ia64/lib1funcs.S: New file.
7001         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7002         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7003         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7004         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7005         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7006         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7007         * config/mep/lib1funcs.S: New file.
7008         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7009         * config/mips/mips16.S: New file.
7010         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7011         * config/pa/milli64.S: New file.
7012         * config/pa/t-linux, config/pa/t-linux64: New files.
7013         * config/picochip/lib1funcs.S: New file.
7014         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7015         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7016         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7017         * config/sh/t-netbsd: New file.
7018         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7019         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7020         * config/sh/t-sh64: New file.
7021         * config/sparc/lb1spc.S: New file.
7022         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7023         filename.
7024         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7025         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7026         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7027         config/xtensa/lib1funcs.S: New files.
7028         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7029         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7030         tmake_file.
7031         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7032         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7033         (arm*-*-linux*): Likewise.
7034         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7035         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7036         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7037         (arm*-*-ecos-elf): Likewise.
7038         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7039         (arm*-*-rtems*): Likewise.
7040         (arm*-*-elf): Likewise.
7041         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7042         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7043         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7044         (bfin*-uclinux*): Likewise.
7045         (bfin*-linux-uclibc*): Likewise.
7046         (bfin*-rtems*): Likewise.
7047         (bfin*-*): Likewise.
7048         (fido-*-elf): Merge into m68k-*-elf*.
7049         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7050         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7051         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7052         (h8300-*-elf*): Likewise.
7053         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7054         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7055         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7056         (i[34567]86-*-mingw*): Likewise.
7057         (x86_64-*-mingw*): Likewise.
7058         (i[34567]86-*-interix3*): Likewise.
7059         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7060         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7061         (m68k-*-elf*): Also handle fido-*-elf.
7062         Add m68k/t-floatlib to tmake_file.
7063         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7064         (m68k-*-linux*): Likewise.
7065         (m68k-*-rtems*): Likewise.
7066         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7067         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7068         sh64*-*-*.
7069         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7070         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7071         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7072         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7073         sh/t-netbsd to tmake_file.
7074         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7075         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7076         (sh-wrs-vxworks): Likewise.
7077         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7078         *-leon[3-9]*.
7079         (v850*-*-*): Add v850/t-v850 to tmake_file.
7080         (vax-*-linux*): Add vax/t-linux to tmake_file.
7081         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7083 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7085         * crtstuff.c: New file.
7086         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7087         (CRTSTUFF_T_CFLAGS): Define.
7088         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7089         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7090         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7091         crtstuff.c.
7092         Use $<.
7093         (crtbeginT.o): Use $(objext).
7094         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7095         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7096         (gcc-extra-parts): Remove.
7097         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7098         Set extra_parts.
7099         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7100         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7101         Add t-crtstuff-pic to tmake_file.
7102         (*-*-lynxos*): New case.
7103         Set tmake_file, extra_parts.
7104         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7105         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7106         *-*-netbsdelf[2-9]*.
7107         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7108         (*-*-rtems*): Set extra_parts.
7109         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7110         (*-*-uclinux*): New case.
7111         Set extra_parts.
7112         (*-*-vms*): New case.
7113         Set tmake_file, extra_parts.
7114         (*-*-elf): Set extra_parts.
7115         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7116         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7117         vms/t-vms64.
7118         Set extra_parts.
7119         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7120         Set extra_parts.
7121         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7122         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7123         (arm-wrs-vxworks): Append to tmake_file.
7124         Set extra_parts.
7125         (arm*-*-uclinux*): Set extra_parts.
7126         (arm*-*-ecos-elf): Likewise.
7127         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7128         arm*-*-eabi*.
7129         (arm*-*-rtems*): Set extra_parts.
7130         (arm*-*-elf): Likewise.
7131         (avr-*-rtems*): Clear extra_parts.
7132         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7133         Set extra_parts.
7134         (bfin*-uclinux*): Likewise.
7135         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7136         (bfin*-rtems*): Append to tmake_file.
7137         Set extra_parts.
7138         (bfin*-*): Likewise.
7139         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7140         (crisv32-*-elf): ... this.
7141         (crisv32-*-none): ... this.
7142         (cris-*-elf, cris-*-none): New cases.
7143         Add cris/t-elfmulti to tmake_file.
7144         (fr30-*-elf): Append to tmake_file.
7145         Set extra_parts.
7146         (frv-*-elf): Append to tmake_file, add frv/t-frv.
7147         Set extra_parts.
7148         (h8300-*-rtems*): Append to tmake_file.
7149         Set extra_parts.
7150         (h8300-*-elf*): Likewise.
7151         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7152         Set extra_parts.
7153         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7154         Set extra_parts.
7155         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7156         (x86_64-*-elf*): Likewise.
7157         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7158         (x86_64-*-freebsd*): Likewise.
7159         (x86_64-*-netbsd*): Likewise.
7160         (i[34567]86-*-linux*): Likewise.
7161         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7162         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7163         (x86_64-*-linux*): Likewise.
7164         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7165         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7166         tmake_file.
7167         Set extra_parts.
7168         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7169         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7170         Append to extra_parts, remove crtbegin.o, crtend.o.
7171         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7172         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7173         crtend.o, crtbeginS.o, crtendS.o.
7174         (ia64*-*-linux*): Comment extra_parts.
7175         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7176         Set extra_parts.
7177         (iq2000*-*-elf*): Clear extra_parts.
7178         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7179         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7180         (m32r-*-elf*, m32r-*-rtems*): Split off ...
7181         (m32r-*-rtems*): ... this.
7182         Add m32r/t-m32r to tmake_file.
7183         (m68k-*-elf*): Add t-crtin to tmake_file.
7184         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7185         (mcore-*-elf): Likewise.
7186         (microblaze*-*-*): Set extra_parts.
7187         (mips*-sde-elf*): New case.
7188         Set tmake_file, extra_parts.
7189         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7190         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7191         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7192         tmake_file.
7193         Set extra_parts.
7194         (mipsisa64sr71k-*-elf*): Likewise.
7195         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7196         (mips-*-elf*, mipsel-*-elf*): Likewise.
7197         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7198         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7199         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
7200         (mips*-*-rtems*): Likewise.
7201         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7202         (moxie-*-*): Split into ...
7203         (moxie-*-elf, moxie-*-uclinux*): ... this.
7204         Add to extra_parts, remove crtbegin.o, crtend.o.
7205         (moxie-*-rtems*): New case.
7206         Set tmake_file.
7207         Clear extra_parts.
7208         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7209         Set extra_parts.
7210         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7211         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7212         tmake_file.
7213         Set extra_parts.
7214         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7215         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7216         Set extra_parts.
7217         (powerpc-*-eabisim*): Likewise.
7218         (powerpc-*-elf*): Likewise.
7219         (powerpc-*-eabialtivec*): Likewise.
7220         (powerpc-xilinx-eabi*): Likewise.
7221         (powerpc-*-eabi*): Likewise.
7222         (powerpc-*-rtems*): Likewise.
7223         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7224         tmake_file.
7225         Set extra_parts.
7226         (powerpc-*-lynxos*): Add to tmake_file.
7227         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7228         rs6000/t-crtstuff, t-crtstuff-pic.
7229         Set extra_parts.
7230         (powerpcle-*-eabisim*): Likewise.
7231         (powerpcle-*-eabi*): Likewise.
7232         (rx-*-elf): Remove extra_parts.
7233         (s390x-ibm-tpf*): Set extra_parts.
7234         (score-*-elf): Set extra_parts.
7235         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7236         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7237         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7238         (sh64l*-*-netbsd*): Split into ...
7239         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7240         Add t-crtstuff-pic to tmake_file.
7241         Set extra_parts.
7242         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7243         Set extra_parts.
7244         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7245         (sparc-*-elf*): Remove t-crtin from tmake_file.
7246         Add to extra_parts, remove crtbegin.o, crtend.o.
7247         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7248         (sparc64-*-linux*): Likewise.
7249         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7250         Add to extra_parts, remove crtbegin.o, crtend.o.
7251         (sparc64-*-elf*): Remove t-crtin from tmake_file.
7252         Add to extra_parts, remove crtbegin.o, crtend.o.
7253         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7254         Add to extra_parts, remove crtbegin.o, crtend.o.
7255         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7256         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7257         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7258         Set extra_parts.
7259         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7260         Set extra_parts.
7261         (tic6x-*-*): Change to ...
7262         (tic6x-*-elf): ... this.
7263         Set extra_parts.
7264         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7265         Set extra_parts.
7266         (am33_2.0-*-linux*): Add comment.
7267         (mep*-*-*): Add mep/t-mep to tmake_file.
7268         Set extra_parts.
7269         * config/alpha/t-vms: New file.
7270         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7271         * config/arm/crti.S, config/arm/crtn.S: New files.
7272         * config/bfin/crti.S, config/bfin/crtn.S: New files.
7273         * config/bfin/crtlibid.S: New file.
7274         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7275         * config/c6x/crti.S, config/c6x/crtn.S: New files.
7276         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7277         (crti.o, crtin.o): New rules.
7278         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7279         * config/c6x/t-uclinux: New file.
7280         * config/cris/t-elfmulti: New file.
7281         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7282         * config/fr30/crti.S, config/fr30/crtn.S: New files.
7283         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7284         * config/frv/t-frv: New file.
7285         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7286         * config/h8300/crti.S, config/h8300/crtn.S: New files.
7287         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7288         New files.
7289         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7290         refer to cygming-crtbegin.c, cygming-crtend.c.
7291         Use $<.
7292         * config/i386/t-nto: New file.
7293         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7294         * config/ia64/crti.S, config/ia64/crtn.S: New files.
7295         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7296         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7297         Use .S extension.
7298         Use $<.
7299         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7300         (crtinitS.o): New rule.
7301         * config/ia64/vms-crtinit.S: New file.
7302         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7303         * config/m32r/initfini.c: New file.
7304         * config/m32r/t-linux, config/m32r/t-m32r: New files.
7305         * config/m68k/crti.S, config/m68k/crtn.S: New files.
7306         * config/mcore/crti.S, config/mcore/crtn.S: New files.
7307         * config/mep/t-mep: New file.
7308         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7309         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7310         * config/mips/crti.S, config/mips/crtn.S: New files.
7311         * config/mips/t-crtstuff: New file.
7312         * config/mmix/crti.S, config/mmix/crtn.S: New files.
7313         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7314         (CUSTOM_CRTIN): Set.
7315         ($(T)crti.o, $(T)crtn.o): Remove $(T),
7316         dependencies.
7317         Use $(srcdir) to refer to crti.S, crtn.S.
7318         Use .S extension, $<.
7319         * config/moxie/crti.asm: Rename to ...
7320         * config/moxie/crti.S: ... this.
7321         * config/moxie/crtn.asm: Rename to ...
7322         * config/moxie/crtn.S: ... this.
7323         * config/moxie/t-moxie: Remove.
7324         * config/pa/stublib.c: New file.
7325         * config/pa/t-stublib, config/pa/t-stublib64: New files.
7326         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7327         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7328         * config/rs6000/t-crtstuff: New file.
7329         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7330         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7331         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7332         Make output file explicit.
7333         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7334         Make output file explicit.
7335         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7336         Make output file explicit.
7337         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7338         Make output file explicit.
7339         * config/score/crti.S, config/score/crtn.S: New files.
7340         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7341         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7342         files.
7343         * config/sh/t-sh, config/sh/t-superh: New files.
7344         * config/sparc/t-linux64: New file.
7345         * config/spu/cache.S, config/spu/cachemgr.c: New files.
7346         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7347         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7348         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7349         * config/t-crtin: Remove.
7350         * config/t-crtstuff-pic: New file.
7351         * config/t-sol2 (CUSTOM_CRTIN): Set.
7352         (crti.o, crtn.o): New rules.
7353         * config/vms/t-vms: New file.
7354         * config/vms/vms-ucrt0.c: New file.
7355         * config/xtensa/t-elf: New file.
7357 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7359         * Makefile.in (SHLIB_NM_FLAGS): Set.
7360         * mkmap-flat.awk, mkmap-symver.awk: New files.
7361         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7362         exceptions.
7363         * configure: Regenerate.
7364         * config/libgcc-glibc.ver: New file.
7365         * config/libgcc-libsystem.ver: New file.
7366         * config/t-libunwind (SHLIB_LC): Set.
7367         * config/t-linux: New file.
7368         * config/t-slibgcc (INSTALL_SHLIB): New.
7369         (SHLIB_INSTALL): Use it.
7370         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7371         to mkmap-symver.awk.
7372         (SHLIB_MAPFILES): Don't append, adapt pathname.
7373         (SHLIB_VERPFX): Set.
7374         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7375         to mkmap-symver.awk.
7376         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7377         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7378         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7379         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7380         to mkmap-flat.awk.
7381         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7382         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7383         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7384         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7385         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7386         * config/i386/libgcc-darwin.10.4.ver,
7387         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7388         New files.
7389         * config/i386/t-darwin: Remove.
7390         * config/i386/t-darwin64: Likewise.
7391         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7392         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7393         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7394         * config/i386/t-linux: New file.
7395         * config/i386/t-mingw32: New file.
7396         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7397         * config/ia64/t-glibc: Rename to ...
7398         * config/ia64/t-linux: ... this.
7399         (SHLIB_MAPFILES): Set.
7400         * config/ia64/t-glibc-libunwind: Rename to ...
7401         * config/ia64/t-linux-libunwind: ... this.
7402         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7403         * config/ia64/t-slibgcc-hpux: New file.
7404         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7405         * config/m68k/t-slibgcc-elf-ver: New file.
7406         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7407         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7408         to mkmap-flat.awk.
7409         * config/pa/t-slibgcc-hpux: New file.
7410         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7411         files.
7412         * config/rs6000/libgcc-darwin.10.4.ver,
7413         config/rs6000/libgcc-darwin.10.5.ver: New files.
7414         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7415         config/rs6000/libgcc-glibc.ver.
7416         * config/rs6000/libgcc-ppc64.ver: Rename to
7417         config/rs6000/libgcc-ibm-ldouble.ver.
7418         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7419         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7420         * config/rs6000/t-ldbl128: Rename to ...
7421         * config/rs6000/t-linux: ... this.
7422         (SHLIB_MAPFILES): Adapt filename.
7423         * config/rs6000/t-slibgcc-aix: New file.
7424         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7425         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7426         libgcc-excl.ver, libgcc-glibc.ver.
7427         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7428         * config/sparc/libgcc-glibc.ver: New file.
7429         * config/sparc/t-linux: New file.
7430         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7431         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7432         t-slibgcc-elf-ver to tmake_file.
7433         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7434         *-*-freebsd[34].
7435         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7436         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7437         t-slibgcc-elf-ver, t-linux to tmake_file.
7438         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7439         tmake_file.
7440         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7441         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7442         (alpha*-dec-*vms*): Likewise.
7443         (arm*-*-freebsd*): Append to tmake_file.
7444         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7445         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7446         arm*-*-linux-*eabi.
7447         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7448         tmake_file for arm*-*-symbianelf*.
7449         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7450         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7451         cris/t-linux.
7452         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7453         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7454         pa/t-slibgcc-dwarf-ver to tmake_file.
7455         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7456         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7457         (hppa*64*-*-hpux11*): Likewise.
7458         (hppa[12]*-*-hpux11*): Likewise.
7459         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7460         i386/t-crtpc, i386/t-crtfm.
7461         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7462         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7463         to tmake_file.
7464         Add i386/t-cygwin to tmake_file.
7465         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7466         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7467         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7468         to tmake_file.
7469         Add i386/t-mingw32 to tmake_file.
7470         (x86_64-*-mingw*): Likewise.
7471         (ia64*-*-freebsd*): Append to tmake_file.
7472         (ia64*-*-linux*): Append to tmake_file.
7473         Replace ia64/t-glibc by ia64/t-linux.
7474         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7475         system libunwind.
7476         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7477         t-slibgcc-hpux to tmake_file.
7478         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7479         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7480         (m32rle-*-linux*): Likewise.
7481         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7482         sjlj exceptions.
7483         (microblaze*-linux*): New case.
7484         Append to tmake_file, add t-slibgcc-nolc-override.
7485         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7486         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7487         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7488         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7489         rs6000/t-slibgcc-aix to tmake_file.
7490         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7491         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7492         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7493         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7494         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7495         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7496         sh*-*-linux*.
7497         (sparc-*-linux*): Append to tmake_file for *-leon*.
7498         Add sparc/t-linux to tmake_file for non-Leon targets.
7499         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7500         (tic6x-*-uclinux): New case.
7501         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7502         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7503         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7504         (am33_2.0-*-linux*): Append to tmake_file.
7505         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7506         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7507         x86_64-*-kfreebsd*-gnu.
7508         Add i386/t-linux to tmake_file.
7510 2011-10-28  Ian Lance Taylor  <iant@google.com>
7512         * config/i386/morestack.S: Correct CFI information to do proper
7513         returns throughout function.  In 32-bit mode, save %ebx so that it
7514         is restored on unwind.
7516 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7518         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7519         case where B3 isn't the return register.
7521         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7522         logic for doubleword pops.
7524 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7526         * config/rs6000/t-freebsd: Add wildcard.
7528 2011-10-21  Paul Brook  <paul@codesourcery.com>
7530         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7532 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7533             Eric Botcazou  <ebotcazou@adacore.com>
7535         PR target/50737
7536         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7537         fs->signal_frame to 1.
7539 2011-10-07  Ian Lance Taylor  <iant@google.com>
7541         * generic-morestack-thread.c: #include <errno.h>.
7543 2011-10-07  Ian Lance Taylor  <iant@google.com>
7545         PR target/46093
7546         * generic-morestack.c (__generic_morestack): Make sure the segment
7547         is large enough for both the stack frame and the copied
7548         parameters.
7550 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7552         PR bootstrap/49804
7553         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7554         extra_parts.
7556 2011-09-28  Nick Clifton  <nickc@redhat.com>
7558         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7559         64-bit doubles are not enabled.
7560         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7561         and floatunsisf functions.
7563 2011-09-13  Paul Brook  <paul@codesourcery.com>
7565         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7566         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7567         * unwind-arm-common.inc: New file.
7568         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7569         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7570         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7571         * config/c6x/libunwind.S: New file.
7572         * config/c6x/pr-support.c: New file.
7573         * config/c6x/unwind-c6x.c: New file.
7574         * config/c6x/unwind-c6x.h: New file.
7575         * config/c6x/t-c6x-elf: New file.
7577 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7579         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7580         (ASM_DIVZERO): Ditto.
7581         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7583 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7585         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7587 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7589         PR target/50090
7590         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7591         instead of an assembly one.
7593 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7595         PR bootstrap/50047
7596         * Makefile.in (install-unwind_h): Create
7597         $(gcc_objdir)/include/unwind.h atomically.
7599 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7601         * Makefile.in (install-unwind_h): Remove destination file first.
7603 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7605         * sync.c: New file.
7606         * config/mips/t-mips16: New file.
7607         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7608         (mips*-*-linux*): Likewise.
7609         (mips*-sde-elf*): Likewise.
7610         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7611         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7612         Add mips/t-mips16 to tmake_file.
7613         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7614         (mips-*-elf*): Likewise.
7615         (mips64-*-elf*): Likewise.
7616         (mips64orion-*-elf*): Likewise.
7617         (mips*-*-rtems*): Likewise.
7618         (mipstx39-*-elf*): Likewise.
7619         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7620         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7621         LIBGCC_SYNC_CFLAGS.
7622         Use $(srcdir) to refer to sync.c.
7623         Use $<.
7624         ($(libgcc-sync-funcs-o)): Likewise.
7625         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7626         ($(libgcc-sync-funcs-s-o)): Likewise.
7628 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7630         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7631         t-libunwind.
7633 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7635         PR other/48007
7636         * config/i386/value-unwind.h: New.
7638 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7640         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7641         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7642         Add to tmake_file rather than overriding it.
7644 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7646         * config/t-softfp: Remove.
7647         * soft-fp: Moved from ../gcc/config.
7648         * soft-fp/README: Remove t-softfp reference.
7649         * soft-fp/t-softfp: Move to config/t-softfp.
7650         (softfp_machine_header): Remove.
7651         (softfp_file_list): Remove config subdir.
7652         (soft-fp-objects): New variable.
7653         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7654         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7655         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7656         * config/t-softfp-excl: New file.
7657         * config/t-softfp-sfdf: New file.
7658         * config/t-softfp-tf: New file.
7659         * config/no-sfp-machine.h: New file.
7660         * config/arm/sfp-machine.h: New file.
7661         * config/arm/t-softfp: New file.
7662         * config/c6x/sfp-machine.h: New file.
7663         * config/i386/32/t-fprules-softfp: Rename to ...
7664         * config/i386/32/t-softfp: ... this.
7665         (tifunctions, LIB2ADD): Remove.
7666         (softfp_int_modes): Override.
7667         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7668         subdir.
7669         * config/i386/64/eqtf2.c: Likewise.
7670         * config/i386/64/getf2.c: Likewise.
7671         * config/i386/64/letf2.c: Likewise.
7672         * config/ia64/sft-machine.h: New file.
7673         * config/ia64/t-fprules-softfp: Rename to ...
7674         * config/ia64/t-softfp: ... this.
7675         * config/lm32/sfp-machine.h: New file.
7676         * config/moxie/t-moxie-softfp: Remove.
7677         * config/rs6000/ibm-ldouble-format: New file.
7678         * config/rs6000/ibm-ldouble.c: New file.
7679         * config/rs6000/libgcc-ppc-glibc.ver: New file
7680         * config/rs6000/libgcc-ppc64.ver: New file
7681         * config/rs6000/sfp-machine.h: New file.
7682         * config/rs6000/t-freebsd: New file.
7683         * config/rs6000/t-ibm-ldouble: New file.
7684         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7685         libgcc-ppc-glibc.ver.
7686         * config/rs6000/t-linux64: New file.
7687         * config/rs6000/t-ppccomm (LIB2ADD): Add
7688         $(srcdir)/config/rs6000/ibm-ldouble.c.
7689         * config/rs6000/t-ppccomm-ldbl: New file.
7690         * config/score/sfp-machine.h: New file.
7691         * config.host (sfp_machine_header): Explain.
7692         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7693         t-softfp to tmake_file.
7694         (arm*-*-uclinux*): Likewise.
7695         (arm*-*-ecos-elf): Likewise.
7696         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7697         (arm*-*-rtems*): Likewise.
7698         (arm*-*-elf): Likewise.
7699         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7700         in tmake_file.
7701         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7702         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7703         (lm32-*-uclinux*): Likewise.
7704         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7705         t-softfp-excl, t-softfp.
7706         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7707         (powerpc64-*-darwin*): Likewise.
7708         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7709         to tmake_file.
7710         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7711         tmake_file.
7712         (powerpc-*-eabisim*): Likewise.
7713         (powerpc-*-elf*): Likewise.
7714         (powerpc-*-eabialtivec*): Likewise.
7715         (powerpc-xilinx-eabi*): Likewise.
7716         (powerpc-*-rtems*): Likewise.
7717         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7718         t-softfp-excl, t-softfp to tmake_file.
7719         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7720         rs6000/t-ppccomm-ldbl to tmake_file.
7721         (powerpcle-*-elf*): Likewise.
7722         (powerpcle-*-eabisim*): Likewise.
7723         (powerpcle-*-eabi*): Likewise.
7724         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7725         rs6000/t-ibm-ldouble to tmake_file.
7726         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7727         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7728         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7729         (tic6x-*-*): Likewise.
7730         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7731         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7732         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7733         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7734         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7735         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7736         t-softfp to tmake_file.
7737         * configure.ac (sfp_machine_header): Provide default if unset.
7738         Substitute.
7739         Link sfp-machine.h to config/$sfp_machine_header.
7740         * configure: Regenerate.
7742 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7744         * Makefile.in (double_type_size, long_double_type_size): Set.
7745         Remove $(fpbit-in-libgcc) support.
7746         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7747         (fpbit-src): New variable.
7748         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7749         Compile with -DFLOAT $(FPBIT_CFLAGS).
7750         Use $<.
7751         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7752         Compile with $(FPBIT_CFLAGS).
7753         Use $<.
7754         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7755         Compile with -DFLOAT $(TPBIT_CFLAGS).
7756         Use $<.
7757         * configure.ac (double_type_size, long_double_type_size):
7758         Determine and substitute.
7759         * configure: Regenerate.
7760         * fp-bit.c, fp-bit.h: New files.
7761         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7762         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7763         * config/mips/t-mips: New file.
7764         * config/mips/t-sdemtk: New file.
7765         * config/rs6000/ppc64-fp.c: New file.
7766         * config/rs6000/t-darwin (LIB2ADD): Add
7767         $(srcdir)/config/rs6000/ppc64-fp.c.
7768         * config/rs6000/t-ppc64-fp: New file.
7769         * config/rx/rx-lib.h: New file.
7770         * config/rx/t-rx (FPBIT): Set to true.
7771         ($(gcc_objdir)/fp-bit.c): Remove.
7772         (DPBIT): Set to true only with -m64bit-doubles.
7773         ($(gcc_objdir)/dp-bit.c): Remove.
7774         * config/sparc/t-softfp: Remove.
7775         * config/spu/t-elf: New file.
7776         * config/t-fdpbit, config/t-fpbit: New files.
7777         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7778         (mips*-*-*): Likewise.
7779         (arm-wrs-vxworks): Likewise.
7780         (arm*-*-freebsd*): Likewise.
7781         (avr-*-rtems*): Add t-fpbit to tmake_file.
7782         (avr-*-*): Likewise.
7783         (bfin*-elf*): Add t-fdpbit to tmake_file.
7784         (bfin*-uclinux*): Likewise.
7785         (bfin*-linux-uclibc*): Likewise.
7786         (bfin*-rtems*): New case.
7787         Add t-fdpbit to tmake_file.
7788         (bfin*-*): Add t-fdpbit to tmake_file.
7789         (crisv32-*-elf): Likewise.
7790         (cris-*-linux*): Likewise.
7791         (fr30-*-elf): Likewise.
7792         (frv-*-elf, frv-*-*linux*): Likewise.
7793         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7794         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7795         (m32r-*-elf*): Likewise.
7796         (m32rle-*-elf*): Likewise.
7797         (m32r-*-linux*): Likewise.
7798         (m32rle-*-linux*): Likewise.
7799         (mcore-*-elf): Add t-fdpbit to tmake_file.
7800         (microblaze*-*-*): Likewise.
7801         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7802         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7803         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7804         Fix typo.
7805         Add mips/t-tpbit to tmake-file.
7806         (mips*-*-linux*): Fix typo.
7807         (mips*-sde-elf*): New case
7808         Add mips/t-sdemtk unless using newlib.
7809         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7810         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7811         (mn10300-*-*): Likewise.
7812         (pdp11-*-*): Likewise.
7813         (picochip-*-*): Add t-fpbit to tmake_file.
7814         (powerpc-*-eabisimaltivec*): Likewise.
7815         (powerpc-*-eabisim*): Likewise.
7816         (powerpc-*-elf*): Likewise.
7817         (powerpc-*-eabialtivec*): Likewise.
7818         (powerpc-xilinx-eabi*): New case.
7819         Add t-fdpbit to tmake_file.
7820         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7821         (powerpc-*-rtems*): Likewise.
7822         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7823         tmake_file.
7824         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7825         tmake_file.
7826         (powerpc-*-lynxos*): Likewise.
7827         (powerpcle-*-elf*): Likewise.
7828         (powerpcle-*-eabisim*): Likewise.
7829         (powerpcle-*-eabi*): Likewise.
7830         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7831         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7832         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7833         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7834         (rx-*-elf): Add t-fdpbit to tmake_file.
7835         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7836         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7837         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7838         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7839         sh*-*-netbsd*.
7840         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7841         (sh-wrs-vxworks): Likewise.
7842         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7843         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7844         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7845         (sparc64-*-rtems*): ... new case.
7846         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7847         (spu-*-elf*): Likewise.
7848         Add spu/t-elf to tmake_file.
7849         (v850*-*-*): Add t-fdpbit to tmake_file.
7850         (xstormy16-*-elf): Likewise.
7851         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7852         (mep*-*-*): Likewise.
7854 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7856         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7857         variables.
7858         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7859         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7860         (install-unwind_h): New target.
7861         (all): Depend on it.
7862         * config.host (unwind_header): New variable.
7863         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7864         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7865         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7866         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7867         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7868         Set unwind_header.
7869         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7870         Set unwind_header.
7871         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7872         arm*-*-eabi*.
7873         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7874         Set unwind_header.
7875         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7876         (ia64*-*-freebsd*): Likewise.
7877         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7878         tmake_file.
7879         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7880         $with_system_libunwind.
7881         (ia64*-*-hpux*): Set tmake_file.
7882         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7883         (picochip-*-*): Set tmake_file.
7884         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7885         md_unwind_header.
7886         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7887         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7888         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7889         (xtensa*-*-elf*): Set tmake_file.
7890         (xtensa*-*-linux*): Likewise.
7891         * configure.ac: Include ../config/unwind_ipinfo.m4.
7892         Call GCC_CHECK_UNWIND_GETIPINFO.
7893         Link unwind.h to $unwind_header.
7894         * configure: Regenerate.
7895         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7896         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7897         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7898         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7899         * config/unwind-dw2-fde-darwin.c: New file.
7900         * config/arm/libunwind.S, config/arm/pr-support.c,
7901         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7902         config/arm/unwind-arm.h,: New files.
7903         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7904         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7905         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7906         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7907         config/ia64/unwind-ia64.h: New files.
7908         * config/picochip/t-picochip: New file.
7909         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7910         files.
7911         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7912         * config/s390/t-tpf (LIB2ADDEH): Remove.
7913         * config/t-darwin (LIB2ADDEH): Set.
7914         * config/t-eh-dw2-dip: New file.
7915         * config/t-libunwind, config/t-libunwind-elf: New files.
7916         * config/t-sol2 (LIB2ADDEH): Remove.
7917         * config/xtensa/t-xtensa: New file.
7919 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7921         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7922         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7923         long long to check rt_sigreturn syscall.
7925 2011-08-02  Alan Modra  <amodra@gmail.com>
7927         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7928         Restore for indirect call bcrtl from correct stack slot, and only
7929         if cfa+40 isn't valid.
7931 2011-08-01  Julian Brown  <julian@codesourcery.com>
7933         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7934         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7935         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7937 2011-08-01  Julian Brown  <julian@codesourcery.com>
7939         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7940         (libgcc-std.ver.in): Use above.
7941         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7942         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
7943         throughout file.
7944         * config/t-fixedpoint-gnu-prefix: New file.
7945         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7946         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7947         instead of __PFX__.
7949 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7951         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7952         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7953         for x86-64.  Properly check __x86_64__ and __LP64__.
7955 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
7957         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7958         version.
7959         (_FP_WS_TYPE): Likewise.
7960         (_FP_I_TYPE): Likewise.
7962 2011-07-28  Alan Modra  <amodra@gmail.com>
7964         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7965         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7966         in a plt call stub.  Do restore r2 if stopped on bctrl.
7968 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7970         * config.host (i[3456x]86-*-netware*): Remove.
7971         * config/i386/netware-crt0.c, config/i386/t-nwld,
7972         config/i386/t-slibgcc-nwld: Remove.
7974 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
7976         * config.host: Handle tic6x-*-*.
7977         * config/c6x/c6x-abi.h: New file.
7979 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7981         * config/i386/crtprec.c: New file.
7982         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7983         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7984         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7985         (x86_64-*-darwin*): Likewise.
7986         (i[34567]86-*-solaris2*: Likewise.
7988 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7990         * config/alpha/crtfastmath.c: New file.
7991         * config/i386/crtfastmath.c: New file.
7992         * config/ia64/crtfastmath.c: New file.
7993         * config/mips/crtfastmath.c: New file.
7994         * config/sparc/crtfastmath.c: New file.
7996         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7997         crtfastmath.c.
7998         Add -frandom-seed=gcc-crtfastmath.
7999         * config/alpha/t-crtfm: Remove.
8000         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8001         * config/ia64/t-ia64 (crtfastmath.o): Remove.
8003         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8004         (alpha*-dec-osf5.1*): Likewise.
8005         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8006         Add crtfastmath.o to extra_parts.
8007         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8008         Add crtfastmath.o to extra_parts.
8009         (x86_64-*-darwin*): Likewise.
8010         (x86_64-*-mingw*): Likewise.
8011         (ia64*-*-elf*): Add t-crtfm to tmake_file.
8012         (ia64*-*-freebsd*): Likewise.
8013         (ia64*-*-linux*): Likewise.
8014         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8015         Add crtfastmath.o to extra_parts.
8017 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8019         * config/darwin-crt3.o: New file.
8020         * config/rs6000/darwin-crt2.c: New file.
8021         * config/t-darwin: New file.
8022         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8023         (crt2.o): New rule.
8024         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8025         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8026         (powerpc64-*-darwin*): Likewise.
8028 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8030         * config/i386/netware-crt0.c: New file.
8031         * config/i386/t-nwld: Rename to ...
8032         * config/i386/t-slibgcc-nwld: ... this.
8033         * config/i386/t-nwld: New file.
8034         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8035         tmake_file.
8036         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8037         extra_parts.
8039 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8041         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8042         i386/t-crtstuff.
8043         * configure: Regenerate.
8045 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8047         * dfp-bit.c, dfp-bit.h: New files.
8048         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8049         variables.
8050         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8051         ($(d64pbit-o)): Likewise.
8052         ($(d128pbit-o)): Likewise.
8053         * config/t-dfprules: New file.
8054         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8055         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8056         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8057         (x86_64-*-linux*): Likewise.
8058         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8059         (i[34567]86-*-cygwin*): Likewise.
8060         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8061         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8063 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8065         * Makfile.in (LIBGCOV): New variable.
8066         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8067         * libgcov.c: New file.
8069 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8071         * fixed-bit.c, fixed-bit.h: New files.
8072         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8073         refer to fixed-bit.c.
8075 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8077         * config.host (*local*): Remove.
8079 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8081         PR target/39150
8082         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8083         like i?86-*-solaris2.1[0-9]*.
8084         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8085         * configure.ac (i?86-*-solaris2*): Likewise.
8086         * configure: Regenerate.
8088 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8090         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8091         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8092         md_unwind_header by splitting out of...
8093         (i[34567]86-*-linux*): ... this.
8094         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8095         Remove md_unwind_header by splitting out of...
8096         (x86_64-*-linux*): ... this.
8098 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8100         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8102 2011-06-28  Nick Clifton  <nickc@redhat.com>
8104         * config.host: Recognize all V850 variants.
8106 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8108         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8110 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8112         * shared-object.mk (c_flags-$o): Save c_flags.
8113         ($(base)$(objext)): Use it.
8114         ($(base)_s$(objext)): Likewise.
8116 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8118         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8119         * libgcc-std.ver.in (GCC_4.7.0): New section.
8121 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8123         PR target/49313
8124         PR target/29524
8125         * config/avr/t-avr: Fix line endings.
8126         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8127         _parityXX2.
8129 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8130             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8132         * config/mips/irix6-unwind.h: New file.
8133         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8135 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8137         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8138         (sparc64_fallback_frame_state): Use it.
8139         (sparc64_frob_update_context): Further adjust context.
8140         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8141         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8142         * config/sparc/sol2-cn.S: Likewise.
8144 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8146         * enable-execute-stack-empty.c: New file.
8147         * enable-execute-stack-mprotect.c: New file.
8148         * config/i386/enable-execute-stack-mingw32.c: New file.
8149         * config.host (enable_execute_stack): New variable.
8150         Select appropriate variants.
8151         * configure.ac: Link enable-execute-stack.c to
8152         $enable_execute_stack.
8153         * configure: Regenerate.
8154         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8155         (lib2funcs): Remove _enable_execute_stack.
8157 2011-06-09  David S. Miller  <davem@davemloft.net>
8158             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8160         * config.host (sparc-*-linux*): Correct md_unwind_header
8161         filename.
8162         (s390x-ibm-tpf*): Fix typo.
8164 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8166         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8167         Add crtfastmath.o to extra_parts.
8168         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8169         mips/t-crtfm.
8170         * config/mips/t-crtfm: Remove.
8172 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8174         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8176 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8178         * config.host (sh*-*-linux*): Fix typo.
8180 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8182         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8183         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8184         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8185         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8186         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8187         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8188         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8189         Wrap in !__MINGW64__.
8190         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8191         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8192         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8193         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8194         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8195         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8196         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8197         Wrap in !__LP64__.
8198         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8199         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8200         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8201         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8202         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8203         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8204         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8205         * config/no-unwind.h: New file.
8206         * config.host (md_unwind_header): Document.
8207         Define.
8208         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8209         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8210         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8211         hppa[12]*-*-hpux11*): Set md_unwind_header.
8212         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8213         Set md_unwind_header.
8214         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8215         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8216         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8217         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8218         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8219         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8220         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8221         md_unwind_header.
8222         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8223         * configure: Regenerate.
8225 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8227         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8228         Set tmake_file, extra_parts.
8229         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8230         Remove O32 support.
8231         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8232         Remove O32 support.
8233         * config/mips/t-irix6: New file.
8234         * config/mips/t-slibgcc-irix: New file.
8236 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8238         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8239         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8241 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8243         * configure.ac (target_thread_file): Determine thread model.
8244         * configure: Regenerate.
8245         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8246         * config/alpha/t-alpha: New file.
8247         * config/alpha/t-crtfm: Use $<.
8248         * config/alpha/t-ieee: New file.
8249         * config/alpha/t-osf-pthread: New file.
8250         * config/alpha/t-slibgcc-osf: New file.
8251         * config/alpha/libgcc-osf5.ver: New file.
8253 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8255         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8256         tmake_file.
8257         Add crtfastmath.o to extra_parts.
8259 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8261         * config/gmon-sol2.c: Reindent.
8262         Cleanup comments.
8263         Remove, correct casts.
8264         Use STDERR_FILENO, NULL.
8265         (BASEADDRESS): Remove.
8266         (minbrk): Remove.
8267         (errno, sbrk): Remove declarations.
8268         (monstartup) [hp300]: Remove.
8269         (mcount): Remove.
8271 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8273         * Makefile.in (cpu_type): Define.
8274         * config.host (i[34567]86-*-rtems*): Handle it.
8275         (i[34567]86-*-solaris2*): Move body ...
8276         (*-*-solaris2*): ... here.
8277         New case, generalize.
8278         (sparc-*-elf*): Handle it.
8279         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8280         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8281         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8282         Fold into ...
8283         (sparc*-*-solaris2*): ... this.
8284         New case.
8285         (sparc64-*-elf*): Handle it.
8286         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8287         Merge ../gcc/config/i386/gmon-sol2.c.
8288         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8289         Use C comments.
8290         Merge ../gcc/config/i386/sol2-gc1.asm.
8291         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8292         Use C comments.
8293         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8294         Use C comments.
8295         * config/i386/t-crtfm (crtfastmath.o): Use $<.
8296         * config/i386/t-crtstuff: New file.
8297         * config/i386/t-softfp: New file.
8298         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8299         $(T)crti.o, $(T)crtn.o): Remove.
8300         (gcrt1.o): New rule.
8301         (TARGET_LIBGCC2_CFLAGS): Remove.
8302         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8303         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8304         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8305         * config/sparc/t-sol2: New file.
8306         * config/sparc/t-crtfm: Move to ...
8307         * config/t-crtfm: ... this.
8308         Use $(cpu_type), $<.
8309         * config/t-crtin: New file.
8310         * config/sparc/t-softfp: New file.
8311         * config/sparc/t-softmul: New file.
8312         * config/t-rtems: New file.
8313         * config/t-slibgcc: New file.
8314         * config/t-slibgcc-elf-ver: New file.
8315         * config/t-slibgcc-gld: New file.
8316         * config/t-slibgcc-sld: New file.
8317         * config/t-sol2: New file.
8318         * configure.ac: Include ../config/lib-ld.m4.
8319         Call AC_LIB_PROG_LD_GNU.
8320         Substitute cpu_type.
8321         * configure: Regenerate.
8323 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
8325         PR bootstrap/49173
8326         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8327         libgcc-std.ver in the build directory.
8328         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8329         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8331 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
8333         * libgcc-std.ver.in: New file.
8334         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8335         variables.
8336         (libgcc-std.ver): New rule.
8337         * config/t-gnu-prefix: New file.
8339 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8341         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8343 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8345         * config/i386/darwin-lib.h: New file.
8347 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8349         * config/arm/symbian-lib.h: New.
8351 2011-05-04  Chris Demetriou  <cgd@google.com>
8353         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8354         (__x86.get_pc_thunk.bx): ...this.
8355         (__morestack): Adjust for rename, remove undef of __i686.
8357 2011-05-03  Chris Demetriou  <cgd@google.com>
8359         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8361 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
8363         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8364         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8365         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8366         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8367         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8368         Remove cases.
8370 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
8372         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8373         Adjust copyright year.
8375 2011-03-07  Ian Lance Taylor  <iant@google.com>
8377         * generic-morestack.c (__splitstack_find): Adjust returned stack
8378         pointer to include all registers pushed by __morestack.
8380 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
8382         PR target/40125
8383         * configure.ac: Call ACX_NONCANONICAL_TARGET.
8384         (toolexecdir): Calculate and AC_SUBST.
8385         (toolexeclibdir): Likewise.
8386         * Makefile.in (target_noncanonical): Import.
8387         (toolexecdir): Likewise.
8388         (toolexeclibdir): Likewise.
8389         * configure: Regenerate.
8391 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
8393         PR target/46040
8394         * config/arm/bpabi.h: Rename to...
8395         * config/arm/bpabi-lib.h: ...this.
8397 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8399         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8400         appropriate.
8401         * configure: Regenerate.
8403 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8405         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8406         __FLOAT_WORD_ORDER__.
8407         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8408         Delete.
8410 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8412         PR other/46202
8413         * Makefile.in (install-strip): New phony target.
8415 2010-11-07  Ian Lance Taylor  <iant@google.com>
8417         PR target/46089
8418         * config/i386/morestack.S (__morestack_large_model): New
8419         function.
8421 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8423         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8424         Delete.
8425         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8427 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8429         * config/arm/bpabi.h: New file.
8430         * config/frv/frv-abi.h: New file.
8432 2010-10-01  Ian Lance Taylor  <iant@google.com>
8434         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8435         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8437 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8439         PR target/45858
8440         * config.host: Add the missing `$'.
8442 2010-09-30  Michael Eager  <eager@eagercon.com>
8444         * config.host: Add microblaze*-*-*.
8445         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8446         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8447         udivsi3.asm,umodsi3.asm}:  New.
8449 2010-09-28  Ian Lance Taylor  <iant@google.com>
8451         * configure.ac: Adjust CFI test to test assembler directly rather
8452         than checking gcc preprocessor macro.
8453         * configure: Rebuild.
8455 2010-09-27  Ian Lance Taylor  <iant@google.com>
8457         * configure.ac: Test whether assembler supports CFI directives.
8458         * config.host: Only add t-stack and i386/t-stack-i386 to
8459         tmake_file if libgcc_cv_cfi is "yes".
8460         * configure: Rebuild.
8462 2010-09-27  Ian Lance Taylor  <iant@google.com>
8464         * generic-morestack.h: New file.
8465         * generic-morestack.c: New file.
8466         * generic-morestack-thread.c: New file.
8467         * config/i386/morestack.S: New file.
8468         * config/t-stack: New file.
8469         * config/i386/t-stack-i386: New file.
8470         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8471         i386/t-stack-i386 to tmake_file.
8473 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8475         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8476         invoke ranlib after installing them.
8477         (gcc-extra-parts): Likewise.
8478         (install-leaf): Likewise.
8480 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8482         * configure: Regenerated.
8484 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8486         * configure: Regenerated.
8488 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8489             Andrew Pinski  <pinskia@gmail.com>
8491         PR target/40959
8492         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8494 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8496         PR target/45524
8497         * configure: Regenerated.
8499 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8501         * configure: Regenerate.
8503 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8505         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8506         64bit targets.
8507         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8508         for 64bit targets.
8510 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8511             Iain Sandoe  <iains@gcc.gnu.org>
8513         PR target/45476
8514         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8515         LIB2FUNCS_EXCLUDE functions.
8517 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8519         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8520         Include dfp.m4.
8521         * configure: Regenerate.
8523 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8525         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8526         i386/t-freebsd to tmake_file.
8527         * config/i386/t-freebsd: New file.
8528         * config/i386/libgcc-bsd.ver: New file.
8530 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8532         * config.host (powerpc*-eabispe*): Set tmake_file.
8533         (powerpc*-eabi*): Likewise.
8534         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8535         crtbeginS, crtendS, crtbeginT.
8537 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8539         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8540         to tmake_file.  Add crtfastmath.o to extra_parts.
8541         * config/mips/t-crtfm: New.
8543 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8545         * config.host (sparc64-*-rtems*): New target.
8547 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8549         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8550         assembler syntax.
8552 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8554         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8556 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8558         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8559         alpha-dec-osf5.0* support.
8561 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8563         * config.host: Add lm32-*-rtems*.
8565 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8566             Uros Bizjak  <ubizjak@gmail.com>
8568         PR target/39048
8569         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8570         like other remaining 32-bit x86 OSes.
8571         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8572         assembler syntax.
8573         * config/i386/libgcc-sol2.ver: New file.
8574         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8576 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8578         PR c/43553
8579         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8580         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8581         is used and substitute set_use_emutls.
8582         * configure: Regenerated.
8584 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8586         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8588 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8590         PR target/38085
8591         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8592         MULTILIB_CFLAGS.
8593         ($(T)gcrt1.o): Likewise.
8594         ($(T)crt1.o): Likewise.
8595         ($(T)crti.o): Likewise.
8596         ($(T)crtn.o): Likewise.
8598 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8600         PR other/42980
8601         * Makefile.in (install): Use $(MAKE) string in rule, for
8602         parallel make.
8604 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8606         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8607         * config/mmix/t-mmix: New file.
8608         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8610 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8612         PR java/41991
8613         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8614         SHLIB_MAPFILES.
8616 2010-01-04  Anthony Green  <green@moxielogic.com>
8618         * config/moxie/crti.asm, config/moxie/crtn.asm,
8619         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8620         config/moxie/t-moxie: New files.
8621         * config.host: Add t-moxie-softfp reference.
8623 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8625         PR other/39888
8626         * config/t-slibgcc-darwin: Fix embedded rpaths for
8627         --enable-version-specific-runtime-libs, build extension stub
8628         libs exposing features available from current libgcc_s.
8630 2009-11-11  Jon Beniston  <jon@beniston.com>
8632         * config.host: Add lm32 targets.
8633         * config/lm32: New directory.
8634         * config/lm32/libgcc_lm32.h: New file.
8635         * config/lm32/_mulsi3.c: New file.
8636         * config/lm32/_udivmodsi4.c: New file.
8637         * config/lm32/_divsi3.c: New file.
8638         * config/lm32/_modsi3.c: New file.
8639         * config/lm32/_udivsi3.c: New file.
8640         * config/lm32/_umodsi3.c: New file.
8641         * config/lm32/_lshrsi3.S: New file.
8642         * config/lm32/_ashrsi3.S: New file.
8643         * config/lm32/_ashlsi3.S: New file.
8644         * config/lm32/crti.S: New file.
8645         * config/lm32/crtn.S: New file.
8646         * config/lm32/t-lm32: New file.
8647         * config/lm32/t-elf: New file.
8648         * config/lm32/t-uclinux: New file.
8650 2009-10-26  Nick Clifton  <nickc@redhat.com>
8652         * config.host: Add support for RX target.
8653         * config/rx: New directory.
8654         * config/rx/rx-abi-functions.c: New file. Supplementary
8655         functions for libgcc to support the RX ABI.
8656         * config/rx/rx-abi.h: New file.  Supplementary header file for
8657         libgcc RX ABI functions.
8658         * config/rx/t-rx: New file: Makefile fragment for building
8659         libgcc for the RX.
8661 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8663         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8664         constraint of y0 to "g".
8666 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8668         * config.host: Include the s390 makefile fragments.
8669         * config/s390/32/_fixdfdi.c: New file.
8670         * config/s390/32/_fixsfdi.c: New file.
8671         * config/s390/32/_fixtfdi.c: New file.
8672         * config/s390/32/_fixunsdfdi.c: New file.
8673         * config/s390/32/_fixunssfdi.c: New file.
8674         * config/s390/32/_fixunstfdi.c: New file.
8675         * config/s390/32/t-floattodi: New file.
8676         * config/s390/libgcc-glibc.ver: New file.
8677         * config/s390/t-crtstuff: New file.
8678         * config/s390/t-linux: New file.
8679         * config/s390/t-tpf: New file.
8681 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8683         * configure.ac (AC_PREREQ): Bump to 2.64.
8685 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8687         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8689 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8691         * configure: Regenerate.
8693 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8695         * config.host (ia64-hp-*vms*): New target.
8696         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8697         with ia64-hp-*vms*.
8699 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8701         * configure.ac: Add snippet for maintainer-mode.
8702         * configure: Regenerate.
8703         * Makefile.in (AUTOCONF, configure_deps): New variables.
8704         ($(srcdir)/configure)): New rule, active only with maintainer
8705         mode turned on.
8707 2009-06-23  DJ Delorie  <dj@redhat.com>
8709         Add MeP port.
8710         * config.host: Add mep support.
8712 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8714         * config.host: Add i386/${host_address}/t-fprules-softfp and
8715         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8717         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8718         for mingw targets.
8719         * config/i386/64/_multc3.c: Likewise.
8720         * config/i386/64/_powitf2.c: Likewise.
8721         * config/i386/64/eqtf2.c: Likewise.
8722         * config/i386/64/getf2.c: Likewise.
8723         * config/i386/64/letf2.c: Likewise.
8724         * config/i386/64/letf2.c: Likewise.
8725         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8726         unsigned long long for x64 mingw targets.
8727         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8728         (_FP_I_TYPE): Define as long long for x64 mingw target.
8730 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8732         * config.host (vax-*-linux*): New.
8734 2009-05-31  Anthony Green  <green@moxielogic.com>
8736         * config.host: Add moxie support.
8737         * config/moxie/t-moxie: New file.
8739 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8741         * config.host: Add i386/${host_address}/t-fprules-softfp and
8742         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8744 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8746         * config.host: Add i386/${host_address}/t-fprules-softfp to
8747         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8749 2009-04-09  Nick Clifton  <nickc@redhat.com>
8751         * config/ia64/tf-signs.c: Change copyright header to refer to
8752         version 3 of the GNU General Public License with version 3.1
8753         of the GCC Runtime Library Exception and to point readers at
8754         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8755         web page.
8756         * config/i386/32/tf-signs.c: Likewise.
8757         * config/libbid/_addsub_dd.c: Likewise.
8758         * config/libbid/_addsub_sd.c: Likewise.
8759         * config/libbid/_addsub_td.c: Likewise.
8760         * config/libbid/_dd_to_df.c: Likewise.
8761         * config/libbid/_dd_to_di.c: Likewise.
8762         * config/libbid/_dd_to_sd.c: Likewise.
8763         * config/libbid/_dd_to_sf.c: Likewise.
8764         * config/libbid/_dd_to_si.c: Likewise.
8765         * config/libbid/_dd_to_td.c: Likewise.
8766         * config/libbid/_dd_to_tf.c: Likewise.
8767         * config/libbid/_dd_to_udi.c: Likewise.
8768         * config/libbid/_dd_to_usi.c: Likewise.
8769         * config/libbid/_dd_to_xf.c: Likewise.
8770         * config/libbid/_df_to_dd.c: Likewise.
8771         * config/libbid/_df_to_sd.c: Likewise.
8772         * config/libbid/_df_to_td.c: Likewise.
8773         * config/libbid/_di_to_dd.c: Likewise.
8774         * config/libbid/_di_to_sd.c: Likewise.
8775         * config/libbid/_di_to_td.c: Likewise.
8776         * config/libbid/_div_dd.c: Likewise.
8777         * config/libbid/_div_sd.c: Likewise.
8778         * config/libbid/_div_td.c: Likewise.
8779         * config/libbid/_eq_dd.c: Likewise.
8780         * config/libbid/_eq_sd.c: Likewise.
8781         * config/libbid/_eq_td.c: Likewise.
8782         * config/libbid/_ge_dd.c: Likewise.
8783         * config/libbid/_ge_sd.c: Likewise.
8784         * config/libbid/_ge_td.c: Likewise.
8785         * config/libbid/_gt_dd.c: Likewise.
8786         * config/libbid/_gt_sd.c: Likewise.
8787         * config/libbid/_gt_td.c: Likewise.
8788         * config/libbid/_isinfd128.c: Likewise.
8789         * config/libbid/_isinfd32.c: Likewise.
8790         * config/libbid/_isinfd64.c: Likewise.
8791         * config/libbid/_le_dd.c: Likewise.
8792         * config/libbid/_le_sd.c: Likewise.
8793         * config/libbid/_le_td.c: Likewise.
8794         * config/libbid/_lt_dd.c: Likewise.
8795         * config/libbid/_lt_sd.c: Likewise.
8796         * config/libbid/_lt_td.c: Likewise.
8797         * config/libbid/_mul_dd.c: Likewise.
8798         * config/libbid/_mul_sd.c: Likewise.
8799         * config/libbid/_mul_td.c: Likewise.
8800         * config/libbid/_ne_dd.c: Likewise.
8801         * config/libbid/_ne_sd.c: Likewise.
8802         * config/libbid/_ne_td.c: Likewise.
8803         * config/libbid/_sd_to_dd.c: Likewise.
8804         * config/libbid/_sd_to_df.c: Likewise.
8805         * config/libbid/_sd_to_di.c: Likewise.
8806         * config/libbid/_sd_to_sf.c: Likewise.
8807         * config/libbid/_sd_to_si.c: Likewise.
8808         * config/libbid/_sd_to_td.c: Likewise.
8809         * config/libbid/_sd_to_tf.c: Likewise.
8810         * config/libbid/_sd_to_udi.c: Likewise.
8811         * config/libbid/_sd_to_usi.c: Likewise.
8812         * config/libbid/_sd_to_xf.c: Likewise.
8813         * config/libbid/_sf_to_dd.c: Likewise.
8814         * config/libbid/_sf_to_sd.c: Likewise.
8815         * config/libbid/_sf_to_td.c: Likewise.
8816         * config/libbid/_si_to_dd.c: Likewise.
8817         * config/libbid/_si_to_sd.c: Likewise.
8818         * config/libbid/_si_to_td.c: Likewise.
8819         * config/libbid/_td_to_dd.c: Likewise.
8820         * config/libbid/_td_to_df.c: Likewise.
8821         * config/libbid/_td_to_di.c: Likewise.
8822         * config/libbid/_td_to_sd.c: Likewise.
8823         * config/libbid/_td_to_sf.c: Likewise.
8824         * config/libbid/_td_to_si.c: Likewise.
8825         * config/libbid/_td_to_tf.c: Likewise.
8826         * config/libbid/_td_to_udi.c: Likewise.
8827         * config/libbid/_td_to_usi.c: Likewise.
8828         * config/libbid/_td_to_xf.c: Likewise.
8829         * config/libbid/_tf_to_dd.c: Likewise.
8830         * config/libbid/_tf_to_sd.c: Likewise.
8831         * config/libbid/_tf_to_td.c: Likewise.
8832         * config/libbid/_udi_to_dd.c: Likewise.
8833         * config/libbid/_udi_to_sd.c: Likewise.
8834         * config/libbid/_udi_to_td.c: Likewise.
8835         * config/libbid/_unord_dd.c: Likewise.
8836         * config/libbid/_unord_sd.c: Likewise.
8837         * config/libbid/_unord_td.c: Likewise.
8838         * config/libbid/_usi_to_dd.c: Likewise.
8839         * config/libbid/_usi_to_sd.c: Likewise.
8840         * config/libbid/_usi_to_td.c: Likewise.
8841         * config/libbid/_xf_to_dd.c: Likewise.
8842         * config/libbid/_xf_to_sd.c: Likewise.
8843         * config/libbid/_xf_to_td.c: Likewise.
8844         * config/libbid/bid128.c: Likewise.
8845         * config/libbid/bid128_2_str.h: Likewise.
8846         * config/libbid/bid128_2_str_macros.h: Likewise.
8847         * config/libbid/bid128_2_str_tables.c: Likewise.
8848         * config/libbid/bid128_add.c: Likewise.
8849         * config/libbid/bid128_compare.c: Likewise.
8850         * config/libbid/bid128_div.c: Likewise.
8851         * config/libbid/bid128_fma.c: Likewise.
8852         * config/libbid/bid128_logb.c: Likewise.
8853         * config/libbid/bid128_minmax.c: Likewise.
8854         * config/libbid/bid128_mul.c: Likewise.
8855         * config/libbid/bid128_next.c: Likewise.
8856         * config/libbid/bid128_noncomp.c: Likewise.
8857         * config/libbid/bid128_quantize.c: Likewise.
8858         * config/libbid/bid128_rem.c: Likewise.
8859         * config/libbid/bid128_round_integral.c: Likewise.
8860         * config/libbid/bid128_scalb.c: Likewise.
8861         * config/libbid/bid128_sqrt.c: Likewise.
8862         * config/libbid/bid128_string.c: Likewise.
8863         * config/libbid/bid128_to_int16.c: Likewise.
8864         * config/libbid/bid128_to_int32.c: Likewise.
8865         * config/libbid/bid128_to_int64.c: Likewise.
8866         * config/libbid/bid128_to_int8.c: Likewise.
8867         * config/libbid/bid128_to_uint16.c: Likewise.
8868         * config/libbid/bid128_to_uint32.c: Likewise.
8869         * config/libbid/bid128_to_uint64.c: Likewise.
8870         * config/libbid/bid128_to_uint8.c: Likewise.
8871         * config/libbid/bid32_to_bid128.c: Likewise.
8872         * config/libbid/bid32_to_bid64.c: Likewise.
8873         * config/libbid/bid64_add.c: Likewise.
8874         * config/libbid/bid64_compare.c: Likewise.
8875         * config/libbid/bid64_div.c: Likewise.
8876         * config/libbid/bid64_fma.c: Likewise.
8877         * config/libbid/bid64_logb.c: Likewise.
8878         * config/libbid/bid64_minmax.c: Likewise.
8879         * config/libbid/bid64_mul.c: Likewise.
8880         * config/libbid/bid64_next.c: Likewise.
8881         * config/libbid/bid64_noncomp.c: Likewise.
8882         * config/libbid/bid64_quantize.c: Likewise.
8883         * config/libbid/bid64_rem.c: Likewise.
8884         * config/libbid/bid64_round_integral.c: Likewise.
8885         * config/libbid/bid64_scalb.c: Likewise.
8886         * config/libbid/bid64_sqrt.c: Likewise.
8887         * config/libbid/bid64_string.c: Likewise.
8888         * config/libbid/bid64_to_bid128.c: Likewise.
8889         * config/libbid/bid64_to_int16.c: Likewise.
8890         * config/libbid/bid64_to_int32.c: Likewise.
8891         * config/libbid/bid64_to_int64.c: Likewise.
8892         * config/libbid/bid64_to_int8.c: Likewise.
8893         * config/libbid/bid64_to_uint16.c: Likewise.
8894         * config/libbid/bid64_to_uint32.c: Likewise.
8895         * config/libbid/bid64_to_uint64.c: Likewise.
8896         * config/libbid/bid64_to_uint8.c: Likewise.
8897         * config/libbid/bid_b2d.h: Likewise.
8898         * config/libbid/bid_binarydecimal.c: Likewise.
8899         * config/libbid/bid_conf.h: Likewise.
8900         * config/libbid/bid_convert_data.c: Likewise.
8901         * config/libbid/bid_decimal_data.c: Likewise.
8902         * config/libbid/bid_decimal_globals.c: Likewise.
8903         * config/libbid/bid_div_macros.h: Likewise.
8904         * config/libbid/bid_dpd.c: Likewise.
8905         * config/libbid/bid_flag_operations.c: Likewise.
8906         * config/libbid/bid_from_int.c: Likewise.
8907         * config/libbid/bid_functions.h: Likewise.
8908         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8909         * config/libbid/bid_inline_add.h: Likewise.
8910         * config/libbid/bid_internal.h: Likewise.
8911         * config/libbid/bid_round.c: Likewise.
8912         * config/libbid/bid_sqrt_macros.h: Likewise.
8914 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8916         * Makefile.in: Change copyright header to refer to version
8917         3 of the GNU General Public License and to point readers at the
8918         COPYING3 file and the FSF's license web page.
8919         * config.host: Likewise.
8921 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8923         * config.host: Reorder and merge to match config.gcc change.
8925 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8927         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8929 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8931         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8932         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8933         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8934         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8936 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8938         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8939         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8941 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
8943         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8944         ia64/t-softfp-compat to tmake_file.
8946         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8948         * config/ia64/__divxf3.asm: New.
8949         * config/ia64/_fixtfdi.asm: Likewise.
8950         * config/ia64/_fixunstfdi.asm: Likewise.
8951         * config/ia64/_floatditf.asm: Likewise.
8952         * config/ia64/t-fprules-softfp: Likewise.
8953         * config/ia64/t-softfp-compat: Likewise.
8954         * config/ia64/tf-signs.c: Likewise.
8956 2009-01-18  Ben Elliston  <bje@au.ibm.com>
8958         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8960 2009-01-16  Ben Elliston  <bje@au.ibm.com>
8962         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8963         to tmake_file.
8965 2009-01-13  Ben Elliston  <bje@au.ibm.com>
8967         * config/t-softfp: New file.
8968         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8969         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8971 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
8973         * config.host: Add m32r*-*-rtems*.
8975 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
8977         * config.host: Add m32c*-*-rtems*.
8979 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8981         PR bootstrap/33100
8982         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8983         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8984         * configure: Regenerate.
8985         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8986         tmake_file here from gcc/config.gcc.
8987         Move extra_parts here from gcc/config.gcc.
8988         * config/i386/t-sol2: Move here from gcc/config/i386.
8989         Use gcc_srcdir instead of srcdir.
8991 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
8993         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8994         case.
8996 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
8998         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9000 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
9002         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9004 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
9006         Add picoChip port.
9007         * config.host: Add picochip-*-*.
9009 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
9011         * config.host: Match more processor names for Xtensa.
9013 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9015         * config/i386/64/t-softfp-compat: Update comments.
9017 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9019         * config/i386/64/_divtc3-compat.c: Moved to ...
9020         * config/i386/64/_divtc3.c: Here.
9022         * config/i386/64/_multc3-compat.c: Moved to ...
9023         * config/i386/64/_multc3.c: Here.
9025         * config/i386/64/_powitf2-compat.c: Moved to ...
9026         * config/i386/64/_powitf2.c: Here.
9028         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9029         .c suffix instead of -compat.c.
9031 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9033         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9034         (_FP_MUL_MEAT_D): Ditto.
9035         (_FP_DIV_MEAT_S): Ditto.
9036         (_FP_DIV_MEAT_D): Ditto.
9038 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9040         * Makefile.in: Add support for __sync_* libgcc functions.
9042 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9044         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9046 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9048         PR boostrap/36702
9049         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9050         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9052         * config/i386/64/t-fprules-softfp: Moved to ...
9053         * config/i386/64/t-softfp-compat: This.  New.
9055 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9057         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9058         Initialize f with 0.0.
9060 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9062         PR target/36669
9063         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9065         * config/i386/64/_divtc3-compat.c: New.
9066         * config/i386/64/_multc3-compat.c: Likewise.
9067         * config/i386/64/_powitf2-compat.c: Likewise.
9068         * config/i386/64/eqtf2.c: Likewise.
9069         * config/i386/64/getf2.c: Likewise.
9070         * config/i386/64/letf2.c: Likewise.
9071         * config/i386/64/t-fprules-softfp: Likewise.
9073 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9075         * config.host: Add i386/${host_address}/t-fprules-softfp to
9076         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9077         i[34567]86-*-linux*, x86_64-*-linux*.
9079         * configure.ac: Set host_address to 64 or 32 for x86.
9080         * configure: Regenerated.
9082         * Makefile.in (config.status): Also depend on
9083         $(srcdir)/config.host.
9085         * config/i386/32/t-fprules-softfp: New.
9086         * config/i386/32/tf-signs.c: Likewise.
9088         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9090 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9091             Uros Bizjak  <ubizjak@gmail.com>
9093         * config/i386/32/sfp-machine.h: New.
9095 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9097         * config/rs6000/t-ppccomm: Remove rules that conflict with
9098         auto-generated rules.
9100 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9102         * configure.ac: sinclude override.m4.
9103         * configure: Regenerate.
9105 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9107         * configure: Regenerate.
9109 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9111         * Makefile.in (DECNUMINC): Remove
9112         -I$(MULTIBUILDTOP)../../libdecnumber.
9113         * gstdint.h: New.
9115 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9117         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9118         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9119         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9120         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9121         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9122         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9123         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9124         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9125         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9126         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9127         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9128         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9129         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9130         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9132 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9134         * config.host (sh2[lbe]*-*-linux*): Allow target.
9136 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9138         * config/rs6000/t-ppccomm: Add build rules for new files.
9139         (LIB2ADD_ST): New variable.
9141 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9143         PR target/34210
9144         PR target/35508
9145         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9146         * config/t-avr: New file. Build 16bit libgcc functions.
9148 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
9150         PR target/35401
9151         * config/t-slibgcc-darwin: Make install-leaf dependent on
9152         install-darwin-libgcc-stubs instead of install.
9154 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9156         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9157         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9158         sh-*-rtemscoff*): Remove cases.
9160 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
9162         * Makefile.in (all): Use install-leaf rather than install.
9163         (install): Split most of the rule into...
9164         (install-leaf): ...this new one.
9166 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
9167             Paolo Bonzini  <bonzini@gnu.org>
9169         PR target/30572
9170         * Makefile.in: Use @shlib_slibdir@ substitution to get
9171         correct install name on darwin.
9172         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9174 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
9176         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9177         cris-*-elf and cris-*-none.
9178         (crisv32-*-linux*): Similar, as cris-*-linux*.
9180 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
9182         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9184 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
9186         PR regression/33926
9187         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9188         * configure: Regenerated.
9190 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9192         * Makefile.in (dfp-filenames): Replace decimal_globals,
9193         decimal_data, binarydecimal and convert_data with
9194         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9195         and bid_convert_data, respectively.
9197 2007-09-17  Chao-ying Fu  <fu@mips.com>
9198             Nigel Stephens  <nigel@mips.com>
9200         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9201         * Makefile.in (fixed_point): Define.
9202         Check if fixed_point is yes to build support functions.
9203         * configure.ac: Check for fixed_point support.
9204         * configure: Regenerated.
9205         * gen-fixed.sh: New file to generate lists of fixed-point labels,
9206         funcs, modes, from, to.
9208 2007-09-11  Janis Johnson  <janis187@us.ibm.com
9210         * Makefile.in (dfp-filenames): Add bid128_noncomp.
9212 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
9214         * Makefile.in (dfp-filenames): Remove decUtility, add
9215         decDouble, decPacked, decQuad, decSingle.
9217 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
9219         * config.host : Add x86_64-elf target.
9221 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9223         * configure.ac (set_have_cc_tls): Add a missing =.
9224         * configure: Regenerated.
9226 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9228         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9229         and x86_64-*-linux*.
9231         * config/t-tls: New file.
9233         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9235         * configure.ac: Include ../config/enable.m4 and
9236         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
9237         supports TLS and substitute set_have_cc_tls.
9238         * configure: Regenerated.
9240 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9242         * Makefile.in: Use libbid for DFP when BID is enabled.
9244 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
9246         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9247         extra_parts. Add config/i386/t-cygming to tmake_file.
9248         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9250 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
9251             Danny Smith  <dannysmith@users.sourceforge.net>
9253         PR target/29498
9254         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9255         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
9256         * config/i386/t-crtfm: Compile crtfastmath.o with
9257         -minline-all-stringops.
9259 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
9261         * config.host (sparc-wrs-vxworks): New target.
9263 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
9265         * config.host: Recognize fido.
9267 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
9269         * configure: Check host, not target, for decimal float support.
9271 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
9273         * config/i386/t-crtpc: New file.
9274         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9275         (x86_64-*-linux*): Ditto.
9277 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
9279         * config.host (x86_64-*-mingw*): New target.
9281 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
9282             H.J. Lu  <hongjiu.lu@intel.com>
9284         * Makefile.in (enable_decimal_float): New.
9285         (DECNUMINC): Add
9286         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9287         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9288         (decbits-filenames): This.
9289         (decbits-objects): New.
9290         (libgcc-objects): Add $(decbits-objects).
9292         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9293         Substitute enable_decimal_float.
9294         * configure: Regenerated.
9296 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
9298         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9300 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
9302         * Makefile.in (install-info): New dummy target.
9304 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
9306         * config.host (bfin*-linux-uclibc*): Set extra_parts.
9308 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
9310         * Makefile.in: Add install-html and install-pdf dummy
9311         targets.
9313 2007-02-05  Roger Sayle  <roger@eyesopen.com>
9314             Daniel Jacobowitz  <dan@codesourcery.com>
9316         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9317         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9318         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9320 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
9322         * Makefile.in (dec-filenames): Add decExcept.
9324 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
9326         PR bootstrap/30469
9327         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9328         -fprofile-use.
9330 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
9332         * configure.ac: Add --enable-version-specific-runtime-libs.
9333         Correct $slibdir default.
9334         * configure: Regenerated.
9336 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
9338         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9340 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
9342         PR target/30519
9343         * config.host (alpha*-*-linux*): Set extra_parts.
9345 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
9347         * config/sh/t-linux: New.
9348         * config.host (sh*-*-linux*): Set tmake_file.
9350 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
9352         * Makefile.in (install): Handle multilibs.
9354 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9356         * Makefile.in: Added .PHONY entry for documentation targets.
9358 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9360         * Makefile.in: Add empty info, html, dvi, pdf targets.
9362 2007-01-04  Mike Stump  <mrs@apple.com>
9364         * Makefile.in (MAKEINFO): Remove.
9365         (PERL): Likewise.
9367 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
9369         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9370         * configure: Regenerate.
9371         * Makefile.in (host_subdir): Substitute it.
9372         (gcc_objdir): Use it.
9374 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9376         * config.host (ia64*-*-linux*): Set tmake_file.
9378 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9380         * Makefile.in (version): Define.
9382 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
9383             Paolo Bonzini  <bonzini@gnu.org>
9385         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9386         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9387         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9388         config/sparc/t-crtfm, config/t-slibgcc-darwin,
9389         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9390         shared-object.mk, siditi-object.mk, static-object.mk: New files.
9391         * configure: Generated.
9393 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9395 Copying and distribution of this file, with or without modification,
9396 are permitted in any medium without royalty provided the copyright
9397 notice and this notice are preserved.