[Ada] Vxlink: minor reformatting
[official-gcc.git] / libgcc / ChangeLog
blob928b5a86ac138d58f76e9f96260994de9a080c16
1 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
3         * config/vxcache.c: New file.  Provide __clear_cache, based on
4         the cacheTextUpdate VxWorks service.
5         * config/t-vxworks (LIB2ADD): Add vxcache.c.
6         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
7         * config/t-vxwoks7: Likewise.
9 2018-09-21  Martin Liska  <mliska@suse.cz>
11         * libgcov-driver.c (crc32_unsigned): Remove.
12         (gcov_histogram_insert): Likewise.
13         (gcov_compute_histogram): Likewise.
14         (compute_summary): Simplify rapidly.
15         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
16         (merge_summary): Rapidly simplify.
17         (dump_one_gcov): Ignore gcov_summary.
18         (gcov_do_dump): Do not handle program summary, it's not
19         used.
20         * libgcov-util.c (tag_summary): Remove.
21         (read_gcda_finalize): Fix coding style.
22         (read_gcda_file): Initialize curr_object_summary.
23         (compute_summary): Remove.
24         (calculate_overlap): Remove settings of run_max.
26 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
28         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
29         ucontext_t type instead.
30         (nds32_fallback_frame_state): Remove struct _sigframe statement.
32 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
34         * config/nds32/t-nds32-glibc: New file.
36 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
38         * configure.ac (solaris_ld_v2_maps): New test.
39         * configure: Regenerate.
40         * Makefile.in (solaris_ld_v2_maps): New variable.
41         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
42         if supported.
44 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
46         PR target/86951
47         * config/arm/lib1funcs.asm (speculation_barrier): New function.
48         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
49         to build.
51 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
53         * config/unwind-dw2-fde-darwin.c 
54         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
55         * config/darwin10-unwind-find-enc-func.c: … to here.
56         * config/t-darwin: Build Darwin10 unwinder shim crt.
57         * libgcc/config.host: Add the Darwin10 unwinder shim.
59 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
61         * config.host: Add crtbegin.o and crtend.o for
62         powerpc-wrs-vxworks target.
64 2018-08-17  Jojo  <jijie_rong@c-sky.com>
65             Huibin Wang  <huibin_wang@c-sky.com>
66             Sandra Loosemore  <sandra@codesourcery.com>
67             Chung-Lin Tang  <cltang@codesourcery.com>
69         C-SKY port: libgcc
71         * config.host: Add C-SKY support.
72         * config/csky/*: New.
74 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
76         * config/nds32/t-nds32-isr: Rearrange object dependency.
77         * config/nds32/initfini.c: Add dwarf2 unwinding support.
78         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
79         and registers usage.
80         * config/nds32/isr-library/excp_isr.S: Ditto.
81         * config/nds32/isr-library/intr_isr.S: Ditto.
82         * config/nds32/isr-library/reset.S: Ditto.
83         * config/nds32/isr-library/restore_all.inc: Ditto.
84         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
85         * config/nds32/isr-library/restore_partial.inc: Ditto.
86         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
87         * config/nds32/isr-library/save_all.inc: Ditto.
88         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
89         * config/nds32/isr-library/save_partial.inc: Ditto.
90         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
91         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
93 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
95         * config/pa/linux-atomic.c: Update comment.
96         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
97         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
98         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
99         __ATOMIC_RELAXED for atomic loads.
100         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
101         unordered store to release lock.
102         (__sync_lock_release_8): Likewise.
103         (SYNC_LOCK_RELEASE_2): Remove define.
104          
105 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
107         PR libgcc/86512
108         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
109         exponent goes negative. Update my email address.
110         * config/arm/ieee754-sf.S: Likewise.
112 2018-08-01  Martin Liska  <mliska@suse.cz>
114         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
115         check that  __gcov_indirect_call_callee is non-null.
117 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
119         * config/arm/ieee754-df.S: Fix comment for code working on
120         architectures >= 4.
121         * config/arm/ieee754-sf.S: Likewise.
123 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
125         PR libgcc/85334
126         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
127         Removed.
129 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
131         * configure: Regenerated.
133 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
135         * Makefile.in (install_leaf): Use enable_gcov instead of
136         enable_libgcov.
138 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
140         * configure.ac: Add --disable-gcov option.
141         * configure: Regenerate.
142         * Makefile.in: Honour @enable_gcov@.
144 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
146         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
147         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
148         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
149         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
150         __ARM_ARCH__.
151         * config/arm/ieee754-sf.S: Likewise.
152         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
154 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
156         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
157         longer supported.
158         * config/arm/ieee754-sf.S: Likewise.
160 2018-06-20  Than McIntosh  <thanm@google.com>
162         PR libgcc/86213
163         * generic-morestack.c (allocate_segment): Move calls to getenv and
164         getpagesize to __morestack_load_mmap.
165         (__morestack_load_mmap) Initialize static_pagesize and
166         use_guard_page here so as to avoid clobbering SSE regs during a
167         __morestack call.
169 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
171         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
172         support modules with -mno-gnu-attribute.
173         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
175 2018-06-07  Olivier Hainque  <hainque@adacore.com>
177         * config/t-vxworks (LIBGCC_INCLUDES): Add
178         -I$(MULTIBUILDTOP)../../gcc/include.
179         * config/t-vxworks7: Likewise. Reformat a bit to match
180         the t-vxworks layout.
182 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
184         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
186 2018-06-07  Martin Liska  <mliska@suse.cz>
188         * libgcov-driver.c: Rename cs_all to all and assign it from
189         all_prg.
191 2018-06-07  Martin Liska  <mliska@suse.cz>
193         PR bootstrap/86057
194         * libgcov-driver-system.c (replace_filename_variables): Use
195         memcpy instead of mempcpy.
196         (allocate_filename_struct): Do not allocate filename, allocate
197         prefix and set it.
198         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
199         here and properly copy content into it.
200         * libgcov-driver.c (struct gcov_filename): Remove max_length
201         field, change prefix from size_t into char *.
202         (compute_summary): Do not calculate longest filename.
203         (gcov_do_dump): Release memory of gf.filename after each file.
204         * libgcov-util.c (compute_summary): Use new signature of
205         compute_summary.
206         (calculate_overlap): Likewise.
208 2018-06-05  Martin Liska  <mliska@suse.cz>
210         PR gcov-profile/47618
211         * libgcov-driver-system.c (replace_filename_variables): New
212         function.
213         (gcov_exit_open_gcda_file): Use it.
215 2018-06-05  Martin Liska  <mliska@suse.cz>
217         * libgcov-driver.c (gcov_compute_histogram): Remove usage
218         of gcov_ctr_summary.
219         (compute_summary): Do it just for a single summary.
220         (merge_one_data): Likewise.
221         (merge_summary): Simplify as we read just single summary.
222         (dump_one_gcov): Pass proper argument.
223         * libgcov-util.c (compute_one_gcov): Simplify as we have just
224         single summary.
225         (gcov_info_count_all_cold): Likewise.
226         (calculate_overlap): Likewise.
228 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
229             Monk Chiang  <sh.chiang04@gmail.com>
231         * config.host (nds32*-linux*): New.
232         * config/nds32/linux-atomic.c: New file.
233         * config/nds32/linux-unwind.h: New file.
235 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
237         PR target/85591
238         * config/i386/cpuinfo.c (get_amd_cpu): Return
239         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
241 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
243         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
245 2018-05-29  Martin Liska  <mliska@suse.cz>
247         PR gcov-profile/85759
248         * libgcov-driver-system.c (gcov_error): Introduce usage of
249         GCOV_EXIT_AT_ERROR env. variable.
250         * libgcov-driver.c (merge_one_data): Print error that we
251         overwrite a gcov file with a different timestamp.
253 2018-05-23  Kalamatee  <kalamatee@gmail.com>
255         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
256         path to Lf$finfty.
258 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
259             Monk Chiang  <sh.chiang04@gmail.com>
260             Jim Wilson <jimw@sifive.com>
262         * config/riscv/save-restore.S: Add support for rv32e.
264 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
266         * config/arm/libunwind.S: Update comment relating to armv5.
268 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
270         * config/arm/cmse.c (cmse_check_address_range): Replace
271         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
273 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
275         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
276         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
278 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
280         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
281         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
283 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
285         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
287 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
288             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
290         PR libgcc/84292
291         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
292         op_and_fetch to return the right result.
294 2018-04-27  Alan Modra  <amodra@gmail.com>
296         PR libgcc/85532
297         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
298         -fno-asynchronous-unwind-tables.
300 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
302         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
303         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
305 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
307         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
308         when including "config/i386/shadow-stack-unwind.h".
310 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
312         * configure: Regenerated.
314 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
316         PR target/85456
317         * config/rs6000/_powikf2.c: New file.  Add support for the
318         __builtin_powil function when long double is IEEE 128-bit floating
319         point.
320         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
321         __powikf2 support.
322         (__powikf2): Likewise.
323         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
324         (__powikf2_hw): Likewise.
325         (__powikf2): Likewise.
326         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
327         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
328         (_powikf2-hw.c): Likewise.
330 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
332         PR libgcc/85334
333         * unwind-generic.h (_Unwind_Frames_Increment): New.
334         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
335         Likewise.
336         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
337         count with _Unwind_Frames_Increment.
338         (_Unwind_ForcedUnwind_Phase2): Likewise.
340 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
342         PR libgcc/85379
343         * config/i386/morestack.S (__stack_split_initialize): Add
344         _CET_ENDBR.
346 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
348         * configure: Regenerated.
350 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
352         PR jit/85384
353         * configure: Regenerate.
355 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
357         PR target/84945
358         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
359         -Wdangling-else warnings.  Mask shift counts to avoid
360         -Wshift-count-negative and -Wshift-count-overflow false positives.
362 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
364         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
366 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
368         PR target/85100
369         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
370         (XSTATE_FP): Likewise.
371         (XSTATE_SSE): Likewise.
372         (XSTATE_YMM): Likewise.
373         (XSTATE_OPMASK): Likewise.
374         (XSTATE_ZMM): Likewise.
375         (XSTATE_HI_ZMM): Likewise.
376         (XCR_AVX_ENABLED_MASK): Likewise.
377         (XCR_AVX512F_ENABLED_MASK): Likewise.
378         (get_available_features): Enable AVX and AVX512 features only
379         if their states are supported by OSXSAVE.
381 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
383         PR target/85025
384         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
385         Fix a typo, tmp => 255.
387 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
389         PR target/84945
390         * config/i386/cpuinfo.h (__cpu_features2): Declare.
391         * config/i386/cpuinfo.c (__cpu_features2): New variable for
392         ifndef SHARED only.
393         (set_feature): Define.
394         (get_available_features): Use set_feature macro.  Set __cpu_features2
395         to the second word of features ifndef SHARED.
397 2018-03-15  Julia Koval  <julia.koval@intel.com>
399         * config/i386/cpuinfo.c (get_available_features): Add
400         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
401         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
402         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
403         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
404         FEATURE_AVX512BITALG.
406 2018-03-14  Julia Koval  <julia.koval@intel.com>
408         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
409         icelake client and icelake server.
411 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
413         * config/pa/fptr.c (_dl_read_access_allowed): New.
414         (__canonicalize_funcptr_for_compare): Use it.
415         
416 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
418         PR debug/83917
419         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
420         $asm_hidden_op if visibility ("hidden") attribute works.
421         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
422         * config/i386/i386-asm.h: Don't include auto-host.h.
423         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
424         PACKAGE_URL): Don't undefine.
425         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
426         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
427         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
428         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
429         definition instead of hardcoded .hidden.
430         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
431         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
432         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
433         (USE_GAS_CFI_DIRECTIVES): Don't define.
434         * configure: Regenerated.
435         * config.in: Likewise.
437 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
439         PR debug/83917
440         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
441         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
442         inclusion of auto-target.h and auto-host.h.
443         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
444         __GCC_HAVE_DWARF2_CFI_ASM.
445         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
446         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
447         cfi_pop): Define.
448         * config/i386/cygwin.S: Don't include auto-host.h here, just
449         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
450         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
451         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
452         * config/i386/resms64fx.h: Add cfi_* directives.
453         * config/i386/resms64x.h: Likewise.
455 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
457         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
458         .literal_position directive.
459         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
461 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
463         PR target/84148
464         * configure: Regenerate.
466 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
468         PR target/84239
469         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
470         Include cetintrin.h not x86intrin.h.
472 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
474         PR target/84239
475         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
476         Use new _get_ssp and _inc_ssp intrinsics.
478 2018-02-02  Julia Koval  <julia.koval@intel.com>
480         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
482 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
484         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
485         option.
486         (__divsi3): Use RF16 safe registers.
487         (__modsi3): Likewise.
489 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
491         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
492         (__divsf3): Make NaN return value quiet.
493         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
494         (__divdf3): Make NaN return value quiet.
496 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
498         * config/rl78/anddi3.S: New assembly file.
499         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
501 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
503         * config/rl78/umindi3.S: New assembly file.
504         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
506 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
508         * config/rl78/smindi3.S: New assembly file.
509         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
511 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
513         * config/rl78/smaxdi3.S: New assembly file.
514         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
516 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
518         * config/rl78/umaxdi3.S: New assembly file.
519         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
520         
521 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
523         PR lto/83452
524         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
525         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
526         
527 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
529         * config/aarch64/value-unwind.h (aarch64_vg): New function.
530         (DWARF_LAZY_REGISTER_VALUE): Define.
531         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
532         to provide a fallback register value.
534 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
536         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
537         __ibm128, instead of trying to use long double.
538         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
539         accomidate -mabi=ieeelongdouble multilibs.
540         (CVT_IBM128_TO_FLOAT128): Likewise.
541         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
542         the appropriate IBM extended double type.
543         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
544         (__gcc_qsub): Likewise.
545         (__gcc_qmul): Likewise.
546         (__gcc_qdiv): Likewise.
547         (pack_ldouble): Likewise.
548         (__gcc_qneg): Likewise.
549         (__gcc_qeq): Likewise.
550         (__gcc_qne): Likewise.
551         (__gcc_qge): Likewise.
552         (__gcc_qle): Likewise.
553         (__gcc_stoq): Likewise.
554         (__gcc_dtoq): Likewise.
555         (__gcc_itoq): Likewise.
556         (__gcc_utoq): Likewise.
557         (__gcc_qunord): Likewise.
558         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
559         quad-float128.h for the definitions.
560         (COPYSIGN): Use the f128 version instead of the q version.
561         (INFINITY): Likewise.
562         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
563         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
564         quad-float128.h for the definitions.
565         (COPYSIGN): Use the f128 version instead of the q version.
566         (INFINITY): Likewise.
567         (FABS): Likewise.
568         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
569         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
570         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
572 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
574         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
575         configuration.
577 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
579         Update copyright years.
581 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
583         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
584         * config/riscv/multi3.c: New file.
585         * config/riscv/multi3.S: Remove.
587 2017-12-08  Jim Wilson  <jimw@sifive.com>
589         * config/riscv/div.S: Use FUNC_* macros.
590         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
591         * config/riscv/save-restore.S: Likewise.
592         * config/riscv/riscv-asm.h: New.
594 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
596         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
597         * config/rs6000/_divkc3.c (__divkc3): Likewise.
599         PR libgcc/83112
600         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
601         correct type for all ifunc resolvers to silence -Wattribute-alias
602         warnings.  Eliminate the forward declaration of the resolver
603         functions which is no longer needed.
604         (__subkf3_resolve): Likewise.
605         (__mulkf3_resolve): Likewise.
606         (__divkf3_resolve): Likewise.
607         (__negkf2_resolve): Likewise.
608         (__eqkf2_resolve): Likewise.
609         (__nekf2_resolve): Likewise.
610         (__gekf2_resolve): Likewise.
611         (__gtkf2_resolve): Likewise.
612         (__lekf2_resolve): Likewise.
613         (__ltkf2_resolve): Likewise.
614         (__unordkf2_resolve): Likewise.
615         (__extendsfkf2_resolve): Likewise.
616         (__extenddfkf2_resolve): Likewise.
617         (__trunckfsf2_resolve): Likewise.
618         (__trunckfdf2_resolve): Likewise.
619         (__fixkfsi_resolve): Likewise.
620         (__fixkfdi_resolve): Likewise.
621         (__fixunskfsi_resolve): Likewise.
622         (__fixunskfdi_resolve): Likewise.
623         (__floatsikf_resolve): Likewise.
624         (__floatdikf_resolve): Likewise.
625         (__floatunsikf_resolve): Likewise.
626         (__floatundikf_resolve): Likewise.
627         (__extendkftf2_resolve): Likewise.
628         (__trunctfkf2_resolve): Likewise.
630         PR libgcc/83103
631         * config/rs6000/quad-float128.h (TF): Don't define if long double
632         is IEEE 128-bit floating point.
633         (TCtype): Define as either TCmode or KCmode, depending on whether
634         long double is IEEE 128-bit floating point.
635         (__mulkc3_sw): Add declarations for software/hardware versions of
636         complex multiply/divide.
637         (__divkc3_sw): Likewise.
638         (__mulkc3_hw): Likewise.
639         (__divkc3_hw): Likewise.
640         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
641         handlers to switch between using software emulation and hardware
642         float128 instructions, build the complex multiply/divide functions
643         for both software and hardware support.
644         * config/rs6000/_divkc3.c (_divkc3): Likewise.
645         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
646         (__divkc3_resolve): Likewise.
647         (__mulkc3): Likewise.
648         (__divkc3): Likewise.
649         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
650         (fp128_hw_src): Likewise.
651         (fp128_hw_static_obj): Likewise.
652         (fp128_hw_shared_obj): Likewise.
653         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
654         _mulkc3.c and _divkc3.c, changing the function name.
655         (_divkc3-hw.c): Likewise.
656         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
657         and _divkc3-hw.c.
659 2017-11-26  Julia Koval  <julia.koval@intel.com>
661         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
662         * config/i386/cpuinfo.h (processor_subtypes): Add
663         INTEL_COREI7_CANNONLAKE.
665 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
667         PR bootstrap/83015
668         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
669         parameter.
670         * config/xtensa/unwind-dw2-xtensa.c: Likewise
671         * config/ia64/unwind-ia64.c: Add frames parameter.
672         * unwind-sjlj.c: Likewise.
674 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
676         * config/i386/linux-unwind.h: Include
677         config/i386/shadow-stack-unwind.h.
678         * config/i386/shadow-stack-unwind.h: New file.
679         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
680         pass it to _Unwind_Frames_Extra.
681         * unwind-generic.h (_Unwind_Frames_Extra): New.
682         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
683         parameter. Add local variable frames to count number of frames.
684         (_Unwind_ForcedUnwind_Phase2): Likewise.
685         (_Unwind_RaiseException): Add local variable frames to count
686         number of frames, pass it to _Unwind_RaiseException_Phase2 and
687         uw_install_context.
688         (_Unwind_ForcedUnwind): Likewise.
689         (_Unwind_Resume): Likewise.
690         (_Unwind_Resume_or_Rethrow): Likewise.
692 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
694         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
695         (CET_FLAGS): New.
696         * config/i386/morestack.S: Include <cet.h>.
697         (__morestack_large_model): Add _CET_ENDBR at function entrance.
698         * config/i386/resms64.h: Include <cet.h>.
699         * config/i386/resms64f.h: Likewise.
700         * config/i386/resms64fx.h: Likewise.
701         * config/i386/resms64x.h: Likewise.
702         * config/i386/savms64.h: Likewise.
703         * config/i386/savms64f.h: Likewise.
704         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
705         (CRTSTUFF_T_CFLAGS): Likewise.
706         * configure.ac: Include ../config/cet.m4.
707         Set and substitute CET_FLAGS.
708         * configure: Regenerated.
710 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
712         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
713         renaming.
714         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
715         * configure.ac (libgcc_cv_solaris_crts): Likewise.
716         * configure: Regenerate.
718 2017-11-07  Tom de Vries  <tom@codesourcery.com>
720         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
721         after "do {} while (0)".
723 2017-11-07  Tom de Vries  <tom@codesourcery.com>
725         PR other/82784
726         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
727         semicolon after "do {} while (0)".
728         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
729         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
730         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
731         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
733 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
735         PR libgcc/82635
736         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
737         sysctl to determine whether we're in a trampoline.
738         Keep the pattern matching method for systems without
739         KERN_PROC_SIGTRAMP sysctl.
741 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
742             Vineet Gupta <vgupta@synopsys.com>
744         * config.host (arc*-*-linux*): Set md_unwind_header variable.
745         * config/arc/linux-unwind-reg.def: New file.
746         * config/arc/linux-unwind-reg.h: Likewise.
748 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
750         * config/rl78/subdi3.S: New assembly file.
751         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
753 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
755         * config/rl78/adddi3.S: New assembly file.
756         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
758 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
760         PR target/82274
761         * libgcc2.c (__mulvDI3): If both operands have
762         the same highpart of -1 and the topmost bit of lowpart is 0,
763         multiplication overflows even if both lowparts are 0.
765 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
767         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
769 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
771         * config/microblaze/crti.S, config/microblaze/crtn.S,
772         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
773         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
774         config/microblaze/mulsi3.S,
775         config/microblaze/stack_overflow_exit.S,
776         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
777         config/pa/milli64.S: Add .note.GNU-stack section.
779 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
781         * configure.ac: Add Check for HAVE_AS_AVX.
782         * config.in: Regenerate.
783         * configure: Likewise.
784         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
785         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
786         Correct out-of-date comments.
788 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
790         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
791         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
793 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
795         * config/i386/i386-asm.h (PASTE2): New macro.
796         (ASMNAME): Modify to use PASTE2.
797         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
798         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
799         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
800         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
801         * config/i386/resms64f.S: Likewise.
802         * config/i386/resms64fx.S: Likewise.
803         * config/i386/resms64x.S: Likewise.
804         * config/i386/savms64.S: Likewise.
805         * config/i386/savms64f.S: Likewise.
806         * config/i386/avx_resms64.S: New file that only defines a macro and
807         includes it's corresponding header file.
808         * config/i386/avx_resms64f.S: Likewise.
809         * config/i386/avx_resms64fx.S: Likewise.
810         * config/i386/avx_resms64x.S: Likewise.
811         * config/i386/avx_savms64.S: Likewise.
812         * config/i386/avx_savms64f.S: Likewise.
813         * config/i386/sse_resms64.S: Likewise.
814         * config/i386/sse_resms64f.S: Likewise.
815         * config/i386/sse_resms64fx.S: Likewise.
816         * config/i386/sse_resms64x.S: Likewise.
817         * config/i386/sse_savms64.S: Likewise.
818         * config/i386/sse_savms64f.S: Likewise.
819         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
821 2017-09-01  Olivier Hainque  <hainque@adacore.com>
822         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
824 2017-08-31  Olivier Hainque  <hainque@adacore.com>
826         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
827         match as powerpc-wrs-vxworks*.
829 2017-08-07  Jonathan Yong  <10walls@gmail.com>
831         * config.host (*-cygwin): Include file from mingw
832         config/i386/enable-execute-stack-mingw32.c
834 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
835             Doug Rupp  <rupp@adacore.com>
836             Olivier Hainque  <hainque@adacore.com>
838         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
839         as well as arm-wrs-vxworks.
840         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
841         LIB2ADDEH.
842         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
843         __exidx_start and __exidx_end for downloadable modules.
845 2017-08-01  Olivier Hainque  <hainque@adacore.com>
847         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
848         * config/t-vxworks7: Likewise.
850 2017-08-01  Olivier Hainque  <hainque@adacore.com>
852         * config/t-vxworks: Instead of redefining LIB2ADD,
853         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
855 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
857         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
859 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
861         PR testsuite/80759
862         * config.host: include i386/t-msabi for darwin and solaris.
863         * config/i386/i386-asm.h
864         (ELFFN): Rename to FN_TYPE.
865         (FN_SIZE): New macro.
866         (FN_HIDDEN): Likewise.
867         (ASMNAME): Likewise.
868         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
869         .globl.
870         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
871         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
872         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
873         .macro.
874         * config/i386/resms64f.S: Likewise.
875         * config/i386/resms64fx.S: Likewise.
876         * config/i386/resms64x.S: Likewise.
877         * config/i386/savms64.S: Likewise.
878         * config/i386/savms64f.S: Likewise.
880 2017-07-19  John Marino  <gnugcc@marino.st>
882         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
884 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
886         PR target/81193
887         * configure.ac (PowerPC float128 hardware support): Test whether
888         we can use __builtin_cpu_supports before enabling the ifunc
889         handler.
890         * configure: Regenerate.
892 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
894         * config.host: Remove uclibc from arc target spec.
896 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
898         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
900 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
902         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
903         (have_ieee_hw_p): Delete function.
904         (SW_OR_HW) Use __builtin_cpu_supports().
906 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
908         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
910 2017-07-03  Olivier Hainque  <hainque@adacore.com>
912         * config/t-vxworks7: New file, really.
914 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
916         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
917         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
918         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
919         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
920         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
921         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
922         config/pa/linux-unwind.h (pa32_fallback_frame_state),
923         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
924         config/sh/linux-unwind.h (sh_fallback_frame_state),
925         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
926         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
927         ucontext_t instead of struct ucontext.
929 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
931         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
932         (x86_64-wrs-vxworks7): Likewise.
934 2017-06-27  Olivier Hainque  <hainque@adacore.com>
936         * config/t-vxworks7: New file.
937         * config.host (*-*-vxworks7): Use it.
939 2017-06-22  Matt Turner  <mattst88@gmail.com>
941         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
942         skylake case.
944 2017-06-21  Richard Biener  <rguenther@suse.de>
946         PR gcov-profile/81080
947         * configure.ac: Add AC_SYS_LARGEFILE.
948         * libgcov.h: Include auto-target.h before tsystem.h to pick
949         up _FILE_OFFSET_BITS which might differ for multilibs.
950         * config.in: Regenerate.
951         * configure: Likewise.
953 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
955         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
957 2017-06-09  Martin Liska  <mliska@suse.cz>
959         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
960         Reset __gcov_indirect_call_callee to NULL.
962 2017-06-08  Olivier Hainque  <hainque@adacore.com>
964         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
965         the set of -I options, support for direct inclusions of net/uio.h
966         by VxWorks header files via ioLib.h.
968 2017-06-07  Tony Reix  <tony.reix@atos.net>
969             Matthieu Sarter  <matthieu.sarter.external@atos.net>
970             David Edelsohn  <dje.gcc@gmail.com>
972         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
973         unconditionally.
974         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
975         AIX 7.2 support.
977 2017-06-02  Olivier Hainque  <hainque@adacore.com>
979         * config/vxlib.c (__gthread_once): Add missing value to
980         return statement.
982 2017-05-30  Olivier Hainque  <hainque@adacore.com>
984         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
985         dollar sign before $(MULTIDIR).
987 2017-05-26  Richard Henderson  <rth@redhat.com>
989         PR libgcc/80037
990         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
992 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
994         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
995         _Unwind_SetIP available as functions for arm*-*-freebsd*.
996         * config/arm/unwind-arm.c: Implement the above.
998 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1000         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1001         section for a non-executable stack.
1003 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
1005         PR target/80600
1006         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1008 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
1010         * config.host: Add i386/t-msabi to i386/t-linux file list.
1011         * config/i386/i386-asm.h: New file.
1012         * config/i386/resms64.S: New file.
1013         * config/i386/resms64f.S: New file.
1014         * config/i386/resms64fx.S: New file.
1015         * config/i386/resms64x.S: New file.
1016         * config/i386/savms64.S: New file.
1017         * config/i386/savms64f.S: New file.
1018         * config/i386/t-msabi: New file.
1020 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
1022         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1023         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1025 2017-05-05  Joshua Conner  <joshconner@google.com>
1027         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1028         pc-relative indirect handling for fuchsia.
1029         * config/t-slibgcc-fuchsia: New file.
1030         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1031         x86_64-*-fuchsia*): Add definitions.
1033 2017-04-19  Martin Liska  <mliska@suse.cz>
1035         PR gcov-profile/80435
1036         * Makefile.in: Install gcov.h.
1037         * gcov.h: New file.
1038         * libgcov.h: Use the header and make __gcov_flush publicly
1039         visible.
1041 2017-04-18  Martin Liska  <mliska@suse.cz>
1043         PR gcov-profile/78783
1044         * libgcov-driver.c (gcov_get_filename): New function.
1046 2017-04-07  Jeff Law  <law@redhat.com>
1048         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1049         target makefile fragment.
1050         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1052 2017-04-07  Alan Modra  <amodra@gmail.com>
1054         PR target/45053
1055         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1057 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
1059         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1061 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
1063         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1065 2017-03-10  John Marino  <gnugcc@marino.st>
1067         * config/aarch64/freebsd-unwind.h: New file.
1068         * config.host: Add aarch64-*-freebsd unwinder.
1070 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1072         * config/rs6000/crtrestvr.s: Use .machine altivec.
1073         * config/rs6000/crtsavevr.s: Ditto.
1075 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1077         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1078         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1079         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1080         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1081         * configure: Regenerate.
1082         * config.in: Regenerate.
1084 2017-03-02  Jonathan Yong <10walls@gmail.com>
1086         * config/i386/gthr-win32.h: Define NOGDI before
1087         windows.h include to prevent w32api CC_NONE macro
1088         clash with libgfortran.
1090 2017-03-02  Jonathan Yong <10walls@gmail.com>
1092         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1094 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1096         * config/aarch64/value-unwind.h: New file.
1097         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1098         to tm_file.
1100 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1102         * config.host: Add RISC-V tuples.
1103         * config/riscv/atomic.c: New file.
1104         * config/riscv/crti.S: Likewise.
1105         * config/riscv/crtn.S: Likewise.
1106         * config/riscv/div.S: Likewise.
1107         * config/riscv/linux-unwind.h: Likewise.
1108         * config/riscv/muldi3.S: Likewise.
1109         * config/riscv/multi3.S: Likewise.
1110         * config/riscv/save-restore.S: Likewise.
1111         * config/riscv/sfp-machine.h: Likewise.
1112         * config/riscv/t-elf: Likewise.
1113         * config/riscv/t-elf32: Likewise.
1114         * config/riscv/t-elf64: Likewise.
1115         * config/riscv/t-softfp32: Likewise.
1116         * config/riscv/t-softfp64: Likewise.
1118 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1120         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1121         /* FALLTHRU */ comments.
1123 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1125         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1127 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1129         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1130         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1131         DW_CFA_GNU_window_save for AArch64 and LP64.
1133 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1135         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1137 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1139         * config/aarch64/aarch64-unwind.h: New file.
1140         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1141         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1142         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1143         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1144         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1145         (aarch64_post_extract_frame_addr): New function.
1146         (aarch64_post_frob_eh_handler_addr): New function.
1147         (aarch64_frob_update_context): New function.
1148         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1149         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1150         aarch64*-*-freebsd*):
1151         Initialize md_unwind_header to include aarch64-unwind.h.
1152         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1153         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1154         __aarch64__.
1155         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1156         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1157         (uw_frob_return_addr): New function.
1158         (uw_install_context): Use uw_frob_return_addr.
1160 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1162         PR other/79046
1163         * configure.ac: Add GCC_BASE_VER.
1164         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1165         version from BASE-VER file.
1166         * configure: Regenerated.
1168 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1170         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1171         libmul_f5.a): Filter archived prerequisites.
1173 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1175         * config/i386/cpuinfo.h (processor_features): Add
1176         FEATURE_AVX512VPOPCNTDQ.
1177         * config/i386/cpuinfo.c (get_available_features): Habdle new
1178         feature.
1180 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1182         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1183         payload if [__mips_nan2008].
1185 2017-01-04  Alan Modra  <amodra@gmail.com>
1187         * Makefile.in (configure_deps): Update.
1188         * configure: Regenerate.
1190 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1192         Update copyright years.
1194 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1196         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1197         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1198         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1200 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1202         * config/arc/gmon: Remove empty directory.
1204 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
1206         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1207         crtgend.
1208         (arc*-*-elf*): Likewise.
1209         * config/arc/t-arc: Remove old gmon lib targets.
1210         * config/arc/crtg.S: Remove.
1211         * config/arc/crtgend.S: Likewise.
1212         * config/arc/gmon/atomic.h: Likewise.
1213         * config/arc/gmon/auxreg.h: Likewise.
1214         * config/arc/gmon/dcache_linesz.S: Likewise.
1215         * config/arc/gmon/gmon.c: Likewise.
1216         * config/arc/gmon/machine-gmon.h: Likewise.
1217         * config/arc/gmon/mcount.c: Likewise.
1218         * config/arc/gmon/prof-freq-stub.S: Likewise.
1219         * config/arc/gmon/prof-freq.c: Likewise.
1220         * config/arc/gmon/profil.S: Likewise.
1221         * config/arc/gmon/sys/gmon.h: Likewise.
1222         * config/arc/gmon/sys/gmon_out.h: Likewise.
1223         * config/arc/t-arc-newlib: Likewise.
1224         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1226 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1228         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1230 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1232         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1233         R16 instead of push + pop.
1234         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1236 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
1238         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1239         tmake_file.
1241 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
1243         * config.host (arc*-*-linux-uclibc*): Use default extra
1244         objects. Include linux-android header.
1245         * config/arc/crti.S (_init): Declare symbol as function.
1246         (_fini): Likewise.
1248 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
1250         PR fortran/78379
1251         * config/i386/cpuinfo.c:  Move denums for processor vendors,
1252         processor type, processor subtypes and declaration of
1253         struct __processor_model into
1254         * config/i386/cpuinfo.h:  New header file.
1256 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1257             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1259         * config/arm/cmse_nonsecure_call.S: New.
1260         * config/arm/t-arm: Compile cmse_nonsecure_call.S
1262 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1263             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1265         * config/arm/t-arm (HAVE_CMSE): New.
1266         * config/arm/cmse.c: New.
1268 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1270         PR gcc/74748
1271         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1272         use generic linker version information on Blackfin.
1274         PR gcc/74748
1275         * libgcc/mkmap-symver.awk: add support for skip_underscore
1277 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
1278             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1280         PR target/67710
1281         *  config/t-darwin: Default builds to 10.5 codegen.
1283 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
1285         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1286         (_FP_NANSIGN_H): Likewise.
1287         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1288         (softfp_truncations): Add tfhf.
1289         (softfp_extras): Add required conversion functions.
1291 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1292             Matthew Wahab  <matthew.wahab@arm.com>
1294         * config/arm/fp16.c (binary64): New.
1295         (__gnu_d2h_internal): New.
1296         (__gnu_d2h_ieee): New.
1297         (__gnu_d2h_alternative): New.
1299 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1300             Matthew Wahab  <matthew.wahab@arm.com>
1302         * config/arm/fp16.c (struct format): New.
1303         (binary32): New.
1304         (__gnu_float2h_internal): New.  Body moved from
1305         __gnu_f2h_internal and generalize.
1306         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1307         Call it with binary32.
1309 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1311         * soft-fp/extendhftf2.c: Update from glibc.
1312         * soft-fp/fixhfti.c: Likewise.
1313         * soft-fp/fixunshfti.c: Likewise.
1314         * soft-fp/floattihf.c: Likewise.
1315         * soft-fp/floatuntihf.c: Likewise.
1316         * soft-fp/half.h: Likewise.
1317         * soft-fp/trunctfhf2.c: Likewise.
1319 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
1321         PR libgcc/77813
1322         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1323         __TMC_END__ behind a passthrough asm.
1325 2016-11-18  Walter Lee  <walt@tilera.com>
1327         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1329 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
1331         * config/i386/cpuinfo.c (processor_features): Add
1332         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1334 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
1336         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1337         (__ARC_NORM__): Use instead ARC_OPTFPE.
1338         * config/arc/fp-hack.h: Likewise.
1339         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1340         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1342 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
1344         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1345         * config/nvptx/mgomp.c: New file.
1346         * config/nvptx/t-nvptx: Add mgomp.c
1348 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
1350         PR libgcc/68468
1351         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1353 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
1355         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1356         of checking for cpus.
1357         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1358         (__modsi3, __clzsi2): Likewise.
1360 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1362         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1363         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1364         * config/i386/t-cpuinfo-static: New.
1366 2016-11-03  Martin Liska  <mliska@suse.cz>
1368         * libgcov-profiler.c (__gcov_time_profiler): Remove.
1369         (__gcov_time_profiler_atomic): Likewise.
1371 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1373         PR libgcc/78067
1374         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1375         count_leading_zeros.
1377 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
1379         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1380         * libgcc2.c (__divmoddi4): New function.
1381         * libgcc2.h (__divmoddi4): Declare.
1382         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1383         and __PFX_divmodti4.
1385 2016-10-24  Florian Weimer  <fweimer@redhat.com>
1387         PR libgcc/78064
1388         * unwind-c.c: Include auto-target.h.
1390 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
1392         * config/pa/pa64-hpux-lib.h: New file.
1393         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1394         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1395         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1396         hppa*64*-*-hpux11*.
1398 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
1400         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1401         definition.
1402         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1403         definition.
1404         * config/xtensa/t-windowed (LIB2ADDEH): Use
1405         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1406         or xtensa/t-linux.
1408 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
1410         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1411         __ieee754_sqrt): New functions.
1412         (__divdf3): Add implementation with new FPU instructions under
1413         #if XCHAL_HAVE_DFP_DIV.
1414         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1415         __ieee754_sqrtf): New functions.
1416         (__divsf3): Add implementation with new FPU instructions under
1417         #if XCHAL_HAVE_FP_DIV.
1418         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1419         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1421 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1423         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1424         equivalent.
1425         * config/tilepro/atomic.c: Likewise and stop casting model to
1426         enum memmodel.
1428 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
1430         PR target/77586
1431         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1432         soft-fp.
1434 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
1436         * config.host: Add support for aarch64-*-freebsd*.
1438 2016-10-05  Andreas Schwab  <schwab@suse.de>
1440         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1441         (.section .init_array): Don't call __do_jv_register_classes.
1442         (.section .init): Likewise.
1444 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
1446         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1447         (__JCR_LIST__): Remove.
1448         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1449         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1450         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1451         * config/ia64/crtend.S (__JCR_END__): Remove.
1452         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1453         conditionals.
1454         (__JCR_LIST__, __JCR_END__): Remove.
1455         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1456         (__do_global_ctors_1): Likewise.
1458 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1460         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1461         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1463 2016-09-27  Martin Liska  <mliska@suse.cz>
1465         PR gcov-profile/7970
1466         PR gcov-profile/16855
1467         PR gcov-profile/44779
1468         * libgcov-driver.c (__gcov_init): Do not register a atexit
1469         handler.
1470         (__gcov_exit): Rename from gcov_exit.
1471         * libgcov.h (__gcov_exit): Declare.
1473 2016-09-27  Martin Liska  <mliska@suse.cz>
1475         PR bootstrap/77749
1476         * Makefile.in: Remove _gcov_merge_delta.
1477         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1478         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1479         * libgcov.h: Remove declaration of __gcov_merge_delta.
1481 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1483         * configure.ac: Do not create links, only substitute the filenames.
1484         * configure: Regenerate.
1485         * Makefile.in: Assign the substitution results to variables.
1486         (LIBGCC_LINKS): Define.
1487         (enable-execute-stack.c): New rule.
1488         (unwind.h): Likewise.
1489         (md-unwind-support.h): Likewise.
1490         (sfp-machine.h): Likewise.
1491         (gthr-default.h): Likewise.
1492         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1493         unwind.h as prerequisite of install-unwind_h-forbuild.
1495 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1497         PR libgcc/71744
1498         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1499         is not the primary registry and atomics are available.
1500         (any_objects_registered): New variable.
1501         (__register_frame_info_bases, __register_frame_info_table_bases):
1502         Atomically store 1 to any_objects_registered after registering first
1503         unwind info.
1504         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1506 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1508         PR target/63250
1509         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1510         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1511         (HFtype): Likewise.
1512         (HCtype): Likewise.
1513         (__divhc3): Likewise.
1514         (__mulhc3): Likewise.
1515         * libgcc2.c: Support _mulhc3 and _divhc3.
1517 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1519         PR libgcc/77519
1520         * libgcc2.c (NOTRUNC): Invert settings.
1522 2016-09-06  Martin Liska  <mliska@suse.cz>
1524         PR gcov-profile/77378
1525         PR gcov-profile/77466
1526         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1527         conditionaly enable/disable *_atomic functions.
1529 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1531         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1532         where not already enabled.
1534 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1536         * config/mips/linux-unwind.h: Use sys/syscall.h.
1538 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1540         PR libgcc/77265
1541         * soft-fp/adddf3.c: Update from glibc.
1542         * soft-fp/addsf3.c: Likewise.
1543         * soft-fp/addtf3.c: Likewise.
1544         * soft-fp/divdf3.c: Likewise.
1545         * soft-fp/divsf3.c: Likewise.
1546         * soft-fp/divtf3.c: Likewise.
1547         * soft-fp/double.h: Likewise.
1548         * soft-fp/eqdf2.c: Likewise.
1549         * soft-fp/eqsf2.c: Likewise.
1550         * soft-fp/eqtf2.c: Likewise.
1551         * soft-fp/extenddftf2.c: Likewise.
1552         * soft-fp/extended.h: Likewise.
1553         * soft-fp/extendsfdf2.c: Likewise.
1554         * soft-fp/extendsftf2.c: Likewise.
1555         * soft-fp/extendxftf2.c: Likewise.
1556         * soft-fp/fixdfdi.c: Likewise.
1557         * soft-fp/fixdfsi.c: Likewise.
1558         * soft-fp/fixdfti.c: Likewise.
1559         * soft-fp/fixsfdi.c: Likewise.
1560         * soft-fp/fixsfsi.c: Likewise.
1561         * soft-fp/fixsfti.c: Likewise.
1562         * soft-fp/fixtfdi.c: Likewise.
1563         * soft-fp/fixtfsi.c: Likewise.
1564         * soft-fp/fixtfti.c: Likewise.
1565         * soft-fp/fixunsdfdi.c: Likewise.
1566         * soft-fp/fixunsdfsi.c: Likewise.
1567         * soft-fp/fixunsdfti.c: Likewise.
1568         * soft-fp/fixunssfdi.c: Likewise.
1569         * soft-fp/fixunssfsi.c: Likewise.
1570         * soft-fp/fixunssfti.c: Likewise.
1571         * soft-fp/fixunstfdi.c: Likewise.
1572         * soft-fp/fixunstfsi.c: Likewise.
1573         * soft-fp/fixunstfti.c: Likewise.
1574         * soft-fp/floatdidf.c: Likewise.
1575         * soft-fp/floatdisf.c: Likewise.
1576         * soft-fp/floatditf.c: Likewise.
1577         * soft-fp/floatsidf.c: Likewise.
1578         * soft-fp/floatsisf.c: Likewise.
1579         * soft-fp/floatsitf.c: Likewise.
1580         * soft-fp/floattidf.c: Likewise.
1581         * soft-fp/floattisf.c: Likewise.
1582         * soft-fp/floattitf.c: Likewise.
1583         * soft-fp/floatundidf.c: Likewise.
1584         * soft-fp/floatundisf.c: Likewise.
1585         * soft-fp/floatunditf.c: Likewise.
1586         * soft-fp/floatunsidf.c: Likewise.
1587         * soft-fp/floatunsisf.c: Likewise.
1588         * soft-fp/floatunsitf.c: Likewise.
1589         * soft-fp/floatuntidf.c: Likewise.
1590         * soft-fp/floatuntisf.c: Likewise.
1591         * soft-fp/floatuntitf.c: Likewise.
1592         * soft-fp/gedf2.c: Likewise.
1593         * soft-fp/gesf2.c: Likewise.
1594         * soft-fp/getf2.c: Likewise.
1595         * soft-fp/ledf2.c: Likewise.
1596         * soft-fp/lesf2.c: Likewise.
1597         * soft-fp/letf2.c: Likewise.
1598         * soft-fp/muldf3.c: Likewise.
1599         * soft-fp/mulsf3.c: Likewise.
1600         * soft-fp/multf3.c: Likewise.
1601         * soft-fp/negdf2.c: Likewise.
1602         * soft-fp/negsf2.c: Likewise.
1603         * soft-fp/negtf2.c: Likewise.
1604         * soft-fp/op-1.h: Likewise.
1605         * soft-fp/op-2.h: Likewise.
1606         * soft-fp/op-4.h: Likewise.
1607         * soft-fp/op-8.h: Likewise.
1608         * soft-fp/op-common.h: Likewise.
1609         * soft-fp/quad.h: Likewise.
1610         * soft-fp/single.h: Likewise.
1611         * soft-fp/soft-fp.h: Likewise.
1612         * soft-fp/subdf3.c: Likewise.
1613         * soft-fp/subsf3.c: Likewise.
1614         * soft-fp/subtf3.c: Likewise.
1615         * soft-fp/truncdfsf2.c: Likewise.
1616         * soft-fp/trunctfdf2.c: Likewise.
1617         * soft-fp/trunctfsf2.c: Likewise.
1618         * soft-fp/trunctfxf2.c: Likewise.
1619         * soft-fp/unorddf2.c: Likewise.
1620         * soft-fp/unordsf2.c: Likewise.
1621         * soft-fp/unordtf2.c: Likewise.
1623 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1625         PR gcov-profile/67097
1626         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1628 2016-08-10  Martin Liska  <mliska@suse.cz>
1630         PR gcov-profile/58306
1631         * Makefile.in: New functions (modules) are added.
1632         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1633         function.
1634         (__gcov_pow2_profiler_atomic): New function.
1635         (__gcov_one_value_profiler_body): New argument is instroduced.
1636         (__gcov_one_value_profiler): Call with the new argument.
1637         (__gcov_one_value_profiler_atomic): Likewise.
1638         (__gcov_indirect_call_profiler_v2): Likewise.
1639         (__gcov_time_profiler_atomic): New function.
1640         (__gcov_average_profiler_atomic): Likewise.
1641         (__gcov_ior_profiler_atomic): Likewise.
1642         * libgcov.h: Declare the aforementioned functions.
1644 2016-08-09  Martin Liska  <mliska@suse.cz>
1646         * libgcov-util.c: Fix typo and GNU coding style.
1648 2016-08-09  Martin Liska  <mliska@suse.cz>
1650         * Makefile.in: Remove __gcov_indirect_call_profiler.
1651         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1652         function.
1653         * libgcov.h: And the declaration of the function.
1655 2016-08-09  Martin Liska  <mliska@suse.cz>
1657         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1658         power of two.
1660 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1662         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1663         * config/rs6000/_mulkc3.c: Likewise.
1665 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1667         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1668         zero_reg as previous call to __umulhisi3 already cleared it.
1670 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1672         PR target/59833
1673         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1675 2016-07-19  Nick Clifton  <nickc@redhat.com>
1677         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1678         Add crtinit.o and crtfini.o to extra_parts.
1680 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1682         * config/rs6000/_divkc3.c: New.
1683         * config/rs6000/_mulkc3.c: New.
1684         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1685         and _divkc3.
1686         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1687         fp128_ppc_funcs.
1689 2016-07-11  Hale Wang  <hale.wang@arm.com>
1690             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1692         * config/arm/lib1funcs.S: Add new wrapper.
1694 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1696         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1698 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1700         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1701         and ARMv5t* rather than for a fixed list of architectures.
1703 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1705         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1706         implementation suitable for.
1707         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1708         for all Thumb-1 only targets.
1709         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1710         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1711         __ARM_ARCH_6M__.
1712         (EQUIV): Likewise.
1713         (ARM_FUNC_ALIAS): Likewise.
1714         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1715         version.
1716         (modsi3): Likewise.
1717         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1718         (clzdi2): Likewise.
1719         (ctzsi2): Likewise.
1720         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1721         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1722         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1723         __ARM_ARCH_6M__ and add comment to indicate the connection between
1724         this condition and the one in gcc/config/arm/elf.h.
1725         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1726         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1727         * config/arm/t-softfp: Likewise.
1729 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1731         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1732         CTOR_LISTS_DEFINED_EXTERNALLY.
1734 2016-06-28  Walter Lee  <walt@tilera.com>
1736         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1737         asm/unistd.h.
1738         (SPR_CMPEXCH_VALUE): Define for tilegx.
1739         (__NR_FAST_cmpxchg): Define for tilepro.
1740         (__NR_FAST_atomic_update): Define for tilepro.
1741         (__NR_FAST_cmpxchg64): Define for tilepro.
1743 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1745         * config.host: Add suport for arm*-*-phoenix* targets.
1747 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1749         * config.host: Remove support for mep-*.
1750         * config/mep/lib1funcs.S: Remove.
1751         * config/mep/lib2funcs.c: Remove.
1752         * config/mep/t-mep: Remove.
1753         * config/mep/tramp.c: Remove.
1755 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1757         * config.host: Remove support for avr-rtems.
1758         * config/avr/t-rtems: Remove.
1760 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1762         * config.host: Remove m32r-rtems support.
1764 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1766         * config.host: Remove h8300-rtems support.
1768 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1770         * config.host: Remove support for knetbsd.
1772 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1774         * config.host: Remove support for openbsd 2 and 3.
1776 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1778         * config.host: Remove interix support.
1779         * config/i386/t-interix: Remove.
1781 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1783         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1784         least-significant bit in function pointer for fixup.
1786 2016-06-05  Aaron Conole  <aconole@redhat.com>
1787             Nathan Sidwell  <nathan@acm.org>
1789         PR libgcc/71400
1790         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1791         (get_gcov_error_file): Check __gcov_error_file before trying to
1792         initialize it.
1793         (gcov_error): Always use get_gcov_error_file.
1795 2016-06-02  Aaron Conole  <aconole@redhat.com>
1797         * libgcov-driver-system.c (__gcov_error_file): New.
1798         (get_gcov_error_file): New.
1799         (gcov_error): Use and set __gcov_error_file.
1800         (gcov_error_exit): New.
1801         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1803 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1805         * config/nvptx/free.asm: Delete.
1806         * config/nvptx/malloc.asm: Delete.
1807         * config/nvptx/realloc.c: Delete.
1808         * t-nvptx: Update.
1810 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1812         * config/nvptx/crt0.s: Delete.
1813         * config/nvptx/crt0.c: New.
1814         * t-nvptx: Update.
1816 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1818         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1819         dw2/seh configuration.
1820         [x86_64-*-mingw*]: Likewise.
1822 2016-05-10  Joel Sherrill <joel@rtems.org>
1824         PR libgcc/70720
1825         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1826         targets so the same extra_parts are built.  Also have tmake_file add
1827         on to its value rather than override.
1829 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1831         * config.host: Remove SH5 support.
1832         * configure: Likewise.
1834 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1836         * config/sh/crt1.S: Remove SH5 support.
1837         * config/sh/crti.S: Likewise.
1838         * config/sh/crtn.S: Likewise.
1839         * config/sh/lib1funcs-4-300.S: Likewise.
1840         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1841         * config/sh/lib1funcs.S: Likewise.
1842         * config/sh/linux-unwind.h: Likewise.
1843         * config/sh/t-sh64: Delete.
1845 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1847         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1849 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1850             Joern Rennecke  <joern.rennecke@embecosm.com>
1852         * config/arc/crttls.S: New file.
1853         * config/arc/t-arc: New rule.
1854         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1856 2016-04-25  Nick Clifton  <nickc@redhat.com>
1858         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1859         (__mspabi_cmpd): Likewise.
1860         * config/msp430/floathidf.c (__floathidf): Likewise.
1861         * config/msp430/floathisf.c (__floathisf): Likewise
1862         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1863         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1864         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1865         second parameter.
1866         (__ashrsi3): Likewise.
1868 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1870         * config/m68k/linux-atomic.c: Do not include unistd.h
1872 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1874         * config/arm/ieee754-df.S: Fix typos in comments.
1876 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1878         PR target/70381
1879         * configure.ac (powerpc*-*-linux*): Rework tests to build
1880         __float128 emulation routines to not depend on using #pragma GCC
1881         target to enable -mfloat128.
1882         * configure: Regnerate.
1884 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1886         PR target/67172
1887         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1888         __MINGW32__ is defined.
1890 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1892         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1894 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1896         PR libgcc/70363
1897         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1898         built with an assembler that does not support ISA 3.0
1899         instructions, rename __extendkftf2_sw to __extendkftf2.
1901 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1903         PR target/38239
1904         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1905         call-clobbered registers.
1906         (internal_mcount): Remove __i386__ handling.
1908 2016-02-26  Joel Sherrill <joel@rtems.org>
1910         * config.host: Add x86_64-*-rtems*.
1912 2016-02-26  Joel Sherrill <joel@rtems.org>
1914         * libgcc/config.host: Add aarch64-*-rtems*.
1916 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1917             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1919         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1920         union of u64 and double.
1921         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1922         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1923         value.
1924         (FP_ROUNDMODE): Update the usage of _fpscr.
1926 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1928         PR driver/68463
1929         * Makefile.in (crtoffloadtable$(objext)): New rule.
1930         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1931         enable_offload_targets is not empty.
1932         * configure: Regenerate.
1933         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1934         crtoffloadtable.
1936 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1938         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1939         .literal_position before the function.
1940         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1941         Likewise.
1943 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
1945         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1946         * config/s390/morestack.S: New file.
1947         * config/s390/t-stack-s390: New file.
1948         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1950 2016-02-12  Walter Lee  <walt@tilera.com>
1952         * config.host (tilegx*-*-linux*): remove ti from
1953         softfp_int_modes for 32-bit configs.
1955 2016-02-10  Ian Lance Taylor  <iant@google.com>
1957         PR go/68562
1958         * config/i386/morestack.S (__stack_split_initialize): Align
1959         stack.
1961 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
1963         PR bootstrap/69611
1964         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1965         __FLOAT128__ to compile only for __float128 capable targets.
1967 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
1969         PR target/69444
1970         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1971         instead of ___NO_FPRS__.
1973 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
1974             Steven Munroe  <munroesj@linux.vnet.ibm.com>
1975             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
1977         * config/rs6000/float128-sed: New files to convert TF names to KF
1978         names for PowerPC IEEE 128-bit floating point support.
1979         * config/rs6000/float128-sed-hw: Likewise.
1981         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1982         floating point hardware support.
1984         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1985         128-bit floating point software emulation or use ISA 3.0 hardware
1986         support if it is available.
1988         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1989         floating point.
1991         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1992         floating point to IBM extended double.
1994         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1995         double to IEEE 128-bit floating point.
1997         * config/rs6000/t-float128: New Makefile fragments to enable
1998         building __float128 emulation support.
1999         * config/rs6000/t-float128-hw: Likewise.
2001         * config/rs6000/sfp-exceptions.c: New file to provide exception
2002         support for IEEE 128-bit floating point.
2004         * config/rs6000/floattikf.c: New files for converting between IEEE
2005         128-bit floating point and signed/unsigned 128-bit integers.
2006         * config/rs6000/fixunskfti.c: Likewise.
2007         * config/rs6000/fixkfti.c: Likewise.
2008         * config/rs6000/floatuntikf.c: Likewise.
2010         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2011         when building on 64-bit systems, or when VSX is enabled.
2012         (_FP_W_TYPE): Likewise.
2013         (_FP_WS_TYPE): Likewise.
2014         (_FP_I_TYPE): Likewise.
2015         (TItype): Define on 64-bit systems.
2016         (UTItype): Likewise.
2017         (TI_BITS): Likewise.
2018         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2019         (_FP_MUL_MEAT_Q): Likewise.
2020         (_FP_DIV_MEAT_D): Likewise.
2021         (_FP_DIV_MEAT_Q): Likewise.
2022         (_FP_NANFRAC_D): Likewise.
2023         (_FP_NANFRAC_Q): Likewise.
2024         (ISA_BIT): Add exception support if we are being compiled on a
2025         machine with hardware floating point support to build the IEEE
2026         128-bit emulation functions.
2027         (FP_EX_INVALID): Likewise.
2028         (FP_EX_OVERFLOW): Likewise.
2029         (FP_EX_UNDERFLOW): Likewise.
2030         (FP_EX_DIVZERO): Likewise.
2031         (FP_EX_INEXACT): Likewise.
2032         (FP_EX_ALL): Likewise.
2033         (__sfp_handle_exceptions): Likewise.
2034         (FP_HANDLE_EXCEPTIONS): Likewise.
2035         (FP_RND_NEAREST): Likewise.
2036         (FP_RND_ZERO): Likewise.
2037         (FP_RND_PINF): Likewise.
2038         (FP_RND_MINF): Likewise.
2039         (FP_RND_MASK): Likewise.
2040         (_FP_DECL_EX): Likewise.
2041         (FP_INIT_ROUNDMODE): Likewise.
2042         (FP_ROUNDMODE): Likewise.
2044         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2045         VSX code, enable IEEE 128-bit floating point.  If the compiler can
2046         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2047         floating point hardware instructions and it supports declaring
2048         functions with the ifunc attribute, enable ifunc functions to
2049         switch between software and hardware support.
2050         * configure.ac (powerpc*-*-linux*): Likewise.
2051         * configure: Regenerate.
2053 2016-01-15  Nick Clifton  <nickc@redhat.com>
2055         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2056         dependency as the source file to be compiled.
2057         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2058         (lib2hw_mul_f5.o): Likewise.
2060 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2062         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2063         * libgcc/config/rs6000/fixkfti.c: Likewise.
2064         * libgcc/config/rs6000/fixunskfti.c: Likewise.
2065         * libgcc/config/rs6000/float128-hw.c: Likewise.
2066         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2067         * libgcc/config/rs6000/float128-sed: Likewise.
2068         * libgcc/config/rs6000/floattikf.c: Likewise.
2069         * libgcc/config/rs6000/floatuntikf.c: Likewise.
2070         * libgcc/config/rs6000/quad-float128.h: Likewise.
2071         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2072         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2073         * libgcc/config/rs6000/t-float128: Likewise.
2074         * libgcc/config/rs6000/t-float128-hw: Likewise.
2075         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2076         * libgcc/config.host: Likewise.
2077         * libgcc/configure: Likewise.
2078         * libgcc/configure.ac: Likewise.
2080 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2081             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2082             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2084         * config/rs6000/sfp-exceptions.c: New file to provide exception
2085         support for IEEE 128-bit floating point.
2087         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2088         floating point hardware support.
2090         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2091         point conversions.
2092         * config/rs6000/fixunskfti.c: Likewise.
2093         * config/rs6000/fixkfti.c: Likewise.
2094         * config/rs6000/floatuntikf.c: Likewise.
2095         * config/rs6000/extendkftf2-sw.c: Likewise.
2096         * config/rs6000/trunctfkf2-sw.c: Likewise.
2098         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2099         128-bit floating point software emulation or use ISA 3.0 hardware
2100         support if it is available.
2102         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2103         floating point.
2105         * config/rs6000/t-float128: New Makefile fragments to enable
2106         building __float128 emulation support.
2107         * config/rs6000/t-float128-hw: Likewise.
2109         * config/rs6000/float128-sed: New file to convert TF names to KF
2110         names for PowerPC IEEE 128-bit floating point support.
2112         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2113         when building on 64-bit systems, or when VSX is enabled.
2114         (_FP_W_TYPE): Likewise.
2115         (_FP_WS_TYPE): Likewise.
2116         (_FP_I_TYPE): Likewise.
2117         (TItype): Define on 64-bit systems.
2118         (UTItype): Likewise.
2119         (TI_BITS): Likewise.
2120         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2121         (_FP_MUL_MEAT_Q): Likewise.
2122         (_FP_DIV_MEAT_D): Likewise.
2123         (_FP_DIV_MEAT_Q): Likewise.
2124         (_FP_NANFRAC_D): Likewise.
2125         (_FP_NANFRAC_Q): Likewise.
2126         (ISA_BIT): Add exception support if we are being compiled on a
2127         machine with hardware floating point support to build the IEEE
2128         128-bit emulation functions.
2129         (FP_EX_INVALID): Likewise.
2130         (FP_EX_OVERFLOW): Likewise.
2131         (FP_EX_UNDERFLOW): Likewise.
2132         (FP_EX_DIVZERO): Likewise.
2133         (FP_EX_INEXACT): Likewise.
2134         (FP_EX_ALL): Likewise.
2135         (__sfp_handle_exceptions): Likewise.
2136         (FP_HANDLE_EXCEPTIONS): Likewise.
2137         (FP_RND_NEAREST): Likewise.
2138         (FP_RND_ZERO): Likewise.
2139         (FP_RND_PINF): Likewise.
2140         (FP_RND_MINF): Likewise.
2141         (FP_RND_MASK): Likewise.
2142         (_FP_DECL_EX): Likewise.
2143         (FP_INIT_ROUNDMODE): Likewise.
2144         (FP_ROUNDMODE): Likewise.
2146         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2147         compiler can do __float128.
2148         * configure: Regenerate.
2150         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2151         VSX code, enable IEEE 128-bit floating point.
2153 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2155         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2156         specificities.
2158 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2160         Update copyright years.
2162 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2164         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2165         soft-fp targets.
2167 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2169         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2170         instead of abort to avoid dependency on stdlib.h.
2172 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2174         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2175         to initialize call to __dl_fixup once.
2177 2015-12-04  Nick Clifton  <nickc@redhat.com>
2179         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2180         Allow for the second argument being negative.
2181         * config.host (extra_parts): Define for MSP430.  Create separate
2182         libraries for each of the hardware multiply formats.
2183         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2184         that are needed.
2185         * config/msp430/lib2mul.c: Likewise.
2186         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2187         Add rules to build hardware multiply libraries.
2188         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2189         __mspabi_divul function.
2190         (__mspabi_divllu): New stub function.
2192 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2194         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2195         fixup values if saved GOT address doesn't match runtime address.
2196         (fixup_branch_offset): Reorder list.
2198 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2200         * Makefile.in (VTV_CFLAGS): New variable.
2201         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2202         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2203         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2204         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2205         to extra_parts if $enable_vtable_verify = yes.
2207 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2209         PR target/68059
2210         * config/arm/linux-atomic-64bit.c (__write): Rename to...
2211         (write): ...this and fix the return type.
2213 2015-11-19  DJ Delorie  <dj@redhat.com>
2215         * config/msp430/lib2hw_mul.S: Fix alignment.
2217 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
2219         * config/nvptx/reduction.c: New.
2220         * config/nvptx/t-nvptx (LIB2ADD): Add it.
2222 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
2224         * config/rs6000/on_exit.c: New file.
2225         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2226         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2228 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
2230         * config/arc/dp-hack.h: Add support for ARCHS.
2231         * config/arc/ieee-754/divdf3.S: Likewise.
2232         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2233         * config/arc/ieee-754/muldf3.S: Likewise.
2234         * config/arc/ieee-754/mulsf3.S: Likewise
2235         * config/arc/lib1funcs.S: Likewise
2236         * config/arc/gmon/dcache_linesz.S: Don't read the build register
2237         for ARCv2 cores.
2238         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2239         for ARCv2 cores.
2240         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2241         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2242         cores.
2244 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2246         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2247         value.
2248         * config/ia64/crtend.S: Likewise.
2250 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2252         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2253         __CHAR_BIT__ instead of BITS_PER_UNIT.
2254         * fixed-bit.h: Likewise.
2255         * fp-bit.h: Likewise.
2256         * libgcc2.c (__popcountSI2): Likewise.
2257         (__popcountDI2): Likewise.
2258         * libgcc2.h: Likewise.
2259         * libgcov.h: Likewise.
2261 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
2263         * config/rs6000/atexit.c: New file.
2264         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2265         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2266         * config/rs6000/cxa_finalize.c
2267         (catomic_compare_and_exchange_bool_acq): Negate return value.
2269 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2271         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2272         (processor_subtypes): Add znver1.
2273         (get_amd_cpu): Detect znver1.
2275 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
2277         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2278         Include crtfastmath.o.
2280 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
2282         PR libgcc/66883
2283         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2285 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
2287         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2288         * config/rl78/divmodsi.S: Update return register to r8.
2289         * config/rl78/divmodhi.S: Update return register to r8,r9.
2290         Branch to main_loop_done_himode to pop registers before return.
2292 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2294         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2295         (__cpu_indicator_init): Fix model selection for AMD CPUs.
2297 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
2299         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2301 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
2303         * config.host (xtensa*-*-uclinux*): New configuration.
2305 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
2307         * config/i386/cpuinfo.c (processor_features): Add
2308         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2310 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2312         * soft-fp/adddf3.c: Update from glibc.
2313         * soft-fp/addsf3.c: Likewise.
2314         * soft-fp/addtf3.c: Likewise.
2315         * soft-fp/divdf3.c: Likewise.
2316         * soft-fp/divsf3.c: Likewise.
2317         * soft-fp/divtf3.c: Likewise.
2318         * soft-fp/double.h: Likewise.
2319         * soft-fp/eqdf2.c: Likewise.
2320         * soft-fp/eqsf2.c: Likewise.
2321         * soft-fp/eqtf2.c: Likewise.
2322         * soft-fp/extenddftf2.c: Likewise.
2323         * soft-fp/extended.h: Likewise.
2324         * soft-fp/extendsfdf2.c: Likewise.
2325         * soft-fp/extendsftf2.c: Likewise.
2326         * soft-fp/extendxftf2.c: Likewise.
2327         * soft-fp/fixdfdi.c: Likewise.
2328         * soft-fp/fixdfsi.c: Likewise.
2329         * soft-fp/fixdfti.c: Likewise.
2330         * soft-fp/fixsfdi.c: Likewise.
2331         * soft-fp/fixsfsi.c: Likewise.
2332         * soft-fp/fixsfti.c: Likewise.
2333         * soft-fp/fixtfdi.c: Likewise.
2334         * soft-fp/fixtfsi.c: Likewise.
2335         * soft-fp/fixtfti.c: Likewise.
2336         * soft-fp/fixunsdfdi.c: Likewise.
2337         * soft-fp/fixunsdfsi.c: Likewise.
2338         * soft-fp/fixunsdfti.c: Likewise.
2339         * soft-fp/fixunssfdi.c: Likewise.
2340         * soft-fp/fixunssfsi.c: Likewise.
2341         * soft-fp/fixunssfti.c: Likewise.
2342         * soft-fp/fixunstfdi.c: Likewise.
2343         * soft-fp/fixunstfsi.c: Likewise.
2344         * soft-fp/fixunstfti.c: Likewise.
2345         * soft-fp/floatdidf.c: Likewise.
2346         * soft-fp/floatdisf.c: Likewise.
2347         * soft-fp/floatditf.c: Likewise.
2348         * soft-fp/floatsidf.c: Likewise.
2349         * soft-fp/floatsisf.c: Likewise.
2350         * soft-fp/floatsitf.c: Likewise.
2351         * soft-fp/floattidf.c: Likewise.
2352         * soft-fp/floattisf.c: Likewise.
2353         * soft-fp/floattitf.c: Likewise.
2354         * soft-fp/floatundidf.c: Likewise.
2355         * soft-fp/floatundisf.c: Likewise.
2356         * soft-fp/floatunditf.c: Likewise.
2357         * soft-fp/floatunsidf.c: Likewise.
2358         * soft-fp/floatunsisf.c: Likewise.
2359         * soft-fp/floatunsitf.c: Likewise.
2360         * soft-fp/floatuntidf.c: Likewise.
2361         * soft-fp/floatuntisf.c: Likewise.
2362         * soft-fp/floatuntitf.c: Likewise.
2363         * soft-fp/gedf2.c: Likewise.
2364         * soft-fp/gesf2.c: Likewise.
2365         * soft-fp/getf2.c: Likewise.
2366         * soft-fp/ledf2.c: Likewise.
2367         * soft-fp/lesf2.c: Likewise.
2368         * soft-fp/letf2.c: Likewise.
2369         * soft-fp/muldf3.c: Likewise.
2370         * soft-fp/mulsf3.c: Likewise.
2371         * soft-fp/multf3.c: Likewise.
2372         * soft-fp/negdf2.c: Likewise.
2373         * soft-fp/negsf2.c: Likewise.
2374         * soft-fp/negtf2.c: Likewise.
2375         * soft-fp/op-1.h: Likewise.
2376         * soft-fp/op-2.h: Likewise.
2377         * soft-fp/op-4.h: Likewise.
2378         * soft-fp/op-8.h: Likewise.
2379         * soft-fp/op-common.h: Likewise.
2380         * soft-fp/quad.h: Likewise.
2381         * soft-fp/single.h: Likewise.
2382         * soft-fp/soft-fp.h: Likewise.
2383         * soft-fp/subdf3.c: Likewise.
2384         * soft-fp/subsf3.c: Likewise.
2385         * soft-fp/subtf3.c: Likewise.
2386         * soft-fp/truncdfsf2.c: Likewise.
2387         * soft-fp/trunctfdf2.c: Likewise.
2388         * soft-fp/trunctfsf2.c: Likewise.
2389         * soft-fp/trunctfxf2.c: Likewise.
2390         * soft-fp/unorddf2.c: Likewise.
2391         * soft-fp/unordsf2.c: Likewise.
2392         * soft-fp/unordtf2.c: Likewise.
2394 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
2396         PR libgcc/67624
2397         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2399 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2401         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2402         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2403         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2404         messages.
2405         (internal_mcount): Likewise.
2406         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2407         crt_compile, add CRTSTUFF_T_CFLAGS_S.
2409 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2411         * configure.ac (libgcc_cv_solaris_crts): New test.
2412         * configure: Regenerate.
2413         * config.in: Regenerate.
2414         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2415         * config/gmon-sol2.c: Rename to ...
2416         * config/sol2/gmon.c: ... this.
2417         Include auto-target.h.
2418         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2419         * config/t-sol2: Rename to ...
2420         * config/sol2/t-sol2: ... this.
2421         (gmon.o): Reflect renaming.
2422         (crtp.o, crtpg.o): New rules.
2423         * config.host (*-*-solaris2*): Reflect renaming.
2424         Use system CRTs if present.
2425         Remove default CRT case.
2427 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
2429         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2430         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2431         __kernel_cmpxchg2.
2432         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2433         (__sync_val_compare_and_swap_##WIDTH): Likewise.
2434         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2435         (__sync_lock_test_and_set_##WIDTH): Likewise.
2436         (__sync_lock_release_##WIDTH): Likewise.
2437         (__sync_fetch_and_##OP##_4): Change result to match type of
2438         __kernel_cmpxchg.
2439         (__sync_##OP##_and_fetch_4): Likewise.
2440         (__sync_val_compare_and_swap_4): Likewise.
2441         (__sync_bool_compare_and_swap_4): likewise.
2442         (__sync_lock_test_and_set_4): Likewise.
2443         (__sync_lock_release_4): Likewise.
2444         (FETCH_AND_OP_2): Add long long variants.
2445         (OP_AND_FETCH_2): Likewise.
2446         (COMPARE_AND_SWAP_2 ): Likewise.
2447         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2448         (SYNC_LOCK_RELEASE_2): Likewise.
2449         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2451 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2453         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2454         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2455         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2456         (get_available_features): Habdle new features.
2458 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2460         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2461         memory layout. Deal correctly with BSS region larger than 32K.
2462         Handle a watchdog reset like a power-on reset. Clean up unused
2463         code.
2465 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2466             David Edelsohn  <dje.gcc@gmail.com>
2468         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2469         * config/rs6000/crtdbase.S: New file.
2470         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2472 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2474         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2475         Add support for call0 ABI.
2477 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2479         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2481 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2483         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2484         (__GTHREAD_HAS_COND): Likewise.
2485         (__gthread_t): Likewise.
2486         (__gthread_cond_t): Likewise.
2487         (__gthread_time_t): Likewise.
2488         (__GTHREAD_MUTEX_INIT): Likewise.
2489         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2490         (__GTHREAD_COND_INIT): Likewise.
2491         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2492         (__GTHREAD_TIME_INIT): Likewise.
2493         (__gthread_create): Likewise.
2494         (__gthread_join): Likewise.
2495         (__gthread_detach): Likewise.
2496         (__gthread_equal): Likewise.
2497         (__gthread_self): Likewise.
2498         (__gthread_yield): Likewise.
2499         (__gthread_cond_broadcast): Likewise.
2500         (__gthread_cond_signal): Likewise.
2501         (__gthread_cond_wait): Likewise.
2502         (__gthread_cond_timedwait): Likewise.
2503         (__gthread_cond_wait_recursive): Likewise.
2504         (__gthread_cond_destroy): Likewise.
2505         (rtems_gxx_once): Delete.
2506         (rtems_gxx_key_create): Likewise.
2507         (rtems_gxx_key_delete): Likewise.
2508         (rtems_gxx_getspecific): Likewise.
2509         (rtems_gxx_setspecific): Likewise.
2510         (rtems_gxx_mutex_init): Likewise.
2511         (rtems_gxx_mutex_destroy): Likewise.
2512         (rtems_gxx_mutex_lock): Likewise.
2513         (rtems_gxx_mutex_trylock): Likewise.
2514         (rtems_gxx_mutex_unlock): Likewise.
2515         (rtems_gxx_recursive_mutex_init): Likewise.
2516         (rtems_gxx_recursive_mutex_lock): Likewise.
2517         (rtems_gxx_recursive_mutex_trylock): Likewise.
2518         (rtems_gxx_recursive_mutex_unlock): Likewise.
2519         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2520         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2521         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2522         (__gthread_once): Likewise.
2523         (__gthread_key_create): Likewise.
2524         (__gthread_key_delete): Likewise.
2525         (__gthread_getspecific): Likewise.
2526         (__gthread_setspecific): Likewise.
2527         (__gthread_key_t): Use <pthread.h> type.
2528         (__gthread_once_t): Likewise
2529         (__gthread_mutex_t): Use <sys/lock.h> type.
2530         (__gthread_recursive_mutex_t): Likewise
2531         (__gthread_mutex_lock): Use <sys/lock.h> function.
2532         (__gthread_mutex_trylock): Likewise.
2533         (__gthread_mutex_timedlock): Likewise.
2534         (__gthread_mutex_unlock): Likewise.
2535         (__gthread_mutex_destroy): Likewise.
2536         (__gthread_recursive_mutex_lock): Likewise.
2537         (__gthread_recursive_mutex_trylock): Likewise.
2538         (__gthread_recursive_mutex_timedlock): Likewise.
2539         (__gthread_recursive_mutex_unlock): Likewise.
2540         (__gthread_recursive_mutex_destroy): Likewise.
2542 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2544         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2545         context->sp instead of context->cfa.
2547 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2549         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2550         with unwind-dw2-fde-dip.
2552 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2554         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2555         CALL12 followed by series of ENTRY to spill windowed registers.
2556         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2557         instead of making linux spill syscall.
2559 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2561         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2562         (get_intel_cpu): Likewise.
2564 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2566         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2567         (get_intel_cpu): Add Knights Landing support.
2569 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2571         PR target/66954
2572         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2573         (get_available_features): Handle FEATURE_PCLMUL.
2575 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2577         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2578         Broadwell.
2580 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2582         PR target/66954
2583         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2584         (get_available_features): Handle FEATURE_AES.
2586 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2588         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2589         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2591 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2593         * offloadstuff.c: Constify host data.
2595 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2597         * config/t-softfp: Split up "else ifneq".
2599 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2600             Cesar Philippidis  <cesar@codesourcery.com>
2601             Chung-Lin Tang  <cltang@codesourcery.com>
2603         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2604         for __nios2_arch__ level.
2606 2015-07-13  John Marino  <gnugcc@marino.st>
2608         * config/i386/t-dragonfly: New.
2610 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2612         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2613         better match light-weight syscall argument order.
2614         (__kernel_cmpxchg2): Likewise.
2615         Adjust callers.
2617 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2619         * config.host: Support i[34567]86-*-elfiamcu target.
2620         * config/t-softfp-sfdftf: New file.
2621         * config/i386/32/t-iamcu: Likewise.
2622         * configure: Regenerated.
2624 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2626         libgcc/config/arm/
2627         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2629 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2631         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2633 2015-05-27  John Marino  <gnugcc@marino.st>
2635         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2636         md_unwind_header
2637         * config/i386/freebsd-unwind.h: New.
2639 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2641         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2642         i386/t-crtfm to tmake_file.
2643         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2644         (set_fast_math): Use set_fast_math_sse for SSE targets.
2645         * config/i386/t-crtfm: Remove.
2647 2015-05-21  Alan Modra  <amodra@gmail.com>
2649         PR libgcc/66225
2650         * config/rs6000/morestack.S: Remove ".abiversion 1".
2652 2015-05-20  Alan Modra  <amodra@gmail.com>
2654         * config/rs6000/morestack.S: New.
2655         * config/rs6000/t-stack-rs6000: New.
2656         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2657         to tmake_file.
2658         * generic-morestack.c: Don't build for powerpc 32-bit.
2660 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2662         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2663         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2665 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2667         * config.host: FT32 target added.
2668         * config/ft32/*: New files for FT32 target.
2670 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2672         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2673         New macros.
2674         * config/arm/ieee754-df.S: Add CFI directives.
2675         * config/arm/ieee754-sf.S: Add CFI directives.
2677 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2679         * configure.ac: Include config/sjlj.m4.
2680         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2681         * config.in: Regenerate.
2682         * configure: Likewise.
2683         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2685 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2687         * libgcov-util.c: Add space between string literal and macro name.
2689 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2690             Chris Jones  <chrisj@nvidia.com>
2691             Joshua Conner  <jconner@nvidia.com>
2693         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2694         (arm*-*-uclinux*): Likewise.
2695         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2696         * config/arm/crtfastmath.c: New file.
2698 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2700         * Makefile.in (real_host_noncanonical): New variable.
2701         (libsubdir): Use it.
2702         * configure.ac (real_host_noncanonical): Compute.  Remove special
2703         case for intelmicemul.
2704         * configure: Regenerate.
2706 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2708         * config/frv/elf-lib.h: New file.
2709         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2710         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2711         to tm_file.
2713 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2715         * config/frv/frvbengin.c: Do not include defaults.h
2716         * config/frv/frvend.c: Ditto.
2718 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2720         * config.host: Add h8300-*-linux
2721         * config/h8300/t-linux: New file.
2722         * config/h8300/lib1funs.s: Change symbol prefix.
2723         * config/h8300/sfp-machine.h: 64bit double support.
2725 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2726             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2728         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2729         Linux if target provides dl_iterate_phdr.
2731 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2733         PR target/65612
2734         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2735         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2736         (__cpu_indicator_init@GCC_4.8.0): New.
2737         (__cpu_model@GCC_4.8.0): Likewise.
2738         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2739         -DUSE_ELF_SYMVER.
2741 2015-04-16  Nick Clifton  <nickc@redhat.com>
2743         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2744         and __modhi3 functions.
2745         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2746         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2748 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2750         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2751         do-while loop as macro body to avoid warnings.
2753 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2754             Iain Sandoe  <iain@codesourcery.com>
2756         PR target/65351
2757         * configure: Regenerate.
2759 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2760             Iain Sandoe  <iain@codesourcery.com>
2762         PR target/65351
2763         * configure: Regenerate.
2765 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2767         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2769 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2771         Implement call0 ABI for xtensa
2772         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2773         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2774         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2775         use ret in call0 ABI.
2776         * config/xtensa/t-windowed: New file.
2777         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2778         * libgcc/configure: Regenerated.
2779         * libgcc/configure.ac: Check if xtensa target is configured for
2780         windowed ABI and thus needs to use custom unwind code.
2782 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2784         PR libgcc/64885
2785         * gthr-single.h: Use __unused__ attribute instead of unused.
2786         * config/gthr-vxworks.h: Likewise.
2787         * config/i386/gthr-win32.h: Likewise.
2789 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2791         PR target/65038
2792         * config.in: Regenerated.
2793         * configure: Likewise.
2794         * configure.ac (AC_HEADER_STDC): Added explicit.
2795         (AC_CHECK_HEADERS): Check for default headers  plus
2796         for ftw.h header.
2797         * libgcov-util.c (gcov_read_profile_dir): Disable use
2798         of ftw-function, if header is not found.
2799         (ftw_read_file): Likewise.
2801 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2803         PR target/65181
2804         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2805         -Dinhibit_libc.
2807 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2809         * config/arm/bpabi.S (test_div_by_zero): Make label names
2810         consistent between thumb2 and arm mode cases.  Separate the
2811         signed comparison on the high word of the numerator from the
2812         unsigned comparison on the low word.
2813         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2814         signed comparison.
2816 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2818         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2819         and <string.h>.
2820         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2822 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2824         PR gcov-profile/61889
2825         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2827 2015-02-02  Nick Clifton  <nickc@redhat.com>
2829         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2830         rounding up the fraction.
2832 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2834         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2835         oldval and newval to const void *.  Fix typo.
2836         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2837         (FETCH_AND_OP_WORD): Likewise.
2838         (OP_AND_FETCH_WORD): Likewise.
2839         (COMPARE_AND_SWAP_2): Likewise.
2840         (__sync_val_compare_and_swap_4): Likewise.
2841         (__sync_lock_test_and_set_4): Likewise.
2842         (SYNC_LOCK_RELEASE_2): Likewise.
2843         Remove support for long long atomic operations.
2845 2015-01-27  Caroline Tice  <cmtice@google.com>
2847         Committing VTV Cywin/Ming patch for Patrick Wollgast
2848         * Makefile.in: Move rules to build vtv_*.o out of the check
2849         for CUSTOM_CRTSTUFF.
2850         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2851         i[34567]86-*-mingw*)
2852          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2853         enable_vtable_verify.
2855 2015-01-27  Nick Clifton  <nickc@redhat.com>
2857         * config/rl78/cmpsi2.S: Use function start and end macros.
2858         (__gcc_bcmp): New function.
2859         * config/rl78/lshrsi3.S: Use function start and end macros.
2860         * config/rl78/mulsi3.S: Add support for G10.
2861         (__mulqi3): New function for G10.
2862         * config/rl78/signbit.S: Use function start and end macros.
2863         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2864         fpmath-sf.S.
2865         (LIB2FUNCS_EXCLUDE): Define.
2866         (LIB2FUNCS_ST): Define.
2867         * config/rl78/trampoline.S: Use function start and end macros.
2868         * config/rl78/vregs.h (START_FUNC): New macro.
2869         (START_ANOTHER_FUNC): New macro.
2870         (END_FUNC): New macro.
2871         (END_ANOTHER_FUNC): New macro.
2872         * config/rl78/bit-count.S: New file.  Contains assembler
2873         implementations of the bit counting functions: ___clzhi2,
2874         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2875         __paritysi2, __popcounthi2 and __popcountsi2.
2876         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2877         implementationas of the math functions: __negsf2, __cmpsf2,
2878         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2879         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2880         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2881         implementations of the math functions: __subsf3, __addsf3,
2882         __mulsf3 and __divsf3
2884 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2886         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2887         Add i386/elf-lib.h to tm_file.
2888         * config/i386/elf-lib.h: Fix comment.
2889         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2890         && __sun__ && __svr4__]: Remove workaround.
2892 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2894         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2895         FEATURE_BMI2.
2896         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2898 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2900         * config/i386/cpuinfo.c (processor_subtypes): Add
2901         INTEL_COREI7_BROADWELL.
2902         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2903         model numbers.
2905 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2907         * config/i386/elf-lib.h: New file.
2908         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2909         Wrap definition in #ifdef __i386__.
2910         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2911         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2912         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2913         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2914         to tm_file.
2916 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2918         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2919         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2921 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2923         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2924         Update rt_sigframe format and address for current Nios II
2925         Linux conventions.
2927 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2929         * config.host (arm*-*-freebsd*): Add new configuration for
2930         arm*-*-freebsd*.
2931         * config/arm/freebsd-atomic.c: New file.
2932         * config/arm/t-freebsd: Likewise.
2933         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2934         'PC-relative indirect' OS's.
2936 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2938         * config.host: Add Visium support.
2939         * config/visium: New directory.
2941 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2943         Update copyright years.
2945 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2947         * config.host: Support mipsisa32r6 and mipsisa64r6.
2948         * config/mips/mips16.S: Do not build for R6.
2950 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2952         * config/sh/crt.h: New.
2953         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2954         symbols.
2955         * config/sh/crt1.S: Likewise.
2957 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
2959         PR libgcc/63832
2960         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2961         func_ptr *dtor_list temporary variable to avoid "array subscript
2962         is above array bounds" warnings.
2964 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
2966         * Makefile.in (with_aix_soname): Define.
2967         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2968         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2969         * configure: Recreate.
2971 2014-12-05  Olivier Hainque  <hainque@adacore.com>
2973         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2974         now provided by defaults.h.
2976 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
2978         PR target/55351
2979         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2980         whether it's defined.
2982 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
2984         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2985         * config/i386/cpuinfo.c (get_available_features): Detect it.
2987 2014-11-27  Tony Wang  <tony.wang@arm.com>
2989         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2990         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2991         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2993 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
2995         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2997 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
2999         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3000         instead.
3002 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3003             John David Anglin  <danglin@gcc.gnu.org>
3005         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3006         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
3007         (OP_AND_FETCH_2): Likewise.
3008         (COMPARE_AND_SWAP_2): Likewise.
3009         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3010         (SYNC_LOCK_RELEASE_2): Likewise.
3011         (SUBWORD_SYNC_OP): Remove.
3012         (SUBWORD_VAL_CAS): Likewise.
3013         (SUBWORD_BOOL_CAS): Likewise.
3014         (FETCH_AND_OP_WORD): Update.
3015         Consistently use signed types.
3017 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
3018             Thomas Schwinge  <thomas@codesourcery.com>
3019             Ilya Verbin  <ilya.verbin@intel.com>
3020             Andrey Turetskiy  <andrey.turetskiy@intel.com>
3022         * Makefile.in (crtoffloadbegin$(objext)): New rule.
3023         (crtoffloadend$(objext)): Likewise.
3024         * configure: Regenerate.
3025         * configure.ac (accel_dir_suffix): Compute new variable.
3026         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3027         if enable_offload_targets is not empty.
3028         * offloadstuff.c: New file.
3030 2014-11-13  Nick Clifton  <nickc@redhat.com>
3032         * config/rl78/divmodhi.S: Add support for the G10 architecture.
3033         Use START_FUNC and END_FUNC macros to enable linker garbage
3034         collection.
3035         * config/rl78/divmodqi.S: Likewise.
3036         * config/rl78/divmodsi.S: Likewise.
3037         * config/rl78/mulsi3.S: Likewise.
3038         * config/rl78/lib2div.c: Remove G10 functions.
3039         * config/rl78/lib2muls.c: Likewise.
3040         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3041         * config/rl78/vregs.h (START_FUNC): New macro.
3042         (END_FUNC): New macro.
3044 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
3046         * config/mips/mips16.S: Set .module when supported.  Update O32
3047         FP64 calling convention and use for FPXX when possible.  Add FPXX
3048         calling convention fallback case.
3050 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
3052         * config.host: Handle nvptx-*-*.
3053         * shared-object.mk (as-flags-$o): Define.
3054         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3055         -xassembler-with-cpp.
3056         * static-object.mk: Identical changes.
3057         * config/nvptx/t-nvptx: New file.
3058         * config/nvptx/crt0.s: New file.
3059         * config/nvptx/free.asm: New file.
3060         * config/nvptx/malloc.asm: New file.
3061         * config/nvptx/realloc.c: New file.
3063 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3065         * Makefile.in (libgcc.map.in): New target.
3066         (libgcc.map): Use libgcc.map.in.
3067         * config/t-softfp (softfp_compat): New variable to be set by
3068         users.
3069         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3070         variables.
3071         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3072         directory.
3073         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3074         that use compat symbols and disable all code unless [SHARED].
3075         * config/t-softfp-compat: New file.
3076         * find-symver.awk: New file.
3077         * configure.ac (--with-glibc-version): New configure option.
3078         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3079         * configure: Regenerate.
3080         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3081         soft-float and e500.
3083 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3085         * config/t-hardfp (hardfp_exclusions): Document new variable for
3086         user to define.
3087         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3088         * config/t-softfp (softfp_extras): Document new variable for user
3089         to define.
3090         (softfp_func_list): Add functions from $(softfp_extras).
3091         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3092         * config.host (powerpc*-*-linux*): For e500v1, use
3093         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3094         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3095         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3097 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3099         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3100         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3101         memory read accesses are ok.
3103 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3105         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3106         * configure: Regenerate.
3107         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3108         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3109         of soft-fp for 32-bit classic hard float.  Do not use
3110         t-softfp-excl for soft float.
3112 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3114         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3115         configurations.
3116         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3117         Remove variables.
3119 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3121         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3122         introduced with 2014-10-21 trunk r216525.
3124 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3125             Vidya Praveen  <vidya.praveen@atmel.com>
3126             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3127             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3128             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3130         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3131         order.
3133         Updated library functions for AVRTINY arch.
3134         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3135         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3136         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3137         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3138         wsubi/wadi macors.
3139         (__mulsi3_helper): Update stack, preserve callee saved regs and
3140         argument from stack. Restore callee save registers.
3141         (__mulpsi3): Likewise.
3142         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3143         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3144         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3145         AVRTINY.
3146         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3147         (__do_copy_data): Added new definition for AVRTINY.
3148         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3149         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3150         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3151         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3152         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3153         macors.
3154         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3155         AVRTINY.
3157         Fix broken long multiplication on tiny arch.
3159 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3161         * soft-fp/double.h: Update from glibc.
3162         * soft-fp/eqdf2.c: Likewise.
3163         * soft-fp/eqsf2.c: Likewise.
3164         * soft-fp/eqtf2.c: Likewise.
3165         * soft-fp/extenddftf2.c: Likewise.
3166         * soft-fp/extended.h: Likewise.
3167         * soft-fp/extendsfdf2.c: Likewise.
3168         * soft-fp/extendsftf2.c: Likewise.
3169         * soft-fp/extendxftf2.c: Likewise.
3170         * soft-fp/gedf2.c: Likewise.
3171         * soft-fp/gesf2.c: Likewise.
3172         * soft-fp/getf2.c: Likewise.
3173         * soft-fp/ledf2.c: Likewise.
3174         * soft-fp/lesf2.c: Likewise.
3175         * soft-fp/letf2.c: Likewise.
3176         * soft-fp/op-1.h: Likewise.
3177         * soft-fp/op-2.h: Likewise.
3178         * soft-fp/op-4.h: Likewise.
3179         * soft-fp/op-8.h: Likewise.
3180         * soft-fp/op-common.h: Likewise.
3181         * soft-fp/quad.h: Likewise.
3182         * soft-fp/single.h: Likewise.
3183         * soft-fp/soft-fp.h: Likewise.
3184         * soft-fp/unorddf2.c: Likewise.
3185         * soft-fp/unordsf2.c: Likewise.
3186         * soft-fp/unordtf2.c: Likewise.
3187         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3188         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3189         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3190         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3191         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3192         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3193         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3194         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3195         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3196         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3198 2014-10-08  Rong Xu  <xur@google.com>
3200         * libgcov-util.c (read_gcda_file): Fix format.
3201         (find_match_gcov_info): Ditto.
3202         (calculate_2_entries): New.
3203         (compute_one_gcov): Ditto.
3204         (gcov_info_count_all_cold): Ditto.
3205         (gcov_info_count_all_zero): Ditto.
3206         (extract_file_basename): Ditto.
3207         (get_file_basename): Ditto.
3208         (set_flag): Ditto.
3209         (matched_gcov_info): Ditto.
3210         (calculate_overlap): Ditto.
3211         (gcov_profile_overlap): Ditto.
3212         * libgcov-driver.c (compute_summary): Make
3213         it avavilable for external calls.
3215 2014-10-06  Rong Xu  <xur@google.com>
3217         * Makefile.in: Ditto.
3218         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3219         (gcov_sort_icall_topn_counter): Ditto.
3220         (gcov_sort_topn_counter_arrays): Ditto.
3221         (dump_one_gcov): Sort indirect_call topn counters.
3222         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3223         function.
3224         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3225         utility function.
3226         (__gcov_indirect_call_topn_profiler): New profiler function.
3227         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3228         * libgcov.h: New decls.
3230 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
3232         * config.host: Remove support for score-*.
3234 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3236         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3237         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3238         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3239         __LIBGCC_XF_MANT_DIG__.
3240         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3241         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3242         __LIBGCC_TF_MANT_DIG__.
3243         * libgcc2.c (NOTRUNC): Define in terms of
3244         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3245         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3247 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3249         PR target/63312
3250         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3251         New macros.
3253 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
3255         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3256         override USE_PT_GNU_EH_FRAME.
3257         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3258         check USE_EH_FRAME_REGISTRY_ALWAYS against
3259         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3260         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3261         variable for substituted force_explicit_eh_registry.
3262         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3263         * configure.ac (explicit-exception-frame-registration):
3264         New AC_ARG_ENABLE.
3265         * configure: Regenerate.
3267 2014-09-19  Olivier Hainque  <hainque@adacore.com>
3269         * config.host (powerpc-wrs-vxworksmils): New configuration,
3270         same as vxworksae.
3272 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3274         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3276 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3278         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3279         bits not set bits as indicating trapping exceptions.
3281 2014-09-17  Nathan sidwell  <nathan@acm.org>
3283         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3284         (LIBGCOV_DRIVER): ... here.
3285         * libgcov-driver.c (gcov_master): New.
3286         (gcov_exit): Remove from master chain.
3287         (__gcov_init): Add to master chain if version compatible.  Don't
3288         clear the version.
3289         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3290         (gcov_reset_int): Clear master chain, if compatible.
3291         (gcov_dump_int): New internal interface.  Dump master chain, if
3292         compatible.
3293         (gcov_dump): Alias for gcov_dump_int.
3294         * libgcov.h (struct gcov_root): Add next and prev fields.
3295         (struct gcov_master): New struct.
3296         (__gcov_master): New.
3297         (gcov_dump_int): Declare.
3299 2014-09-17  Olivier Hainque  <hainque@adacore.com>
3301         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3302         and crtbegin.o + crtend.o to extra_parts.
3304 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3306         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3307         __LIBGCC_HAS_SF_MODE__.
3308         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3309         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3310         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3311         * config/libbid/bid_gcc_intrinsics.h
3312         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3313         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3314         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3315         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3316         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3317         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3319 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
3321         PR target/63223
3322         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3323         and R24 as needed.  Make work for all devices and .text locations.
3324         (__do_global_ctors, __do_global_dtors): Use word addresses.
3325         (__tablejump__, __tablejump_elpm__): Remove functions.
3326         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3327         Add _tablejump2.
3328         (XICALL, XIJMP): New macros.
3330 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3331         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3333         * config.host (aarch64*): Include crtfastmath.o and
3334         t-crtfm.
3335         * config/aarch64/crtfastmath.c: New file.
3337 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
3339         * config.host: Remove picochip support.
3340         * config/picochip/adddi3.S: Remove.
3341         * config/picochip/ashlsi3.S: Remove.
3342         * config/picochip/ashlsi3.c: Remove.
3343         * config/picochip/ashrsi3.S: Remove.
3344         * config/picochip/ashrsi3.c: Remove.
3345         * config/picochip/clzsi2.S: Remove.
3346         * config/picochip/cmpsi2.S: Remove.
3347         * config/picochip/divmod15.S: Remove.
3348         * config/picochip/divmodhi4.S: Remove.
3349         * config/picochip/divmodsi4.S: Remove.
3350         * config/picochip/lib1funcs.S: Remove.
3351         * config/picochip/longjmp.S: Remove.
3352         * config/picochip/lshrsi3.S: Remove.
3353         * config/picochip/lshrsi3.c: Remove.
3354         * config/picochip/parityhi2.S: Remove.
3355         * config/picochip/popcounthi2.S: Remove.
3356         * config/picochip/setjmp.S: Remove.
3357         * config/picochip/subdi3.S: Remove.
3358         * config/picochip/t-picochip: Remove.
3359         * config/picochip/ucmpsi2.S: Remove.
3360         * config/picochip/udivmodhi4.S: Remove.
3361         * config/picochip/udivmodsi4.S: Remove.
3363 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3365         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3366         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3367         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3368         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3369         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
3370         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3371         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
3372         defined and LIBGCC2_HAS_DF_MODE is defined.
3373         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
3374         defined and LIBGCC2_HAS_XF_MODE is defined.
3375         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
3376         defined and LIBGCC2_HAS_TF_MODE is defined.
3378 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3380         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3381         and ROUND_TOWARDS_ZERO conditionals.
3383 2014-09-07  Nathan sidwell  <nathan@acm.org>
3385         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3386         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
3388 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
3390         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3391         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3392         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3393         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3394         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3395         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3396         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3397         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3398         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3399         (DWARF_FRAME_REGISTERS): Change all uses to
3400         __LIBGCC_DWARF_FRAME_REGISTERS__.
3401         (EH_RETURN_STACKADJ_RTX): Change all uses to
3402         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3403         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3404         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
3405         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3406         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3407         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3408         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3409         to __LIBGCC_EH_FRAME_SECTION_NAME__.
3410         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3411         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3412         __LIBGCC_STACK_POINTER_REGNUM__.
3413         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3414         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3415         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3416         to __LIBGCC_STACK_POINTER_REGNUM__.
3417         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3418         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3419         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3420         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3421         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3422         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3423         (STACK_POINTER_REGNUM): Change all uses to
3424         __LIBGCC_STACK_POINTER_REGNUM__.
3425         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3426         use to __LIBGCC_STACK_POINTER_REGNUM__.
3427         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3428         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3429         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3430         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3431         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3432         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3433         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3434         to __LIBGCC_STACK_POINTER_REGNUM__.
3435         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3436         Remove conditional definition.
3437         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3438         __LIBGCC_TEXT_SECTION_ASM_OP__.
3439         (EH_FRAME_SECTION_NAME): Change all uses to
3440         __LIBGCC_EH_FRAME_SECTION_NAME__.
3441         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3442         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3443         (CTORS_SECTION_ASM_OP): Change all uses to
3444         __LIBGCC_CTORS_SECTION_ASM_OP__.
3445         (DTORS_SECTION_ASM_OP): Change all uses to
3446         __LIBGCC_DTORS_SECTION_ASM_OP__.
3447         (JCR_SECTION_NAME): Change all uses to
3448         __LIBGCC_JCR_SECTION_NAME__.
3449         (INIT_SECTION_ASM_OP): Change all uses to
3450         __LIBGCC_INIT_SECTION_ASM_OP__.
3451         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3452         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3453         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3454         __LIBGCC_STACK_GROWS_DOWNWARD__.
3455         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3456         __LIBGCC_INIT_SECTION_ASM_OP__.
3457         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3458         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3459         (EH_FRAME_SECTION_NAME): Change all uses to
3460         __LIBGCC_EH_FRAME_SECTION_NAME__.
3461         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3462         definitions.  Change all uses to
3463         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3464         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3465         __LIBGCC_STACK_GROWS_DOWNWARD__.
3466         (DWARF_FRAME_REGISTERS): Change all uses to
3467         __LIBGCC_DWARF_FRAME_REGISTERS__.
3468         (EH_RETURN_STACKADJ_RTX): Change all uses to
3469         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3470         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3471         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3472         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3473         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3474         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3476 2014-09-02  Nathan sidwell  <nathan@acm.org>
3478         * libgcov-interface.c (STRONG_ALIAS): New.
3479         (__gcov_flush): Call __gcov_reset_int.
3480         (__gcov_reset): Strong alias for ...
3481         (__gcov_reset_ing): ... this renamed hidden version.
3482         * libgcov.h (__gcov_reset_int): New declaration.
3484 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3486         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3487         call from here...
3488         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3489         (__dso_handle): Define on Cygwin.
3490         * config/i386/t-cygming (crtbeginS.o): New rule.
3491         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3493         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3494         declaration syntax.
3496 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3498         * crtstuff.c: Undef caddr_t.
3500 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3502         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3504 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3506         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3507         (LIBGCOV_DRIVER): ... to here.
3508         * libgcov.h (gcov_do_dump): New #define.
3509         (struct gcov_root): New.
3510         (__gcov_root): New declaration.
3511         (__gcov_dump_one): Declare.
3512         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3513         run_accounted): Delete.
3514         (gcov_compute_histogram): Add LIST argument, adjust.
3515         (compute_summary): Adjust gcov_compute_histogram call.
3516         (gcov_do_dump): Not hidden, static in libgcov.
3517         (gcov_clear): Move  to interface.c.
3518         (__gcov_dump_one): New, broken out of ...
3519         (gcov_exit): ... here.  Make static.
3520         (__gcov_root): New.
3521         (__gcov_init): Adjust.
3522         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3523         declarations.
3524         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3525         (gcov_clear): Moved from driver.c.   Add LIST argument.
3526         (__gcov_reset): Adjust for changed interfaces.
3527         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3529 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3531         PR target/60102
3532         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3533         based on change in SPE high register numbers and 3 HTM registers.
3535 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3537         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3538         LIBGCOV_INTERFACE): Reformat.
3539         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3540         IN_GCOV_TOOL.
3541         * libgcov-interface.c: Reformat some comments.
3542         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3544 2014-07-31  Alan Modra  <amodra@gmail.com>
3545             Peter Bergner  <bergner@vnet.ibm.com>
3547         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3548         (pack_ldouble): New function.
3549         (__gcc_qadd): Use it.
3550         (__gcc_qmul): Likewise.
3551         (__gcc_qdiv): Likewise.
3552         (__gcc_qneg): Likewise.
3553         (__gcc_stoq): Likewise.
3554         (__gcc_dtoq): Likewise.
3556 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3558         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3559         (__tpf_eh_return): Add original return address as second parameter.
3560         Handle cases where unwinder routines were called directly, instead
3561         of from within the C++ library.
3563 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3565         * libgcov.h: Move renaming of entry points to lib gcov specific
3566         portion.
3567         (gcov_do_dump): New rename.
3568         (gcov_rewrite): Remove inline, make HIDDEN.
3569         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3570         (gcov_exit_compute_summary): Rename to ...
3571         (compute_summary): ... here.  Add LIST argument.
3572         (gcov_exit_merge_gcda): Rename to ...
3573         (merge_one_data): ... here.
3574         (gcov_exit_write_gcda): Rename to ...
3575         (write_one_data): ... here.
3576         (gcov_exit_merge_summary): Rename to ...
3577         (merge_summary): Add RUN_COUNTED argument.
3578         (gcov_exit_dump_gcov): Rename to ...
3579         (dump_one_gcov): Add RUN_COUNTED argument.
3580         (gcov_do_dump): New function, broken out of ...
3581         (gcov_exit): ... here.  Call it.
3583 2014-07-27  Anthony Green  <green@moxielogic.com>
3585         * config.host: Add moxiebox configuration suppport.
3587 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3589         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3590         (struct gcov_filename): ... here.  Include buffer and max length
3591         fields.
3592         (gcov_max_filename): Remove.
3593         (gi_filename): Remove.
3594         (gcov_exit_compute_summary): Compute max filename here.
3595         (gcov_exit_merge_gcda): Add filename parm, adjust.
3596         (gcov_exit_merge_summary): Likewise.
3597         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3598         (gcov_exit): Likewise.
3599         (__gcov_init): Don't calculate max length here.
3600         * libgcov_util.c (max_filename_len): Remove.
3601         (read_gcda_file): Don't calculate max length here.
3602         (gcov_read_profile_dir): Don't propagate here.
3603         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3604         struct gcov_filename changes.
3605         (gcov_exit_open_gcda_file): Likewise.
3607 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3609         * libgcov-driver.c (set_gcov_dump_complete,
3610         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3611         functions polluting user's namespace.
3612         (gcov_exit): Set variable directly.
3613         (gcov_clear): Reset variable directly.
3614         * libgcov-interface.c (get_gcov_dymp_complete,
3615         reset_gov_dump_complete): Remove declarations.
3616         (__gcov_reset, __gcov_dump): Don't call them.
3618 2014-07-24  DJ Delorie  <dj@redhat.com>
3620         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3621         (__gcc_deregister_frame): Move logic to detect deregister function
3622         to ...
3623         (__gcc_register_frame): here, so it's consistent with the register
3624         logic.
3626 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3628         * libgcov-driver.c (set_gcov_list): Remove.
3629         (gcov_list): Make non-static in GCOV_TOOL.
3630         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3632 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3634         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3635         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3636         Don't use SYNC_LOCK_RELEASE for int type.
3638 2014-07-14  Richard Biener  <rguenther@suse.de>
3640         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3642 2014-07-11  Rong Xu  <xur@google.com>
3644         * libgcov-util.c (gcov_max_filename): Fix declartion.
3646 2014-07-10  Rong Xu  <xur@google.com>
3648         Add gcov-tool: an offline gcda profile processing tool
3649         Support.
3650         * libgcov-driver.c (gcov_max_filename): Make available
3651         to gcov-tool.
3652         * libgcov-merge.c (__gcov_merge_add): Replace
3653         gcov_read_counter() with a Macro.
3654         (__gcov_merge_ior): Ditto.
3655         (__gcov_merge_time_profile): Ditto.
3656         (__gcov_merge_single): Ditto.
3657         (__gcov_merge_delta): Ditto.
3658         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3659         in the utility functions.
3660         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3661         gcov_list object link lists.
3662         (tag_function): Ditto.
3663         (tag_blocks): Ditto.
3664         (tag_arcs): Ditto.
3665         (tag_lines): Ditto.
3666         (tag_counters): Ditto.
3667         (tag_summary): Ditto.
3668         (read_gcda_finalize): Ditto.
3669         (read_gcda_file): Ditto.
3670         (ftw_read_file): Ditto.
3671         (read_profile_dir_init): Ditto.
3672         (gcov_read_profile_dir): Ditto.
3673         (gcov_read_counter_mem): Ditto.
3674         (gcov_get_merge_weight): Ditto.
3675         (merge_wrapper): A wrapper function that calls merging handler.
3676         (gcov_merge): Merge two gcov_info objects with weights.
3677         (find_match_gcov_info): Find the matched gcov_info in the list.
3678         (gcov_profile_merge): Merge two gcov_info object lists.
3679         (__gcov_add_counter_op): Process edge profile counter values.
3680         (__gcov_ior_counter_op): Process IOR profile counter values.
3681         (__gcov_delta_counter_op): Process delta profile counter values.
3682         (__gcov_single_counter_op): Process single  profile counter values.
3683         (fp_scale): Callback function for float-point scaling.
3684         (int_scale): Callback function for integer fraction scaling.
3685         (gcov_profile_scale): Scaling profile counters.
3686         (gcov_profile_normalize): Normalize profile counters.
3687         * libgcov.h: Add headers and functions for gcov-tool use.
3688         (gcov_get_counter): New.
3689         (gcov_get_counter_target): Ditto.
3690         (struct gcov_info): Make the functions field mutable in gcov-tool
3691         compilation.
3693 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3695         PR libgcc/61585
3696         * unwind-seh.c (_Unwind_GetGR): Check for proper
3697         index range.
3698         (_Unwind_SetGR): Likewise.
3700 2014-05-22  Nick Clifton  <nickc@redhat.com>
3702         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3703         -mhwmult=none.
3705 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3707         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3708         include.
3710 2014-05-20  John Marino  <gnugcc@marino.st>
3712         * config.host (*-*-dragonfly*): New target.
3713         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3714         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3715         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3716         * config/i386/dragonfly-unwind.h: New.
3718 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3720         PR libgcc/60166
3721         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3722         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3724 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3726         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3727         implementation.
3729 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3731         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3733 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3735         PR libgcc/61097
3736         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3737         if --enable-shared.
3739 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3741         Work around for current cygwin32 build problems.
3742         * config/i386/cygming-crtbegin.c (__register_frame_info,
3743         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3744         functions only for 64-bit systems.
3746 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3748         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3749         (sigill_caught, sigill_hdlr): Remove.
3751 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3753         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3754         check.
3755         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3756         Solaris 9 single-threaded support.
3757         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3758         Solaris 9 single-threaded support.  Add call_user_handler code
3759         sequences.
3760         (sparc_is_sighandler): Likewise.
3762 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3764         * config.host: Append t-floattodi to tmake_file depending on
3765         host_address.
3767 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3769         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3771 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3773         PR libgcc/60472
3774         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3775         variable to avoid "array subscript is above array bounds" warnings.
3776         Use __builtin_expect when checking *jcr_list for NULL.
3778 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3780         PR libgcc/59339
3781         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3782         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3783         vtv_*.o to extra_parts if enable_vtable_verify.
3785 2014-03-06  Nick Clifton  <nickc@redhat.com>
3787         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3788         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3790 2014-02-28  Joey Ye  <joey.ye@arm.com>
3792         PR libgcc/60166
3793         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3794         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3795         Set to zero.
3797 2014-02-24  Walter Lee  <walt@tilera.com>
3799         * config.host: Support "tilegx*" and "tilepro*" triplets.
3800         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3801         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3803 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3804             Chung-Lin Tang  <cltang@codesourcery.com>
3806         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3807         * config/nios2/crti.S: Remove .file directive.
3808         * config/nios2/crtn.S: Likewise.
3810 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3811         Jonathan Schleifer  <js@webkeks.org>
3813         PR objc/56870
3814         * unwind-seh.c (_GCC_specific_handler): Pass proper
3815         value to unwind-handler.
3817 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3819         * soft-fp/adddf3.c: Update from glibc.
3820         * soft-fp/addsf3.c: Likewise.
3821         * soft-fp/addtf3.c: Likewise.
3822         * soft-fp/divdf3.c: Likewise.
3823         * soft-fp/divsf3.c: Likewise.
3824         * soft-fp/divtf3.c: Likewise.
3825         * soft-fp/double.h: Likewise.
3826         * soft-fp/eqdf2.c: Likewise.
3827         * soft-fp/eqsf2.c: Likewise.
3828         * soft-fp/eqtf2.c: Likewise.
3829         * soft-fp/extenddftf2.c: Likewise.
3830         * soft-fp/extended.h: Likewise.
3831         * soft-fp/extendsfdf2.c: Likewise.
3832         * soft-fp/extendsftf2.c: Likewise.
3833         * soft-fp/extendxftf2.c: Likewise.
3834         * soft-fp/fixdfdi.c: Likewise.
3835         * soft-fp/fixdfsi.c: Likewise.
3836         * soft-fp/fixdfti.c: Likewise.
3837         * soft-fp/fixsfdi.c: Likewise.
3838         * soft-fp/fixsfsi.c: Likewise.
3839         * soft-fp/fixsfti.c: Likewise.
3840         * soft-fp/fixtfdi.c: Likewise.
3841         * soft-fp/fixtfsi.c: Likewise.
3842         * soft-fp/fixtfti.c: Likewise.
3843         * soft-fp/fixunsdfdi.c: Likewise.
3844         * soft-fp/fixunsdfsi.c: Likewise.
3845         * soft-fp/fixunsdfti.c: Likewise.
3846         * soft-fp/fixunssfdi.c: Likewise.
3847         * soft-fp/fixunssfsi.c: Likewise.
3848         * soft-fp/fixunssfti.c: Likewise.
3849         * soft-fp/fixunstfdi.c: Likewise.
3850         * soft-fp/fixunstfsi.c: Likewise.
3851         * soft-fp/fixunstfti.c: Likewise.
3852         * soft-fp/floatdidf.c: Likewise.
3853         * soft-fp/floatdisf.c: Likewise.
3854         * soft-fp/floatditf.c: Likewise.
3855         * soft-fp/floatsidf.c: Likewise.
3856         * soft-fp/floatsisf.c: Likewise.
3857         * soft-fp/floatsitf.c: Likewise.
3858         * soft-fp/floattidf.c: Likewise.
3859         * soft-fp/floattisf.c: Likewise.
3860         * soft-fp/floattitf.c: Likewise.
3861         * soft-fp/floatundidf.c: Likewise.
3862         * soft-fp/floatundisf.c: Likewise.
3863         * soft-fp/floatunditf.c: Likewise.
3864         * soft-fp/floatunsidf.c: Likewise.
3865         * soft-fp/floatunsisf.c: Likewise.
3866         * soft-fp/floatunsitf.c: Likewise.
3867         * soft-fp/floatuntidf.c: Likewise.
3868         * soft-fp/floatuntisf.c: Likewise.
3869         * soft-fp/floatuntitf.c: Likewise.
3870         * soft-fp/gedf2.c: Likewise.
3871         * soft-fp/gesf2.c: Likewise.
3872         * soft-fp/getf2.c: Likewise.
3873         * soft-fp/ledf2.c: Likewise.
3874         * soft-fp/lesf2.c: Likewise.
3875         * soft-fp/letf2.c: Likewise.
3876         * soft-fp/muldf3.c: Likewise.
3877         * soft-fp/mulsf3.c: Likewise.
3878         * soft-fp/multf3.c: Likewise.
3879         * soft-fp/negdf2.c: Likewise.
3880         * soft-fp/negsf2.c: Likewise.
3881         * soft-fp/negtf2.c: Likewise.
3882         * soft-fp/op-1.h: Likewise.
3883         * soft-fp/op-2.h: Likewise.
3884         * soft-fp/op-4.h: Likewise.
3885         * soft-fp/op-8.h: Likewise.
3886         * soft-fp/op-common.h: Likewise.
3887         * soft-fp/quad.h: Likewise.
3888         * soft-fp/single.h: Likewise.
3889         * soft-fp/soft-fp.h: Likewise.
3890         * soft-fp/subdf3.c: Likewise.
3891         * soft-fp/subsf3.c: Likewise.
3892         * soft-fp/subtf3.c: Likewise.
3893         * soft-fp/truncdfsf2.c: Likewise.
3894         * soft-fp/trunctfdf2.c: Likewise.
3895         * soft-fp/trunctfsf2.c: Likewise.
3896         * soft-fp/trunctfxf2.c: Likewise.
3897         * soft-fp/unorddf2.c: Likewise.
3898         * soft-fp/unordsf2.c: Likewise.
3899         * soft-fp/unordtf2.c: Likewise.
3900         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3901         macro.
3902         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3903         Likewise.
3904         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3905         Likewise.
3906         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3907         Likewise.
3908         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3909         Likewise.
3910         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3911         Likewise.
3912         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3913         Likewise.
3914         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3915         Likewise.
3916         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3917         Likewise.
3918         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3919         Likewise.
3920         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3921         Likewise.
3922         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3923         Likewise.
3924         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3925         Likewise.
3926         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3927         Likewise.
3928         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3929         Likewise.
3930         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3931         Likewise.
3933 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3935         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3936         cannot be represented.
3937         * config/s390/32/_fixsfdi.c: Likewise.
3938         * config/s390/32/_fixtfdi.c: Likewise.
3939         * config/s390/32/_fixunsdfdi.c: Likewise.
3940         * config/s390/32/_fixunssfdi.c: Likewise.
3941         * config/s390/32/_fixunstfdi.c: Likewise.
3943 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3945         * configure.ac (libgcc_cv_mips_hard_float): New.
3946         * configure: Regenerate.
3947         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3948         t-softfp-sfdf for hard-float targets.
3949         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3950         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3951         (softfp_truncations, softfp_exclude_libgcc2): New.
3952         * config/t-hardfp: New file.
3953         * config/t-hardfp-sfdf: Likewise.
3954         * config/hardfp.c: Likewise.
3956 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3958         * config.host: Include t-floattodi also for s390x.
3959         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3960         * config/s390/32/_fixsfdi.c: Likewise.
3961         * config/s390/32/_fixtfdi.c: Likewise.
3962         * config/s390/32/_fixunsdfdi.c: Likewise.
3963         * config/s390/32/_fixunssfdi.c: Likewise.
3964         * config/s390/32/_fixunstfdi.c: Likewise.
3966 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3968         PR target/59788
3969         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3970         (install-libgcc-unwind-map-forbuild): New target.
3971         (all): Depend on install-libgcc-unwind-map-forbuild.
3972         (install-libgcc-unwind-map): New target.
3973         (install): Depend on install-libgcc-unwind-map.
3975 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
3977         * config/nios2/crti.S (_init): Initialize GOT pointer from
3978         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3980 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
3982         * configure.ac: Check __mips64 when setting host_address.
3983         * configure: Regenerate.
3984         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3985         mips/t-mips64 and t-softfp.
3986         (mips*-*-linux*): Don't add mips/t-tpbit.
3987         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3988         (DPBIT, DPBIT_CFLAGS): Delete.
3989         * config/mips/sfp-machine.h: New file.
3990         * config/mips/t-mips64: Likewise.
3991         * config/mips/t-softfp-tf: Likewise.
3992         * config/mips/t-tpbit: Delete.
3994 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3996         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3997         as long long.
3999 2014-01-25  Walter Lee  <walt@tilera.com>
4001         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
4002         config.h or system.h.
4003         (bool) Define.
4005 2014-01-25  Walter Lee  <walt@tilera.com>
4007         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4008         (post_atomic_barrier): Ditto.
4009         (__fetch_and_do): New macro.
4010         (__atomic_fetch_and_do): Use __fetch_and_do.
4011         (__sync_fetch_and_do): New macro.
4012         (__sync_fetch_and_add_4): New function.
4013         (__sync_fetch_and_sub_4): New function.
4014         (__sync_fetch_and_or_4): New function.
4015         (__sync_fetch_and_and_4): New function.
4016         (__sync_fetch_and_xor_4): New function.
4017         (__sync_fetch_and_nand_4): New function.
4018         (__sync_fetch_and_add_8): New function.
4019         (__sync_fetch_and_sub_8): New function.
4020         (__sync_fetch_and_or_8): New function.
4021         (__sync_fetch_and_and_8): New function.
4022         (__sync_fetch_and_xor_8): New function.
4023         (__sync_fetch_and_nand_8): New function.
4024         (__do_and_fetch): New macro.
4025         (__atomic_do_and_fetch): Use __do_and_fetch.
4026         (__sync_do_and_fetch): New macro.
4027         (__sync_add_and_fetch_4): New function.
4028         (__sync_sub_and_fetch_4): New function.
4029         (__sync_or_and_fetch_4): New function.
4030         (__sync_and_and_fetch_4): New function.
4031         (__sync_xor_and_fetch_4): New function.
4032         (__sync_nand_and_fetch_4): New function.
4033         (__sync_add_and_fetch_8): New function.
4034         (__sync_sub_and_fetch_8): New function.
4035         (__sync_or_and_fetch_8): New function.
4036         (__sync_and_and_fetch_8): New function.
4037         (__sync_xor_and_fetch_8): New function.
4038         (__sync_nand_and_fetch_8): New function.
4039         (__sync_exchange_methods): New macro.
4040         (__sync_val_compare_and_swap_4): New function.
4041         (__sync_bool_compare_and_swap_4): New function.
4042         (__sync_lock_test_and_test_4): New function.
4043         (__sync_val_compare_and_swap_8): New function.
4044         (__sync_bool_compare_and_swap_8): New function.
4045         (__sync_lock_test_and_test_8): New function.
4046         (__subword_cmpxchg_body): New macro.
4047         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4048         (__atomic_compare_exchange_2): Ditto.
4049         (__sync_subword_cmpxchg): New macro.
4050         (__sync_val_compare_and_swap_1): New function.
4051         (__sync_bool_compare_and_swap_1): New function.
4052         (__sync_val_compare_and_swap_2): New function.
4053         (__sync_bool_compare_and_swap_2): New function.
4054         (__atomic_subword): Rename to ...
4055         (__subword): ... New name.
4056         (__atomic_subword_fetch): Use __subword.
4057         (__sync_subword_fetch): New macro.
4058         (__sync_fetch_and_add_1): New function.
4059         (__sync_fetch_and_sub_1): New function.
4060         (__sync_fetch_and_or_1): New function.
4061         (__sync_fetch_and_and_1): New function.
4062         (__sync_fetch_and_xor_1): New function.
4063         (__sync_fetch_and_nand_1): New function.
4064         (__sync_fetch_and_add_2): New function.
4065         (__sync_fetch_and_sub_2): New function.
4066         (__sync_fetch_and_or_2): New function.
4067         (__sync_fetch_and_and_2): New function.
4068         (__sync_fetch_and_xor_2): New function.
4069         (__sync_fetch_and_nand_2): New function.
4070         (__sync_add_and_fetch_1): New function.
4071         (__sync_sub_and_fetch_1): New function.
4072         (__sync_or_and_fetch_1): New function.
4073         (__sync_and_and_fetch_1): New function.
4074         (__sync_xor_and_fetch_1): New function.
4075         (__sync_nand_and_fetch_1): New function.
4076         (__sync_add_and_fetch_2): New function.
4077         (__sync_sub_and_fetch_2): New function.
4078         (__sync_or_and_fetch_2): New function.
4079         (__sync_and_and_fetch_2): New function.
4080         (__sync_xor_and_fetch_2): New function.
4081         (__sync_nand_and_fetch_2): New function.
4082         (__atomic_subword_lock): Use __subword.
4083         (__sync_subword_lock): New macro.
4084         (__sync_lock_test_and_set_1): New function.
4085         (__sync_lock_test_and_set_2): New function.
4087 2014-01-25  Walter Lee  <walt@tilera.com>
4089         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4090         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4091         (__atomic_subword): Ditto.
4093 2014-01-25  Walter Lee  <walt@tilera.com>
4095         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4096         a prefix op argument.
4097         (__atomic_nand_fetch_4): Add prefix op.
4098         (__atomic_nand_fetch_8): Ditto.
4100 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4102         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4104 2014-01-09  Rong Xu  <xur@google.com>
4106         * libgcov-driver.c (this_prg): make it local to save
4107         bss space.
4108         (gcov_exit_compute_summary): Ditto.
4109         (gcov_exit_merge_gcda): Ditto.
4110         (gcov_exit_merge_summary): Ditto.
4111         (gcov_exit_dump_gcov): Ditto.
4113 2014-01-08  Rong Xu  <xur@google.com>
4115         * libgcov-driver.c: Use libgcov.h.
4116         (buffer_fn_data): Use xmalloc instead of malloc.
4117         (gcov_exit_merge_gcda): Ditto.
4118         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4119         * libgcov.h: New common header files for libgcov-*.h.
4120         * libgcov-interface.c: Use libgcov.h
4121         * libgcov-merge.c: Ditto.
4122         * libgcov-profiler.c: Ditto.
4123         * Makefile.in: Add dependence to libgcov.h
4125 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4127         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4128         case of small numerator and finite nonzero result.
4130 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4132         Update copyright years
4134 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4136         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4137         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4138         config/arc/dp-hack.h, config/arc/fp-hack.h,
4139         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4140         config/arc/ieee-754/arc600-dsp/divdf3.S,
4141         config/arc/ieee-754/arc600-dsp/divsf3.S,
4142         config/arc/ieee-754/arc600-dsp/muldf3.S,
4143         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4144         config/arc/ieee-754/arc600-mul64/divdf3.S,
4145         config/arc/ieee-754/arc600-mul64/divsf3.S,
4146         config/arc/ieee-754/arc600-mul64/muldf3.S,
4147         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4148         config/arc/ieee-754/arc600/divsf3.S,
4149         config/arc/ieee-754/arc600/mulsf3.S,
4150         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4151         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4152         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4153         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4154         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4155         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4156         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4157         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4158         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4159         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4160         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4161         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4162         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4163         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4164         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4165         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4166         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4167         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4168         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4169         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4170         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4171         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4172         vtv_start_preinit.c: Use the standard form for the copyright notice.
4174 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4175             Chung-Lin Tang  <cltang@codesourcery.com>
4176             Based on patches from Altera Corporation
4178         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4179         * config/nios2/lib2-nios2.h: New file.
4180         * config/nios2/lib2-divmod-hi.c: New file.
4181         * config/nios2/linux-unwind.h: New file.
4182         * config/nios2/lib2-divmod.c: New file.
4183         * config/nios2/linux-atomic.c: New file.
4184         * config/nios2/t-nios2: New file.
4185         * config/nios2/crti.asm: New file.
4186         * config/nios2/t-linux: New file.
4187         * config/nios2/lib2-divtable.c: New file.
4188         * config/nios2/lib2-mul.c: New file.
4189         * config/nios2/tramp.c: New file.
4190         * config/nios2/crtn.asm: New file.
4192 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4194         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4195         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4196         from cpuid.h to check vendor signatures.
4198 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4200         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4201         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4202         (get_amd_cpu): Likewise.
4204 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
4206         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4207         Haswell.
4209 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4210             H.J. Lu  <hongjiu.lu@intel.com>
4212         PR target/59422
4213         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
4214         and AMD_JAGUAR.
4215         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4216         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4217         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
4218         FEATURE_XOP and FEATURE_FMA.
4219         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4220         AMDFAM15H_BDVER3.
4221         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4222         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4223         FEATURE_FMA4 and FEATURE_XOP.
4225 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
4227         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4228         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4229         (get_intel_cpu): Updated.
4231 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
4233         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4235 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
4237         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4238         instructions when __SSE_MATH__ is defined.
4240 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
4242         * config.host (microblaze-*-rtems*): New.
4244 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
4246         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4247         architectures that do not have hardware divide instruction.
4248         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4250 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
4252         * longlong.h: Delete (moved to include/).
4254 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4256         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4257         of normal number and qNaN to not raise an inexact exception.
4259 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
4261         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4263 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
4265         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4266         for correct opcodes on BE.
4268 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
4270         * soft-fp/op-4.h: Update from glibc.
4272 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
4274         * libgcc2.c (__udivmoddi4): Define new implementation when
4275         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4276         divide instructions.
4278 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
4280         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4282 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4284         * config/t-softfp (soft-fp-objects-base): New variable.
4285         (soft-fp-objects): Use it.
4287 2013-11-23  David Edelson  <dje.gcc@gmail.com>
4288             Andrew Dixie  <andrewd@gentrack.com>
4290         PR target/33704
4291         * config/rs6000/aixinitfini.c: New file.
4292         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4293         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4294         symbols.
4296 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
4298         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4300 2013-11-18  Jan Hubicka  <jh@suse.cz>
4302         * libgcov-driver.c (run_accounted): Make global level static.
4303         (gcov_exit_merge_summary): Silence warning; do not clear
4304         run_accounted here.
4305         (gcov_exit): Clear it here.
4307         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4308         run_accounted.
4310         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4311         (all_prg, crc32): Remove static vars.
4312         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4313         all_prg.
4314         (gcov_exit_merge_gcda): Add crc32 parameter.
4315         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4316         do not account run if it was already accounted.
4317         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4318         (gcov_exit): Initialize all_prg; update.
4320 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
4322         * configure: Regenerate.
4324 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4325             Alan Modra  <amodra@gmail.com>
4327         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4328         (frob_update_context): Use it.
4330 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4331             Alan Modra  <amodra@gmail.com>
4333         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4334         (trampoline_initial): Provide ELFv2 variant.
4335         (__trampoline_setup): Likewise.
4337         * config/rs6000/linux-unwind.h (frob_update_context): Do not
4338         check for AIX indirect function call sequence if _CALL_ELF == 2.
4340 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4341             Alan Modra  <amodra@gmail.com>
4343         * config/rs6000/linux-unwind.h (get_regs): Do not support
4344         old kernel versions if _CALL_ELF == 2.
4345         (frob_update_context): Do not support PLT stub variants only
4346         generated by old linkers if _CALL_ELF == 2.
4348 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4349             Alan Modra  <amodra@gmail.com>
4351         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4352         location of CR save area for 64-bit little-endian systems.
4354 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
4356         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4357         in tmake_file.
4358         * config/arm/t-vxworks: Delete.
4360 2013-11-10  Kai Tietz  <ktietz@redhat.com>
4362         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4363         Increment load-count on use of LIBGCC_SONAME DLL.
4364         (hmod_libgcc): New static variable to hold handle of
4365         LIBGCC_SONAME DLL.
4366         (__gcc_deregister_frame): Decrement load-count of
4367         LIBGCC_SONAME DLL.
4369 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
4371         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4372         availability.
4373         * configure: Regenerate
4375 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
4377         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4378         FP_EX_DENORM.  Store result to volatile location after SSE division
4379         to close interrupt window.  Remove unneeded fwait after x87
4380         division since interrupt window will be closed by emitted fstp.
4381         Rewrite FP_EX_INEXACT handling.
4383 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
4385         * soft-fp/README: Update.
4386         * soft-fp/adddf3.c: Update from glibc.
4387         * soft-fp/addsf3.c: Likewise.
4388         * soft-fp/addtf3.c: Likewise.
4389         * soft-fp/divdf3.c: Likewise.
4390         * soft-fp/divsf3.c: Likewise.
4391         * soft-fp/divtf3.c: Likewise.
4392         * soft-fp/double.h: Likewise.
4393         * soft-fp/eqdf2.c: Likewise.
4394         * soft-fp/eqsf2.c: Likewise.
4395         * soft-fp/eqtf2.c: Likewise.
4396         * soft-fp/extenddftf2.c: Likewise.
4397         * soft-fp/extended.h: Likewise.
4398         * soft-fp/extendsfdf2.c: Likewise.
4399         * soft-fp/extendsftf2.c: Likewise.
4400         * soft-fp/extendxftf2.c: Likewise.
4401         * soft-fp/fixdfdi.c: Likewise.
4402         * soft-fp/fixdfsi.c: Likewise.
4403         * soft-fp/fixdfti.c: Likewise.
4404         * soft-fp/fixsfdi.c: Likewise.
4405         * soft-fp/fixsfsi.c: Likewise.
4406         * soft-fp/fixsfti.c: Likewise.
4407         * soft-fp/fixtfdi.c: Likewise.
4408         * soft-fp/fixtfsi.c: Likewise.
4409         * soft-fp/fixtfti.c: Likewise.
4410         * soft-fp/fixunsdfdi.c: Likewise.
4411         * soft-fp/fixunsdfsi.c: Likewise.
4412         * soft-fp/fixunsdfti.c: Likewise.
4413         * soft-fp/fixunssfdi.c: Likewise.
4414         * soft-fp/fixunssfsi.c: Likewise.
4415         * soft-fp/fixunssfti.c: Likewise.
4416         * soft-fp/fixunstfdi.c: Likewise.
4417         * soft-fp/fixunstfsi.c: Likewise.
4418         * soft-fp/fixunstfti.c: Likewise.
4419         * soft-fp/floatdidf.c: Likewise.
4420         * soft-fp/floatdisf.c: Likewise.
4421         * soft-fp/floatditf.c: Likewise.
4422         * soft-fp/floatsidf.c: Likewise.
4423         * soft-fp/floatsisf.c: Likewise.
4424         * soft-fp/floatsitf.c: Likewise.
4425         * soft-fp/floattidf.c: Likewise.
4426         * soft-fp/floattisf.c: Likewise.
4427         * soft-fp/floattitf.c: Likewise.
4428         * soft-fp/floatundidf.c: Likewise.
4429         * soft-fp/floatundisf.c: Likewise.
4430         * soft-fp/floatunditf.c: Likewise.
4431         * soft-fp/floatunsidf.c: Likewise.
4432         * soft-fp/floatunsisf.c: Likewise.
4433         * soft-fp/floatunsitf.c: Likewise.
4434         * soft-fp/floatuntidf.c: Likewise.
4435         * soft-fp/floatuntisf.c: Likewise.
4436         * soft-fp/floatuntitf.c: Likewise.
4437         * soft-fp/gedf2.c: Likewise.
4438         * soft-fp/gesf2.c: Likewise.
4439         * soft-fp/getf2.c: Likewise.
4440         * soft-fp/ledf2.c: Likewise.
4441         * soft-fp/lesf2.c: Likewise.
4442         * soft-fp/letf2.c: Likewise.
4443         * soft-fp/muldf3.c: Likewise.
4444         * soft-fp/mulsf3.c: Likewise.
4445         * soft-fp/multf3.c: Likewise.
4446         * soft-fp/negdf2.c: Likewise.
4447         * soft-fp/negsf2.c: Likewise.
4448         * soft-fp/negtf2.c: Likewise.
4449         * soft-fp/op-1.h: Likewise.
4450         * soft-fp/op-2.h: Likewise.
4451         * soft-fp/op-4.h: Likewise.
4452         * soft-fp/op-8.h: Likewise.
4453         * soft-fp/op-common.h: Likewise.
4454         * soft-fp/quad.h: Likewise.
4455         * soft-fp/single.h: Likewise.
4456         * soft-fp/soft-fp.h: Likewise.
4457         * soft-fp/subdf3.c: Likewise.
4458         * soft-fp/subsf3.c: Likewise.
4459         * soft-fp/subtf3.c: Likewise.
4460         * soft-fp/truncdfsf2.c: Likewise.
4461         * soft-fp/trunctfdf2.c: Likewise.
4462         * soft-fp/trunctfsf2.c: Likewise.
4463         * soft-fp/trunctfxf2.c: Likewise.
4464         * soft-fp/unorddf2.c: Likewise.
4465         * soft-fp/unordsf2.c: Likewise.
4466         * soft-fp/unordtf2.c: Likewise.
4468 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4470         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4471         (_FP_MUL_MEAT_D): Ditto.
4472         (_FP_DIV_MEAT_S): Ditto.
4473         (_FP_DIV_MEAT_D): Ditto.
4474         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4475         t-softfp-sfdf and t-softfp to tmake_file.
4477 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4479         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4480         * config/i386/crtprec.c: Ditto.
4482 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4483             Shiva Chen  <shiva0217@gmail.com>
4485         * config.host (nds32*-elf*): Add nds32 target.
4486         * config/nds32 : New directory and files.
4488 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4490         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4491         * config.host (cpu_type) <Setting default>: Add entry for
4492         crisv32-*-*.
4493         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4494         <crisv32-*-linux*>: Adjust.
4495         * longlong.h: Wrap the whole CRIS section in a single
4496         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4497         and sub_ddmmss.
4498         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4499         defined.
4500         [__CRIS__] (__umulsidi3): Define.
4501         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4502         * config/cris/sfp-machine.h: New file.
4503         * config/cris/umulsidi3.S: New file.
4504         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4505         * config/cris/arit.c (SIGNMULT): New macro.
4506         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4507         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4508         saving 3 out of originally 33 cycles from the fastest
4509         path, 3 out of 54 from the medium path and one from the longest
4510         path.  Improve comments.
4512 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4514         * sync.c: Remove static aliases and define each function directly
4515         under its real name.
4517 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4519         * config.host (hppa*64*-*-linux*): Define extra_parts.
4520         (hppa*-*-linux*): Likewise.
4522 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4524         * config/arc/crtgend.S: Add 2013 to Copyright years.
4525         * config/arc/gmon/atomic.h: Likewise.
4526         * config/arc/gmon/auxreg.h: Likewise.
4527         * config/arc/gmon/sys/gmon_out.h: Likewise.
4528         * config/arc/gmon/sys/gmon.h: Likewise.
4529         * config/arc/gmon/prof-freq.c: Likewise.
4530         * config/arc/gmon/mcount.c: Likewise.
4531         * config/arc/gmon/prof-freq-stub.S: Likewise.
4532         * config/arc/gmon/gmon.c: Likewise.
4533         * config/arc/gmon/machine-gmon.h: Likewise.
4534         * config/arc/gmon/profil.S: Likewise.
4535         * config/arc/gmon/dcache_linesz.S: Likewise.
4536         * config/arc/crtg.S: Likewise.
4537         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4538         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4539         * config/arc/ieee-754/adddf3.S: Likewise.
4540         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4541         * config/arc/ieee-754/fixsfsi.S: Likewise.
4542         * config/arc/ieee-754/gtsf2.S: Likewise.
4543         * config/arc/ieee-754/floatsisf.S: Likewise.
4544         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4545         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4546         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4547         * config/arc/ieee-754/fixdfsi.S: Likewise.
4548         * config/arc/ieee-754/addsf3.S: Likewise.
4549         * config/arc/ieee-754/gesf2.S: Likewise.
4550         * config/arc/ieee-754/floatsidf.S: Likewise.
4551         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4552         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4553         * config/arc/ieee-754/gtdf2.S: Likewise.
4554         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4555         * config/arc/ieee-754/uneqdf2.S: Likewise.
4556         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4557         * config/arc/ieee-754/uneqsf2.S: Likewise.
4558         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4559         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4560         * config/arc/ieee-754/eqdf2.S: Likewise.
4561         * config/arc/ieee-754/ordsf2.S: Likewise.
4562         * config/arc/ieee-754/divsf3.S: Likewise.
4563         * config/arc/ieee-754/divdf3.S: Likewise.
4564         * config/arc/ieee-754/floatunsidf.S: Likewise.
4565         * config/arc/ieee-754/orddf2.S: Likewise.
4566         * config/arc/ieee-754/eqsf2.S: Likewise.
4567         * config/arc/ieee-754/gedf2.S: Likewise.
4568         * config/arc/crtn.S: Likewise.
4569         * config/arc/crti.S: Likewise.
4570         * config/arc/t-arc700-uClibc: Likewise.
4571         * config/arc/asm.h: Likewise.
4572         * config/arc/libgcc-excl.ver: Likewise.
4573         * config/arc/t-arc-newlib: Likewise.
4574         * config/arc/divtab-arc700.c: Likewise.
4575         * config/arc/initfini.c: Likewise.
4576         * config/arc/fp-hack.h: Likewise.
4578 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4579             Diego Novillo  <dnovillo@google.com>
4581         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4582         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4583         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4584         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4586 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4587             Brendan Kehoe  <brendan@zen.org>
4588             Simon Cook  <simon.cook@embecosm.com>
4590         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4591         * config/arc: New directory.
4592         * longlong.h [__arc__] (umul_ppmm): Remove.
4593         [__arc__] (__umulsidi3): Define.
4594         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4595         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4597 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4599         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4600         CreateSemaphoreA.
4601         * config/i386/gthr-win32.h: Likewise.
4603 2013-09-16  DJ Delorie  <dj@redhat.com>
4605         * config/rl78/vregs.h: Add G10 register definitions.
4606         * config/rl78/lib2mul.c: Enable for RL78/G10.
4607         * config/rl78/lib2div.c: Likewise.
4608         * config/rl78/lshrsi3.S: Use vregs.h.
4609         * config/rl78/cmpsi2.S: Likewise.
4610         * config/rl78/trampoline.S: Likewise.
4611         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4613 2013-09-14  DJ Delorie  <dj@redhat.com>
4614             Nick Clifton  <nickc@redhat.com>
4616         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4617         * config/rl78/vregs.h: New.
4618         * config/rl78/signbit.S: New file.  Implements signbit function.
4619         * config/rl78/divmodsi.S: New.
4620         * config/rl78/divmodhi.S: New.
4621         * config/rl78/divmodqi.S: New.
4622         * config/rl78/t-rl78: Build them here...
4623         * config/rl78/lib2div.c: ...but not here.
4625 2013-09-12  DJ Delorie  <dj@redhat.com>
4627         * config.host (msp*-*-elf): New.
4628         * config/msp430/: New port.
4630 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4632         PR gcov-profile/58127
4633         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4634         __thread var for emulated TLS.
4635         (__gcov_indirect_call_counters): Likewise.
4637 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4638             Catherine Moore  <clm@codesourcery.com>
4639             Richard Sandiford  <rdsandiford@googlemail.com>
4641         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4642         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4643         (CALL_STUB_NO_RET): Likewise.
4644         (CALL_STUB_RET): Likewise.
4645         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4646         __mips16_ret call/return stub symbols.
4647         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4648         to tmake_file.
4650 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4652         * config.host <mips*-*-linux*>: Remove a stray comment.
4654 2013-08-10  Jan Hubicka  <jh@suse.cz>
4656         Work around binutils PR14342
4657         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4658         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4659         (L_gcov_indirect_call_profiler_v2): New.
4661 2013-08-06  Jan Hubicka  <jh@suse.cz>
4663         * libgcov.c (__gcov_indirect_call_callee,
4664         __gcov_indirect_call_counters): New global vars.
4665         (__gcov_indirect_call_profiler): replace by ...
4666         (__gcov_indirect_call_profiler_v2) ... this one.
4668 2013-08-06  Caroline Tice  <cmtice@google.com>
4670         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4671         vtv_start_preinit.o and vtv_end_preinit.o.
4672         * configure.ac: Add code to check/set enable_vtable_verify.
4673         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4674         true.
4675         * vtv_start_preinit.c: New file.
4676         * vtv_end_preinit.c: New file.
4677         * vtv_start.c: New file.
4678         * vtv_end.c: New file.
4679         * configure: Regenerated.
4681 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4683         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4684         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4685         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4686         GPL-3.0-with-GCC-exception.
4688 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4690         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4691         ISA and up.
4693 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4695         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4696         mapping for FPRs when creating the fallback framestate.
4698 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4700         PR target/57516
4701         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4702         (__round_s2_const, __round_u2_const)
4703         (__round_s4_const, __round_u4_const, __round_x8):
4704         Saturate result if addition result cannot be represented.
4706 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4708         * libgcc2.c: Don't include <limits.h>.
4710 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4712         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4714 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4716         PR target/29776
4717         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4719 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4721         PR middle-end/36041
4722         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4723         Define.
4724         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4725         instead of table lookups.
4726         (__popcountDI2): Likewise.
4728 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4730         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4731         correctly.
4733 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4735         PR other/53317
4736         * soft-fp/adddf3.c: Update from glibc.
4737         * soft-fp/addsf3.c: Likewise.
4738         * soft-fp/addtf3.c: Likewise.
4739         * soft-fp/divdf3.c: Likewise.
4740         * soft-fp/divsf3.c: Likewise.
4741         * soft-fp/divtf3.c: Likewise.
4742         * soft-fp/double.h: Likewise.
4743         * soft-fp/eqdf2.c: Likewise.
4744         * soft-fp/eqsf2.c: Likewise.
4745         * soft-fp/eqtf2.c: Likewise.
4746         * soft-fp/extenddftf2.c: Likewise.
4747         * soft-fp/extended.h: Likewise.
4748         * soft-fp/extendsfdf2.c: Likewise.
4749         * soft-fp/extendsftf2.c: Likewise.
4750         * soft-fp/fixdfdi.c: Likewise.
4751         * soft-fp/fixdfsi.c: Likewise.
4752         * soft-fp/fixsfdi.c: Likewise.
4753         * soft-fp/fixsfsi.c: Likewise.
4754         * soft-fp/fixtfdi.c: Likewise.
4755         * soft-fp/fixtfsi.c: Likewise.
4756         * soft-fp/fixunsdfdi.c: Likewise.
4757         * soft-fp/fixunsdfsi.c: Likewise.
4758         * soft-fp/fixunssfdi.c: Likewise.
4759         * soft-fp/fixunssfsi.c: Likewise.
4760         * soft-fp/fixunstfdi.c: Likewise.
4761         * soft-fp/fixunstfsi.c: Likewise.
4762         * soft-fp/floatdidf.c: Likewise.
4763         * soft-fp/floatdisf.c: Likewise.
4764         * soft-fp/floatditf.c: Likewise.
4765         * soft-fp/floatsidf.c: Likewise.
4766         * soft-fp/floatsisf.c: Likewise.
4767         * soft-fp/floatsitf.c: Likewise.
4768         * soft-fp/floatundidf.c: Likewise.
4769         * soft-fp/floatundisf.c: Likewise.
4770         * soft-fp/floatunditf.c: Likewise.
4771         * soft-fp/floatunsidf.c: Likewise.
4772         * soft-fp/floatunsisf.c: Likewise.
4773         * soft-fp/floatunsitf.c: Likewise.
4774         * soft-fp/gedf2.c: Likewise.
4775         * soft-fp/gesf2.c: Likewise.
4776         * soft-fp/getf2.c: Likewise.
4777         * soft-fp/ledf2.c: Likewise.
4778         * soft-fp/lesf2.c: Likewise.
4779         * soft-fp/letf2.c: Likewise.
4780         * soft-fp/muldf3.c: Likewise.
4781         * soft-fp/mulsf3.c: Likewise.
4782         * soft-fp/multf3.c: Likewise.
4783         * soft-fp/negdf2.c: Likewise.
4784         * soft-fp/negsf2.c: Likewise.
4785         * soft-fp/negtf2.c: Likewise.
4786         * soft-fp/op-1.h: Likewise.
4787         * soft-fp/op-2.h: Likewise.
4788         * soft-fp/op-4.h: Likewise.
4789         * soft-fp/op-8.h: Likewise.
4790         * soft-fp/op-common.h: Likewise.
4791         * soft-fp/quad.h: Likewise.
4792         * soft-fp/single.h: Likewise.
4793         * soft-fp/soft-fp.h: Likewise.
4794         * soft-fp/subdf3.c: Likewise.
4795         * soft-fp/subsf3.c: Likewise.
4796         * soft-fp/subtf3.c: Likewise.
4797         * soft-fp/truncdfsf2.c: Likewise.
4798         * soft-fp/trunctfdf2.c: Likewise.
4799         * soft-fp/trunctfsf2.c: Likewise.
4800         * soft-fp/unorddf2.c: Likewise.
4801         * soft-fp/unordsf2.c: Likewise.
4802         * soft-fp/unordtf2.c: Likewise.
4803         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4804         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4805         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4806         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4807         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4808         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4809         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4810         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4811         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4812         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4813         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4814         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4816 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4818         * config/mips/lib2funcs.c: New file.
4819         * config/mips/t-mips (LIB2ADD_ST): Add it.
4821 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4823         PR target/6526
4824         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4825         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4827 2013-06-08  Walter Lee  <walt@tilera.com>
4829         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4830         Replace int64_t with long long.  Add __extension__ where
4831         appropriate.
4832         * config/tilepro/atomic.c: Include config.h.
4834 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4836         * config.host (arm-wrs-vxworks): Configure with other soft float.
4838 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4840         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4841         (mips64r5900el-*-elf*): New configurations.
4843 2013-06-04  Alan Modra  <amodra@gmail.com>
4845         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4847 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4849         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4851 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4853         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4854         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4855         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4857 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4859         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4860         (powerpc-wrs-vxworks): Likewise.
4862 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4864         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4865         signal frames as well.
4866         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4867         STACK_BIAS to the CFA offset.
4869 2013-05-17  Richard Henderson  <rth@redhat.com>
4871         PR target/49146
4872         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4873         (execute_cfa_program): Use it when storing to fs->regs.
4875 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4877         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4878         (__deregister_frame_info): Likewise.
4880 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4882         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4883         NaN's payload.
4885         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4887 2013-04-25  Alan Modra  <amodra@gmail.com>
4889         * config.host: Match little-endian powerpc-linux.
4891 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4893         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4894         as 'unsigned long long' instead of 'unsigned long'.
4895         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4896         'signed long'.
4898 2013-04-10  Julian Brown  <julian@codesourcery.com>
4900         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4901         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4902         unsigned char/unsigned short.
4903         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4905 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4907         PR other/55274
4908         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4910 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4912         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4913         computing the location of the link register.
4914         (aeabi_uldivmod): Ditto.
4916 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4918         * config.host: Add support for cygwin x64 target.
4919         * configure: Regenerated.
4921 2013-03-26  Walter Lee  <walt@tilera.com>
4923         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4924         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4926 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4928         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4930 2013-03-20  Robert Mason  <rbmj@verizon.net>
4932         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4933         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4934         (__gthread_leave_tsd_dtor_context): Add prototypes.
4935         (tls_delete_hook): Update.
4937 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4938             Joseph Myers  <joseph@codesourcery.com>
4939             Chao-ying Fu  <fu@mips.com>
4941         * config/mips/mips16.S:  Don't build for microMIPS.
4942         * config/mips/linux-unwind.h: Handle microMIPS frame.
4943         * config/mips/crtn.S (fini, init): New labels.
4945 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4947         PR tree-optimization/53265
4948         * unwind-dw2.c (execute_cfa_program): Avoid
4949         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4950         on targets with DWARF_FRAME_REGISTERS < 32.
4952 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4954         PR target/49880
4955         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4956         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4958 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
4960         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4961         sandybridge processors.
4963 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
4965         PR target/56529
4966         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4967         inclusion list.
4969 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4971         * config/microblaze/crti.S: Setup stack protection at entry
4973 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
4975         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4976         (__rotldi3): Shift bytewise if applicable.
4978 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
4980         * config/aarch64/sync-cache.c
4981         (__aarch64_sync_cache_range): Silence warnings.
4983 2013-02-25  Catherine Moore  <clm@codesourcery.com>
4985         Revert:
4986         2013-02-24  Catherine Moore  <clm@codesourcery.com>
4987             Joseph Myers  <joseph@codesourcery.com>
4988             Chao-ying Fu  <fu@mips.com>
4990         * config/mips/mips16.S:  Don't build for microMIPS.
4991         * config/mips/linux-unwind.h: Handle microMIPS frame.
4992         * config/mips/crtn.S (fini, init): New labels.
4994 2013-02-24  Catherine Moore  <clm@codesourcery.com>
4995             Joseph Myers  <joseph@codesourcery.com>
4996             Chao-ying Fu  <fu@mips.com>
4998         * config/mips/mips16.S:  Don't build for microMIPS.
4999         * config/mips/linux-unwind.h: Handle microMIPS frame.
5000         * config/mips/crtn.S (fini, init): New labels.
5002 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5003         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5004         as dividend.
5006 2013-02-16  Alan Modra  <amodra@gmail.com>
5008         PR target/55431
5009         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5010         (ppc_fallback_frame_state): Always set up save locations for fp
5011         and altivec.  Don't bother with non-callee-saved regs, r0-r13
5012         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5014 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
5016         PR target/54222
5017         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5018         _ssmulHA, _ssmulSA.
5019         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5020         _ssmulha3, _usmulusa3, _ssmulsa3.
5021         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5022         (__muldi3): XCALL __muldi3_6 instead of rcall.
5023         (__umulsidi3, __mulsidi3): New functions.
5024         (do_prologue_saves, do_epilogue_restores): New .macros.
5025         (__divdi3_moddi3): Use them.
5026         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5027         (__usmulusa3, __ssmulsa3): New functions.
5029 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
5030             Jack Howarth  <howarth@bromo.med.uc.edu>
5031             Patrick Marlier  <patrick.marlier@gmail.com>
5033         PR libitm/55693
5034         * config/darwin-crt-tm.c: Remove dummy functions hack.
5036 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
5038         PR target/54222
5039         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5040         * config/avr/lib2-object.mk: New iterator to build objects from it.
5041         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5042         lib2funcs.c.
5043         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5044         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5045         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5046         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5047         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5048         * config/avr/lib1funcs-fixed.S: Implement them.
5050 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
5052         Update copyright years.
5054 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
5056         PR target/54601
5057         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5058         Add crtcxa to extra_parts.
5059         * config/rs6000/exit.h: New file.
5060         * config/rs6000/cxa_atexit.c: New file.
5061         * config/rs6000/cxa_finalize.c: New file.
5062         * config/rs6000/crtcxa.c: New file.
5063         * config/rs6000/t-aix-cxa: New file.
5064         * config/rs6000/libgcc-aix-cxa.ver: New file.
5066 2013-01-31  Nick Clifton  <nickc@redhat.com>
5068         * config/v850/lib1funcs.S: Add support for e3v5 architecture
5069         variant.
5071 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5073         PR target/54222
5074         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5075         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5076         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5077         _divQQ,  _divHQ,  _divHA,  _divSA,
5078         _divUQQ, _divUHQ, _divUHA, _divUSA.
5080 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5082         * config.host(microblaze*-linux*): tmake_file: Remove
5083         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5084         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5085         to exclude functions from being built with libgcc.c and use
5086         the microblaze assembly.
5088 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5090         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5091         extra_parts.
5093 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5095         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5096         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5097         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5098         alignment operation.
5100 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5102         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5103         loop start address for cache clearing.
5105 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5107         * config/avr/lib1funcs.S: Remove trailing blanks.
5108         * config/avr/lib1funcs-fixed.S: Ditto.
5110 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5112         * config/avr/avr-lib.h: Add GPL copyright notice.
5114 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5116         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5117         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5118         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5119         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5121 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5123         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5124         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5126 2013-01-04  Nick Clifton  <nickc@redhat.com>
5128         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5129         the CALLT instruction is supported.
5131 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5133         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5134         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5136 2012-12-13  John Tytgat  <John@bass-software.com>
5138         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5139         is 25.
5141 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5143         PR libgcc/55451
5144         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5145         undefined signed overflows.
5147 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5149         PR target/55344
5150         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5152 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5154         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5155         (FP_TRAPPING_EXCEPTIONS): Define.
5156         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5157         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5159 2012-12-04  Richard Henderson  <rth@redhat.com>
5161         PR bootstrap/55571
5162         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5164 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5166         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5167         (FP_EX_SHIFT): Define.
5168         (FP_TRAPPING_EXCEPTIONS): Define.
5170 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5172         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5173         (FP_ROUNDMODE): Use FP_RND_MASK.
5174         * config/aarch64/sfp-exceptions.c: New.
5175         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5176         Use __sfp_handle_exceptions.
5178 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5180         * config.host: (arm*-*-freebsd*): Remove.
5181         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5182         (arm*-*-elf*): Remove.
5183         (arm*-*-wince-pe*): Remove.
5184         * arm/unwind-arm.c (struct fpa_reg): Delete.
5185         (struct fpa_regs): Delete.
5186         (phase1_vrs): Remove fpa element.
5187         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5188         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5189         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5190         * ieee754-sf.S (floatundisf): Remove FPA support.
5191         (floatdisf): Likewise.
5192         * ieee75f-df.S (floatundidf): Likewise.
5193         (floatdidf): Likewise.
5195 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5197         PR target/55445
5198         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5199         * unwind-generic.h: Likewise.
5200         * unwind-seh.c: Likewise.
5202 2012-11-28  Richard Henderson  <rth@redhat.com>
5204         PR libgcc/48076
5205         * emutls.c (__emutls_get_address): Avoid race condition between
5206         obj->loc.offset read and emutls_key initialization.
5208 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
5210         Adjust decimal point of signed accum mode to GCC default.
5212         PR target/54222
5213         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5214         _divqq_helper.
5215         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5216         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5217         (__mulha3, __mulsa3)
5218         (__divqq3, __divha3, __divsa3): Adjust to new position of
5219         decimal point of signed accum types.
5221         (__mulusa3_round): New function.
5222         (__mulusa3): Use it.
5223         (__divqq_helper): New function.
5224         (__udivuqq3): Use it.
5226 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
5228         PR bootstrap/55370
5229         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5231 2012-11-18  Teresa Johnson  <tejohnson@google.com>
5233         PR bootstrap/55051
5234         * libgcov.c (gcov_exit): Remove merged program summary
5235         comparison unless !GCOV_LOCKED.
5237 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5239         * soft-fp: Updated from glibc upstream.
5241 2012-11-06  Ian Lance Taylor  <iant@google.com>
5243         * generic-morestack.c (__generic_morestack): Align the returned
5244         stack pointer to a 32 byte boundary.
5245         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5246         increment the return address until we have decided that we don't
5247         have a varargs function.
5248         (__morestack) [32-bit]: Align stack correctly when calling C
5249         functions.
5250         (__morestack) [64-bit]: Likewise.
5252 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5254         * configure: Regenerate.
5256 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
5258         PR target/55175
5259         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5260         * config/i386/sfp-machine.h: Guard exception handling
5261         code with _SOFT_FLOAT.
5262         * config/i386/32/sfp-machine.h: Guard rounding handling
5263         code with _SOFT_FLOAT.
5264         * config/i386/64/sfp-machine.h: Ditto.
5266 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
5268         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5269         as extra_parts.
5271 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
5273         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5274         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
5275         when appropriate.  Correct structure element types.
5276         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5277         -minline-all-stringops from compile flags.
5279 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5281         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5283 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5285         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5287 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5289         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5290         tmake_file.
5292 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
5293             Jim MacArthur  <jim.macarthur@arm.com>
5294             Marcus Shawcroft  <marcus.shawcroft@arm.com>
5295             Nigel Stephens  <nigel.stephens@arm.com>
5296             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5297             Richard Earnshaw  <rearnsha@arm.com>
5298             Sofiane Naci  <sofiane.naci@arm.com>
5299             Stephen Thomas  <stephen.thomas@arm.com>
5300             Tejas Belagod  <tejas.belagod@arm.com>
5301             Yufeng Zhang  <yufeng.zhang@arm.com>
5303         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5304         * config/aarch64/crti.S: New file.
5305         * config/aarch64/crtn.S: New file.
5306         * config/aarch64/linux-unwind.h: New file.
5307         * config/aarch64/sfp-machine.h: New file.
5308         * config/aarch64/sync-cache.c: New file.
5309         * config/aarch64/t-aarch64: New file.
5310         * config/aarch64/t-softfp: New file.
5312 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
5314         * config/mmix/crti.S: Mark program and data addresses using PRELD.
5315         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
5316         no-longer-needed LDBU insns.
5318 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5320         * config.host
5321         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5322         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5324 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5326         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5328 2012-10-15  Matthias Klose  <doko@ubuntu.com>
5330         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5332 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
5334         * configure: Regenerate.
5335         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5337 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5339         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5340         instructions for 64bit targets only.
5342 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5344         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5345         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5346         * config/i386/32/sfp-machine.h: ... here.
5347         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5348         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5349         New defines.
5351 2012-10-07  Matthias Klose  <doko@ubuntu.com>
5353         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5354         as unused.
5355         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5357 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
5359         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5360         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5361         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5362         (ElfW): Likewise.
5364 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
5366         PR other/53889
5367         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5368         Fix parameter names.
5370 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
5372         PR target/33135
5373         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5374         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5375         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5377 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
5379         PR target/50457
5380         * config/sh/linux-atomic.S: Delete.
5381         * config/sh/linux-atomic.c: New.
5382         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5383         linux-atomic.c.  Add cflags to disable warnings.
5385 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5387         PR other/53889
5388         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5389         function.
5390         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5391         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5392         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5393         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5394         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5395         Likewise.
5396         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5397         Likewise.
5398         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5399         Likewise.
5400         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5401         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5403 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
5405         * config.host (hppa-*-openbsd*): New target.
5406         * config/pa/t-openbsd: New file.
5408 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
5410         PR target/54222
5411         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5412         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5413         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5414         (__divsa3): Use __negsi2 to negate r_quoL.
5415         * config/avr/lib1funcs.S (FALIAS): New macro.
5416         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5417         (__negsi2): ...this new function.
5418         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5419         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5420         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5421         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5422         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5423         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5425 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
5427         PR target/54089
5428         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5429         (lshrsi3): Reimplement as lshrsi3_r0.
5431 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
5433         PR target/46191
5434         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5435         of libgcc.a.
5437 2012-09-07  Teresa Johnson  <tejohnson@google.com>
5439         PR gcov-profile/54487
5440         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5441         differences.
5443 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
5445         PR target/54461
5446         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5447         not configured --with-avrlibc=no.
5448         * config/avr/t-avrlibc: New file.
5449         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5450         (DPBIT_FUNCS): Ditto.
5451         (TPBIT_FUNCS): Ditto.
5453 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5455         * libgcov.c (struct gcov_summary_buffer): New structure.
5456         (gcov_histogram_insert): New function.
5457         (gcov_compute_histogram): Ditto.
5458         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5459         histograms during summary merging.
5461 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5463         * config.host (x86_64-*-openbsd*): New target.
5465 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5467         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5468         attribute.
5470 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5472         PR target/54222
5473         * config/avr/t-avr (conv_X): Rename to func_X.
5475 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5477         PR target/54222
5478         * config/avr/lib1funcs-fixed.S: New file.
5479         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5480         after they are used.
5481         (neg2, neg4): New macros.
5482         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5483         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5484         (__umulhisi3): Speed up MUL variant if there is enough flash.
5485         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5486         avr-modes.def.
5487         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5488         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5489         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5490         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5491         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5492         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5493         (LIB2FUNCS_EXCLUDE): Add supported functions.
5495 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5497         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5498         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5499         libgcc-s-objects.
5500         * fixed-obj.mk: Only expand dependency if $o is not in
5501         LIB2FUNCS_EXCLUDE.
5503 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5505         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5507 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5509         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5510         depend on --enable-shared.
5511         ($(lib1asmfuncs-o)): Use %.vis files independent of
5512         --enable-shared.
5513         * static-object.mk ($(base)$(objext), $(base).vis)
5514         ($(base)_s$(objext)): Use same rules for visibility handling as in
5515         shared-object.mk.
5517 2012-08-21  Ian Lance Taylor  <iant@google.com>
5519         * config/i386/morestack.S (__morestack_non_split): Increase amount
5520         of space allocated for non-split code stack.
5522 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5524         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5525         even if inhibit_libc.
5527 2012-08-17  Julian Brown  <julian@codesourcery.com>
5529         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5530         -fexceptions -fnon-call-exceptions if not defined.
5531         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5532         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5534 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5536         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5537         type.
5539 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5541         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5542         rs6000/t-slibgcc-aix.
5544 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5546         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5548 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5550         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5552 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5554         PR driver/54171
5555         * Makefile.in (version): Replace top_srcdir with srcdir.
5557 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5559         * Makefile.in (version): set to BASE-VER file from gcc directory.
5561 2012-08-01  Nick Clifton  <nickc@redhat.com>
5563         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5564         Implements __clrsb for an HImode argument.
5566 2012-07-31  Nick Clifton  <nickc@redhat.com>
5568         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5569         Implements __clrsb for an HImode argument.
5570         * config/stormy16/clrsbhi2.c: New file:
5571         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5573 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5575         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5577 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5578             Richard Henderson  <rth@redhat.com>
5580         * unwind-seh.c: New file.
5581         * unwind-generic.h: Include windows.h for SEH.
5582         (_Unwind_Exception): Use 6 private fields for SEH.
5583         (_GCC_specific_handler): Declare.
5584         * unwind-c.c (__gcc_personality_seh0): New function.
5585         Adjust for SEH.
5586         * config/i386/libgcc-cygming.ver: New file.
5587         * config/i386/t-seh-eh: New file.
5588         * config.host (x86_64-*-mingw*): Default to seh.
5590 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5592         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5594 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5596         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5597         __builtin_expect when checking for exceptions.
5598         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5600 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5602         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5603         function declaration.
5604         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5605         (FP_RND_MASK): New.
5606         * config/ia64/sfp-exceptions.c: New.
5607         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5609 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5611         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5612         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5613         * config/i386/64/sfp-machine: ... (delete here) ...
5614         * config/i386/sfp-machine.h: ... to here.
5615         (FP_EX_MASK): Remove.
5616         (FP_RND_MASK): New.
5617         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5619 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5621         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5622         * config/i386/libgcc-sol2.ver: Ditto.
5623         * config/i386/libgcc-glibc.ver: Ditto.
5625 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5627         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5628         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5629         pthread_cancel.
5631 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5633         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5634         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5635         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5636         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5637         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5638         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5639         * config/i386/64/sfp-machine: ... (delete here) ...
5640         * config/i386/sfp-machine.h: ... to here.
5641         (FP_EX_MASK): New.
5642         (__sfp_handle_exceptions): New function declaration.
5643         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5644         * config/i386/sfp-exceptions.c: New.
5645         * config/i386/t-softfp: New.
5646         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5647         i386/t-softfp to tmake_file.
5649 2012-06-03  David S. Miller  <davem@davemloft.net>
5651         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5652         change.
5654 2012-05-31  David S. Miller  <davem@davemloft.net>
5656         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5657         multiply and divide instructions on 32-bit when V9.
5658         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5660 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5662         * config/arm/ieee754-df.S: Fix typos.
5663         * config/arm/ieee754-sf.S: Fix typos.
5664         * config/c6x/libunwind.S: Fix typos.
5665         * config/epiphany/udivsi3-float.c: Fix typos.
5666         * config/microblaze/muldi3_hard.S: Fix typos.
5667         * config/picochip/adddi3.S: Fix typos.
5668         * config/picochip/ashlsi3.S: Fix typos.
5669         * config/picochip/ashrsi3.S: Fix typos.
5670         * config/picochip/clzsi2.S: Fix typos.
5671         * config/picochip/cmpsi2.S: Fix typos.
5672         * config/picochip/divmod15.S: Fix typos.
5673         * config/picochip/divmodhi4.S: Fix typos.
5674         * config/picochip/divmodsi4.S: Fix typos.
5675         * config/picochip/longjmp.S: Fix typos.
5676         * config/picochip/lshrsi3.S: Fix typos.
5677         * config/picochip/parityhi2.S: Fix typos.
5678         * config/picochip/popcounthi2.S: Fix typos.
5679         * config/picochip/setjmp.S: Fix typos.
5680         * config/picochip/subdi3.S: Fix typos.
5681         * config/picochip/ucmpsi2.S: Fix typos.
5682         * config/picochip/udivmodhi4.S: Fix typos.
5683         * config/picochip/udivmodsi4.S: Fix typos.
5684         * config/spu/divv2df3.c: Fix typos.
5685         * config/spu/mfc_multi_tag_release.c: Fix typos.
5686         * config/spu/mfc_tag_release.c: Fix typos.
5687         * configure.ac: Fix typos.
5688         * configure: Regenerate.
5690 2012-05-25  Ian Lance Taylor  <iant@google.com>
5692         * config/i386/morestack.S (__morestack_non_split): Check whether
5693         caller is varargs and needs %bp to hold the stack frame on return.
5695 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5697         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5698         sequence in the non pic case on VxWorks.
5700 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5702         * Makefile.in: Move dependency on install-unwind_h from
5703         "install-leaf" to "install".
5705 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5707         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5708         Use a separate command for stamp removals.
5710 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5712         PR bootstrap/53183
5713         * configure.ac: Define the default includes to being none.
5714         * configure: Regenerate.
5716 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5718         * Makefile.in (install-unwind_h): Rename into ...
5719         (install-unwind_h-forbuild): New target.
5720         (all): Use it instead of the former install-unwind_h.
5721         (install-unwind_h): Reinstate, copy to user install destination
5722         for include files, not to the internal gcc object directory one.
5723         (install-leaf): Depend on it.
5725 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5727         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5728         register numbers. LR_REGNO replaces R_LR.
5729         (ucontext_for): New, helper for ...
5730         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5731         and 5.3 of ...
5732         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5734 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5736         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5737         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5738         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5739         i386/t-cpuinfo ...
5740         (i[34567]86-*-*, x86_64-*-*): ... here.
5742         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5743         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5745         * config/i386/i386-cpuinfo.c: Rename to ...
5746         * config/i386/cpuinfo.c: ... this.
5747         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5749         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5750         (libgcc_cv_init_priority): New test.
5751         * configure: Regenerate.
5752         * config.in: New file.
5753         * Makefile.in (clean): Rename config.h to auto-target.h.
5754         (config.h): Likewise.
5755         (stamp-h): Likewise.
5757         * config/i386/cpuinfo.c (auto-target.h): Include.
5758         (CONSTRUCTOR_PRIORITY): Define.
5759         (__cpu_indicator_init): Use it.
5761 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5763         * longlong.h: Use a URL instead of an FSF postal address.
5764         Replace spaces with tab.
5766 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5768         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5769         (__gcov_dump): Ditto.
5770         (gcov_dump_complete): New global variable.
5771         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5772         (__gcov_flush): Outline functionality now in gcov_clear.
5773         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5775 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5777         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5778         (mips*-*-linux*): Include mips/t-tpbit when long double is
5779         16 bytes long.
5781 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5783         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5784         (get_available_features): New argument. Check for AVX2.
5785         (__cpu_indicator_init): Modify call to get_available_features.
5787 2012-04-25  Alan Modra  <amodra@gmail.com>
5789         * config/rs6000/crtsavevr.S: New file.
5790         * config/rs6000/crtrestvr.S: New file.
5791         * config/rs6000/t-savresfgpr: Build the above.
5792         * config/rs6000/t-netbsd: Likewise.
5794 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5796         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5798 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5800         * libgcc/config/i386/i386-cpuinfo.c: New file.
5801         * libgcc/config/i386/t-cpuinfo: New file.
5802         * libgcc/config.host: Include t-cpuinfo.
5803         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5805 2012-04-24  Chao-ying Fu  <fu@mips.com>
5807         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5809 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5811         struct siginfo vs. siginfo_t
5813         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5814         siginfo_t instead of struct siginfo.
5815         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5816         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5817         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5818         (ia64_handle_unwabi): Likewise.
5819         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5820         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5821         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5822         (sh_fallback_frame_state): Likewise.
5823         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5824         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5826 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5828         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5829         system call number.
5831 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5833         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5834         if it hasn't been previously saved.
5836 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5838         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5839         only for glibc.
5841 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5843         PR target/52737
5844         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5845         instead of __AVR_HAVE_8BIT_SP__.
5847 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5849         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5850         (unw_table_entry): Use unw_word instead of unsigned long.
5851         (_Unwind_FindTableEntry): Likewise.
5852         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5853         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5854         (_Unwind_FindTableEntry): Likewise.
5855         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5856         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5857         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5858         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5859         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5860         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5861         (uw_init_context_1, uw_install_context): Likewise.
5862         (unw_word): Move to unwind-ia64.h
5864 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5866         * config/vms/vms-ucrt0.c: Update copyright years.
5867         Add a sanity check.
5868         (___gcc_main_flags): Declare.
5869         (__main): Check flags to remap argv and exit code.
5870         * config.host (*-*-*vms*): Adjust extra_parts.
5871         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5872         (crt0.o): Add.
5874 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5876         * arm/lib1funcs.asm (ctzsi2): New function.
5877         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5878         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5879         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5880         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5881         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5882         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5884 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5886         * config.host: Add bits to support powerpc64-*-freebsd*.
5887         * config/rs6000/freebsd-unwind.h: New file.
5888         * config/rs6000/t-freebsd64: New file.
5890 2012-03-20  Richard Guenther  <rguenther@suse.de>
5892         PR gcov-profile/52627
5893         * libgcov.c (init_mx): Fix mutex name.
5895 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5897         * config/ia64/vms-unwind.h: Remove ulong (and replace
5898         it by unw_reg where used).  Define unw_reg with __int64.
5900 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5902         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5903         Solaris 8 handling.
5904         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5905         Solaris 8 handling.
5906         (sparc_is_sighandler): Likewise.
5908 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5910         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5911         <= saved reg size.
5913 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5915         * config/arm/crtn.S: Fix typo.
5917 2012-03-13  Richard Guenther  <rguenther@suse.de>
5919         * libgcov.c: Remove stdio.h include and NULL un-define.
5921 2012-03-13  Richard Guenther  <rguenther@suse.de>
5923         PR target/52569
5924         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5926 2012-03-13  Richard Guenther  <rguenther@suse.de>
5928         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5930 2012-03-13  Richard Guenther  <rguenther@suse.de>
5932         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5933         and __gthread_mutex_init_function definitions.
5935 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5937         * config.host (mips*-*-openbsd*): Remove.
5939 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5941         * config.host: Remove alpha*-dec-osf5.1* handling.
5942         * config/alpha/gthr-posix.c: Remove.
5943         * config/alpha/libgcc-osf5.ver: Remove.
5944         * config/alpha/osf5-unwind.h: Remove.
5945         * config/alpha/t-osf-pthread: Remove.
5946         * config/alpha/t-slibgcc-osf: Remove.
5947         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5948         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5949         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5950         * mkmap-flat.awk: Remove osf_export handling.
5952 2012-03-12  Richard Guenther  <rguenther@suse.de>
5954         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5955         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5956         (__gthread_mutex_init_function): New function.
5957         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5959         PR gcov/49484
5960         * libgcov.c: Include gthr.h.
5961         (__gcov_flush_mx): New global variable.
5962         (init_mx, init_mx_once): New functions.
5963         (__gcov_flush): Protect self with a mutex.
5964         (__gcov_fork): Re-initialize mutex after forking.
5965         * unwind-dw2-fde.c: Change condition under which to use
5966         __GTHREAD_MUTEX_INIT_FUNCTION.
5968 2012-03-12  Tristan Gingold  <gingold@adacore.com>
5970         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5971         * config/ia64/t-vms: Likewise.
5973 2012-03-11  Michael Hope  <michael.hope@linaro.org>
5975         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5976         for Thumb-2.
5978 2012-03-07  Walter Lee  <walt@tilera.com>
5980         * config/tilepro/atomic.c: Rename "atomic_" prefix to
5981         "arch_atomic_".
5982         (atomic_xor): Rename and move definition to
5983         config/tilepro/atomic.h.
5984         (atomic_nand): Ditto.
5985         * config/tilepro/atomic.h: Rename "atomic_" prefix to
5986         "arch_atomic_".
5987         (arch_atomic_xor): Move from config/tilepro/atomic.c.
5988         (arch_atomic_nand): Ditto.
5990 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5992         PR target/52507
5993         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5995 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
5997         PR target/52505
5998         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5999         from RAM.
6001 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6003         PR target/52461
6004         PR target/52508
6005         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6006         if RAMPZ affects reading from RAM.
6007         (__tablejump_elpm__): Ditto.
6008         (.xload): Ditto.
6009         (__movmemx_hi): Ditto.
6010         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6011         (__do_global_dtors): Ditto.
6012         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6013         (__movmemx_hi): Ditto.
6015 2012-03-05  Richard Henderson  <rth@redhat.com>
6017         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6018         [ARM] (count_trailing_zeros): Use the builtin.
6020 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6022         * soft-fp: Imported from glibc upstream.
6024 2012-02-28  Kai Tietz  <ktietz@redhat.com>
6026         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6027         for mingw-targets as attribute gcc_struct.
6029 2012-02-28  Ian Lance Taylor  <iant@google.com>
6031         * generic-morestack.c (__splitstack_releasecontext): Correct call
6032         to __morestack_release_segments.
6034 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6036         PR target/52390
6037         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6038         for __linux__ when removing signals from __morestack_fullmask.
6040 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
6042         PR target/52261
6043         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6045 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6047         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6048         instead of HAVE_INITFINI_ARRAY.
6049         * config/ia64/crtend.S: Likewise.
6051 2012-02-20  Kai Tietz  <ktietz@redhat.com>
6053         PR libstdc++/52300
6054         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6056         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6057         to w32-unwind.h header.
6059 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6061         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6062         (mips*-*-linux*): Remove t-slibgcc-libgcc.
6063         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6064         * config/mips/mips16.S (__mips16_rdhwr): Delete.
6066 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6068         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6070 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6072         PR libitm/52220
6073         * config/darwin-crt-tm.c: Correct typo.
6075 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6076             Patrick Marlier  <patrick.marlier@gmail.com>
6078         PR libitm/52220
6079         * config/darwin-crt-tm.c: Generate dummy functions.
6081 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6082             Patrick Marlier  <patrick.marlier@gmail.com>
6084         PR libitm/52042
6085         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6086         (__doTMRegistrations): Call it.
6087         (__doTMdeRegistrations): Likewise.
6089 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6090             Anatoly Sokolov  <aesok@post.ru>
6091             Eric Weddington  <eric.weddington@atmel.com>
6093         PR target/52261
6094         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6095         (__epilogue_restores__): Ditto.
6097 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6099         PR target/51921
6100         PR target/52205
6101         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6102         Solaris 11 and slightly reformat.
6103         (sparc_is_sighandler): Likewise.
6105 2012-02-14  Walter Lee  <walt@tilera.com>
6107         * config.host: Handle tilegx and tilepro.
6108         * config/tilegx/sfp-machine.h: New file.
6109         * config/tilegx/sfp-machine32.h: New file.
6110         * config/tilegx/sfp-machine64.h: New file.
6111         * config/tilegx/t-crtstuff: New file.
6112         * config/tilegx/t-softfp: New file.
6113         * config/tilegx/t-tilegx: New file.
6114         * config/tilepro/atomic.c: New file.
6115         * config/tilepro/atomic.h: New file.
6116         * config/tilepro/linux-unwind.h: New file.
6117         * config/tilepro/sfp-machine.h: New file.
6118         * config/tilepro/softdivide.c: New file.
6119         * config/tilepro/softmpy.S: New file.
6120         * config/tilepro/t-crtstuff: New file.
6121         * config/tilepro/t-tilepro: New file.
6123 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6125         PR libstdc++/51296
6126         PR libstdc++/51906
6127         * gthr-posix.h: Allow static initializer macros to be disabled.
6128         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6130 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6132         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6133         Add t-slibgcc-libgcc to tmake_file.
6134         * config/mips/libgcc-mips16.ver: Revert previous patch.
6135         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6137 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6138             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6140         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6141         * config/cr16/crti.S: New file.
6142         * config/cr16/crtlibid.S: New file.
6143         * config/cr16/crtn.S: New file.
6144         * config/cr16/lib1funcs.S: New file.
6145         * config/cr16/t-cr16: New file.
6146         * config/cr16/t-crtlibid: New file.
6147         * config/cr16/unwind-dw2.h: New file.
6148         * config/cr16/unwind-cr16.c: New file.
6149         * config/cr16/divmodhi3.c: New file.
6151 2012-01-25  Alan Modra  <amodra@gmail.com>
6153         * config/rs6000/t-linux64: Delete.  Move..
6154         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6155         * config/rs6000/t-linux: ..and libgcc flags to here.
6157 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6159         * config.host (i[34567]86-*-interix3*):
6160         Change triplet to i[34567]86-*-interix[3-9]*.
6161         * configure: Regenerate.
6163 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6164             Richard Sandiford  <rdsandiford@googlemail.com>
6166         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6167         * config/mips/mips16.S (__mips16_rdhwr): New function.
6168         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6170 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6172         * libgcov.c (__gcov_init): Ignore objects with no functions.
6174 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6176         PR target/49868
6177         Extend __pgmx semantics to linearize memory.
6178         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6179         * config/avr/lib1funcs.S (__xload_1): New function.
6180         (__movmemx_qi, __movmemx_hi): New functions.
6181         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6182         semantics.
6184 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6186         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6187         purported sigacthandler address isn't null before dereferencing it.
6188         (sparc_is_sighandler): Likewise.
6190 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6192         PR ada/41929
6193         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6194         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6195         (sparc_is_sighandler): Likewise.
6196         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6198 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6200         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6201         compatibility thunks...
6202         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6203         (crtbeginS.o, crtendS.o): ... and these to ...
6204         * config/ia64/t-ia64-elf: ... this new file.
6205         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6206         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6208 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6210         * configure: Regenerate.
6211         * config/s390/t-crtstuff: Remove -fPIC.
6213 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6215         PR bootstrap/51006
6216         * enable-execute-stack-mprotect.c (getpagesize): Do not define
6217         for NetBSD.
6219 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6221         PR target/51345
6222         * config/avr/lib1funcs.S: Remove FIXME comments.
6223         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6225 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6227         Implement light-weight DImode support.
6228         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6229         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6230         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6231         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6233 2011-12-30  Nathan Sidwell  <nathan@acm.org>
6235         * libgcov.c (gcov_crc32): Remove global var.
6236         (free_fn_data): New function.
6237         (buffer_fn_data): Pass in filename, more robust error recovery.
6238         (crc32_unsigned): New function.
6239         (gcov_exit): More robust detection of new program. More robust
6240         error recovery.
6241         (__gcov_init): Do not update program's crc here.
6243 2011-12-21  Tristan Gingold  <gingold@adacore.com>
6245         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6247 2011-12-21  Ian Lance Taylor  <iant@google.com>
6249         * config/i386/morestack.S: Simplify CFI opcodes throughout.
6251 2011-12-20  Ian Lance Taylor  <iant@google.com>
6253         * config/i386/morestack.S (__morestack_non_split): If there is
6254         enough stack space already, don't split.  Ask for more stack space
6255         than we required.
6257 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
6259         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6260         `sys/sdt.h'.
6261         (_Unwind_DebugHook): New function.
6262         (uw_restore_core_regs): New define.
6263         (unwind_phase2): Use uw_restore_core_regs instead of
6264         restore_core_regs.
6265         (unwind_phase2_forced): Likewise.
6266         (__gnu_Unwind_Resume): Likewise.
6268 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
6270         * config/alpha/linux-unwind.h: Update copyright years.
6271         (MD_FROB_UPDATE_CONTEXT): New define.
6272         (alpha_frob_update_context): New function.
6274 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
6276         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6277         tmake_file rather replacing it.
6279 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
6281         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6282         function is not used for PPC64.
6283         (save_world): Amend comments.  Update the VRsave mask to reflect the
6284         saved regs.
6285         (rest_world): Update comments, do not  clobber r10, do not use r8.
6286         (eh_rest_world_r10): Amend comments, do not use r8.
6287         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6288         no longer used, move restore of CR and target address to the end of
6289         the routine.
6291 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
6293         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6294         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6296 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
6298         PR target/49313
6299         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6300         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6302 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
6304         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6306 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
6308         PR target/49313
6309         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6310         * config/avr/lib1funcs.S (__muldi3): New function.
6312 2011-12-06  Andrew Pinski  <apinski@cavium.com>
6314         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6315         size of func_ptr.
6316         (__frame_dummy_init_array_entry): Likewise.
6318 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
6320         Forward-port from gcc-4_6-branch r181936 2011-12-02.
6322         PR target/51345
6323         PR target/51002
6324         * config/avr/lib1funcs.S (__prologue_saves__,
6325         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6326         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
6328 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
6330         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6332 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6334         PR other/51272
6335         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6336         (_ITM_deregisterTMCloneTable): Likewise.
6337         (__register_frame_info): Fix unused warning.
6338         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6339         pthread_default_stacksize_np): Likewise.
6340         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6342 2011-11-29  DJ Delorie  <dj@redhat.com>
6344         * config.host (rl78-*-elf): New case.
6345         * config/rl78: New directory for the Renesas RL78.
6347 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
6349         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
6350         formatting.
6352 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6354         PR other/51022
6355         * config/rs6000/t-savresfgpr: New file.
6356         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6357         $(srcdir)/config/rs6000/eabi.S.
6358         * config/rs6000/t-ppccomm-ldbl: Remove.
6359         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6360         tmake_file.
6361         (powerpc-*-eabispe*): Likewise.
6362         (powerpc-*-eabi*): Likewise.
6363         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6364         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6365         to tmake_file, remove rs6000/t-ppccomm-ldbl.
6366         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6367         tmake_file.
6368         (powerpc-*-eabisim*): Likewise.
6369         (powerpc-*-elf*): Likewise.
6370         (powerpc-*-eabialtivec*): Likewise.
6371         (powerpc-xilinx-eabi*): Likewise.
6372         (powerpc-*-rtems*): Likewise.
6373         (powerpcle-*-elf*): Likewise.
6374         (powerpcle-*-eabisim*): Likewise.
6375         (powerpcle-*-eabi*): Likewise.
6377 2011-11-27  Ian Lance Taylor  <iant@google.com>
6379         * generic-morestack.c (__splitstack_find): Check for NULL old
6380         stack value.
6381         (__splitstack_resetcontext): New function.
6382         (__splitstack_releasecontext): New function.
6383         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6385 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6387         * config/darwin-crt-tm.c: Correct comments, use correct licence.
6389 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6391         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6393 2011-11-26  Richard Henderson  <rth@redhat.com>
6395         * config/m68k/linux-atomic.c: New file.
6396         * config/m68k/t-linux: New file.
6397         * config.host (m68k-uclinux, m68k-linux): Use it.
6399 2011-11-26  Richard Henderson  <rth@redhat.com>
6401         * crtstuff.c (__TMC_LIST__): Mark used not unused.
6402         (__TMC_END__): Only declare if hidden is available; in the definition,
6403         if hidden is unavailable add a null record.
6404         (deregister_tm_clones, register_tm_clones): New.
6405         (__do_global_dtors_aux, frame_dummy): Use them.
6406         (__do_global_dtors, __do_global_ctors_1): Likewise.
6408 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
6410         * config/darwin-crt-tm.c: New file.
6411         * config.host (darwin): Build crttms.o crttme.o to provide
6412         startup and shutdown for tm clones.
6413         * config/t-darwin (crttms.o): New build rule.
6414         (crttme.o): Likewise.
6416 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
6418         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6419         et al.
6421 2011-11-21  Richard Henderson  <rth@redhat.com>
6423         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6424         (__TMC_LIST__, __TMC_END__): New.
6425         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6426         (__do_global_dtors): Likewise.
6427         (frame_dummy): Call _ITM_registerTMCloneTable.
6428         (__do_global_ctors_1): Likewise.
6430 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6432         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6433         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6434         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6435         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6436         * config/i386/t-darwin64: Remove.
6437         * config/sh/t-netbsd (LIB2ADD): Remove.
6439 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
6441         PR target/49313
6442         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6443         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6444         * config/avr/lib1funcs.S (wmov): New assembler macro.
6445         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6446         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6447         (__udivmod64): New function.
6448         (__negdi2): New function.
6450 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
6452         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6453         *-*-freebsd*aout*): Remove.
6455 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6457         * static-object.mk (c_flags-$o): Save c_flags.
6458         ($(base)$(objext)): Use it.
6460 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6462         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6464 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6466         PR target/49868
6467         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6468         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6469         New functions.
6471 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6473         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6474         functions.
6475         (aeabi_uidivmod): Likewise.
6476         (umodsi3): Likewise.
6477         (divsi3): Likewise.
6478         (aeabi_idivmod): Likewise.
6479         (modsi3): Likewise.
6481 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6483         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6485 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6487         PR target/49868
6488         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6489         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6491 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6493         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6494         tmake_file list.
6495         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6496         * config/pa/t-stublib64: Delete.
6498 2011-11-12  Richard Henderson  <rth@redhat.com>
6500         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6501         cast the pointer argument to _Unwind_SetGRPtr.
6503 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6505         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6507 2011-11-09  Ian Lance Taylor  <iant@google.com>
6509         * generic-morestack.c: Include <string.h>.
6510         (uintptr_type): Define.
6511         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6512         extra array by 1.
6513         (allocate_segment): Set prev field to NULL.  Don't set
6514         __morestack_current_segment or __morestack_segments.
6515         (__generic_morestack): Update current->prev and *pp after calling
6516         allocate_segment.
6517         (__morestack_block_signals): Don't do anything if
6518         dont_block_signals is set.
6519         (__morestack_unblock_signals): Likewise.
6520         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6521         uintptr_type.
6522         (__splitstack_block_signals): New function.
6523         (enum __splitstack_content_offsets): Define.
6524         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6525         (__splitstack_makecontext): New function.
6526         (__splitstack_block_signals_context): New function.
6527         (__splitstack_find_context): New function.
6528         * config/i386/morestack.S (__morestack_get_guard): New function.
6529         (__morestack_set_guard, __morestack_make_guard): New functions.
6530         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6532 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6534         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6535         (i[34567]86-*-mingw*): ... here.
6536         (x86_64-*-mingw*): ... here.
6538 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6540         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6542 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6544         * libgcov.c (struct gcov_fn_buffer): New struct.
6545         (buffer_fn_data): New helper.
6546         (gcov_exit): Rework for new gcov data structures.
6548 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6550         PR target/49313
6551         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6553 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6555         * config.host (tmake_file): Correct comment.
6556         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6557         t-libgcc-pic.
6558         (bfin*-uclinux*): Likewise.
6559         (bfin*-linux-uclibc*): Likewise.
6560         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6562         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6563         assigning.
6564         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6565         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6566         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6567         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6568         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6569         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6570         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6571         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6572         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6573         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6574         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6575         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6576         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6578         * config/bfin/t-elf: Remove.
6579         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6581 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6583         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6584         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6585         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6586         (lm32-*-elf*): ... this.
6587         (lm32-*-rtems*): ... and this.
6588         Add to tmake_file.
6589         (m32r-*-rtems*): Add to tmake_file.
6590         (moxie-*-rtems*): Likewise.
6591         (sparc-*-rtems*): Likewise.
6592         Remove t-rtems from tmake_file.
6593         (sparc64-*-rtems*): Likewise.
6594         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6595         instead.
6597 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6599         PR bootstrap/50982
6600         * config/gthr-posix.h: Move ...
6601         * gthr-posix.h: ... here.
6602         * config/gthr-lynx.h: Reflect this.
6603         * config/gthr-vxworks.h: Likewise.
6604         * config/rs6000/gthr-aix.h: Likewise.
6605         * configure.ac (target_thread_file): Likewise.
6606         * configure: Regenerate.
6608 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6610         * config.host (arm*-*-rtemseabi*): New target.
6612 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6614         PR other/50991
6615         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6616         extra-parts.
6618 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6620         * config.host (epiphany-*-elf*): New configuration.
6621         * config/epiphany: New Directory.
6623 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6625         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6626         * config/avr/t-rtems: New.
6627         Filter out _exit from LIB1ASMFUNCS.
6629 2011-11-04  David S. Miller  <davem@davemloft.net>
6631         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6632         * configure: Rebuild.
6634 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6636         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6637         variable.
6639 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6641         PR target/50931
6642         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6643         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6645 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6647         PR target/50989
6648         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6650 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6652         * config/c6x/t-elf (LIB2ADDEH): Set.
6653         * config/c6x/t-c6x-elf: Remove.
6655 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6657         * config/i386/sol2-ci.S: Rename to ...
6658         * config/i386/crti.S: ... this.
6659         * config/i386/sol2-cn.S: Rename to ...
6660         * config/i386/crtn.S: ... this.
6661         * config/sparc/sol2-ci.S: Rename to ...
6662         * config/sparc/crti.S: ... this.
6663         * config/sparc/sol2-cn.S: Rename to ...
6664         * config/sparc/crtn.S: ... this.
6665         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6666         (crti.o, crtn.o): Remove.
6668 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6670         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6672 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6674         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6676 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6678         * config.host (crisv32-*-none, cris-*-none): Remove.
6679         (crisv32-*-elf): Append to tmake_file, don't just set it.
6680         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6682 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6684         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6685         (ecrtn$(objext)): Likewise.
6686         (ncrti$(objext)): Likewise.
6687         (ncrtn$(objext)): Likewise.
6689 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6691         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6693 2011-11-02  David S. Miller  <davem@davemloft.net>
6695         * configure.ac: Set host_address on sparc too.
6696         * configure: Regenerate.
6697         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6698         based upon host_address.
6699         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6701 2011-11-02  Jason Merrill  <jason@redhat.com>
6703         * config/rs6000/t-ppccomm: Add missing \.
6705 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6707         * gthr-single.h, gthr.h: New files.
6708         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6709         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6710         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6711         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6712         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6713         * configure.ac (thread_header): New variable.
6714         Set it depending on target_thread_file.
6715         (gthr-default.h): Link from $thread_header.
6716         * configure: Regenerate.
6717         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6719 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6721         * configure.ac (tm_file_): New variable.
6722         Determine from tm_file.
6723         (tm_file, tm_defines): Substitute.
6724         * configure: Regenerate.
6725         * mkheader.sh: New file.
6726         * Makefile.in (clean): Remove libgcc_tm.h.
6727         ($(objects)): Depend on libgcc_tm.h.
6728         (libgcc_tm_defines, libgcc_tm_file): New variables.
6729         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6730         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6731         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6732         ($(extra-parts)): Depend on libgcc_tm.h.
6733         * config.host (tm_defines, tm_file): New variable.
6734         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6735         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6736         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6737         (avr-*-rtems*): Likewise.
6738         (avr-*-*): Likewise.
6739         (frv-*-elf): Likewise.
6740         (frv-*-*linux*): Likewise.
6741         (h8300-*-rtems*): Likewise.
6742         (h8300-*-elf*): Likewise.
6743         (i[34567]86-*-darwin*): Likewise.
6744         (x86_64-*-darwin*): Likewise.
6745         (rx-*-elf): Likewise.
6746         (tic6x-*-uclinux): Likewise.
6747         (tic6x-*-elf): Likewise.
6748         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6749         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6750         * config/i386/cygming-crtbegin.c: Likewise.
6751         * config/i386/cygming-crtend.c: Likewise.
6752         * config/ia64/fde-vms.c: Likewise.
6753         * config/ia64/unwind-ia64.c: Likewise.
6754         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6755         * config/rs6000/darwin-fallback.c: Likewise.
6756         * config/stormy16/lib2funcs.c: Likewise.
6757         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6758         * crtstuff.c: Likewise.
6759         * dfp-bit.h: Likewise.
6760         * emutls.c: Likewise.
6761         * fixed-bit.c: Likewise.
6762         * fp-bit.c: Likewise.
6763         * generic-morestack-thread.c: Likewise.
6764         * generic-morestack.c: Likewise.
6765         * libgcc2.c: Likewise.
6766         * libgcov.c: Likewise.
6767         * unwind-dw2-fde-dip.c: Likewise.
6768         * unwind-dw2-fde.c: Likewise.
6769         * unwind-dw2.c: Likewise.
6770         * unwind-sjlj.c: Likewise.
6772 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6774         * configure.ac: Include ../config/picflag.m4.
6775         (GCC_PICFLAG): Call it.
6776         Substitute.
6777         * configure: Regenerate.
6778         * Makefile.in (gcc_srcdir): Remove.
6779         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6780         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6781         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6782         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6783         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6784         Use $<.
6785         Remove comment.
6786         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6787         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6788         to refer to libgcc2.c.
6789         Use $<.
6790         * config/darwin-64.c: New file.
6791         * config/darwin-crt3.c: Remove comment.
6792         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6793         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6794         config/udivmodsi4.c: New files.
6795         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6796         config/memset.c: New files.
6797         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6798         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6799         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6800         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6801         * config/t-openbsd-thread: New file.
6802         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6803         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6804         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6805         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6806         qrnnd.S.
6807         Adapt filename.
6808         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6809         to refer to gthr-posix.c.
6810         * config/alpha/t-vms (LIB2ADD): Set.
6811         * config/alpha/vms-gcc_shell_handler.c: New file.
6812         * config/arm/bpabi.c, config/arm/fp16.c,
6813         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6814         config/arm/unaligned-funcs.c: New files.
6815         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6816         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6817         * config/arm/t-linux: Likewise.
6818         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6819         * config/arm/t-netbsd: New file.
6820         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6821         * config/arm/t-symbian (LIB2ADD_ST): Set.
6822         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6823         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6824         * config/bfin/t-elf: New file.
6825         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6826         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6827         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6828         config/c6x/ltf.c: New files.
6829         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6830         (HOST_LIBGCC2_CFLAGS): Set.
6831         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6832         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6833         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6834         New files.
6835         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6836         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6837         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6838         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6839         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6840         files.
6841         * config/frv/t-frv (LIB2ADD): Set.
6842         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6843         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6844         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6845         config/h8300/popcounthi2.c: New files.
6846         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6847         * config/i386/gthr-win32.c: New file.
6848         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6849         * config/i386/t-cygwin: Likewise.
6850         * config/i386/t-darwin, config/i386/t-darwin64,
6851         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6852         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6853         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6854         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6855         * config/ia64/quadlib.c: New file.
6856         * config/ia64/t-hpux (LIB2ADD): Set.
6857         * config/ia64/t-ia64: Add comment.
6858         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6859         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6860         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6861         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6862         * config/m32c/t-m32c (LIB2ADD): Set.
6863         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6864         * config/m32r/t-m32r: Likewise.
6865         * config/m68k/fpgnulib.c: New file.
6866         * config/m68k/t-floatlib (LIB2ADD): Set.
6867         (xfgnulib.c): New target.
6868         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6869         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6870         * config/mep/t-mep (LIB2ADD): Set.
6871         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6872         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6873         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6874         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6875         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6876         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6877         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6878         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6879         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6880         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6881         New files.
6882         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6883         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6884         * config/pa/fptr.c, config/pa/lib2funcs.S,
6885         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6886         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6887         (LIB2ADD, LIB2ADD_ST): Set.
6888         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6889         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6890         Set.
6891         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6892         * config/pdp11/t-pdp11: New file.
6893         * config/picochip/libgccExtras/adddi3.S,
6894         config/picochip/libgccExtras/ashlsi3.S,
6895         config/picochip/libgccExtras/ashrsi3.S,
6896         config/picochip/libgccExtras/clzsi2.S,
6897         config/picochip/libgccExtras/cmpsi2.S,
6898         config/picochip/libgccExtras/divmod15.S,
6899         config/picochip/libgccExtras/divmodhi4.S,
6900         config/picochip/libgccExtras/divmodsi4.S,
6901         config/picochip/libgccExtras/lshrsi3.S,
6902         config/picochip/libgccExtras/parityhi2.S,
6903         config/picochip/libgccExtras/popcounthi2.S,
6904         config/picochip/libgccExtras/subdi3.S,
6905         config/picochip/libgccExtras/ucmpsi2.S,
6906         config/picochip/libgccExtras/udivmodhi4.S,
6907         config/picochip/libgccExtras/udivmodsi4.S: New files.
6908         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6909         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6910         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6911         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6912         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6913         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6914         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6915         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6916         files.
6917         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6918         (HOST_LIBGCC2_CFLAGS): Set.
6919         * config/rs6000/t-darwin64: New file.
6920         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6921         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6922         * config/rs6000/t-ppccomm (LIB2ADD): Add
6923         $(srcdir)/config/rs6000/tramp.S.
6924         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6925         Add  $(srcdir)/config/rs6000/eabi.S.
6926         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6927         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6928         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6929         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6930         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6931         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6932         * config/rs6000/tramp.S: New file.
6933         * config/s390/t-tpf: Remove.
6934         * config/sh/linux-atomic.S: New file.
6935         * config/sh/t-linux (LIB2ADD): Set.
6936         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6937         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6938         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6939         to unwind-dw2.c.
6940         (HOST_LIBGCC2_CFLAGS): Set.
6941         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6942         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6943         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6944         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6945         config/spu/mfc_multi_tag_release.c,
6946         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6947         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6948         config/spu/multi3.c: New files.
6949         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6950         (HOST_LIBGCC2_CFLAGS): Set.
6951         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6952         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6953         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6954         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6955         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6956         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6957         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6958         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6959         config/stormy16/umodsi3.c: New files.
6960         * config/xtensa/lib2funcs.S: New file.
6961         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6962         * config/xtensa/t-xtensa (LIB2ADD): Set.
6963         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6964         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6965         Add t-freebsd-thread to tmake_file for posix threads.
6966         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6967         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6968         (*-*-lynxos*): Likewise.
6969         (*-*-netbsd*): Likewise.
6970         (*-*-openbsd*): Likewise.
6971         Add t-openbsd-thread to tmake_file for posix threads.
6972         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6973         (*-*-vxworks*): Set tmake_file.
6974         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6975         (alpha*-*-freebsd*): Likewise.
6976         (alpha*-*-netbsd*): Likewise.
6977         (alpha*-*-openbsd*): Likewise.
6978         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6979         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6980         (alpha*-dec-*vms*): Likewise.
6981         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6982         (bfin*-elf*): Add bfin/t-elf to tmake_file.
6983         (bfin*-uclinux*): Likewise.
6984         (bfin*-linux-uclibc*): Likewise.
6985         (crisv32-*-elf): Add cris/t-cris to tmake_file.
6986         (crisv32-*-none): Likewise.
6987         (cris-*-elf): Likewise.
6988         (cris-*-none): Likewise.
6989         (cris-*-linux*, crisv32-*-linux*): Likewise.
6990         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6991         tmake_file.
6992         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6993         tmake_file.
6994         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6995         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6996         (x86_64-*-elf*): Likewise.
6997         (i[34567]86-*-nto-qnx*): Likewise.
6998         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6999         win32 threads.
7000         (x86_64-*-mingw*): Likewise.
7001         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7002         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7003         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7004         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7005         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7006         tmake_file.
7007         (mipsisa64sr71k-*-elf*): Likewise.
7008         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7009         (mips-*-elf*, mipsel-*-elf*): Likewise.
7010         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7011         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7012         (mips*-*-rtems*): Likewise.
7013         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7014         to tmake_file.
7015         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7016         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7017         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7018         (spu-*-elf*): Likewise.
7019         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7021 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7023         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7024         $(srcdir) to refer to $(LIB1ASMSRC).
7025         Use $<.
7026         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7027         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7028         config/arm/lib1funcs.S: New files.
7029         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7030         * config/arm/t-arm: New file.
7031         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7032         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7033         config/arm/t-strongarm-elf: New files.
7034         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7035         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7036         * config/avr/lib1funcs.S: New file.
7037         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7038         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7039         * config/c6x/lib1funcs.S: New file.
7040         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7041         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7042         * config/frv/lib1funcs.S: New file.
7043         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7044         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7045         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7046         * config/ia64/__divxf3.asm: Rename to ...
7047         * config/ia64/__divxf3.S: ... this.
7048         Adapt lib1funcs.asm filename.
7049         * config/ia64/_fixtfdi.asm: Rename to ...
7050         * config/ia64/_fixtfdi.S: ... this.
7051         Adapt lib1funcs.asm filename.
7052         * config/ia64/_fixunstfdi.asm: Rename to ...
7053         * config/ia64/_fixunstfdi.S: ... this.
7054         Adapt lib1funcs.asm filename.
7055         * config/ia64/_floatditf.asm: Rename to ...
7056         * config/ia64/_floatditf.S: ... this.
7057         Adapt lib1funcs.asm filename.
7058         * config/ia64/lib1funcs.S: New file.
7059         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7060         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7061         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7062         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7063         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7064         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7065         * config/mep/lib1funcs.S: New file.
7066         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7067         * config/mips/mips16.S: New file.
7068         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7069         * config/pa/milli64.S: New file.
7070         * config/pa/t-linux, config/pa/t-linux64: New files.
7071         * config/picochip/lib1funcs.S: New file.
7072         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7073         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7074         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7075         * config/sh/t-netbsd: New file.
7076         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7077         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7078         * config/sh/t-sh64: New file.
7079         * config/sparc/lb1spc.S: New file.
7080         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7081         filename.
7082         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7083         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7084         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7085         config/xtensa/lib1funcs.S: New files.
7086         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7087         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7088         tmake_file.
7089         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7090         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7091         (arm*-*-linux*): Likewise.
7092         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7093         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7094         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7095         (arm*-*-ecos-elf): Likewise.
7096         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7097         (arm*-*-rtems*): Likewise.
7098         (arm*-*-elf): Likewise.
7099         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7100         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7101         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7102         (bfin*-uclinux*): Likewise.
7103         (bfin*-linux-uclibc*): Likewise.
7104         (bfin*-rtems*): Likewise.
7105         (bfin*-*): Likewise.
7106         (fido-*-elf): Merge into m68k-*-elf*.
7107         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7108         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7109         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7110         (h8300-*-elf*): Likewise.
7111         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7112         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7113         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7114         (i[34567]86-*-mingw*): Likewise.
7115         (x86_64-*-mingw*): Likewise.
7116         (i[34567]86-*-interix3*): Likewise.
7117         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7118         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7119         (m68k-*-elf*): Also handle fido-*-elf.
7120         Add m68k/t-floatlib to tmake_file.
7121         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7122         (m68k-*-linux*): Likewise.
7123         (m68k-*-rtems*): Likewise.
7124         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7125         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7126         sh64*-*-*.
7127         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7128         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7129         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7130         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7131         sh/t-netbsd to tmake_file.
7132         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7133         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7134         (sh-wrs-vxworks): Likewise.
7135         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7136         *-leon[3-9]*.
7137         (v850*-*-*): Add v850/t-v850 to tmake_file.
7138         (vax-*-linux*): Add vax/t-linux to tmake_file.
7139         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7141 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7143         * crtstuff.c: New file.
7144         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7145         (CRTSTUFF_T_CFLAGS): Define.
7146         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7147         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7148         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7149         crtstuff.c.
7150         Use $<.
7151         (crtbeginT.o): Use $(objext).
7152         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7153         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7154         (gcc-extra-parts): Remove.
7155         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7156         Set extra_parts.
7157         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7158         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7159         Add t-crtstuff-pic to tmake_file.
7160         (*-*-lynxos*): New case.
7161         Set tmake_file, extra_parts.
7162         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7163         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7164         *-*-netbsdelf[2-9]*.
7165         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7166         (*-*-rtems*): Set extra_parts.
7167         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7168         (*-*-uclinux*): New case.
7169         Set extra_parts.
7170         (*-*-vms*): New case.
7171         Set tmake_file, extra_parts.
7172         (*-*-elf): Set extra_parts.
7173         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7174         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7175         vms/t-vms64.
7176         Set extra_parts.
7177         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7178         Set extra_parts.
7179         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7180         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7181         (arm-wrs-vxworks): Append to tmake_file.
7182         Set extra_parts.
7183         (arm*-*-uclinux*): Set extra_parts.
7184         (arm*-*-ecos-elf): Likewise.
7185         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7186         arm*-*-eabi*.
7187         (arm*-*-rtems*): Set extra_parts.
7188         (arm*-*-elf): Likewise.
7189         (avr-*-rtems*): Clear extra_parts.
7190         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7191         Set extra_parts.
7192         (bfin*-uclinux*): Likewise.
7193         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7194         (bfin*-rtems*): Append to tmake_file.
7195         Set extra_parts.
7196         (bfin*-*): Likewise.
7197         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7198         (crisv32-*-elf): ... this.
7199         (crisv32-*-none): ... this.
7200         (cris-*-elf, cris-*-none): New cases.
7201         Add cris/t-elfmulti to tmake_file.
7202         (fr30-*-elf): Append to tmake_file.
7203         Set extra_parts.
7204         (frv-*-elf): Append to tmake_file, add frv/t-frv.
7205         Set extra_parts.
7206         (h8300-*-rtems*): Append to tmake_file.
7207         Set extra_parts.
7208         (h8300-*-elf*): Likewise.
7209         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7210         Set extra_parts.
7211         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7212         Set extra_parts.
7213         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7214         (x86_64-*-elf*): Likewise.
7215         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7216         (x86_64-*-freebsd*): Likewise.
7217         (x86_64-*-netbsd*): Likewise.
7218         (i[34567]86-*-linux*): Likewise.
7219         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7220         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7221         (x86_64-*-linux*): Likewise.
7222         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7223         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7224         tmake_file.
7225         Set extra_parts.
7226         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7227         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7228         Append to extra_parts, remove crtbegin.o, crtend.o.
7229         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7230         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7231         crtend.o, crtbeginS.o, crtendS.o.
7232         (ia64*-*-linux*): Comment extra_parts.
7233         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7234         Set extra_parts.
7235         (iq2000*-*-elf*): Clear extra_parts.
7236         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7237         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7238         (m32r-*-elf*, m32r-*-rtems*): Split off ...
7239         (m32r-*-rtems*): ... this.
7240         Add m32r/t-m32r to tmake_file.
7241         (m68k-*-elf*): Add t-crtin to tmake_file.
7242         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7243         (mcore-*-elf): Likewise.
7244         (microblaze*-*-*): Set extra_parts.
7245         (mips*-sde-elf*): New case.
7246         Set tmake_file, extra_parts.
7247         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7248         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7249         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7250         tmake_file.
7251         Set extra_parts.
7252         (mipsisa64sr71k-*-elf*): Likewise.
7253         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7254         (mips-*-elf*, mipsel-*-elf*): Likewise.
7255         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7256         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7257         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
7258         (mips*-*-rtems*): Likewise.
7259         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7260         (moxie-*-*): Split into ...
7261         (moxie-*-elf, moxie-*-uclinux*): ... this.
7262         Add to extra_parts, remove crtbegin.o, crtend.o.
7263         (moxie-*-rtems*): New case.
7264         Set tmake_file.
7265         Clear extra_parts.
7266         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7267         Set extra_parts.
7268         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7269         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7270         tmake_file.
7271         Set extra_parts.
7272         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7273         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7274         Set extra_parts.
7275         (powerpc-*-eabisim*): Likewise.
7276         (powerpc-*-elf*): Likewise.
7277         (powerpc-*-eabialtivec*): Likewise.
7278         (powerpc-xilinx-eabi*): Likewise.
7279         (powerpc-*-eabi*): Likewise.
7280         (powerpc-*-rtems*): Likewise.
7281         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7282         tmake_file.
7283         Set extra_parts.
7284         (powerpc-*-lynxos*): Add to tmake_file.
7285         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7286         rs6000/t-crtstuff, t-crtstuff-pic.
7287         Set extra_parts.
7288         (powerpcle-*-eabisim*): Likewise.
7289         (powerpcle-*-eabi*): Likewise.
7290         (rx-*-elf): Remove extra_parts.
7291         (s390x-ibm-tpf*): Set extra_parts.
7292         (score-*-elf): Set extra_parts.
7293         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7294         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7295         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7296         (sh64l*-*-netbsd*): Split into ...
7297         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7298         Add t-crtstuff-pic to tmake_file.
7299         Set extra_parts.
7300         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7301         Set extra_parts.
7302         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7303         (sparc-*-elf*): Remove t-crtin from tmake_file.
7304         Add to extra_parts, remove crtbegin.o, crtend.o.
7305         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7306         (sparc64-*-linux*): Likewise.
7307         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7308         Add to extra_parts, remove crtbegin.o, crtend.o.
7309         (sparc64-*-elf*): Remove t-crtin from tmake_file.
7310         Add to extra_parts, remove crtbegin.o, crtend.o.
7311         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7312         Add to extra_parts, remove crtbegin.o, crtend.o.
7313         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7314         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7315         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7316         Set extra_parts.
7317         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7318         Set extra_parts.
7319         (tic6x-*-*): Change to ...
7320         (tic6x-*-elf): ... this.
7321         Set extra_parts.
7322         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7323         Set extra_parts.
7324         (am33_2.0-*-linux*): Add comment.
7325         (mep*-*-*): Add mep/t-mep to tmake_file.
7326         Set extra_parts.
7327         * config/alpha/t-vms: New file.
7328         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7329         * config/arm/crti.S, config/arm/crtn.S: New files.
7330         * config/bfin/crti.S, config/bfin/crtn.S: New files.
7331         * config/bfin/crtlibid.S: New file.
7332         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7333         * config/c6x/crti.S, config/c6x/crtn.S: New files.
7334         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7335         (crti.o, crtin.o): New rules.
7336         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7337         * config/c6x/t-uclinux: New file.
7338         * config/cris/t-elfmulti: New file.
7339         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7340         * config/fr30/crti.S, config/fr30/crtn.S: New files.
7341         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7342         * config/frv/t-frv: New file.
7343         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7344         * config/h8300/crti.S, config/h8300/crtn.S: New files.
7345         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7346         New files.
7347         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7348         refer to cygming-crtbegin.c, cygming-crtend.c.
7349         Use $<.
7350         * config/i386/t-nto: New file.
7351         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7352         * config/ia64/crti.S, config/ia64/crtn.S: New files.
7353         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7354         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7355         Use .S extension.
7356         Use $<.
7357         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7358         (crtinitS.o): New rule.
7359         * config/ia64/vms-crtinit.S: New file.
7360         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7361         * config/m32r/initfini.c: New file.
7362         * config/m32r/t-linux, config/m32r/t-m32r: New files.
7363         * config/m68k/crti.S, config/m68k/crtn.S: New files.
7364         * config/mcore/crti.S, config/mcore/crtn.S: New files.
7365         * config/mep/t-mep: New file.
7366         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7367         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7368         * config/mips/crti.S, config/mips/crtn.S: New files.
7369         * config/mips/t-crtstuff: New file.
7370         * config/mmix/crti.S, config/mmix/crtn.S: New files.
7371         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7372         (CUSTOM_CRTIN): Set.
7373         ($(T)crti.o, $(T)crtn.o): Remove $(T),
7374         dependencies.
7375         Use $(srcdir) to refer to crti.S, crtn.S.
7376         Use .S extension, $<.
7377         * config/moxie/crti.asm: Rename to ...
7378         * config/moxie/crti.S: ... this.
7379         * config/moxie/crtn.asm: Rename to ...
7380         * config/moxie/crtn.S: ... this.
7381         * config/moxie/t-moxie: Remove.
7382         * config/pa/stublib.c: New file.
7383         * config/pa/t-stublib, config/pa/t-stublib64: New files.
7384         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7385         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7386         * config/rs6000/t-crtstuff: New file.
7387         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7388         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7389         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7390         Make output file explicit.
7391         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7392         Make output file explicit.
7393         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7394         Make output file explicit.
7395         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7396         Make output file explicit.
7397         * config/score/crti.S, config/score/crtn.S: New files.
7398         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7399         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7400         files.
7401         * config/sh/t-sh, config/sh/t-superh: New files.
7402         * config/sparc/t-linux64: New file.
7403         * config/spu/cache.S, config/spu/cachemgr.c: New files.
7404         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7405         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7406         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7407         * config/t-crtin: Remove.
7408         * config/t-crtstuff-pic: New file.
7409         * config/t-sol2 (CUSTOM_CRTIN): Set.
7410         (crti.o, crtn.o): New rules.
7411         * config/vms/t-vms: New file.
7412         * config/vms/vms-ucrt0.c: New file.
7413         * config/xtensa/t-elf: New file.
7415 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7417         * Makefile.in (SHLIB_NM_FLAGS): Set.
7418         * mkmap-flat.awk, mkmap-symver.awk: New files.
7419         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7420         exceptions.
7421         * configure: Regenerate.
7422         * config/libgcc-glibc.ver: New file.
7423         * config/libgcc-libsystem.ver: New file.
7424         * config/t-libunwind (SHLIB_LC): Set.
7425         * config/t-linux: New file.
7426         * config/t-slibgcc (INSTALL_SHLIB): New.
7427         (SHLIB_INSTALL): Use it.
7428         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7429         to mkmap-symver.awk.
7430         (SHLIB_MAPFILES): Don't append, adapt pathname.
7431         (SHLIB_VERPFX): Set.
7432         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7433         to mkmap-symver.awk.
7434         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7435         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7436         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7437         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7438         to mkmap-flat.awk.
7439         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7440         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7441         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7442         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7443         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7444         * config/i386/libgcc-darwin.10.4.ver,
7445         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7446         New files.
7447         * config/i386/t-darwin: Remove.
7448         * config/i386/t-darwin64: Likewise.
7449         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7450         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7451         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7452         * config/i386/t-linux: New file.
7453         * config/i386/t-mingw32: New file.
7454         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7455         * config/ia64/t-glibc: Rename to ...
7456         * config/ia64/t-linux: ... this.
7457         (SHLIB_MAPFILES): Set.
7458         * config/ia64/t-glibc-libunwind: Rename to ...
7459         * config/ia64/t-linux-libunwind: ... this.
7460         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7461         * config/ia64/t-slibgcc-hpux: New file.
7462         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7463         * config/m68k/t-slibgcc-elf-ver: New file.
7464         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7465         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7466         to mkmap-flat.awk.
7467         * config/pa/t-slibgcc-hpux: New file.
7468         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7469         files.
7470         * config/rs6000/libgcc-darwin.10.4.ver,
7471         config/rs6000/libgcc-darwin.10.5.ver: New files.
7472         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7473         config/rs6000/libgcc-glibc.ver.
7474         * config/rs6000/libgcc-ppc64.ver: Rename to
7475         config/rs6000/libgcc-ibm-ldouble.ver.
7476         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7477         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7478         * config/rs6000/t-ldbl128: Rename to ...
7479         * config/rs6000/t-linux: ... this.
7480         (SHLIB_MAPFILES): Adapt filename.
7481         * config/rs6000/t-slibgcc-aix: New file.
7482         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7483         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7484         libgcc-excl.ver, libgcc-glibc.ver.
7485         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7486         * config/sparc/libgcc-glibc.ver: New file.
7487         * config/sparc/t-linux: New file.
7488         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7489         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7490         t-slibgcc-elf-ver to tmake_file.
7491         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7492         *-*-freebsd[34].
7493         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7494         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7495         t-slibgcc-elf-ver, t-linux to tmake_file.
7496         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7497         tmake_file.
7498         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7499         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7500         (alpha*-dec-*vms*): Likewise.
7501         (arm*-*-freebsd*): Append to tmake_file.
7502         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7503         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7504         arm*-*-linux-*eabi.
7505         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7506         tmake_file for arm*-*-symbianelf*.
7507         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7508         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7509         cris/t-linux.
7510         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7511         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7512         pa/t-slibgcc-dwarf-ver to tmake_file.
7513         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7514         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7515         (hppa*64*-*-hpux11*): Likewise.
7516         (hppa[12]*-*-hpux11*): Likewise.
7517         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7518         i386/t-crtpc, i386/t-crtfm.
7519         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7520         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7521         to tmake_file.
7522         Add i386/t-cygwin to tmake_file.
7523         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7524         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7525         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7526         to tmake_file.
7527         Add i386/t-mingw32 to tmake_file.
7528         (x86_64-*-mingw*): Likewise.
7529         (ia64*-*-freebsd*): Append to tmake_file.
7530         (ia64*-*-linux*): Append to tmake_file.
7531         Replace ia64/t-glibc by ia64/t-linux.
7532         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7533         system libunwind.
7534         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7535         t-slibgcc-hpux to tmake_file.
7536         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7537         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7538         (m32rle-*-linux*): Likewise.
7539         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7540         sjlj exceptions.
7541         (microblaze*-linux*): New case.
7542         Append to tmake_file, add t-slibgcc-nolc-override.
7543         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7544         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7545         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7546         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7547         rs6000/t-slibgcc-aix to tmake_file.
7548         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7549         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7550         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7551         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7552         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7553         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7554         sh*-*-linux*.
7555         (sparc-*-linux*): Append to tmake_file for *-leon*.
7556         Add sparc/t-linux to tmake_file for non-Leon targets.
7557         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7558         (tic6x-*-uclinux): New case.
7559         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7560         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7561         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7562         (am33_2.0-*-linux*): Append to tmake_file.
7563         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7564         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7565         x86_64-*-kfreebsd*-gnu.
7566         Add i386/t-linux to tmake_file.
7568 2011-10-28  Ian Lance Taylor  <iant@google.com>
7570         * config/i386/morestack.S: Correct CFI information to do proper
7571         returns throughout function.  In 32-bit mode, save %ebx so that it
7572         is restored on unwind.
7574 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7576         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7577         case where B3 isn't the return register.
7579         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7580         logic for doubleword pops.
7582 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7584         * config/rs6000/t-freebsd: Add wildcard.
7586 2011-10-21  Paul Brook  <paul@codesourcery.com>
7588         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7590 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7591             Eric Botcazou  <ebotcazou@adacore.com>
7593         PR target/50737
7594         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7595         fs->signal_frame to 1.
7597 2011-10-07  Ian Lance Taylor  <iant@google.com>
7599         * generic-morestack-thread.c: #include <errno.h>.
7601 2011-10-07  Ian Lance Taylor  <iant@google.com>
7603         PR target/46093
7604         * generic-morestack.c (__generic_morestack): Make sure the segment
7605         is large enough for both the stack frame and the copied
7606         parameters.
7608 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7610         PR bootstrap/49804
7611         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7612         extra_parts.
7614 2011-09-28  Nick Clifton  <nickc@redhat.com>
7616         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7617         64-bit doubles are not enabled.
7618         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7619         and floatunsisf functions.
7621 2011-09-13  Paul Brook  <paul@codesourcery.com>
7623         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7624         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7625         * unwind-arm-common.inc: New file.
7626         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7627         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7628         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7629         * config/c6x/libunwind.S: New file.
7630         * config/c6x/pr-support.c: New file.
7631         * config/c6x/unwind-c6x.c: New file.
7632         * config/c6x/unwind-c6x.h: New file.
7633         * config/c6x/t-c6x-elf: New file.
7635 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7637         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7638         (ASM_DIVZERO): Ditto.
7639         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7641 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7643         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7645 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7647         PR target/50090
7648         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7649         instead of an assembly one.
7651 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7653         PR bootstrap/50047
7654         * Makefile.in (install-unwind_h): Create
7655         $(gcc_objdir)/include/unwind.h atomically.
7657 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7659         * Makefile.in (install-unwind_h): Remove destination file first.
7661 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7663         * sync.c: New file.
7664         * config/mips/t-mips16: New file.
7665         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7666         (mips*-*-linux*): Likewise.
7667         (mips*-sde-elf*): Likewise.
7668         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7669         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7670         Add mips/t-mips16 to tmake_file.
7671         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7672         (mips-*-elf*): Likewise.
7673         (mips64-*-elf*): Likewise.
7674         (mips64orion-*-elf*): Likewise.
7675         (mips*-*-rtems*): Likewise.
7676         (mipstx39-*-elf*): Likewise.
7677         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7678         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7679         LIBGCC_SYNC_CFLAGS.
7680         Use $(srcdir) to refer to sync.c.
7681         Use $<.
7682         ($(libgcc-sync-funcs-o)): Likewise.
7683         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7684         ($(libgcc-sync-funcs-s-o)): Likewise.
7686 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7688         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7689         t-libunwind.
7691 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7693         PR other/48007
7694         * config/i386/value-unwind.h: New.
7696 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7698         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7699         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7700         Add to tmake_file rather than overriding it.
7702 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7704         * config/t-softfp: Remove.
7705         * soft-fp: Moved from ../gcc/config.
7706         * soft-fp/README: Remove t-softfp reference.
7707         * soft-fp/t-softfp: Move to config/t-softfp.
7708         (softfp_machine_header): Remove.
7709         (softfp_file_list): Remove config subdir.
7710         (soft-fp-objects): New variable.
7711         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7712         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7713         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7714         * config/t-softfp-excl: New file.
7715         * config/t-softfp-sfdf: New file.
7716         * config/t-softfp-tf: New file.
7717         * config/no-sfp-machine.h: New file.
7718         * config/arm/sfp-machine.h: New file.
7719         * config/arm/t-softfp: New file.
7720         * config/c6x/sfp-machine.h: New file.
7721         * config/i386/32/t-fprules-softfp: Rename to ...
7722         * config/i386/32/t-softfp: ... this.
7723         (tifunctions, LIB2ADD): Remove.
7724         (softfp_int_modes): Override.
7725         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7726         subdir.
7727         * config/i386/64/eqtf2.c: Likewise.
7728         * config/i386/64/getf2.c: Likewise.
7729         * config/i386/64/letf2.c: Likewise.
7730         * config/ia64/sft-machine.h: New file.
7731         * config/ia64/t-fprules-softfp: Rename to ...
7732         * config/ia64/t-softfp: ... this.
7733         * config/lm32/sfp-machine.h: New file.
7734         * config/moxie/t-moxie-softfp: Remove.
7735         * config/rs6000/ibm-ldouble-format: New file.
7736         * config/rs6000/ibm-ldouble.c: New file.
7737         * config/rs6000/libgcc-ppc-glibc.ver: New file
7738         * config/rs6000/libgcc-ppc64.ver: New file
7739         * config/rs6000/sfp-machine.h: New file.
7740         * config/rs6000/t-freebsd: New file.
7741         * config/rs6000/t-ibm-ldouble: New file.
7742         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7743         libgcc-ppc-glibc.ver.
7744         * config/rs6000/t-linux64: New file.
7745         * config/rs6000/t-ppccomm (LIB2ADD): Add
7746         $(srcdir)/config/rs6000/ibm-ldouble.c.
7747         * config/rs6000/t-ppccomm-ldbl: New file.
7748         * config/score/sfp-machine.h: New file.
7749         * config.host (sfp_machine_header): Explain.
7750         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7751         t-softfp to tmake_file.
7752         (arm*-*-uclinux*): Likewise.
7753         (arm*-*-ecos-elf): Likewise.
7754         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7755         (arm*-*-rtems*): Likewise.
7756         (arm*-*-elf): Likewise.
7757         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7758         in tmake_file.
7759         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7760         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7761         (lm32-*-uclinux*): Likewise.
7762         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7763         t-softfp-excl, t-softfp.
7764         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7765         (powerpc64-*-darwin*): Likewise.
7766         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7767         to tmake_file.
7768         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7769         tmake_file.
7770         (powerpc-*-eabisim*): Likewise.
7771         (powerpc-*-elf*): Likewise.
7772         (powerpc-*-eabialtivec*): Likewise.
7773         (powerpc-xilinx-eabi*): Likewise.
7774         (powerpc-*-rtems*): Likewise.
7775         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7776         t-softfp-excl, t-softfp to tmake_file.
7777         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7778         rs6000/t-ppccomm-ldbl to tmake_file.
7779         (powerpcle-*-elf*): Likewise.
7780         (powerpcle-*-eabisim*): Likewise.
7781         (powerpcle-*-eabi*): Likewise.
7782         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7783         rs6000/t-ibm-ldouble to tmake_file.
7784         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7785         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7786         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7787         (tic6x-*-*): Likewise.
7788         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7789         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7790         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7791         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7792         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7793         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7794         t-softfp to tmake_file.
7795         * configure.ac (sfp_machine_header): Provide default if unset.
7796         Substitute.
7797         Link sfp-machine.h to config/$sfp_machine_header.
7798         * configure: Regenerate.
7800 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7802         * Makefile.in (double_type_size, long_double_type_size): Set.
7803         Remove $(fpbit-in-libgcc) support.
7804         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7805         (fpbit-src): New variable.
7806         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7807         Compile with -DFLOAT $(FPBIT_CFLAGS).
7808         Use $<.
7809         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7810         Compile with $(FPBIT_CFLAGS).
7811         Use $<.
7812         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7813         Compile with -DFLOAT $(TPBIT_CFLAGS).
7814         Use $<.
7815         * configure.ac (double_type_size, long_double_type_size):
7816         Determine and substitute.
7817         * configure: Regenerate.
7818         * fp-bit.c, fp-bit.h: New files.
7819         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7820         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7821         * config/mips/t-mips: New file.
7822         * config/mips/t-sdemtk: New file.
7823         * config/rs6000/ppc64-fp.c: New file.
7824         * config/rs6000/t-darwin (LIB2ADD): Add
7825         $(srcdir)/config/rs6000/ppc64-fp.c.
7826         * config/rs6000/t-ppc64-fp: New file.
7827         * config/rx/rx-lib.h: New file.
7828         * config/rx/t-rx (FPBIT): Set to true.
7829         ($(gcc_objdir)/fp-bit.c): Remove.
7830         (DPBIT): Set to true only with -m64bit-doubles.
7831         ($(gcc_objdir)/dp-bit.c): Remove.
7832         * config/sparc/t-softfp: Remove.
7833         * config/spu/t-elf: New file.
7834         * config/t-fdpbit, config/t-fpbit: New files.
7835         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7836         (mips*-*-*): Likewise.
7837         (arm-wrs-vxworks): Likewise.
7838         (arm*-*-freebsd*): Likewise.
7839         (avr-*-rtems*): Add t-fpbit to tmake_file.
7840         (avr-*-*): Likewise.
7841         (bfin*-elf*): Add t-fdpbit to tmake_file.
7842         (bfin*-uclinux*): Likewise.
7843         (bfin*-linux-uclibc*): Likewise.
7844         (bfin*-rtems*): New case.
7845         Add t-fdpbit to tmake_file.
7846         (bfin*-*): Add t-fdpbit to tmake_file.
7847         (crisv32-*-elf): Likewise.
7848         (cris-*-linux*): Likewise.
7849         (fr30-*-elf): Likewise.
7850         (frv-*-elf, frv-*-*linux*): Likewise.
7851         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7852         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7853         (m32r-*-elf*): Likewise.
7854         (m32rle-*-elf*): Likewise.
7855         (m32r-*-linux*): Likewise.
7856         (m32rle-*-linux*): Likewise.
7857         (mcore-*-elf): Add t-fdpbit to tmake_file.
7858         (microblaze*-*-*): Likewise.
7859         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7860         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7861         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7862         Fix typo.
7863         Add mips/t-tpbit to tmake-file.
7864         (mips*-*-linux*): Fix typo.
7865         (mips*-sde-elf*): New case
7866         Add mips/t-sdemtk unless using newlib.
7867         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7868         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7869         (mn10300-*-*): Likewise.
7870         (pdp11-*-*): Likewise.
7871         (picochip-*-*): Add t-fpbit to tmake_file.
7872         (powerpc-*-eabisimaltivec*): Likewise.
7873         (powerpc-*-eabisim*): Likewise.
7874         (powerpc-*-elf*): Likewise.
7875         (powerpc-*-eabialtivec*): Likewise.
7876         (powerpc-xilinx-eabi*): New case.
7877         Add t-fdpbit to tmake_file.
7878         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7879         (powerpc-*-rtems*): Likewise.
7880         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7881         tmake_file.
7882         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7883         tmake_file.
7884         (powerpc-*-lynxos*): Likewise.
7885         (powerpcle-*-elf*): Likewise.
7886         (powerpcle-*-eabisim*): Likewise.
7887         (powerpcle-*-eabi*): Likewise.
7888         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7889         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7890         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7891         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7892         (rx-*-elf): Add t-fdpbit to tmake_file.
7893         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7894         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7895         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7896         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7897         sh*-*-netbsd*.
7898         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7899         (sh-wrs-vxworks): Likewise.
7900         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7901         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7902         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7903         (sparc64-*-rtems*): ... new case.
7904         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7905         (spu-*-elf*): Likewise.
7906         Add spu/t-elf to tmake_file.
7907         (v850*-*-*): Add t-fdpbit to tmake_file.
7908         (xstormy16-*-elf): Likewise.
7909         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7910         (mep*-*-*): Likewise.
7912 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7914         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7915         variables.
7916         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7917         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7918         (install-unwind_h): New target.
7919         (all): Depend on it.
7920         * config.host (unwind_header): New variable.
7921         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7922         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7923         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7924         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7925         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7926         Set unwind_header.
7927         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7928         Set unwind_header.
7929         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7930         arm*-*-eabi*.
7931         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7932         Set unwind_header.
7933         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7934         (ia64*-*-freebsd*): Likewise.
7935         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7936         tmake_file.
7937         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7938         $with_system_libunwind.
7939         (ia64*-*-hpux*): Set tmake_file.
7940         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7941         (picochip-*-*): Set tmake_file.
7942         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7943         md_unwind_header.
7944         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7945         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7946         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7947         (xtensa*-*-elf*): Set tmake_file.
7948         (xtensa*-*-linux*): Likewise.
7949         * configure.ac: Include ../config/unwind_ipinfo.m4.
7950         Call GCC_CHECK_UNWIND_GETIPINFO.
7951         Link unwind.h to $unwind_header.
7952         * configure: Regenerate.
7953         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7954         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7955         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7956         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7957         * config/unwind-dw2-fde-darwin.c: New file.
7958         * config/arm/libunwind.S, config/arm/pr-support.c,
7959         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7960         config/arm/unwind-arm.h,: New files.
7961         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7962         config/ia64/t-eh-ia64, config/ia64/t-glibc,
7963         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7964         config/ia64/t-vms, config/ia64/unwind-ia64.c,
7965         config/ia64/unwind-ia64.h: New files.
7966         * config/picochip/t-picochip: New file.
7967         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7968         files.
7969         * config/rs6000/t-darwin (LIB2ADDEH): Set.
7970         * config/s390/t-tpf (LIB2ADDEH): Remove.
7971         * config/t-darwin (LIB2ADDEH): Set.
7972         * config/t-eh-dw2-dip: New file.
7973         * config/t-libunwind, config/t-libunwind-elf: New files.
7974         * config/t-sol2 (LIB2ADDEH): Remove.
7975         * config/xtensa/t-xtensa: New file.
7977 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
7979         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7980         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7981         long long to check rt_sigreturn syscall.
7983 2011-08-02  Alan Modra  <amodra@gmail.com>
7985         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7986         Restore for indirect call bcrtl from correct stack slot, and only
7987         if cfa+40 isn't valid.
7989 2011-08-01  Julian Brown  <julian@codesourcery.com>
7991         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7992         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7993         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7995 2011-08-01  Julian Brown  <julian@codesourcery.com>
7997         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7998         (libgcc-std.ver.in): Use above.
7999         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8000         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
8001         throughout file.
8002         * config/t-fixedpoint-gnu-prefix: New file.
8003         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8004         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8005         instead of __PFX__.
8007 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8009         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8010         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8011         for x86-64.  Properly check __x86_64__ and __LP64__.
8013 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8015         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8016         version.
8017         (_FP_WS_TYPE): Likewise.
8018         (_FP_I_TYPE): Likewise.
8020 2011-07-28  Alan Modra  <amodra@gmail.com>
8022         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8023         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8024         in a plt call stub.  Do restore r2 if stopped on bctrl.
8026 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8028         * config.host (i[3456x]86-*-netware*): Remove.
8029         * config/i386/netware-crt0.c, config/i386/t-nwld,
8030         config/i386/t-slibgcc-nwld: Remove.
8032 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
8034         * config.host: Handle tic6x-*-*.
8035         * config/c6x/c6x-abi.h: New file.
8037 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8039         * config/i386/crtprec.c: New file.
8040         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8041         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8042         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8043         (x86_64-*-darwin*): Likewise.
8044         (i[34567]86-*-solaris2*: Likewise.
8046 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8048         * config/alpha/crtfastmath.c: New file.
8049         * config/i386/crtfastmath.c: New file.
8050         * config/ia64/crtfastmath.c: New file.
8051         * config/mips/crtfastmath.c: New file.
8052         * config/sparc/crtfastmath.c: New file.
8054         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8055         crtfastmath.c.
8056         Add -frandom-seed=gcc-crtfastmath.
8057         * config/alpha/t-crtfm: Remove.
8058         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8059         * config/ia64/t-ia64 (crtfastmath.o): Remove.
8061         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8062         (alpha*-dec-osf5.1*): Likewise.
8063         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8064         Add crtfastmath.o to extra_parts.
8065         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8066         Add crtfastmath.o to extra_parts.
8067         (x86_64-*-darwin*): Likewise.
8068         (x86_64-*-mingw*): Likewise.
8069         (ia64*-*-elf*): Add t-crtfm to tmake_file.
8070         (ia64*-*-freebsd*): Likewise.
8071         (ia64*-*-linux*): Likewise.
8072         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8073         Add crtfastmath.o to extra_parts.
8075 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8077         * config/darwin-crt3.o: New file.
8078         * config/rs6000/darwin-crt2.c: New file.
8079         * config/t-darwin: New file.
8080         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8081         (crt2.o): New rule.
8082         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8083         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8084         (powerpc64-*-darwin*): Likewise.
8086 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8088         * config/i386/netware-crt0.c: New file.
8089         * config/i386/t-nwld: Rename to ...
8090         * config/i386/t-slibgcc-nwld: ... this.
8091         * config/i386/t-nwld: New file.
8092         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8093         tmake_file.
8094         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8095         extra_parts.
8097 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8099         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8100         i386/t-crtstuff.
8101         * configure: Regenerate.
8103 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8105         * dfp-bit.c, dfp-bit.h: New files.
8106         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8107         variables.
8108         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8109         ($(d64pbit-o)): Likewise.
8110         ($(d128pbit-o)): Likewise.
8111         * config/t-dfprules: New file.
8112         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8113         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8114         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8115         (x86_64-*-linux*): Likewise.
8116         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8117         (i[34567]86-*-cygwin*): Likewise.
8118         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8119         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8121 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8123         * Makfile.in (LIBGCOV): New variable.
8124         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8125         * libgcov.c: New file.
8127 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8129         * fixed-bit.c, fixed-bit.h: New files.
8130         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8131         refer to fixed-bit.c.
8133 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8135         * config.host (*local*): Remove.
8137 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8139         PR target/39150
8140         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8141         like i?86-*-solaris2.1[0-9]*.
8142         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8143         * configure.ac (i?86-*-solaris2*): Likewise.
8144         * configure: Regenerate.
8146 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8148         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8149         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8150         md_unwind_header by splitting out of...
8151         (i[34567]86-*-linux*): ... this.
8152         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8153         Remove md_unwind_header by splitting out of...
8154         (x86_64-*-linux*): ... this.
8156 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8158         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8160 2011-06-28  Nick Clifton  <nickc@redhat.com>
8162         * config.host: Recognize all V850 variants.
8164 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8166         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8168 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8170         * shared-object.mk (c_flags-$o): Save c_flags.
8171         ($(base)$(objext)): Use it.
8172         ($(base)_s$(objext)): Likewise.
8174 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8176         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8177         * libgcc-std.ver.in (GCC_4.7.0): New section.
8179 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8181         PR target/49313
8182         PR target/29524
8183         * config/avr/t-avr: Fix line endings.
8184         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8185         _parityXX2.
8187 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8188             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8190         * config/mips/irix6-unwind.h: New file.
8191         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8193 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8195         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8196         (sparc64_fallback_frame_state): Use it.
8197         (sparc64_frob_update_context): Further adjust context.
8198         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8199         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8200         * config/sparc/sol2-cn.S: Likewise.
8202 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8204         * enable-execute-stack-empty.c: New file.
8205         * enable-execute-stack-mprotect.c: New file.
8206         * config/i386/enable-execute-stack-mingw32.c: New file.
8207         * config.host (enable_execute_stack): New variable.
8208         Select appropriate variants.
8209         * configure.ac: Link enable-execute-stack.c to
8210         $enable_execute_stack.
8211         * configure: Regenerate.
8212         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8213         (lib2funcs): Remove _enable_execute_stack.
8215 2011-06-09  David S. Miller  <davem@davemloft.net>
8216             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8218         * config.host (sparc-*-linux*): Correct md_unwind_header
8219         filename.
8220         (s390x-ibm-tpf*): Fix typo.
8222 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8224         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8225         Add crtfastmath.o to extra_parts.
8226         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8227         mips/t-crtfm.
8228         * config/mips/t-crtfm: Remove.
8230 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8232         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8234 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8236         * config.host (sh*-*-linux*): Fix typo.
8238 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8240         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8241         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8242         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8243         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8244         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8245         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8246         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8247         Wrap in !__MINGW64__.
8248         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8249         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8250         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8251         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8252         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8253         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8254         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8255         Wrap in !__LP64__.
8256         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8257         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8258         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8259         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8260         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8261         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8262         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8263         * config/no-unwind.h: New file.
8264         * config.host (md_unwind_header): Document.
8265         Define.
8266         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8267         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8268         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8269         hppa[12]*-*-hpux11*): Set md_unwind_header.
8270         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8271         Set md_unwind_header.
8272         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8273         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8274         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8275         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8276         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8277         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8278         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8279         md_unwind_header.
8280         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8281         * configure: Regenerate.
8283 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8285         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8286         Set tmake_file, extra_parts.
8287         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8288         Remove O32 support.
8289         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8290         Remove O32 support.
8291         * config/mips/t-irix6: New file.
8292         * config/mips/t-slibgcc-irix: New file.
8294 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8296         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8297         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8299 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8301         * configure.ac (target_thread_file): Determine thread model.
8302         * configure: Regenerate.
8303         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8304         * config/alpha/t-alpha: New file.
8305         * config/alpha/t-crtfm: Use $<.
8306         * config/alpha/t-ieee: New file.
8307         * config/alpha/t-osf-pthread: New file.
8308         * config/alpha/t-slibgcc-osf: New file.
8309         * config/alpha/libgcc-osf5.ver: New file.
8311 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8313         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8314         tmake_file.
8315         Add crtfastmath.o to extra_parts.
8317 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8319         * config/gmon-sol2.c: Reindent.
8320         Cleanup comments.
8321         Remove, correct casts.
8322         Use STDERR_FILENO, NULL.
8323         (BASEADDRESS): Remove.
8324         (minbrk): Remove.
8325         (errno, sbrk): Remove declarations.
8326         (monstartup) [hp300]: Remove.
8327         (mcount): Remove.
8329 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8331         * Makefile.in (cpu_type): Define.
8332         * config.host (i[34567]86-*-rtems*): Handle it.
8333         (i[34567]86-*-solaris2*): Move body ...
8334         (*-*-solaris2*): ... here.
8335         New case, generalize.
8336         (sparc-*-elf*): Handle it.
8337         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8338         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8339         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8340         Fold into ...
8341         (sparc*-*-solaris2*): ... this.
8342         New case.
8343         (sparc64-*-elf*): Handle it.
8344         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8345         Merge ../gcc/config/i386/gmon-sol2.c.
8346         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8347         Use C comments.
8348         Merge ../gcc/config/i386/sol2-gc1.asm.
8349         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8350         Use C comments.
8351         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8352         Use C comments.
8353         * config/i386/t-crtfm (crtfastmath.o): Use $<.
8354         * config/i386/t-crtstuff: New file.
8355         * config/i386/t-softfp: New file.
8356         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8357         $(T)crti.o, $(T)crtn.o): Remove.
8358         (gcrt1.o): New rule.
8359         (TARGET_LIBGCC2_CFLAGS): Remove.
8360         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8361         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8362         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8363         * config/sparc/t-sol2: New file.
8364         * config/sparc/t-crtfm: Move to ...
8365         * config/t-crtfm: ... this.
8366         Use $(cpu_type), $<.
8367         * config/t-crtin: New file.
8368         * config/sparc/t-softfp: New file.
8369         * config/sparc/t-softmul: New file.
8370         * config/t-rtems: New file.
8371         * config/t-slibgcc: New file.
8372         * config/t-slibgcc-elf-ver: New file.
8373         * config/t-slibgcc-gld: New file.
8374         * config/t-slibgcc-sld: New file.
8375         * config/t-sol2: New file.
8376         * configure.ac: Include ../config/lib-ld.m4.
8377         Call AC_LIB_PROG_LD_GNU.
8378         Substitute cpu_type.
8379         * configure: Regenerate.
8381 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
8383         PR bootstrap/49173
8384         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8385         libgcc-std.ver in the build directory.
8386         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8387         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8389 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
8391         * libgcc-std.ver.in: New file.
8392         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8393         variables.
8394         (libgcc-std.ver): New rule.
8395         * config/t-gnu-prefix: New file.
8397 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8399         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8401 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8403         * config/i386/darwin-lib.h: New file.
8405 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8407         * config/arm/symbian-lib.h: New.
8409 2011-05-04  Chris Demetriou  <cgd@google.com>
8411         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8412         (__x86.get_pc_thunk.bx): ...this.
8413         (__morestack): Adjust for rename, remove undef of __i686.
8415 2011-05-03  Chris Demetriou  <cgd@google.com>
8417         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8419 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
8421         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8422         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8423         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8424         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8425         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8426         Remove cases.
8428 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
8430         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8431         Adjust copyright year.
8433 2011-03-07  Ian Lance Taylor  <iant@google.com>
8435         * generic-morestack.c (__splitstack_find): Adjust returned stack
8436         pointer to include all registers pushed by __morestack.
8438 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
8440         PR target/40125
8441         * configure.ac: Call ACX_NONCANONICAL_TARGET.
8442         (toolexecdir): Calculate and AC_SUBST.
8443         (toolexeclibdir): Likewise.
8444         * Makefile.in (target_noncanonical): Import.
8445         (toolexecdir): Likewise.
8446         (toolexeclibdir): Likewise.
8447         * configure: Regenerate.
8449 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
8451         PR target/46040
8452         * config/arm/bpabi.h: Rename to...
8453         * config/arm/bpabi-lib.h: ...this.
8455 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8457         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8458         appropriate.
8459         * configure: Regenerate.
8461 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8463         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8464         __FLOAT_WORD_ORDER__.
8465         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8466         Delete.
8468 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8470         PR other/46202
8471         * Makefile.in (install-strip): New phony target.
8473 2010-11-07  Ian Lance Taylor  <iant@google.com>
8475         PR target/46089
8476         * config/i386/morestack.S (__morestack_large_model): New
8477         function.
8479 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8481         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8482         Delete.
8483         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8485 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8487         * config/arm/bpabi.h: New file.
8488         * config/frv/frv-abi.h: New file.
8490 2010-10-01  Ian Lance Taylor  <iant@google.com>
8492         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8493         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8495 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8497         PR target/45858
8498         * config.host: Add the missing `$'.
8500 2010-09-30  Michael Eager  <eager@eagercon.com>
8502         * config.host: Add microblaze*-*-*.
8503         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8504         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8505         udivsi3.asm,umodsi3.asm}:  New.
8507 2010-09-28  Ian Lance Taylor  <iant@google.com>
8509         * configure.ac: Adjust CFI test to test assembler directly rather
8510         than checking gcc preprocessor macro.
8511         * configure: Rebuild.
8513 2010-09-27  Ian Lance Taylor  <iant@google.com>
8515         * configure.ac: Test whether assembler supports CFI directives.
8516         * config.host: Only add t-stack and i386/t-stack-i386 to
8517         tmake_file if libgcc_cv_cfi is "yes".
8518         * configure: Rebuild.
8520 2010-09-27  Ian Lance Taylor  <iant@google.com>
8522         * generic-morestack.h: New file.
8523         * generic-morestack.c: New file.
8524         * generic-morestack-thread.c: New file.
8525         * config/i386/morestack.S: New file.
8526         * config/t-stack: New file.
8527         * config/i386/t-stack-i386: New file.
8528         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8529         i386/t-stack-i386 to tmake_file.
8531 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8533         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8534         invoke ranlib after installing them.
8535         (gcc-extra-parts): Likewise.
8536         (install-leaf): Likewise.
8538 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8540         * configure: Regenerated.
8542 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8544         * configure: Regenerated.
8546 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8547             Andrew Pinski  <pinskia@gmail.com>
8549         PR target/40959
8550         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8552 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8554         PR target/45524
8555         * configure: Regenerated.
8557 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8559         * configure: Regenerate.
8561 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8563         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8564         64bit targets.
8565         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8566         for 64bit targets.
8568 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8569             Iain Sandoe  <iains@gcc.gnu.org>
8571         PR target/45476
8572         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8573         LIB2FUNCS_EXCLUDE functions.
8575 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8577         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8578         Include dfp.m4.
8579         * configure: Regenerate.
8581 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8583         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8584         i386/t-freebsd to tmake_file.
8585         * config/i386/t-freebsd: New file.
8586         * config/i386/libgcc-bsd.ver: New file.
8588 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8590         * config.host (powerpc*-eabispe*): Set tmake_file.
8591         (powerpc*-eabi*): Likewise.
8592         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8593         crtbeginS, crtendS, crtbeginT.
8595 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8597         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8598         to tmake_file.  Add crtfastmath.o to extra_parts.
8599         * config/mips/t-crtfm: New.
8601 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8603         * config.host (sparc64-*-rtems*): New target.
8605 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8607         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8608         assembler syntax.
8610 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8612         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8614 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8616         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8617         alpha-dec-osf5.0* support.
8619 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8621         * config.host: Add lm32-*-rtems*.
8623 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8624             Uros Bizjak  <ubizjak@gmail.com>
8626         PR target/39048
8627         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8628         like other remaining 32-bit x86 OSes.
8629         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8630         assembler syntax.
8631         * config/i386/libgcc-sol2.ver: New file.
8632         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8634 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8636         PR c/43553
8637         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8638         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8639         is used and substitute set_use_emutls.
8640         * configure: Regenerated.
8642 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8644         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8646 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8648         PR target/38085
8649         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8650         MULTILIB_CFLAGS.
8651         ($(T)gcrt1.o): Likewise.
8652         ($(T)crt1.o): Likewise.
8653         ($(T)crti.o): Likewise.
8654         ($(T)crtn.o): Likewise.
8656 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8658         PR other/42980
8659         * Makefile.in (install): Use $(MAKE) string in rule, for
8660         parallel make.
8662 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8664         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8665         * config/mmix/t-mmix: New file.
8666         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8668 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8670         PR java/41991
8671         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8672         SHLIB_MAPFILES.
8674 2010-01-04  Anthony Green  <green@moxielogic.com>
8676         * config/moxie/crti.asm, config/moxie/crtn.asm,
8677         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8678         config/moxie/t-moxie: New files.
8679         * config.host: Add t-moxie-softfp reference.
8681 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8683         PR other/39888
8684         * config/t-slibgcc-darwin: Fix embedded rpaths for
8685         --enable-version-specific-runtime-libs, build extension stub
8686         libs exposing features available from current libgcc_s.
8688 2009-11-11  Jon Beniston  <jon@beniston.com>
8690         * config.host: Add lm32 targets.
8691         * config/lm32: New directory.
8692         * config/lm32/libgcc_lm32.h: New file.
8693         * config/lm32/_mulsi3.c: New file.
8694         * config/lm32/_udivmodsi4.c: New file.
8695         * config/lm32/_divsi3.c: New file.
8696         * config/lm32/_modsi3.c: New file.
8697         * config/lm32/_udivsi3.c: New file.
8698         * config/lm32/_umodsi3.c: New file.
8699         * config/lm32/_lshrsi3.S: New file.
8700         * config/lm32/_ashrsi3.S: New file.
8701         * config/lm32/_ashlsi3.S: New file.
8702         * config/lm32/crti.S: New file.
8703         * config/lm32/crtn.S: New file.
8704         * config/lm32/t-lm32: New file.
8705         * config/lm32/t-elf: New file.
8706         * config/lm32/t-uclinux: New file.
8708 2009-10-26  Nick Clifton  <nickc@redhat.com>
8710         * config.host: Add support for RX target.
8711         * config/rx: New directory.
8712         * config/rx/rx-abi-functions.c: New file. Supplementary
8713         functions for libgcc to support the RX ABI.
8714         * config/rx/rx-abi.h: New file.  Supplementary header file for
8715         libgcc RX ABI functions.
8716         * config/rx/t-rx: New file: Makefile fragment for building
8717         libgcc for the RX.
8719 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8721         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8722         constraint of y0 to "g".
8724 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8726         * config.host: Include the s390 makefile fragments.
8727         * config/s390/32/_fixdfdi.c: New file.
8728         * config/s390/32/_fixsfdi.c: New file.
8729         * config/s390/32/_fixtfdi.c: New file.
8730         * config/s390/32/_fixunsdfdi.c: New file.
8731         * config/s390/32/_fixunssfdi.c: New file.
8732         * config/s390/32/_fixunstfdi.c: New file.
8733         * config/s390/32/t-floattodi: New file.
8734         * config/s390/libgcc-glibc.ver: New file.
8735         * config/s390/t-crtstuff: New file.
8736         * config/s390/t-linux: New file.
8737         * config/s390/t-tpf: New file.
8739 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8741         * configure.ac (AC_PREREQ): Bump to 2.64.
8743 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8745         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8747 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8749         * configure: Regenerate.
8751 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8753         * config.host (ia64-hp-*vms*): New target.
8754         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8755         with ia64-hp-*vms*.
8757 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8759         * configure.ac: Add snippet for maintainer-mode.
8760         * configure: Regenerate.
8761         * Makefile.in (AUTOCONF, configure_deps): New variables.
8762         ($(srcdir)/configure)): New rule, active only with maintainer
8763         mode turned on.
8765 2009-06-23  DJ Delorie  <dj@redhat.com>
8767         Add MeP port.
8768         * config.host: Add mep support.
8770 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8772         * config.host: Add i386/${host_address}/t-fprules-softfp and
8773         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8775         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8776         for mingw targets.
8777         * config/i386/64/_multc3.c: Likewise.
8778         * config/i386/64/_powitf2.c: Likewise.
8779         * config/i386/64/eqtf2.c: Likewise.
8780         * config/i386/64/getf2.c: Likewise.
8781         * config/i386/64/letf2.c: Likewise.
8782         * config/i386/64/letf2.c: Likewise.
8783         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8784         unsigned long long for x64 mingw targets.
8785         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8786         (_FP_I_TYPE): Define as long long for x64 mingw target.
8788 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8790         * config.host (vax-*-linux*): New.
8792 2009-05-31  Anthony Green  <green@moxielogic.com>
8794         * config.host: Add moxie support.
8795         * config/moxie/t-moxie: New file.
8797 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8799         * config.host: Add i386/${host_address}/t-fprules-softfp and
8800         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8802 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8804         * config.host: Add i386/${host_address}/t-fprules-softfp to
8805         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8807 2009-04-09  Nick Clifton  <nickc@redhat.com>
8809         * config/ia64/tf-signs.c: Change copyright header to refer to
8810         version 3 of the GNU General Public License with version 3.1
8811         of the GCC Runtime Library Exception and to point readers at
8812         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8813         web page.
8814         * config/i386/32/tf-signs.c: Likewise.
8815         * config/libbid/_addsub_dd.c: Likewise.
8816         * config/libbid/_addsub_sd.c: Likewise.
8817         * config/libbid/_addsub_td.c: Likewise.
8818         * config/libbid/_dd_to_df.c: Likewise.
8819         * config/libbid/_dd_to_di.c: Likewise.
8820         * config/libbid/_dd_to_sd.c: Likewise.
8821         * config/libbid/_dd_to_sf.c: Likewise.
8822         * config/libbid/_dd_to_si.c: Likewise.
8823         * config/libbid/_dd_to_td.c: Likewise.
8824         * config/libbid/_dd_to_tf.c: Likewise.
8825         * config/libbid/_dd_to_udi.c: Likewise.
8826         * config/libbid/_dd_to_usi.c: Likewise.
8827         * config/libbid/_dd_to_xf.c: Likewise.
8828         * config/libbid/_df_to_dd.c: Likewise.
8829         * config/libbid/_df_to_sd.c: Likewise.
8830         * config/libbid/_df_to_td.c: Likewise.
8831         * config/libbid/_di_to_dd.c: Likewise.
8832         * config/libbid/_di_to_sd.c: Likewise.
8833         * config/libbid/_di_to_td.c: Likewise.
8834         * config/libbid/_div_dd.c: Likewise.
8835         * config/libbid/_div_sd.c: Likewise.
8836         * config/libbid/_div_td.c: Likewise.
8837         * config/libbid/_eq_dd.c: Likewise.
8838         * config/libbid/_eq_sd.c: Likewise.
8839         * config/libbid/_eq_td.c: Likewise.
8840         * config/libbid/_ge_dd.c: Likewise.
8841         * config/libbid/_ge_sd.c: Likewise.
8842         * config/libbid/_ge_td.c: Likewise.
8843         * config/libbid/_gt_dd.c: Likewise.
8844         * config/libbid/_gt_sd.c: Likewise.
8845         * config/libbid/_gt_td.c: Likewise.
8846         * config/libbid/_isinfd128.c: Likewise.
8847         * config/libbid/_isinfd32.c: Likewise.
8848         * config/libbid/_isinfd64.c: Likewise.
8849         * config/libbid/_le_dd.c: Likewise.
8850         * config/libbid/_le_sd.c: Likewise.
8851         * config/libbid/_le_td.c: Likewise.
8852         * config/libbid/_lt_dd.c: Likewise.
8853         * config/libbid/_lt_sd.c: Likewise.
8854         * config/libbid/_lt_td.c: Likewise.
8855         * config/libbid/_mul_dd.c: Likewise.
8856         * config/libbid/_mul_sd.c: Likewise.
8857         * config/libbid/_mul_td.c: Likewise.
8858         * config/libbid/_ne_dd.c: Likewise.
8859         * config/libbid/_ne_sd.c: Likewise.
8860         * config/libbid/_ne_td.c: Likewise.
8861         * config/libbid/_sd_to_dd.c: Likewise.
8862         * config/libbid/_sd_to_df.c: Likewise.
8863         * config/libbid/_sd_to_di.c: Likewise.
8864         * config/libbid/_sd_to_sf.c: Likewise.
8865         * config/libbid/_sd_to_si.c: Likewise.
8866         * config/libbid/_sd_to_td.c: Likewise.
8867         * config/libbid/_sd_to_tf.c: Likewise.
8868         * config/libbid/_sd_to_udi.c: Likewise.
8869         * config/libbid/_sd_to_usi.c: Likewise.
8870         * config/libbid/_sd_to_xf.c: Likewise.
8871         * config/libbid/_sf_to_dd.c: Likewise.
8872         * config/libbid/_sf_to_sd.c: Likewise.
8873         * config/libbid/_sf_to_td.c: Likewise.
8874         * config/libbid/_si_to_dd.c: Likewise.
8875         * config/libbid/_si_to_sd.c: Likewise.
8876         * config/libbid/_si_to_td.c: Likewise.
8877         * config/libbid/_td_to_dd.c: Likewise.
8878         * config/libbid/_td_to_df.c: Likewise.
8879         * config/libbid/_td_to_di.c: Likewise.
8880         * config/libbid/_td_to_sd.c: Likewise.
8881         * config/libbid/_td_to_sf.c: Likewise.
8882         * config/libbid/_td_to_si.c: Likewise.
8883         * config/libbid/_td_to_tf.c: Likewise.
8884         * config/libbid/_td_to_udi.c: Likewise.
8885         * config/libbid/_td_to_usi.c: Likewise.
8886         * config/libbid/_td_to_xf.c: Likewise.
8887         * config/libbid/_tf_to_dd.c: Likewise.
8888         * config/libbid/_tf_to_sd.c: Likewise.
8889         * config/libbid/_tf_to_td.c: Likewise.
8890         * config/libbid/_udi_to_dd.c: Likewise.
8891         * config/libbid/_udi_to_sd.c: Likewise.
8892         * config/libbid/_udi_to_td.c: Likewise.
8893         * config/libbid/_unord_dd.c: Likewise.
8894         * config/libbid/_unord_sd.c: Likewise.
8895         * config/libbid/_unord_td.c: Likewise.
8896         * config/libbid/_usi_to_dd.c: Likewise.
8897         * config/libbid/_usi_to_sd.c: Likewise.
8898         * config/libbid/_usi_to_td.c: Likewise.
8899         * config/libbid/_xf_to_dd.c: Likewise.
8900         * config/libbid/_xf_to_sd.c: Likewise.
8901         * config/libbid/_xf_to_td.c: Likewise.
8902         * config/libbid/bid128.c: Likewise.
8903         * config/libbid/bid128_2_str.h: Likewise.
8904         * config/libbid/bid128_2_str_macros.h: Likewise.
8905         * config/libbid/bid128_2_str_tables.c: Likewise.
8906         * config/libbid/bid128_add.c: Likewise.
8907         * config/libbid/bid128_compare.c: Likewise.
8908         * config/libbid/bid128_div.c: Likewise.
8909         * config/libbid/bid128_fma.c: Likewise.
8910         * config/libbid/bid128_logb.c: Likewise.
8911         * config/libbid/bid128_minmax.c: Likewise.
8912         * config/libbid/bid128_mul.c: Likewise.
8913         * config/libbid/bid128_next.c: Likewise.
8914         * config/libbid/bid128_noncomp.c: Likewise.
8915         * config/libbid/bid128_quantize.c: Likewise.
8916         * config/libbid/bid128_rem.c: Likewise.
8917         * config/libbid/bid128_round_integral.c: Likewise.
8918         * config/libbid/bid128_scalb.c: Likewise.
8919         * config/libbid/bid128_sqrt.c: Likewise.
8920         * config/libbid/bid128_string.c: Likewise.
8921         * config/libbid/bid128_to_int16.c: Likewise.
8922         * config/libbid/bid128_to_int32.c: Likewise.
8923         * config/libbid/bid128_to_int64.c: Likewise.
8924         * config/libbid/bid128_to_int8.c: Likewise.
8925         * config/libbid/bid128_to_uint16.c: Likewise.
8926         * config/libbid/bid128_to_uint32.c: Likewise.
8927         * config/libbid/bid128_to_uint64.c: Likewise.
8928         * config/libbid/bid128_to_uint8.c: Likewise.
8929         * config/libbid/bid32_to_bid128.c: Likewise.
8930         * config/libbid/bid32_to_bid64.c: Likewise.
8931         * config/libbid/bid64_add.c: Likewise.
8932         * config/libbid/bid64_compare.c: Likewise.
8933         * config/libbid/bid64_div.c: Likewise.
8934         * config/libbid/bid64_fma.c: Likewise.
8935         * config/libbid/bid64_logb.c: Likewise.
8936         * config/libbid/bid64_minmax.c: Likewise.
8937         * config/libbid/bid64_mul.c: Likewise.
8938         * config/libbid/bid64_next.c: Likewise.
8939         * config/libbid/bid64_noncomp.c: Likewise.
8940         * config/libbid/bid64_quantize.c: Likewise.
8941         * config/libbid/bid64_rem.c: Likewise.
8942         * config/libbid/bid64_round_integral.c: Likewise.
8943         * config/libbid/bid64_scalb.c: Likewise.
8944         * config/libbid/bid64_sqrt.c: Likewise.
8945         * config/libbid/bid64_string.c: Likewise.
8946         * config/libbid/bid64_to_bid128.c: Likewise.
8947         * config/libbid/bid64_to_int16.c: Likewise.
8948         * config/libbid/bid64_to_int32.c: Likewise.
8949         * config/libbid/bid64_to_int64.c: Likewise.
8950         * config/libbid/bid64_to_int8.c: Likewise.
8951         * config/libbid/bid64_to_uint16.c: Likewise.
8952         * config/libbid/bid64_to_uint32.c: Likewise.
8953         * config/libbid/bid64_to_uint64.c: Likewise.
8954         * config/libbid/bid64_to_uint8.c: Likewise.
8955         * config/libbid/bid_b2d.h: Likewise.
8956         * config/libbid/bid_binarydecimal.c: Likewise.
8957         * config/libbid/bid_conf.h: Likewise.
8958         * config/libbid/bid_convert_data.c: Likewise.
8959         * config/libbid/bid_decimal_data.c: Likewise.
8960         * config/libbid/bid_decimal_globals.c: Likewise.
8961         * config/libbid/bid_div_macros.h: Likewise.
8962         * config/libbid/bid_dpd.c: Likewise.
8963         * config/libbid/bid_flag_operations.c: Likewise.
8964         * config/libbid/bid_from_int.c: Likewise.
8965         * config/libbid/bid_functions.h: Likewise.
8966         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8967         * config/libbid/bid_inline_add.h: Likewise.
8968         * config/libbid/bid_internal.h: Likewise.
8969         * config/libbid/bid_round.c: Likewise.
8970         * config/libbid/bid_sqrt_macros.h: Likewise.
8972 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
8974         * Makefile.in: Change copyright header to refer to version
8975         3 of the GNU General Public License and to point readers at the
8976         COPYING3 file and the FSF's license web page.
8977         * config.host: Likewise.
8979 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
8981         * config.host: Reorder and merge to match config.gcc change.
8983 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
8985         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8987 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
8989         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8990         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8991         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8992         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8994 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
8996         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8997         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8999 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
9001         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9002         ia64/t-softfp-compat to tmake_file.
9004         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9006         * config/ia64/__divxf3.asm: New.
9007         * config/ia64/_fixtfdi.asm: Likewise.
9008         * config/ia64/_fixunstfdi.asm: Likewise.
9009         * config/ia64/_floatditf.asm: Likewise.
9010         * config/ia64/t-fprules-softfp: Likewise.
9011         * config/ia64/t-softfp-compat: Likewise.
9012         * config/ia64/tf-signs.c: Likewise.
9014 2009-01-18  Ben Elliston  <bje@au.ibm.com>
9016         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9018 2009-01-16  Ben Elliston  <bje@au.ibm.com>
9020         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9021         to tmake_file.
9023 2009-01-13  Ben Elliston  <bje@au.ibm.com>
9025         * config/t-softfp: New file.
9026         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9027         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9029 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
9031         * config.host: Add m32r*-*-rtems*.
9033 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
9035         * config.host: Add m32c*-*-rtems*.
9037 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9039         PR bootstrap/33100
9040         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9041         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9042         * configure: Regenerate.
9043         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9044         tmake_file here from gcc/config.gcc.
9045         Move extra_parts here from gcc/config.gcc.
9046         * config/i386/t-sol2: Move here from gcc/config/i386.
9047         Use gcc_srcdir instead of srcdir.
9049 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
9051         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9052         case.
9054 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
9056         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9058 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
9060         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9062 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
9064         Add picoChip port.
9065         * config.host: Add picochip-*-*.
9067 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
9069         * config.host: Match more processor names for Xtensa.
9071 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9073         * config/i386/64/t-softfp-compat: Update comments.
9075 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9077         * config/i386/64/_divtc3-compat.c: Moved to ...
9078         * config/i386/64/_divtc3.c: Here.
9080         * config/i386/64/_multc3-compat.c: Moved to ...
9081         * config/i386/64/_multc3.c: Here.
9083         * config/i386/64/_powitf2-compat.c: Moved to ...
9084         * config/i386/64/_powitf2.c: Here.
9086         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9087         .c suffix instead of -compat.c.
9089 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9091         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9092         (_FP_MUL_MEAT_D): Ditto.
9093         (_FP_DIV_MEAT_S): Ditto.
9094         (_FP_DIV_MEAT_D): Ditto.
9096 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9098         * Makefile.in: Add support for __sync_* libgcc functions.
9100 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9102         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9104 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9106         PR boostrap/36702
9107         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9108         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9110         * config/i386/64/t-fprules-softfp: Moved to ...
9111         * config/i386/64/t-softfp-compat: This.  New.
9113 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9115         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9116         Initialize f with 0.0.
9118 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9120         PR target/36669
9121         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9123         * config/i386/64/_divtc3-compat.c: New.
9124         * config/i386/64/_multc3-compat.c: Likewise.
9125         * config/i386/64/_powitf2-compat.c: Likewise.
9126         * config/i386/64/eqtf2.c: Likewise.
9127         * config/i386/64/getf2.c: Likewise.
9128         * config/i386/64/letf2.c: Likewise.
9129         * config/i386/64/t-fprules-softfp: Likewise.
9131 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9133         * config.host: Add i386/${host_address}/t-fprules-softfp to
9134         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9135         i[34567]86-*-linux*, x86_64-*-linux*.
9137         * configure.ac: Set host_address to 64 or 32 for x86.
9138         * configure: Regenerated.
9140         * Makefile.in (config.status): Also depend on
9141         $(srcdir)/config.host.
9143         * config/i386/32/t-fprules-softfp: New.
9144         * config/i386/32/tf-signs.c: Likewise.
9146         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9148 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9149             Uros Bizjak  <ubizjak@gmail.com>
9151         * config/i386/32/sfp-machine.h: New.
9153 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9155         * config/rs6000/t-ppccomm: Remove rules that conflict with
9156         auto-generated rules.
9158 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9160         * configure.ac: sinclude override.m4.
9161         * configure: Regenerate.
9163 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9165         * configure: Regenerate.
9167 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9169         * Makefile.in (DECNUMINC): Remove
9170         -I$(MULTIBUILDTOP)../../libdecnumber.
9171         * gstdint.h: New.
9173 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9175         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9176         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9177         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9178         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9179         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9180         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9181         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9182         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9183         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9184         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9185         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9186         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9187         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9188         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9190 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9192         * config.host (sh2[lbe]*-*-linux*): Allow target.
9194 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9196         * config/rs6000/t-ppccomm: Add build rules for new files.
9197         (LIB2ADD_ST): New variable.
9199 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9201         PR target/34210
9202         PR target/35508
9203         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9204         * config/t-avr: New file. Build 16bit libgcc functions.
9206 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
9208         PR target/35401
9209         * config/t-slibgcc-darwin: Make install-leaf dependent on
9210         install-darwin-libgcc-stubs instead of install.
9212 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9214         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9215         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9216         sh-*-rtemscoff*): Remove cases.
9218 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
9220         * Makefile.in (all): Use install-leaf rather than install.
9221         (install): Split most of the rule into...
9222         (install-leaf): ...this new one.
9224 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
9225             Paolo Bonzini  <bonzini@gnu.org>
9227         PR target/30572
9228         * Makefile.in: Use @shlib_slibdir@ substitution to get
9229         correct install name on darwin.
9230         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9232 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
9234         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9235         cris-*-elf and cris-*-none.
9236         (crisv32-*-linux*): Similar, as cris-*-linux*.
9238 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
9240         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9242 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
9244         PR regression/33926
9245         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9246         * configure: Regenerated.
9248 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9250         * Makefile.in (dfp-filenames): Replace decimal_globals,
9251         decimal_data, binarydecimal and convert_data with
9252         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9253         and bid_convert_data, respectively.
9255 2007-09-17  Chao-ying Fu  <fu@mips.com>
9256             Nigel Stephens  <nigel@mips.com>
9258         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9259         * Makefile.in (fixed_point): Define.
9260         Check if fixed_point is yes to build support functions.
9261         * configure.ac: Check for fixed_point support.
9262         * configure: Regenerated.
9263         * gen-fixed.sh: New file to generate lists of fixed-point labels,
9264         funcs, modes, from, to.
9266 2007-09-11  Janis Johnson  <janis187@us.ibm.com
9268         * Makefile.in (dfp-filenames): Add bid128_noncomp.
9270 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
9272         * Makefile.in (dfp-filenames): Remove decUtility, add
9273         decDouble, decPacked, decQuad, decSingle.
9275 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
9277         * config.host : Add x86_64-elf target.
9279 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9281         * configure.ac (set_have_cc_tls): Add a missing =.
9282         * configure: Regenerated.
9284 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9286         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9287         and x86_64-*-linux*.
9289         * config/t-tls: New file.
9291         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9293         * configure.ac: Include ../config/enable.m4 and
9294         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
9295         supports TLS and substitute set_have_cc_tls.
9296         * configure: Regenerated.
9298 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9300         * Makefile.in: Use libbid for DFP when BID is enabled.
9302 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
9304         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9305         extra_parts. Add config/i386/t-cygming to tmake_file.
9306         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9308 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
9309             Danny Smith  <dannysmith@users.sourceforge.net>
9311         PR target/29498
9312         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9313         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
9314         * config/i386/t-crtfm: Compile crtfastmath.o with
9315         -minline-all-stringops.
9317 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
9319         * config.host (sparc-wrs-vxworks): New target.
9321 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
9323         * config.host: Recognize fido.
9325 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
9327         * configure: Check host, not target, for decimal float support.
9329 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
9331         * config/i386/t-crtpc: New file.
9332         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9333         (x86_64-*-linux*): Ditto.
9335 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
9337         * config.host (x86_64-*-mingw*): New target.
9339 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
9340             H.J. Lu  <hongjiu.lu@intel.com>
9342         * Makefile.in (enable_decimal_float): New.
9343         (DECNUMINC): Add
9344         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9345         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9346         (decbits-filenames): This.
9347         (decbits-objects): New.
9348         (libgcc-objects): Add $(decbits-objects).
9350         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9351         Substitute enable_decimal_float.
9352         * configure: Regenerated.
9354 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
9356         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9358 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
9360         * Makefile.in (install-info): New dummy target.
9362 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
9364         * config.host (bfin*-linux-uclibc*): Set extra_parts.
9366 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
9368         * Makefile.in: Add install-html and install-pdf dummy
9369         targets.
9371 2007-02-05  Roger Sayle  <roger@eyesopen.com>
9372             Daniel Jacobowitz  <dan@codesourcery.com>
9374         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9375         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9376         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9378 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
9380         * Makefile.in (dec-filenames): Add decExcept.
9382 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
9384         PR bootstrap/30469
9385         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9386         -fprofile-use.
9388 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
9390         * configure.ac: Add --enable-version-specific-runtime-libs.
9391         Correct $slibdir default.
9392         * configure: Regenerated.
9394 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
9396         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9398 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
9400         PR target/30519
9401         * config.host (alpha*-*-linux*): Set extra_parts.
9403 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
9405         * config/sh/t-linux: New.
9406         * config.host (sh*-*-linux*): Set tmake_file.
9408 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
9410         * Makefile.in (install): Handle multilibs.
9412 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9414         * Makefile.in: Added .PHONY entry for documentation targets.
9416 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9418         * Makefile.in: Add empty info, html, dvi, pdf targets.
9420 2007-01-04  Mike Stump  <mrs@apple.com>
9422         * Makefile.in (MAKEINFO): Remove.
9423         (PERL): Likewise.
9425 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
9427         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9428         * configure: Regenerate.
9429         * Makefile.in (host_subdir): Substitute it.
9430         (gcc_objdir): Use it.
9432 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9434         * config.host (ia64*-*-linux*): Set tmake_file.
9436 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9438         * Makefile.in (version): Define.
9440 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
9441             Paolo Bonzini  <bonzini@gnu.org>
9443         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9444         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9445         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9446         config/sparc/t-crtfm, config/t-slibgcc-darwin,
9447         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9448         shared-object.mk, siditi-object.mk, static-object.mk: New files.
9449         * configure: Generated.
9451 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9453 Copying and distribution of this file, with or without modification,
9454 are permitted in any medium without royalty provided the copyright
9455 notice and this notice are preserved.