Revert r263947.
[official-gcc.git] / libgcc / ChangeLog
blob722cf48e8c1c5661e0f9c135ce88f6b350e72733
1 2018-10-18  Paul Koning  <ni1d@arrl.net>
3         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4         standard.
5         * divmod.c: Update references to __udivmodsi4.
6         * udivmod.c: Ditto.
7         * udivhi3.c: New file.
8         * udivmodhi4.c: New file.
9         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
11 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
15 2018-10-12  Olivier Hainque  <hainque@adacore.com>
17         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
18         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
20 2018-10-08  Paul Koning  <ni1d@arrl.net>
22         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
24 2018-10-04  Martin Liska  <mliska@suse.cz>
26         PR gcov-profile/84107
27         * libgcov-profiler.c (__gcov_indirect_call):
28         Change type to indirect_call_tuple.
29         (struct indirect_call_tuple): New struct.
30         (__gcov_indirect_call_topn_profiler): Change type.
31         (__gcov_indirect_call_profiler_v2): Use the new
32         variables.
33         * libgcov.h (struct indirect_call_tuple): New struct
34         definition.
36 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
38         * libgcc2.c (isnan): Use __builtin_isnan.
39         (isfinite): Use __builtin_isfinite.
40         (isinf): Use __builtin_isinf.
42 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
44         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
46 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
48         * config/vxcache.c: New file.  Provide __clear_cache, based on
49         the cacheTextUpdate VxWorks service.
50         * config/t-vxworks (LIB2ADD): Add vxcache.c.
51         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
52         * config/t-vxwoks7: Likewise.
54 2018-09-21  Martin Liska  <mliska@suse.cz>
56         * libgcov-driver.c (crc32_unsigned): Remove.
57         (gcov_histogram_insert): Likewise.
58         (gcov_compute_histogram): Likewise.
59         (compute_summary): Simplify rapidly.
60         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
61         (merge_summary): Rapidly simplify.
62         (dump_one_gcov): Ignore gcov_summary.
63         (gcov_do_dump): Do not handle program summary, it's not
64         used.
65         * libgcov-util.c (tag_summary): Remove.
66         (read_gcda_finalize): Fix coding style.
67         (read_gcda_file): Initialize curr_object_summary.
68         (compute_summary): Remove.
69         (calculate_overlap): Remove settings of run_max.
71 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
73         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
74         ucontext_t type instead.
75         (nds32_fallback_frame_state): Remove struct _sigframe statement.
77 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
79         * config/nds32/t-nds32-glibc: New file.
81 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
83         * configure.ac (solaris_ld_v2_maps): New test.
84         * configure: Regenerate.
85         * Makefile.in (solaris_ld_v2_maps): New variable.
86         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
87         if supported.
89 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
91         PR target/86951
92         * config/arm/lib1funcs.asm (speculation_barrier): New function.
93         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
94         to build.
96 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
98         * config/unwind-dw2-fde-darwin.c 
99         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
100         * config/darwin10-unwind-find-enc-func.c: … to here.
101         * config/t-darwin: Build Darwin10 unwinder shim crt.
102         * libgcc/config.host: Add the Darwin10 unwinder shim.
104 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
106         * config.host: Add crtbegin.o and crtend.o for
107         powerpc-wrs-vxworks target.
109 2018-08-17  Jojo  <jijie_rong@c-sky.com>
110             Huibin Wang  <huibin_wang@c-sky.com>
111             Sandra Loosemore  <sandra@codesourcery.com>
112             Chung-Lin Tang  <cltang@codesourcery.com>
114         C-SKY port: libgcc
116         * config.host: Add C-SKY support.
117         * config/csky/*: New.
119 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
121         * config/nds32/t-nds32-isr: Rearrange object dependency.
122         * config/nds32/initfini.c: Add dwarf2 unwinding support.
123         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
124         and registers usage.
125         * config/nds32/isr-library/excp_isr.S: Ditto.
126         * config/nds32/isr-library/intr_isr.S: Ditto.
127         * config/nds32/isr-library/reset.S: Ditto.
128         * config/nds32/isr-library/restore_all.inc: Ditto.
129         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
130         * config/nds32/isr-library/restore_partial.inc: Ditto.
131         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
132         * config/nds32/isr-library/save_all.inc: Ditto.
133         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
134         * config/nds32/isr-library/save_partial.inc: Ditto.
135         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
136         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
138 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
140         * config/pa/linux-atomic.c: Update comment.
141         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
142         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
143         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
144         __ATOMIC_RELAXED for atomic loads.
145         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
146         unordered store to release lock.
147         (__sync_lock_release_8): Likewise.
148         (SYNC_LOCK_RELEASE_2): Remove define.
150 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
152         PR libgcc/86512
153         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
154         exponent goes negative. Update my email address.
155         * config/arm/ieee754-sf.S: Likewise.
157 2018-08-01  Martin Liska  <mliska@suse.cz>
159         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
160         check that  __gcov_indirect_call_callee is non-null.
162 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
164         * config/arm/ieee754-df.S: Fix comment for code working on
165         architectures >= 4.
166         * config/arm/ieee754-sf.S: Likewise.
168 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
170         PR libgcc/85334
171         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
172         Removed.
174 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
176         * configure: Regenerated.
178 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
180         * Makefile.in (install_leaf): Use enable_gcov instead of
181         enable_libgcov.
183 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
185         * configure.ac: Add --disable-gcov option.
186         * configure: Regenerate.
187         * Makefile.in: Honour @enable_gcov@.
189 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
191         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
192         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
193         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
194         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
195         __ARM_ARCH__.
196         * config/arm/ieee754-sf.S: Likewise.
197         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
199 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
201         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
202         longer supported.
203         * config/arm/ieee754-sf.S: Likewise.
205 2018-06-20  Than McIntosh  <thanm@google.com>
207         PR libgcc/86213
208         * generic-morestack.c (allocate_segment): Move calls to getenv and
209         getpagesize to __morestack_load_mmap.
210         (__morestack_load_mmap) Initialize static_pagesize and
211         use_guard_page here so as to avoid clobbering SSE regs during a
212         __morestack call.
214 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
216         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
217         support modules with -mno-gnu-attribute.
218         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
220 2018-06-07  Olivier Hainque  <hainque@adacore.com>
222         * config/t-vxworks (LIBGCC_INCLUDES): Add
223         -I$(MULTIBUILDTOP)../../gcc/include.
224         * config/t-vxworks7: Likewise. Reformat a bit to match
225         the t-vxworks layout.
227 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
229         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
231 2018-06-07  Martin Liska  <mliska@suse.cz>
233         * libgcov-driver.c: Rename cs_all to all and assign it from
234         all_prg.
236 2018-06-07  Martin Liska  <mliska@suse.cz>
238         PR bootstrap/86057
239         * libgcov-driver-system.c (replace_filename_variables): Use
240         memcpy instead of mempcpy.
241         (allocate_filename_struct): Do not allocate filename, allocate
242         prefix and set it.
243         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
244         here and properly copy content into it.
245         * libgcov-driver.c (struct gcov_filename): Remove max_length
246         field, change prefix from size_t into char *.
247         (compute_summary): Do not calculate longest filename.
248         (gcov_do_dump): Release memory of gf.filename after each file.
249         * libgcov-util.c (compute_summary): Use new signature of
250         compute_summary.
251         (calculate_overlap): Likewise.
253 2018-06-05  Martin Liska  <mliska@suse.cz>
255         PR gcov-profile/47618
256         * libgcov-driver-system.c (replace_filename_variables): New
257         function.
258         (gcov_exit_open_gcda_file): Use it.
260 2018-06-05  Martin Liska  <mliska@suse.cz>
262         * libgcov-driver.c (gcov_compute_histogram): Remove usage
263         of gcov_ctr_summary.
264         (compute_summary): Do it just for a single summary.
265         (merge_one_data): Likewise.
266         (merge_summary): Simplify as we read just single summary.
267         (dump_one_gcov): Pass proper argument.
268         * libgcov-util.c (compute_one_gcov): Simplify as we have just
269         single summary.
270         (gcov_info_count_all_cold): Likewise.
271         (calculate_overlap): Likewise.
273 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
274             Monk Chiang  <sh.chiang04@gmail.com>
276         * config.host (nds32*-linux*): New.
277         * config/nds32/linux-atomic.c: New file.
278         * config/nds32/linux-unwind.h: New file.
280 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
282         PR target/85591
283         * config/i386/cpuinfo.c (get_amd_cpu): Return
284         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
286 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
288         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
290 2018-05-29  Martin Liska  <mliska@suse.cz>
292         PR gcov-profile/85759
293         * libgcov-driver-system.c (gcov_error): Introduce usage of
294         GCOV_EXIT_AT_ERROR env. variable.
295         * libgcov-driver.c (merge_one_data): Print error that we
296         overwrite a gcov file with a different timestamp.
298 2018-05-23  Kalamatee  <kalamatee@gmail.com>
300         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
301         path to Lf$finfty.
303 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
304             Monk Chiang  <sh.chiang04@gmail.com>
305             Jim Wilson <jimw@sifive.com>
307         * config/riscv/save-restore.S: Add support for rv32e.
309 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
311         * config/arm/libunwind.S: Update comment relating to armv5.
313 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
315         * config/arm/cmse.c (cmse_check_address_range): Replace
316         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
318 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
320         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
321         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
323 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
325         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
326         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
328 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
330         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
332 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
333             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
335         PR libgcc/84292
336         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
337         op_and_fetch to return the right result.
339 2018-04-27  Alan Modra  <amodra@gmail.com>
341         PR libgcc/85532
342         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
343         -fno-asynchronous-unwind-tables.
345 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
347         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
348         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
350 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
352         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
353         when including "config/i386/shadow-stack-unwind.h".
355 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
357         * configure: Regenerated.
359 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
361         PR target/85456
362         * config/rs6000/_powikf2.c: New file.  Add support for the
363         __builtin_powil function when long double is IEEE 128-bit floating
364         point.
365         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
366         __powikf2 support.
367         (__powikf2): Likewise.
368         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
369         (__powikf2_hw): Likewise.
370         (__powikf2): Likewise.
371         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
372         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
373         (_powikf2-hw.c): Likewise.
375 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
377         PR libgcc/85334
378         * unwind-generic.h (_Unwind_Frames_Increment): New.
379         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
380         Likewise.
381         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
382         count with _Unwind_Frames_Increment.
383         (_Unwind_ForcedUnwind_Phase2): Likewise.
385 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
387         PR libgcc/85379
388         * config/i386/morestack.S (__stack_split_initialize): Add
389         _CET_ENDBR.
391 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
393         * configure: Regenerated.
395 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
397         PR jit/85384
398         * configure: Regenerate.
400 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
402         PR target/84945
403         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
404         -Wdangling-else warnings.  Mask shift counts to avoid
405         -Wshift-count-negative and -Wshift-count-overflow false positives.
407 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
409         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
411 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
413         PR target/85100
414         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
415         (XSTATE_FP): Likewise.
416         (XSTATE_SSE): Likewise.
417         (XSTATE_YMM): Likewise.
418         (XSTATE_OPMASK): Likewise.
419         (XSTATE_ZMM): Likewise.
420         (XSTATE_HI_ZMM): Likewise.
421         (XCR_AVX_ENABLED_MASK): Likewise.
422         (XCR_AVX512F_ENABLED_MASK): Likewise.
423         (get_available_features): Enable AVX and AVX512 features only
424         if their states are supported by OSXSAVE.
426 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
428         PR target/85025
429         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
430         Fix a typo, tmp => 255.
432 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
434         PR target/84945
435         * config/i386/cpuinfo.h (__cpu_features2): Declare.
436         * config/i386/cpuinfo.c (__cpu_features2): New variable for
437         ifndef SHARED only.
438         (set_feature): Define.
439         (get_available_features): Use set_feature macro.  Set __cpu_features2
440         to the second word of features ifndef SHARED.
442 2018-03-15  Julia Koval  <julia.koval@intel.com>
444         * config/i386/cpuinfo.c (get_available_features): Add
445         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
446         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
447         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
448         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
449         FEATURE_AVX512BITALG.
451 2018-03-14  Julia Koval  <julia.koval@intel.com>
453         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
454         icelake client and icelake server.
456 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
458         * config/pa/fptr.c (_dl_read_access_allowed): New.
459         (__canonicalize_funcptr_for_compare): Use it.
461 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
463         PR debug/83917
464         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
465         $asm_hidden_op if visibility ("hidden") attribute works.
466         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
467         * config/i386/i386-asm.h: Don't include auto-host.h.
468         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
469         PACKAGE_URL): Don't undefine.
470         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
471         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
472         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
473         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
474         definition instead of hardcoded .hidden.
475         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
476         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
477         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
478         (USE_GAS_CFI_DIRECTIVES): Don't define.
479         * configure: Regenerated.
480         * config.in: Likewise.
482 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
484         PR debug/83917
485         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
486         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
487         inclusion of auto-target.h and auto-host.h.
488         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
489         __GCC_HAVE_DWARF2_CFI_ASM.
490         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
491         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
492         cfi_pop): Define.
493         * config/i386/cygwin.S: Don't include auto-host.h here, just
494         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
495         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
496         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
497         * config/i386/resms64fx.h: Add cfi_* directives.
498         * config/i386/resms64x.h: Likewise.
500 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
502         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
503         .literal_position directive.
504         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
506 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
508         PR target/84148
509         * configure: Regenerate.
511 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
513         PR target/84239
514         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
515         Include cetintrin.h not x86intrin.h.
517 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
519         PR target/84239
520         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
521         Use new _get_ssp and _inc_ssp intrinsics.
523 2018-02-02  Julia Koval  <julia.koval@intel.com>
525         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
527 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
529         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
530         option.
531         (__divsi3): Use RF16 safe registers.
532         (__modsi3): Likewise.
534 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
536         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
537         (__divsf3): Make NaN return value quiet.
538         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
539         (__divdf3): Make NaN return value quiet.
541 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
543         * config/rl78/anddi3.S: New assembly file.
544         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
546 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
548         * config/rl78/umindi3.S: New assembly file.
549         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
551 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
553         * config/rl78/smindi3.S: New assembly file.
554         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
556 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
558         * config/rl78/smaxdi3.S: New assembly file.
559         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
561 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
563         * config/rl78/umaxdi3.S: New assembly file.
564         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
566 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
568         PR lto/83452
569         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
570         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
572 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
574         * config/aarch64/value-unwind.h (aarch64_vg): New function.
575         (DWARF_LAZY_REGISTER_VALUE): Define.
576         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
577         to provide a fallback register value.
579 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
581         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
582         __ibm128, instead of trying to use long double.
583         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
584         accomidate -mabi=ieeelongdouble multilibs.
585         (CVT_IBM128_TO_FLOAT128): Likewise.
586         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
587         the appropriate IBM extended double type.
588         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
589         (__gcc_qsub): Likewise.
590         (__gcc_qmul): Likewise.
591         (__gcc_qdiv): Likewise.
592         (pack_ldouble): Likewise.
593         (__gcc_qneg): Likewise.
594         (__gcc_qeq): Likewise.
595         (__gcc_qne): Likewise.
596         (__gcc_qge): Likewise.
597         (__gcc_qle): Likewise.
598         (__gcc_stoq): Likewise.
599         (__gcc_dtoq): Likewise.
600         (__gcc_itoq): Likewise.
601         (__gcc_utoq): Likewise.
602         (__gcc_qunord): Likewise.
603         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
604         quad-float128.h for the definitions.
605         (COPYSIGN): Use the f128 version instead of the q version.
606         (INFINITY): Likewise.
607         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
608         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
609         quad-float128.h for the definitions.
610         (COPYSIGN): Use the f128 version instead of the q version.
611         (INFINITY): Likewise.
612         (FABS): Likewise.
613         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
614         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
615         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
617 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
619         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
620         configuration.
622 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
624         Update copyright years.
626 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
628         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
629         * config/riscv/multi3.c: New file.
630         * config/riscv/multi3.S: Remove.
632 2017-12-08  Jim Wilson  <jimw@sifive.com>
634         * config/riscv/div.S: Use FUNC_* macros.
635         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
636         * config/riscv/save-restore.S: Likewise.
637         * config/riscv/riscv-asm.h: New.
639 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
641         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
642         * config/rs6000/_divkc3.c (__divkc3): Likewise.
644         PR libgcc/83112
645         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
646         correct type for all ifunc resolvers to silence -Wattribute-alias
647         warnings.  Eliminate the forward declaration of the resolver
648         functions which is no longer needed.
649         (__subkf3_resolve): Likewise.
650         (__mulkf3_resolve): Likewise.
651         (__divkf3_resolve): Likewise.
652         (__negkf2_resolve): Likewise.
653         (__eqkf2_resolve): Likewise.
654         (__nekf2_resolve): Likewise.
655         (__gekf2_resolve): Likewise.
656         (__gtkf2_resolve): Likewise.
657         (__lekf2_resolve): Likewise.
658         (__ltkf2_resolve): Likewise.
659         (__unordkf2_resolve): Likewise.
660         (__extendsfkf2_resolve): Likewise.
661         (__extenddfkf2_resolve): Likewise.
662         (__trunckfsf2_resolve): Likewise.
663         (__trunckfdf2_resolve): Likewise.
664         (__fixkfsi_resolve): Likewise.
665         (__fixkfdi_resolve): Likewise.
666         (__fixunskfsi_resolve): Likewise.
667         (__fixunskfdi_resolve): Likewise.
668         (__floatsikf_resolve): Likewise.
669         (__floatdikf_resolve): Likewise.
670         (__floatunsikf_resolve): Likewise.
671         (__floatundikf_resolve): Likewise.
672         (__extendkftf2_resolve): Likewise.
673         (__trunctfkf2_resolve): Likewise.
675         PR libgcc/83103
676         * config/rs6000/quad-float128.h (TF): Don't define if long double
677         is IEEE 128-bit floating point.
678         (TCtype): Define as either TCmode or KCmode, depending on whether
679         long double is IEEE 128-bit floating point.
680         (__mulkc3_sw): Add declarations for software/hardware versions of
681         complex multiply/divide.
682         (__divkc3_sw): Likewise.
683         (__mulkc3_hw): Likewise.
684         (__divkc3_hw): Likewise.
685         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
686         handlers to switch between using software emulation and hardware
687         float128 instructions, build the complex multiply/divide functions
688         for both software and hardware support.
689         * config/rs6000/_divkc3.c (_divkc3): Likewise.
690         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
691         (__divkc3_resolve): Likewise.
692         (__mulkc3): Likewise.
693         (__divkc3): Likewise.
694         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
695         (fp128_hw_src): Likewise.
696         (fp128_hw_static_obj): Likewise.
697         (fp128_hw_shared_obj): Likewise.
698         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
699         _mulkc3.c and _divkc3.c, changing the function name.
700         (_divkc3-hw.c): Likewise.
701         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
702         and _divkc3-hw.c.
704 2017-11-26  Julia Koval  <julia.koval@intel.com>
706         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
707         * config/i386/cpuinfo.h (processor_subtypes): Add
708         INTEL_COREI7_CANNONLAKE.
710 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
712         PR bootstrap/83015
713         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
714         parameter.
715         * config/xtensa/unwind-dw2-xtensa.c: Likewise
716         * config/ia64/unwind-ia64.c: Add frames parameter.
717         * unwind-sjlj.c: Likewise.
719 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
721         * config/i386/linux-unwind.h: Include
722         config/i386/shadow-stack-unwind.h.
723         * config/i386/shadow-stack-unwind.h: New file.
724         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
725         pass it to _Unwind_Frames_Extra.
726         * unwind-generic.h (_Unwind_Frames_Extra): New.
727         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
728         parameter. Add local variable frames to count number of frames.
729         (_Unwind_ForcedUnwind_Phase2): Likewise.
730         (_Unwind_RaiseException): Add local variable frames to count
731         number of frames, pass it to _Unwind_RaiseException_Phase2 and
732         uw_install_context.
733         (_Unwind_ForcedUnwind): Likewise.
734         (_Unwind_Resume): Likewise.
735         (_Unwind_Resume_or_Rethrow): Likewise.
737 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
739         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
740         (CET_FLAGS): New.
741         * config/i386/morestack.S: Include <cet.h>.
742         (__morestack_large_model): Add _CET_ENDBR at function entrance.
743         * config/i386/resms64.h: Include <cet.h>.
744         * config/i386/resms64f.h: Likewise.
745         * config/i386/resms64fx.h: Likewise.
746         * config/i386/resms64x.h: Likewise.
747         * config/i386/savms64.h: Likewise.
748         * config/i386/savms64f.h: Likewise.
749         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
750         (CRTSTUFF_T_CFLAGS): Likewise.
751         * configure.ac: Include ../config/cet.m4.
752         Set and substitute CET_FLAGS.
753         * configure: Regenerated.
755 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
757         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
758         renaming.
759         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
760         * configure.ac (libgcc_cv_solaris_crts): Likewise.
761         * configure: Regenerate.
763 2017-11-07  Tom de Vries  <tom@codesourcery.com>
765         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
766         after "do {} while (0)".
768 2017-11-07  Tom de Vries  <tom@codesourcery.com>
770         PR other/82784
771         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
772         semicolon after "do {} while (0)".
773         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
774         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
775         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
776         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
778 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
780         PR libgcc/82635
781         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
782         sysctl to determine whether we're in a trampoline.
783         Keep the pattern matching method for systems without
784         KERN_PROC_SIGTRAMP sysctl.
786 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
787             Vineet Gupta <vgupta@synopsys.com>
789         * config.host (arc*-*-linux*): Set md_unwind_header variable.
790         * config/arc/linux-unwind-reg.def: New file.
791         * config/arc/linux-unwind-reg.h: Likewise.
793 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
795         * config/rl78/subdi3.S: New assembly file.
796         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
798 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
800         * config/rl78/adddi3.S: New assembly file.
801         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
803 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
805         PR target/82274
806         * libgcc2.c (__mulvDI3): If both operands have
807         the same highpart of -1 and the topmost bit of lowpart is 0,
808         multiplication overflows even if both lowparts are 0.
810 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
812         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
814 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
816         * config/microblaze/crti.S, config/microblaze/crtn.S,
817         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
818         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
819         config/microblaze/mulsi3.S,
820         config/microblaze/stack_overflow_exit.S,
821         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
822         config/pa/milli64.S: Add .note.GNU-stack section.
824 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
826         * configure.ac: Add Check for HAVE_AS_AVX.
827         * config.in: Regenerate.
828         * configure: Likewise.
829         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
830         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
831         Correct out-of-date comments.
833 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
835         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
836         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
838 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
840         * config/i386/i386-asm.h (PASTE2): New macro.
841         (ASMNAME): Modify to use PASTE2.
842         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
843         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
844         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
845         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
846         * config/i386/resms64f.S: Likewise.
847         * config/i386/resms64fx.S: Likewise.
848         * config/i386/resms64x.S: Likewise.
849         * config/i386/savms64.S: Likewise.
850         * config/i386/savms64f.S: Likewise.
851         * config/i386/avx_resms64.S: New file that only defines a macro and
852         includes it's corresponding header file.
853         * config/i386/avx_resms64f.S: Likewise.
854         * config/i386/avx_resms64fx.S: Likewise.
855         * config/i386/avx_resms64x.S: Likewise.
856         * config/i386/avx_savms64.S: Likewise.
857         * config/i386/avx_savms64f.S: Likewise.
858         * config/i386/sse_resms64.S: Likewise.
859         * config/i386/sse_resms64f.S: Likewise.
860         * config/i386/sse_resms64fx.S: Likewise.
861         * config/i386/sse_resms64x.S: Likewise.
862         * config/i386/sse_savms64.S: Likewise.
863         * config/i386/sse_savms64f.S: Likewise.
864         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
866 2017-09-01  Olivier Hainque  <hainque@adacore.com>
867         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
869 2017-08-31  Olivier Hainque  <hainque@adacore.com>
871         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
872         match as powerpc-wrs-vxworks*.
874 2017-08-07  Jonathan Yong  <10walls@gmail.com>
876         * config.host (*-cygwin): Include file from mingw
877         config/i386/enable-execute-stack-mingw32.c
879 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
880             Doug Rupp  <rupp@adacore.com>
881             Olivier Hainque  <hainque@adacore.com>
883         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
884         as well as arm-wrs-vxworks.
885         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
886         LIB2ADDEH.
887         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
888         __exidx_start and __exidx_end for downloadable modules.
890 2017-08-01  Olivier Hainque  <hainque@adacore.com>
892         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
893         * config/t-vxworks7: Likewise.
895 2017-08-01  Olivier Hainque  <hainque@adacore.com>
897         * config/t-vxworks: Instead of redefining LIB2ADD,
898         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
900 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
902         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
904 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
906         PR testsuite/80759
907         * config.host: include i386/t-msabi for darwin and solaris.
908         * config/i386/i386-asm.h
909         (ELFFN): Rename to FN_TYPE.
910         (FN_SIZE): New macro.
911         (FN_HIDDEN): Likewise.
912         (ASMNAME): Likewise.
913         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
914         .globl.
915         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
916         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
917         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
918         .macro.
919         * config/i386/resms64f.S: Likewise.
920         * config/i386/resms64fx.S: Likewise.
921         * config/i386/resms64x.S: Likewise.
922         * config/i386/savms64.S: Likewise.
923         * config/i386/savms64f.S: Likewise.
925 2017-07-19  John Marino  <gnugcc@marino.st>
927         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
929 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
931         PR target/81193
932         * configure.ac (PowerPC float128 hardware support): Test whether
933         we can use __builtin_cpu_supports before enabling the ifunc
934         handler.
935         * configure: Regenerate.
937 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
939         * config.host: Remove uclibc from arc target spec.
941 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
943         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
945 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
947         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
948         (have_ieee_hw_p): Delete function.
949         (SW_OR_HW) Use __builtin_cpu_supports().
951 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
953         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
955 2017-07-03  Olivier Hainque  <hainque@adacore.com>
957         * config/t-vxworks7: New file, really.
959 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
961         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
962         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
963         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
964         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
965         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
966         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
967         config/pa/linux-unwind.h (pa32_fallback_frame_state),
968         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
969         config/sh/linux-unwind.h (sh_fallback_frame_state),
970         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
971         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
972         ucontext_t instead of struct ucontext.
974 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
976         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
977         (x86_64-wrs-vxworks7): Likewise.
979 2017-06-27  Olivier Hainque  <hainque@adacore.com>
981         * config/t-vxworks7: New file.
982         * config.host (*-*-vxworks7): Use it.
984 2017-06-22  Matt Turner  <mattst88@gmail.com>
986         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
987         skylake case.
989 2017-06-21  Richard Biener  <rguenther@suse.de>
991         PR gcov-profile/81080
992         * configure.ac: Add AC_SYS_LARGEFILE.
993         * libgcov.h: Include auto-target.h before tsystem.h to pick
994         up _FILE_OFFSET_BITS which might differ for multilibs.
995         * config.in: Regenerate.
996         * configure: Likewise.
998 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
1000         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1002 2017-06-09  Martin Liska  <mliska@suse.cz>
1004         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1005         Reset __gcov_indirect_call_callee to NULL.
1007 2017-06-08  Olivier Hainque  <hainque@adacore.com>
1009         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1010         the set of -I options, support for direct inclusions of net/uio.h
1011         by VxWorks header files via ioLib.h.
1013 2017-06-07  Tony Reix  <tony.reix@atos.net>
1014             Matthieu Sarter  <matthieu.sarter.external@atos.net>
1015             David Edelsohn  <dje.gcc@gmail.com>
1017         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1018         unconditionally.
1019         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
1020         AIX 7.2 support.
1022 2017-06-02  Olivier Hainque  <hainque@adacore.com>
1024         * config/vxlib.c (__gthread_once): Add missing value to
1025         return statement.
1027 2017-05-30  Olivier Hainque  <hainque@adacore.com>
1029         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1030         dollar sign before $(MULTIDIR).
1032 2017-05-26  Richard Henderson  <rth@redhat.com>
1034         PR libgcc/80037
1035         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1037 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
1039         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1040         _Unwind_SetIP available as functions for arm*-*-freebsd*.
1041         * config/arm/unwind-arm.c: Implement the above.
1043 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1045         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1046         section for a non-executable stack.
1048 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
1050         PR target/80600
1051         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1053 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
1055         * config.host: Add i386/t-msabi to i386/t-linux file list.
1056         * config/i386/i386-asm.h: New file.
1057         * config/i386/resms64.S: New file.
1058         * config/i386/resms64f.S: New file.
1059         * config/i386/resms64fx.S: New file.
1060         * config/i386/resms64x.S: New file.
1061         * config/i386/savms64.S: New file.
1062         * config/i386/savms64f.S: New file.
1063         * config/i386/t-msabi: New file.
1065 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
1067         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1068         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1070 2017-05-05  Joshua Conner  <joshconner@google.com>
1072         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1073         pc-relative indirect handling for fuchsia.
1074         * config/t-slibgcc-fuchsia: New file.
1075         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1076         x86_64-*-fuchsia*): Add definitions.
1078 2017-04-19  Martin Liska  <mliska@suse.cz>
1080         PR gcov-profile/80435
1081         * Makefile.in: Install gcov.h.
1082         * gcov.h: New file.
1083         * libgcov.h: Use the header and make __gcov_flush publicly
1084         visible.
1086 2017-04-18  Martin Liska  <mliska@suse.cz>
1088         PR gcov-profile/78783
1089         * libgcov-driver.c (gcov_get_filename): New function.
1091 2017-04-07  Jeff Law  <law@redhat.com>
1093         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1094         target makefile fragment.
1095         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1097 2017-04-07  Alan Modra  <amodra@gmail.com>
1099         PR target/45053
1100         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1102 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
1104         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1106 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
1108         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1110 2017-03-10  John Marino  <gnugcc@marino.st>
1112         * config/aarch64/freebsd-unwind.h: New file.
1113         * config.host: Add aarch64-*-freebsd unwinder.
1115 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1117         * config/rs6000/crtrestvr.s: Use .machine altivec.
1118         * config/rs6000/crtsavevr.s: Ditto.
1120 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1122         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1123         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1124         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1125         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1126         * configure: Regenerate.
1127         * config.in: Regenerate.
1129 2017-03-02  Jonathan Yong <10walls@gmail.com>
1131         * config/i386/gthr-win32.h: Define NOGDI before
1132         windows.h include to prevent w32api CC_NONE macro
1133         clash with libgfortran.
1135 2017-03-02  Jonathan Yong <10walls@gmail.com>
1137         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1139 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1141         * config/aarch64/value-unwind.h: New file.
1142         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1143         to tm_file.
1145 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1147         * config.host: Add RISC-V tuples.
1148         * config/riscv/atomic.c: New file.
1149         * config/riscv/crti.S: Likewise.
1150         * config/riscv/crtn.S: Likewise.
1151         * config/riscv/div.S: Likewise.
1152         * config/riscv/linux-unwind.h: Likewise.
1153         * config/riscv/muldi3.S: Likewise.
1154         * config/riscv/multi3.S: Likewise.
1155         * config/riscv/save-restore.S: Likewise.
1156         * config/riscv/sfp-machine.h: Likewise.
1157         * config/riscv/t-elf: Likewise.
1158         * config/riscv/t-elf32: Likewise.
1159         * config/riscv/t-elf64: Likewise.
1160         * config/riscv/t-softfp32: Likewise.
1161         * config/riscv/t-softfp64: Likewise.
1163 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1165         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1166         /* FALLTHRU */ comments.
1168 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1170         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1172 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1174         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1175         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1176         DW_CFA_GNU_window_save for AArch64 and LP64.
1178 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1180         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1182 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1184         * config/aarch64/aarch64-unwind.h: New file.
1185         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1186         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1187         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1188         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1189         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1190         (aarch64_post_extract_frame_addr): New function.
1191         (aarch64_post_frob_eh_handler_addr): New function.
1192         (aarch64_frob_update_context): New function.
1193         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1194         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1195         aarch64*-*-freebsd*):
1196         Initialize md_unwind_header to include aarch64-unwind.h.
1197         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1198         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1199         __aarch64__.
1200         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1201         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1202         (uw_frob_return_addr): New function.
1203         (uw_install_context): Use uw_frob_return_addr.
1205 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1207         PR other/79046
1208         * configure.ac: Add GCC_BASE_VER.
1209         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1210         version from BASE-VER file.
1211         * configure: Regenerated.
1213 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1215         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1216         libmul_f5.a): Filter archived prerequisites.
1218 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1220         * config/i386/cpuinfo.h (processor_features): Add
1221         FEATURE_AVX512VPOPCNTDQ.
1222         * config/i386/cpuinfo.c (get_available_features): Habdle new
1223         feature.
1225 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1227         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1228         payload if [__mips_nan2008].
1230 2017-01-04  Alan Modra  <amodra@gmail.com>
1232         * Makefile.in (configure_deps): Update.
1233         * configure: Regenerate.
1235 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1237         Update copyright years.
1239 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1241         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1242         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1243         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1245 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1247         * config/arc/gmon: Remove empty directory.
1249 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
1251         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1252         crtgend.
1253         (arc*-*-elf*): Likewise.
1254         * config/arc/t-arc: Remove old gmon lib targets.
1255         * config/arc/crtg.S: Remove.
1256         * config/arc/crtgend.S: Likewise.
1257         * config/arc/gmon/atomic.h: Likewise.
1258         * config/arc/gmon/auxreg.h: Likewise.
1259         * config/arc/gmon/dcache_linesz.S: Likewise.
1260         * config/arc/gmon/gmon.c: Likewise.
1261         * config/arc/gmon/machine-gmon.h: Likewise.
1262         * config/arc/gmon/mcount.c: Likewise.
1263         * config/arc/gmon/prof-freq-stub.S: Likewise.
1264         * config/arc/gmon/prof-freq.c: Likewise.
1265         * config/arc/gmon/profil.S: Likewise.
1266         * config/arc/gmon/sys/gmon.h: Likewise.
1267         * config/arc/gmon/sys/gmon_out.h: Likewise.
1268         * config/arc/t-arc-newlib: Likewise.
1269         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1271 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1273         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1275 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1277         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1278         R16 instead of push + pop.
1279         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1281 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
1283         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1284         tmake_file.
1286 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
1288         * config.host (arc*-*-linux-uclibc*): Use default extra
1289         objects. Include linux-android header.
1290         * config/arc/crti.S (_init): Declare symbol as function.
1291         (_fini): Likewise.
1293 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
1295         PR fortran/78379
1296         * config/i386/cpuinfo.c:  Move denums for processor vendors,
1297         processor type, processor subtypes and declaration of
1298         struct __processor_model into
1299         * config/i386/cpuinfo.h:  New header file.
1301 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1302             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1304         * config/arm/cmse_nonsecure_call.S: New.
1305         * config/arm/t-arm: Compile cmse_nonsecure_call.S
1307 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1308             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1310         * config/arm/t-arm (HAVE_CMSE): New.
1311         * config/arm/cmse.c: New.
1313 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1315         PR gcc/74748
1316         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1317         use generic linker version information on Blackfin.
1319         PR gcc/74748
1320         * libgcc/mkmap-symver.awk: add support for skip_underscore
1322 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
1323             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1325         PR target/67710
1326         *  config/t-darwin: Default builds to 10.5 codegen.
1328 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
1330         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1331         (_FP_NANSIGN_H): Likewise.
1332         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1333         (softfp_truncations): Add tfhf.
1334         (softfp_extras): Add required conversion functions.
1336 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1337             Matthew Wahab  <matthew.wahab@arm.com>
1339         * config/arm/fp16.c (binary64): New.
1340         (__gnu_d2h_internal): New.
1341         (__gnu_d2h_ieee): New.
1342         (__gnu_d2h_alternative): New.
1344 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1345             Matthew Wahab  <matthew.wahab@arm.com>
1347         * config/arm/fp16.c (struct format): New.
1348         (binary32): New.
1349         (__gnu_float2h_internal): New.  Body moved from
1350         __gnu_f2h_internal and generalize.
1351         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1352         Call it with binary32.
1354 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1356         * soft-fp/extendhftf2.c: Update from glibc.
1357         * soft-fp/fixhfti.c: Likewise.
1358         * soft-fp/fixunshfti.c: Likewise.
1359         * soft-fp/floattihf.c: Likewise.
1360         * soft-fp/floatuntihf.c: Likewise.
1361         * soft-fp/half.h: Likewise.
1362         * soft-fp/trunctfhf2.c: Likewise.
1364 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
1366         PR libgcc/77813
1367         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1368         __TMC_END__ behind a passthrough asm.
1370 2016-11-18  Walter Lee  <walt@tilera.com>
1372         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1374 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
1376         * config/i386/cpuinfo.c (processor_features): Add
1377         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1379 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
1381         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1382         (__ARC_NORM__): Use instead ARC_OPTFPE.
1383         * config/arc/fp-hack.h: Likewise.
1384         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1385         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1387 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
1389         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1390         * config/nvptx/mgomp.c: New file.
1391         * config/nvptx/t-nvptx: Add mgomp.c
1393 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
1395         PR libgcc/68468
1396         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1398 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
1400         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1401         of checking for cpus.
1402         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1403         (__modsi3, __clzsi2): Likewise.
1405 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1407         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1408         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1409         * config/i386/t-cpuinfo-static: New.
1411 2016-11-03  Martin Liska  <mliska@suse.cz>
1413         * libgcov-profiler.c (__gcov_time_profiler): Remove.
1414         (__gcov_time_profiler_atomic): Likewise.
1416 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1418         PR libgcc/78067
1419         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1420         count_leading_zeros.
1422 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
1424         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1425         * libgcc2.c (__divmoddi4): New function.
1426         * libgcc2.h (__divmoddi4): Declare.
1427         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1428         and __PFX_divmodti4.
1430 2016-10-24  Florian Weimer  <fweimer@redhat.com>
1432         PR libgcc/78064
1433         * unwind-c.c: Include auto-target.h.
1435 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
1437         * config/pa/pa64-hpux-lib.h: New file.
1438         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1439         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1440         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1441         hppa*64*-*-hpux11*.
1443 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
1445         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1446         definition.
1447         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1448         definition.
1449         * config/xtensa/t-windowed (LIB2ADDEH): Use
1450         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1451         or xtensa/t-linux.
1453 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
1455         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1456         __ieee754_sqrt): New functions.
1457         (__divdf3): Add implementation with new FPU instructions under
1458         #if XCHAL_HAVE_DFP_DIV.
1459         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1460         __ieee754_sqrtf): New functions.
1461         (__divsf3): Add implementation with new FPU instructions under
1462         #if XCHAL_HAVE_FP_DIV.
1463         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1464         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1466 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1468         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1469         equivalent.
1470         * config/tilepro/atomic.c: Likewise and stop casting model to
1471         enum memmodel.
1473 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
1475         PR target/77586
1476         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1477         soft-fp.
1479 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
1481         * config.host: Add support for aarch64-*-freebsd*.
1483 2016-10-05  Andreas Schwab  <schwab@suse.de>
1485         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1486         (.section .init_array): Don't call __do_jv_register_classes.
1487         (.section .init): Likewise.
1489 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
1491         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1492         (__JCR_LIST__): Remove.
1493         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1494         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1495         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1496         * config/ia64/crtend.S (__JCR_END__): Remove.
1497         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1498         conditionals.
1499         (__JCR_LIST__, __JCR_END__): Remove.
1500         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1501         (__do_global_ctors_1): Likewise.
1503 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1505         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1506         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1508 2016-09-27  Martin Liska  <mliska@suse.cz>
1510         PR gcov-profile/7970
1511         PR gcov-profile/16855
1512         PR gcov-profile/44779
1513         * libgcov-driver.c (__gcov_init): Do not register a atexit
1514         handler.
1515         (__gcov_exit): Rename from gcov_exit.
1516         * libgcov.h (__gcov_exit): Declare.
1518 2016-09-27  Martin Liska  <mliska@suse.cz>
1520         PR bootstrap/77749
1521         * Makefile.in: Remove _gcov_merge_delta.
1522         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1523         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1524         * libgcov.h: Remove declaration of __gcov_merge_delta.
1526 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1528         * configure.ac: Do not create links, only substitute the filenames.
1529         * configure: Regenerate.
1530         * Makefile.in: Assign the substitution results to variables.
1531         (LIBGCC_LINKS): Define.
1532         (enable-execute-stack.c): New rule.
1533         (unwind.h): Likewise.
1534         (md-unwind-support.h): Likewise.
1535         (sfp-machine.h): Likewise.
1536         (gthr-default.h): Likewise.
1537         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1538         unwind.h as prerequisite of install-unwind_h-forbuild.
1540 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1542         PR libgcc/71744
1543         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1544         is not the primary registry and atomics are available.
1545         (any_objects_registered): New variable.
1546         (__register_frame_info_bases, __register_frame_info_table_bases):
1547         Atomically store 1 to any_objects_registered after registering first
1548         unwind info.
1549         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1551 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1553         PR target/63250
1554         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1555         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1556         (HFtype): Likewise.
1557         (HCtype): Likewise.
1558         (__divhc3): Likewise.
1559         (__mulhc3): Likewise.
1560         * libgcc2.c: Support _mulhc3 and _divhc3.
1562 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1564         PR libgcc/77519
1565         * libgcc2.c (NOTRUNC): Invert settings.
1567 2016-09-06  Martin Liska  <mliska@suse.cz>
1569         PR gcov-profile/77378
1570         PR gcov-profile/77466
1571         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1572         conditionaly enable/disable *_atomic functions.
1574 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1576         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1577         where not already enabled.
1579 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1581         * config/mips/linux-unwind.h: Use sys/syscall.h.
1583 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1585         PR libgcc/77265
1586         * soft-fp/adddf3.c: Update from glibc.
1587         * soft-fp/addsf3.c: Likewise.
1588         * soft-fp/addtf3.c: Likewise.
1589         * soft-fp/divdf3.c: Likewise.
1590         * soft-fp/divsf3.c: Likewise.
1591         * soft-fp/divtf3.c: Likewise.
1592         * soft-fp/double.h: Likewise.
1593         * soft-fp/eqdf2.c: Likewise.
1594         * soft-fp/eqsf2.c: Likewise.
1595         * soft-fp/eqtf2.c: Likewise.
1596         * soft-fp/extenddftf2.c: Likewise.
1597         * soft-fp/extended.h: Likewise.
1598         * soft-fp/extendsfdf2.c: Likewise.
1599         * soft-fp/extendsftf2.c: Likewise.
1600         * soft-fp/extendxftf2.c: Likewise.
1601         * soft-fp/fixdfdi.c: Likewise.
1602         * soft-fp/fixdfsi.c: Likewise.
1603         * soft-fp/fixdfti.c: Likewise.
1604         * soft-fp/fixsfdi.c: Likewise.
1605         * soft-fp/fixsfsi.c: Likewise.
1606         * soft-fp/fixsfti.c: Likewise.
1607         * soft-fp/fixtfdi.c: Likewise.
1608         * soft-fp/fixtfsi.c: Likewise.
1609         * soft-fp/fixtfti.c: Likewise.
1610         * soft-fp/fixunsdfdi.c: Likewise.
1611         * soft-fp/fixunsdfsi.c: Likewise.
1612         * soft-fp/fixunsdfti.c: Likewise.
1613         * soft-fp/fixunssfdi.c: Likewise.
1614         * soft-fp/fixunssfsi.c: Likewise.
1615         * soft-fp/fixunssfti.c: Likewise.
1616         * soft-fp/fixunstfdi.c: Likewise.
1617         * soft-fp/fixunstfsi.c: Likewise.
1618         * soft-fp/fixunstfti.c: Likewise.
1619         * soft-fp/floatdidf.c: Likewise.
1620         * soft-fp/floatdisf.c: Likewise.
1621         * soft-fp/floatditf.c: Likewise.
1622         * soft-fp/floatsidf.c: Likewise.
1623         * soft-fp/floatsisf.c: Likewise.
1624         * soft-fp/floatsitf.c: Likewise.
1625         * soft-fp/floattidf.c: Likewise.
1626         * soft-fp/floattisf.c: Likewise.
1627         * soft-fp/floattitf.c: Likewise.
1628         * soft-fp/floatundidf.c: Likewise.
1629         * soft-fp/floatundisf.c: Likewise.
1630         * soft-fp/floatunditf.c: Likewise.
1631         * soft-fp/floatunsidf.c: Likewise.
1632         * soft-fp/floatunsisf.c: Likewise.
1633         * soft-fp/floatunsitf.c: Likewise.
1634         * soft-fp/floatuntidf.c: Likewise.
1635         * soft-fp/floatuntisf.c: Likewise.
1636         * soft-fp/floatuntitf.c: Likewise.
1637         * soft-fp/gedf2.c: Likewise.
1638         * soft-fp/gesf2.c: Likewise.
1639         * soft-fp/getf2.c: Likewise.
1640         * soft-fp/ledf2.c: Likewise.
1641         * soft-fp/lesf2.c: Likewise.
1642         * soft-fp/letf2.c: Likewise.
1643         * soft-fp/muldf3.c: Likewise.
1644         * soft-fp/mulsf3.c: Likewise.
1645         * soft-fp/multf3.c: Likewise.
1646         * soft-fp/negdf2.c: Likewise.
1647         * soft-fp/negsf2.c: Likewise.
1648         * soft-fp/negtf2.c: Likewise.
1649         * soft-fp/op-1.h: Likewise.
1650         * soft-fp/op-2.h: Likewise.
1651         * soft-fp/op-4.h: Likewise.
1652         * soft-fp/op-8.h: Likewise.
1653         * soft-fp/op-common.h: Likewise.
1654         * soft-fp/quad.h: Likewise.
1655         * soft-fp/single.h: Likewise.
1656         * soft-fp/soft-fp.h: Likewise.
1657         * soft-fp/subdf3.c: Likewise.
1658         * soft-fp/subsf3.c: Likewise.
1659         * soft-fp/subtf3.c: Likewise.
1660         * soft-fp/truncdfsf2.c: Likewise.
1661         * soft-fp/trunctfdf2.c: Likewise.
1662         * soft-fp/trunctfsf2.c: Likewise.
1663         * soft-fp/trunctfxf2.c: Likewise.
1664         * soft-fp/unorddf2.c: Likewise.
1665         * soft-fp/unordsf2.c: Likewise.
1666         * soft-fp/unordtf2.c: Likewise.
1668 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1670         PR gcov-profile/67097
1671         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1673 2016-08-10  Martin Liska  <mliska@suse.cz>
1675         PR gcov-profile/58306
1676         * Makefile.in: New functions (modules) are added.
1677         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1678         function.
1679         (__gcov_pow2_profiler_atomic): New function.
1680         (__gcov_one_value_profiler_body): New argument is instroduced.
1681         (__gcov_one_value_profiler): Call with the new argument.
1682         (__gcov_one_value_profiler_atomic): Likewise.
1683         (__gcov_indirect_call_profiler_v2): Likewise.
1684         (__gcov_time_profiler_atomic): New function.
1685         (__gcov_average_profiler_atomic): Likewise.
1686         (__gcov_ior_profiler_atomic): Likewise.
1687         * libgcov.h: Declare the aforementioned functions.
1689 2016-08-09  Martin Liska  <mliska@suse.cz>
1691         * libgcov-util.c: Fix typo and GNU coding style.
1693 2016-08-09  Martin Liska  <mliska@suse.cz>
1695         * Makefile.in: Remove __gcov_indirect_call_profiler.
1696         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1697         function.
1698         * libgcov.h: And the declaration of the function.
1700 2016-08-09  Martin Liska  <mliska@suse.cz>
1702         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1703         power of two.
1705 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1707         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1708         * config/rs6000/_mulkc3.c: Likewise.
1710 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1712         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1713         zero_reg as previous call to __umulhisi3 already cleared it.
1715 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1717         PR target/59833
1718         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1720 2016-07-19  Nick Clifton  <nickc@redhat.com>
1722         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1723         Add crtinit.o and crtfini.o to extra_parts.
1725 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1727         * config/rs6000/_divkc3.c: New.
1728         * config/rs6000/_mulkc3.c: New.
1729         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1730         and _divkc3.
1731         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1732         fp128_ppc_funcs.
1734 2016-07-11  Hale Wang  <hale.wang@arm.com>
1735             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1737         * config/arm/lib1funcs.S: Add new wrapper.
1739 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1741         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1743 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1745         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1746         and ARMv5t* rather than for a fixed list of architectures.
1748 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1750         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1751         implementation suitable for.
1752         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1753         for all Thumb-1 only targets.
1754         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1755         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1756         __ARM_ARCH_6M__.
1757         (EQUIV): Likewise.
1758         (ARM_FUNC_ALIAS): Likewise.
1759         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1760         version.
1761         (modsi3): Likewise.
1762         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1763         (clzdi2): Likewise.
1764         (ctzsi2): Likewise.
1765         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1766         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1767         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1768         __ARM_ARCH_6M__ and add comment to indicate the connection between
1769         this condition and the one in gcc/config/arm/elf.h.
1770         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1771         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1772         * config/arm/t-softfp: Likewise.
1774 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1776         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1777         CTOR_LISTS_DEFINED_EXTERNALLY.
1779 2016-06-28  Walter Lee  <walt@tilera.com>
1781         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1782         asm/unistd.h.
1783         (SPR_CMPEXCH_VALUE): Define for tilegx.
1784         (__NR_FAST_cmpxchg): Define for tilepro.
1785         (__NR_FAST_atomic_update): Define for tilepro.
1786         (__NR_FAST_cmpxchg64): Define for tilepro.
1788 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1790         * config.host: Add suport for arm*-*-phoenix* targets.
1792 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1794         * config.host: Remove support for mep-*.
1795         * config/mep/lib1funcs.S: Remove.
1796         * config/mep/lib2funcs.c: Remove.
1797         * config/mep/t-mep: Remove.
1798         * config/mep/tramp.c: Remove.
1800 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1802         * config.host: Remove support for avr-rtems.
1803         * config/avr/t-rtems: Remove.
1805 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1807         * config.host: Remove m32r-rtems support.
1809 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1811         * config.host: Remove h8300-rtems support.
1813 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1815         * config.host: Remove support for knetbsd.
1817 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1819         * config.host: Remove support for openbsd 2 and 3.
1821 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1823         * config.host: Remove interix support.
1824         * config/i386/t-interix: Remove.
1826 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1828         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1829         least-significant bit in function pointer for fixup.
1831 2016-06-05  Aaron Conole  <aconole@redhat.com>
1832             Nathan Sidwell  <nathan@acm.org>
1834         PR libgcc/71400
1835         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1836         (get_gcov_error_file): Check __gcov_error_file before trying to
1837         initialize it.
1838         (gcov_error): Always use get_gcov_error_file.
1840 2016-06-02  Aaron Conole  <aconole@redhat.com>
1842         * libgcov-driver-system.c (__gcov_error_file): New.
1843         (get_gcov_error_file): New.
1844         (gcov_error): Use and set __gcov_error_file.
1845         (gcov_error_exit): New.
1846         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1848 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1850         * config/nvptx/free.asm: Delete.
1851         * config/nvptx/malloc.asm: Delete.
1852         * config/nvptx/realloc.c: Delete.
1853         * t-nvptx: Update.
1855 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1857         * config/nvptx/crt0.s: Delete.
1858         * config/nvptx/crt0.c: New.
1859         * t-nvptx: Update.
1861 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1863         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1864         dw2/seh configuration.
1865         [x86_64-*-mingw*]: Likewise.
1867 2016-05-10  Joel Sherrill <joel@rtems.org>
1869         PR libgcc/70720
1870         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1871         targets so the same extra_parts are built.  Also have tmake_file add
1872         on to its value rather than override.
1874 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1876         * config.host: Remove SH5 support.
1877         * configure: Likewise.
1879 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1881         * config/sh/crt1.S: Remove SH5 support.
1882         * config/sh/crti.S: Likewise.
1883         * config/sh/crtn.S: Likewise.
1884         * config/sh/lib1funcs-4-300.S: Likewise.
1885         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1886         * config/sh/lib1funcs.S: Likewise.
1887         * config/sh/linux-unwind.h: Likewise.
1888         * config/sh/t-sh64: Delete.
1890 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1892         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1894 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1895             Joern Rennecke  <joern.rennecke@embecosm.com>
1897         * config/arc/crttls.S: New file.
1898         * config/arc/t-arc: New rule.
1899         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1901 2016-04-25  Nick Clifton  <nickc@redhat.com>
1903         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1904         (__mspabi_cmpd): Likewise.
1905         * config/msp430/floathidf.c (__floathidf): Likewise.
1906         * config/msp430/floathisf.c (__floathisf): Likewise
1907         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1908         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1909         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1910         second parameter.
1911         (__ashrsi3): Likewise.
1913 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1915         * config/m68k/linux-atomic.c: Do not include unistd.h
1917 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1919         * config/arm/ieee754-df.S: Fix typos in comments.
1921 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1923         PR target/70381
1924         * configure.ac (powerpc*-*-linux*): Rework tests to build
1925         __float128 emulation routines to not depend on using #pragma GCC
1926         target to enable -mfloat128.
1927         * configure: Regnerate.
1929 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1931         PR target/67172
1932         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1933         __MINGW32__ is defined.
1935 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1937         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1939 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1941         PR libgcc/70363
1942         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1943         built with an assembler that does not support ISA 3.0
1944         instructions, rename __extendkftf2_sw to __extendkftf2.
1946 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1948         PR target/38239
1949         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1950         call-clobbered registers.
1951         (internal_mcount): Remove __i386__ handling.
1953 2016-02-26  Joel Sherrill <joel@rtems.org>
1955         * config.host: Add x86_64-*-rtems*.
1957 2016-02-26  Joel Sherrill <joel@rtems.org>
1959         * libgcc/config.host: Add aarch64-*-rtems*.
1961 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1962             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1964         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1965         union of u64 and double.
1966         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1967         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1968         value.
1969         (FP_ROUNDMODE): Update the usage of _fpscr.
1971 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1973         PR driver/68463
1974         * Makefile.in (crtoffloadtable$(objext)): New rule.
1975         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1976         enable_offload_targets is not empty.
1977         * configure: Regenerate.
1978         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1979         crtoffloadtable.
1981 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
1983         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1984         .literal_position before the function.
1985         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1986         Likewise.
1988 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
1990         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1991         * config/s390/morestack.S: New file.
1992         * config/s390/t-stack-s390: New file.
1993         * generic-morestack.c (__splitstack_find): Add s390-specific code.
1995 2016-02-12  Walter Lee  <walt@tilera.com>
1997         * config.host (tilegx*-*-linux*): remove ti from
1998         softfp_int_modes for 32-bit configs.
2000 2016-02-10  Ian Lance Taylor  <iant@google.com>
2002         PR go/68562
2003         * config/i386/morestack.S (__stack_split_initialize): Align
2004         stack.
2006 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
2008         PR bootstrap/69611
2009         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2010         __FLOAT128__ to compile only for __float128 capable targets.
2012 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
2014         PR target/69444
2015         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2016         instead of ___NO_FPRS__.
2018 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
2019             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2020             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2022         * config/rs6000/float128-sed: New files to convert TF names to KF
2023         names for PowerPC IEEE 128-bit floating point support.
2024         * config/rs6000/float128-sed-hw: Likewise.
2026         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2027         floating point hardware support.
2029         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2030         128-bit floating point software emulation or use ISA 3.0 hardware
2031         support if it is available.
2033         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2034         floating point.
2036         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2037         floating point to IBM extended double.
2039         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2040         double to IEEE 128-bit floating point.
2042         * config/rs6000/t-float128: New Makefile fragments to enable
2043         building __float128 emulation support.
2044         * config/rs6000/t-float128-hw: Likewise.
2046         * config/rs6000/sfp-exceptions.c: New file to provide exception
2047         support for IEEE 128-bit floating point.
2049         * config/rs6000/floattikf.c: New files for converting between IEEE
2050         128-bit floating point and signed/unsigned 128-bit integers.
2051         * config/rs6000/fixunskfti.c: Likewise.
2052         * config/rs6000/fixkfti.c: Likewise.
2053         * config/rs6000/floatuntikf.c: Likewise.
2055         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2056         when building on 64-bit systems, or when VSX is enabled.
2057         (_FP_W_TYPE): Likewise.
2058         (_FP_WS_TYPE): Likewise.
2059         (_FP_I_TYPE): Likewise.
2060         (TItype): Define on 64-bit systems.
2061         (UTItype): Likewise.
2062         (TI_BITS): Likewise.
2063         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2064         (_FP_MUL_MEAT_Q): Likewise.
2065         (_FP_DIV_MEAT_D): Likewise.
2066         (_FP_DIV_MEAT_Q): Likewise.
2067         (_FP_NANFRAC_D): Likewise.
2068         (_FP_NANFRAC_Q): Likewise.
2069         (ISA_BIT): Add exception support if we are being compiled on a
2070         machine with hardware floating point support to build the IEEE
2071         128-bit emulation functions.
2072         (FP_EX_INVALID): Likewise.
2073         (FP_EX_OVERFLOW): Likewise.
2074         (FP_EX_UNDERFLOW): Likewise.
2075         (FP_EX_DIVZERO): Likewise.
2076         (FP_EX_INEXACT): Likewise.
2077         (FP_EX_ALL): Likewise.
2078         (__sfp_handle_exceptions): Likewise.
2079         (FP_HANDLE_EXCEPTIONS): Likewise.
2080         (FP_RND_NEAREST): Likewise.
2081         (FP_RND_ZERO): Likewise.
2082         (FP_RND_PINF): Likewise.
2083         (FP_RND_MINF): Likewise.
2084         (FP_RND_MASK): Likewise.
2085         (_FP_DECL_EX): Likewise.
2086         (FP_INIT_ROUNDMODE): Likewise.
2087         (FP_ROUNDMODE): Likewise.
2089         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2090         VSX code, enable IEEE 128-bit floating point.  If the compiler can
2091         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2092         floating point hardware instructions and it supports declaring
2093         functions with the ifunc attribute, enable ifunc functions to
2094         switch between software and hardware support.
2095         * configure.ac (powerpc*-*-linux*): Likewise.
2096         * configure: Regenerate.
2098 2016-01-15  Nick Clifton  <nickc@redhat.com>
2100         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2101         dependency as the source file to be compiled.
2102         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2103         (lib2hw_mul_f5.o): Likewise.
2105 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2107         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2108         * libgcc/config/rs6000/fixkfti.c: Likewise.
2109         * libgcc/config/rs6000/fixunskfti.c: Likewise.
2110         * libgcc/config/rs6000/float128-hw.c: Likewise.
2111         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2112         * libgcc/config/rs6000/float128-sed: Likewise.
2113         * libgcc/config/rs6000/floattikf.c: Likewise.
2114         * libgcc/config/rs6000/floatuntikf.c: Likewise.
2115         * libgcc/config/rs6000/quad-float128.h: Likewise.
2116         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2117         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2118         * libgcc/config/rs6000/t-float128: Likewise.
2119         * libgcc/config/rs6000/t-float128-hw: Likewise.
2120         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2121         * libgcc/config.host: Likewise.
2122         * libgcc/configure: Likewise.
2123         * libgcc/configure.ac: Likewise.
2125 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2126             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2127             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2129         * config/rs6000/sfp-exceptions.c: New file to provide exception
2130         support for IEEE 128-bit floating point.
2132         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2133         floating point hardware support.
2135         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2136         point conversions.
2137         * config/rs6000/fixunskfti.c: Likewise.
2138         * config/rs6000/fixkfti.c: Likewise.
2139         * config/rs6000/floatuntikf.c: Likewise.
2140         * config/rs6000/extendkftf2-sw.c: Likewise.
2141         * config/rs6000/trunctfkf2-sw.c: Likewise.
2143         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2144         128-bit floating point software emulation or use ISA 3.0 hardware
2145         support if it is available.
2147         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2148         floating point.
2150         * config/rs6000/t-float128: New Makefile fragments to enable
2151         building __float128 emulation support.
2152         * config/rs6000/t-float128-hw: Likewise.
2154         * config/rs6000/float128-sed: New file to convert TF names to KF
2155         names for PowerPC IEEE 128-bit floating point support.
2157         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2158         when building on 64-bit systems, or when VSX is enabled.
2159         (_FP_W_TYPE): Likewise.
2160         (_FP_WS_TYPE): Likewise.
2161         (_FP_I_TYPE): Likewise.
2162         (TItype): Define on 64-bit systems.
2163         (UTItype): Likewise.
2164         (TI_BITS): Likewise.
2165         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2166         (_FP_MUL_MEAT_Q): Likewise.
2167         (_FP_DIV_MEAT_D): Likewise.
2168         (_FP_DIV_MEAT_Q): Likewise.
2169         (_FP_NANFRAC_D): Likewise.
2170         (_FP_NANFRAC_Q): Likewise.
2171         (ISA_BIT): Add exception support if we are being compiled on a
2172         machine with hardware floating point support to build the IEEE
2173         128-bit emulation functions.
2174         (FP_EX_INVALID): Likewise.
2175         (FP_EX_OVERFLOW): Likewise.
2176         (FP_EX_UNDERFLOW): Likewise.
2177         (FP_EX_DIVZERO): Likewise.
2178         (FP_EX_INEXACT): Likewise.
2179         (FP_EX_ALL): Likewise.
2180         (__sfp_handle_exceptions): Likewise.
2181         (FP_HANDLE_EXCEPTIONS): Likewise.
2182         (FP_RND_NEAREST): Likewise.
2183         (FP_RND_ZERO): Likewise.
2184         (FP_RND_PINF): Likewise.
2185         (FP_RND_MINF): Likewise.
2186         (FP_RND_MASK): Likewise.
2187         (_FP_DECL_EX): Likewise.
2188         (FP_INIT_ROUNDMODE): Likewise.
2189         (FP_ROUNDMODE): Likewise.
2191         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2192         compiler can do __float128.
2193         * configure: Regenerate.
2195         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2196         VSX code, enable IEEE 128-bit floating point.
2198 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2200         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2201         specificities.
2203 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2205         Update copyright years.
2207 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2209         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2210         soft-fp targets.
2212 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2214         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2215         instead of abort to avoid dependency on stdlib.h.
2217 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2219         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2220         to initialize call to __dl_fixup once.
2222 2015-12-04  Nick Clifton  <nickc@redhat.com>
2224         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2225         Allow for the second argument being negative.
2226         * config.host (extra_parts): Define for MSP430.  Create separate
2227         libraries for each of the hardware multiply formats.
2228         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2229         that are needed.
2230         * config/msp430/lib2mul.c: Likewise.
2231         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2232         Add rules to build hardware multiply libraries.
2233         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2234         __mspabi_divul function.
2235         (__mspabi_divllu): New stub function.
2237 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2239         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2240         fixup values if saved GOT address doesn't match runtime address.
2241         (fixup_branch_offset): Reorder list.
2243 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2245         * Makefile.in (VTV_CFLAGS): New variable.
2246         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2247         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2248         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2249         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2250         to extra_parts if $enable_vtable_verify = yes.
2252 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2254         PR target/68059
2255         * config/arm/linux-atomic-64bit.c (__write): Rename to...
2256         (write): ...this and fix the return type.
2258 2015-11-19  DJ Delorie  <dj@redhat.com>
2260         * config/msp430/lib2hw_mul.S: Fix alignment.
2262 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
2264         * config/nvptx/reduction.c: New.
2265         * config/nvptx/t-nvptx (LIB2ADD): Add it.
2267 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
2269         * config/rs6000/on_exit.c: New file.
2270         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2271         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2273 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
2275         * config/arc/dp-hack.h: Add support for ARCHS.
2276         * config/arc/ieee-754/divdf3.S: Likewise.
2277         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2278         * config/arc/ieee-754/muldf3.S: Likewise.
2279         * config/arc/ieee-754/mulsf3.S: Likewise
2280         * config/arc/lib1funcs.S: Likewise
2281         * config/arc/gmon/dcache_linesz.S: Don't read the build register
2282         for ARCv2 cores.
2283         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2284         for ARCv2 cores.
2285         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2286         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2287         cores.
2289 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2291         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2292         value.
2293         * config/ia64/crtend.S: Likewise.
2295 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2297         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2298         __CHAR_BIT__ instead of BITS_PER_UNIT.
2299         * fixed-bit.h: Likewise.
2300         * fp-bit.h: Likewise.
2301         * libgcc2.c (__popcountSI2): Likewise.
2302         (__popcountDI2): Likewise.
2303         * libgcc2.h: Likewise.
2304         * libgcov.h: Likewise.
2306 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
2308         * config/rs6000/atexit.c: New file.
2309         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2310         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2311         * config/rs6000/cxa_finalize.c
2312         (catomic_compare_and_exchange_bool_acq): Negate return value.
2314 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2316         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2317         (processor_subtypes): Add znver1.
2318         (get_amd_cpu): Detect znver1.
2320 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
2322         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2323         Include crtfastmath.o.
2325 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
2327         PR libgcc/66883
2328         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2330 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
2332         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2333         * config/rl78/divmodsi.S: Update return register to r8.
2334         * config/rl78/divmodhi.S: Update return register to r8,r9.
2335         Branch to main_loop_done_himode to pop registers before return.
2337 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2339         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2340         (__cpu_indicator_init): Fix model selection for AMD CPUs.
2342 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
2344         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2346 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
2348         * config.host (xtensa*-*-uclinux*): New configuration.
2350 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
2352         * config/i386/cpuinfo.c (processor_features): Add
2353         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2355 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2357         * soft-fp/adddf3.c: Update from glibc.
2358         * soft-fp/addsf3.c: Likewise.
2359         * soft-fp/addtf3.c: Likewise.
2360         * soft-fp/divdf3.c: Likewise.
2361         * soft-fp/divsf3.c: Likewise.
2362         * soft-fp/divtf3.c: Likewise.
2363         * soft-fp/double.h: Likewise.
2364         * soft-fp/eqdf2.c: Likewise.
2365         * soft-fp/eqsf2.c: Likewise.
2366         * soft-fp/eqtf2.c: Likewise.
2367         * soft-fp/extenddftf2.c: Likewise.
2368         * soft-fp/extended.h: Likewise.
2369         * soft-fp/extendsfdf2.c: Likewise.
2370         * soft-fp/extendsftf2.c: Likewise.
2371         * soft-fp/extendxftf2.c: Likewise.
2372         * soft-fp/fixdfdi.c: Likewise.
2373         * soft-fp/fixdfsi.c: Likewise.
2374         * soft-fp/fixdfti.c: Likewise.
2375         * soft-fp/fixsfdi.c: Likewise.
2376         * soft-fp/fixsfsi.c: Likewise.
2377         * soft-fp/fixsfti.c: Likewise.
2378         * soft-fp/fixtfdi.c: Likewise.
2379         * soft-fp/fixtfsi.c: Likewise.
2380         * soft-fp/fixtfti.c: Likewise.
2381         * soft-fp/fixunsdfdi.c: Likewise.
2382         * soft-fp/fixunsdfsi.c: Likewise.
2383         * soft-fp/fixunsdfti.c: Likewise.
2384         * soft-fp/fixunssfdi.c: Likewise.
2385         * soft-fp/fixunssfsi.c: Likewise.
2386         * soft-fp/fixunssfti.c: Likewise.
2387         * soft-fp/fixunstfdi.c: Likewise.
2388         * soft-fp/fixunstfsi.c: Likewise.
2389         * soft-fp/fixunstfti.c: Likewise.
2390         * soft-fp/floatdidf.c: Likewise.
2391         * soft-fp/floatdisf.c: Likewise.
2392         * soft-fp/floatditf.c: Likewise.
2393         * soft-fp/floatsidf.c: Likewise.
2394         * soft-fp/floatsisf.c: Likewise.
2395         * soft-fp/floatsitf.c: Likewise.
2396         * soft-fp/floattidf.c: Likewise.
2397         * soft-fp/floattisf.c: Likewise.
2398         * soft-fp/floattitf.c: Likewise.
2399         * soft-fp/floatundidf.c: Likewise.
2400         * soft-fp/floatundisf.c: Likewise.
2401         * soft-fp/floatunditf.c: Likewise.
2402         * soft-fp/floatunsidf.c: Likewise.
2403         * soft-fp/floatunsisf.c: Likewise.
2404         * soft-fp/floatunsitf.c: Likewise.
2405         * soft-fp/floatuntidf.c: Likewise.
2406         * soft-fp/floatuntisf.c: Likewise.
2407         * soft-fp/floatuntitf.c: Likewise.
2408         * soft-fp/gedf2.c: Likewise.
2409         * soft-fp/gesf2.c: Likewise.
2410         * soft-fp/getf2.c: Likewise.
2411         * soft-fp/ledf2.c: Likewise.
2412         * soft-fp/lesf2.c: Likewise.
2413         * soft-fp/letf2.c: Likewise.
2414         * soft-fp/muldf3.c: Likewise.
2415         * soft-fp/mulsf3.c: Likewise.
2416         * soft-fp/multf3.c: Likewise.
2417         * soft-fp/negdf2.c: Likewise.
2418         * soft-fp/negsf2.c: Likewise.
2419         * soft-fp/negtf2.c: Likewise.
2420         * soft-fp/op-1.h: Likewise.
2421         * soft-fp/op-2.h: Likewise.
2422         * soft-fp/op-4.h: Likewise.
2423         * soft-fp/op-8.h: Likewise.
2424         * soft-fp/op-common.h: Likewise.
2425         * soft-fp/quad.h: Likewise.
2426         * soft-fp/single.h: Likewise.
2427         * soft-fp/soft-fp.h: Likewise.
2428         * soft-fp/subdf3.c: Likewise.
2429         * soft-fp/subsf3.c: Likewise.
2430         * soft-fp/subtf3.c: Likewise.
2431         * soft-fp/truncdfsf2.c: Likewise.
2432         * soft-fp/trunctfdf2.c: Likewise.
2433         * soft-fp/trunctfsf2.c: Likewise.
2434         * soft-fp/trunctfxf2.c: Likewise.
2435         * soft-fp/unorddf2.c: Likewise.
2436         * soft-fp/unordsf2.c: Likewise.
2437         * soft-fp/unordtf2.c: Likewise.
2439 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
2441         PR libgcc/67624
2442         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2444 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2446         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2447         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2448         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2449         messages.
2450         (internal_mcount): Likewise.
2451         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2452         crt_compile, add CRTSTUFF_T_CFLAGS_S.
2454 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2456         * configure.ac (libgcc_cv_solaris_crts): New test.
2457         * configure: Regenerate.
2458         * config.in: Regenerate.
2459         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2460         * config/gmon-sol2.c: Rename to ...
2461         * config/sol2/gmon.c: ... this.
2462         Include auto-target.h.
2463         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2464         * config/t-sol2: Rename to ...
2465         * config/sol2/t-sol2: ... this.
2466         (gmon.o): Reflect renaming.
2467         (crtp.o, crtpg.o): New rules.
2468         * config.host (*-*-solaris2*): Reflect renaming.
2469         Use system CRTs if present.
2470         Remove default CRT case.
2472 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
2474         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2475         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2476         __kernel_cmpxchg2.
2477         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2478         (__sync_val_compare_and_swap_##WIDTH): Likewise.
2479         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2480         (__sync_lock_test_and_set_##WIDTH): Likewise.
2481         (__sync_lock_release_##WIDTH): Likewise.
2482         (__sync_fetch_and_##OP##_4): Change result to match type of
2483         __kernel_cmpxchg.
2484         (__sync_##OP##_and_fetch_4): Likewise.
2485         (__sync_val_compare_and_swap_4): Likewise.
2486         (__sync_bool_compare_and_swap_4): likewise.
2487         (__sync_lock_test_and_set_4): Likewise.
2488         (__sync_lock_release_4): Likewise.
2489         (FETCH_AND_OP_2): Add long long variants.
2490         (OP_AND_FETCH_2): Likewise.
2491         (COMPARE_AND_SWAP_2 ): Likewise.
2492         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2493         (SYNC_LOCK_RELEASE_2): Likewise.
2494         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2496 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2498         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2499         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2500         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2501         (get_available_features): Habdle new features.
2503 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2505         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2506         memory layout. Deal correctly with BSS region larger than 32K.
2507         Handle a watchdog reset like a power-on reset. Clean up unused
2508         code.
2510 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2511             David Edelsohn  <dje.gcc@gmail.com>
2513         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2514         * config/rs6000/crtdbase.S: New file.
2515         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2517 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2519         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2520         Add support for call0 ABI.
2522 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2524         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2526 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2528         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2529         (__GTHREAD_HAS_COND): Likewise.
2530         (__gthread_t): Likewise.
2531         (__gthread_cond_t): Likewise.
2532         (__gthread_time_t): Likewise.
2533         (__GTHREAD_MUTEX_INIT): Likewise.
2534         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2535         (__GTHREAD_COND_INIT): Likewise.
2536         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2537         (__GTHREAD_TIME_INIT): Likewise.
2538         (__gthread_create): Likewise.
2539         (__gthread_join): Likewise.
2540         (__gthread_detach): Likewise.
2541         (__gthread_equal): Likewise.
2542         (__gthread_self): Likewise.
2543         (__gthread_yield): Likewise.
2544         (__gthread_cond_broadcast): Likewise.
2545         (__gthread_cond_signal): Likewise.
2546         (__gthread_cond_wait): Likewise.
2547         (__gthread_cond_timedwait): Likewise.
2548         (__gthread_cond_wait_recursive): Likewise.
2549         (__gthread_cond_destroy): Likewise.
2550         (rtems_gxx_once): Delete.
2551         (rtems_gxx_key_create): Likewise.
2552         (rtems_gxx_key_delete): Likewise.
2553         (rtems_gxx_getspecific): Likewise.
2554         (rtems_gxx_setspecific): Likewise.
2555         (rtems_gxx_mutex_init): Likewise.
2556         (rtems_gxx_mutex_destroy): Likewise.
2557         (rtems_gxx_mutex_lock): Likewise.
2558         (rtems_gxx_mutex_trylock): Likewise.
2559         (rtems_gxx_mutex_unlock): Likewise.
2560         (rtems_gxx_recursive_mutex_init): Likewise.
2561         (rtems_gxx_recursive_mutex_lock): Likewise.
2562         (rtems_gxx_recursive_mutex_trylock): Likewise.
2563         (rtems_gxx_recursive_mutex_unlock): Likewise.
2564         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2565         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2566         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2567         (__gthread_once): Likewise.
2568         (__gthread_key_create): Likewise.
2569         (__gthread_key_delete): Likewise.
2570         (__gthread_getspecific): Likewise.
2571         (__gthread_setspecific): Likewise.
2572         (__gthread_key_t): Use <pthread.h> type.
2573         (__gthread_once_t): Likewise
2574         (__gthread_mutex_t): Use <sys/lock.h> type.
2575         (__gthread_recursive_mutex_t): Likewise
2576         (__gthread_mutex_lock): Use <sys/lock.h> function.
2577         (__gthread_mutex_trylock): Likewise.
2578         (__gthread_mutex_timedlock): Likewise.
2579         (__gthread_mutex_unlock): Likewise.
2580         (__gthread_mutex_destroy): Likewise.
2581         (__gthread_recursive_mutex_lock): Likewise.
2582         (__gthread_recursive_mutex_trylock): Likewise.
2583         (__gthread_recursive_mutex_timedlock): Likewise.
2584         (__gthread_recursive_mutex_unlock): Likewise.
2585         (__gthread_recursive_mutex_destroy): Likewise.
2587 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2589         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2590         context->sp instead of context->cfa.
2592 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2594         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2595         with unwind-dw2-fde-dip.
2597 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2599         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2600         CALL12 followed by series of ENTRY to spill windowed registers.
2601         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2602         instead of making linux spill syscall.
2604 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2606         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2607         (get_intel_cpu): Likewise.
2609 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2611         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2612         (get_intel_cpu): Add Knights Landing support.
2614 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2616         PR target/66954
2617         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2618         (get_available_features): Handle FEATURE_PCLMUL.
2620 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2622         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2623         Broadwell.
2625 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2627         PR target/66954
2628         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2629         (get_available_features): Handle FEATURE_AES.
2631 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2633         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2634         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2636 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2638         * offloadstuff.c: Constify host data.
2640 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2642         * config/t-softfp: Split up "else ifneq".
2644 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2645             Cesar Philippidis  <cesar@codesourcery.com>
2646             Chung-Lin Tang  <cltang@codesourcery.com>
2648         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2649         for __nios2_arch__ level.
2651 2015-07-13  John Marino  <gnugcc@marino.st>
2653         * config/i386/t-dragonfly: New.
2655 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2657         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2658         better match light-weight syscall argument order.
2659         (__kernel_cmpxchg2): Likewise.
2660         Adjust callers.
2662 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2664         * config.host: Support i[34567]86-*-elfiamcu target.
2665         * config/t-softfp-sfdftf: New file.
2666         * config/i386/32/t-iamcu: Likewise.
2667         * configure: Regenerated.
2669 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2671         libgcc/config/arm/
2672         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2674 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2676         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2678 2015-05-27  John Marino  <gnugcc@marino.st>
2680         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2681         md_unwind_header
2682         * config/i386/freebsd-unwind.h: New.
2684 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2686         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2687         i386/t-crtfm to tmake_file.
2688         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2689         (set_fast_math): Use set_fast_math_sse for SSE targets.
2690         * config/i386/t-crtfm: Remove.
2692 2015-05-21  Alan Modra  <amodra@gmail.com>
2694         PR libgcc/66225
2695         * config/rs6000/morestack.S: Remove ".abiversion 1".
2697 2015-05-20  Alan Modra  <amodra@gmail.com>
2699         * config/rs6000/morestack.S: New.
2700         * config/rs6000/t-stack-rs6000: New.
2701         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2702         to tmake_file.
2703         * generic-morestack.c: Don't build for powerpc 32-bit.
2705 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2707         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2708         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2710 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2712         * config.host: FT32 target added.
2713         * config/ft32/*: New files for FT32 target.
2715 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2717         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2718         New macros.
2719         * config/arm/ieee754-df.S: Add CFI directives.
2720         * config/arm/ieee754-sf.S: Add CFI directives.
2722 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2724         * configure.ac: Include config/sjlj.m4.
2725         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2726         * config.in: Regenerate.
2727         * configure: Likewise.
2728         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2730 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2732         * libgcov-util.c: Add space between string literal and macro name.
2734 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2735             Chris Jones  <chrisj@nvidia.com>
2736             Joshua Conner  <jconner@nvidia.com>
2738         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2739         (arm*-*-uclinux*): Likewise.
2740         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2741         * config/arm/crtfastmath.c: New file.
2743 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2745         * Makefile.in (real_host_noncanonical): New variable.
2746         (libsubdir): Use it.
2747         * configure.ac (real_host_noncanonical): Compute.  Remove special
2748         case for intelmicemul.
2749         * configure: Regenerate.
2751 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2753         * config/frv/elf-lib.h: New file.
2754         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2755         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2756         to tm_file.
2758 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2760         * config/frv/frvbengin.c: Do not include defaults.h
2761         * config/frv/frvend.c: Ditto.
2763 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2765         * config.host: Add h8300-*-linux
2766         * config/h8300/t-linux: New file.
2767         * config/h8300/lib1funs.s: Change symbol prefix.
2768         * config/h8300/sfp-machine.h: 64bit double support.
2770 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2771             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2773         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2774         Linux if target provides dl_iterate_phdr.
2776 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2778         PR target/65612
2779         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2780         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2781         (__cpu_indicator_init@GCC_4.8.0): New.
2782         (__cpu_model@GCC_4.8.0): Likewise.
2783         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2784         -DUSE_ELF_SYMVER.
2786 2015-04-16  Nick Clifton  <nickc@redhat.com>
2788         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2789         and __modhi3 functions.
2790         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2791         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2793 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2795         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2796         do-while loop as macro body to avoid warnings.
2798 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2799             Iain Sandoe  <iain@codesourcery.com>
2801         PR target/65351
2802         * configure: Regenerate.
2804 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2805             Iain Sandoe  <iain@codesourcery.com>
2807         PR target/65351
2808         * configure: Regenerate.
2810 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2812         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2814 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2816         Implement call0 ABI for xtensa
2817         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2818         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2819         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2820         use ret in call0 ABI.
2821         * config/xtensa/t-windowed: New file.
2822         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2823         * libgcc/configure: Regenerated.
2824         * libgcc/configure.ac: Check if xtensa target is configured for
2825         windowed ABI and thus needs to use custom unwind code.
2827 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2829         PR libgcc/64885
2830         * gthr-single.h: Use __unused__ attribute instead of unused.
2831         * config/gthr-vxworks.h: Likewise.
2832         * config/i386/gthr-win32.h: Likewise.
2834 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2836         PR target/65038
2837         * config.in: Regenerated.
2838         * configure: Likewise.
2839         * configure.ac (AC_HEADER_STDC): Added explicit.
2840         (AC_CHECK_HEADERS): Check for default headers  plus
2841         for ftw.h header.
2842         * libgcov-util.c (gcov_read_profile_dir): Disable use
2843         of ftw-function, if header is not found.
2844         (ftw_read_file): Likewise.
2846 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2848         PR target/65181
2849         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2850         -Dinhibit_libc.
2852 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2854         * config/arm/bpabi.S (test_div_by_zero): Make label names
2855         consistent between thumb2 and arm mode cases.  Separate the
2856         signed comparison on the high word of the numerator from the
2857         unsigned comparison on the low word.
2858         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2859         signed comparison.
2861 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2863         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2864         and <string.h>.
2865         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2867 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2869         PR gcov-profile/61889
2870         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2872 2015-02-02  Nick Clifton  <nickc@redhat.com>
2874         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2875         rounding up the fraction.
2877 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2879         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2880         oldval and newval to const void *.  Fix typo.
2881         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2882         (FETCH_AND_OP_WORD): Likewise.
2883         (OP_AND_FETCH_WORD): Likewise.
2884         (COMPARE_AND_SWAP_2): Likewise.
2885         (__sync_val_compare_and_swap_4): Likewise.
2886         (__sync_lock_test_and_set_4): Likewise.
2887         (SYNC_LOCK_RELEASE_2): Likewise.
2888         Remove support for long long atomic operations.
2890 2015-01-27  Caroline Tice  <cmtice@google.com>
2892         Committing VTV Cywin/Ming patch for Patrick Wollgast
2893         * Makefile.in: Move rules to build vtv_*.o out of the check
2894         for CUSTOM_CRTSTUFF.
2895         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2896         i[34567]86-*-mingw*)
2897          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2898         enable_vtable_verify.
2900 2015-01-27  Nick Clifton  <nickc@redhat.com>
2902         * config/rl78/cmpsi2.S: Use function start and end macros.
2903         (__gcc_bcmp): New function.
2904         * config/rl78/lshrsi3.S: Use function start and end macros.
2905         * config/rl78/mulsi3.S: Add support for G10.
2906         (__mulqi3): New function for G10.
2907         * config/rl78/signbit.S: Use function start and end macros.
2908         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2909         fpmath-sf.S.
2910         (LIB2FUNCS_EXCLUDE): Define.
2911         (LIB2FUNCS_ST): Define.
2912         * config/rl78/trampoline.S: Use function start and end macros.
2913         * config/rl78/vregs.h (START_FUNC): New macro.
2914         (START_ANOTHER_FUNC): New macro.
2915         (END_FUNC): New macro.
2916         (END_ANOTHER_FUNC): New macro.
2917         * config/rl78/bit-count.S: New file.  Contains assembler
2918         implementations of the bit counting functions: ___clzhi2,
2919         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2920         __paritysi2, __popcounthi2 and __popcountsi2.
2921         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2922         implementationas of the math functions: __negsf2, __cmpsf2,
2923         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2924         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2925         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2926         implementations of the math functions: __subsf3, __addsf3,
2927         __mulsf3 and __divsf3
2929 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2931         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2932         Add i386/elf-lib.h to tm_file.
2933         * config/i386/elf-lib.h: Fix comment.
2934         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2935         && __sun__ && __svr4__]: Remove workaround.
2937 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2939         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2940         FEATURE_BMI2.
2941         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2943 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2945         * config/i386/cpuinfo.c (processor_subtypes): Add
2946         INTEL_COREI7_BROADWELL.
2947         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2948         model numbers.
2950 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2952         * config/i386/elf-lib.h: New file.
2953         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2954         Wrap definition in #ifdef __i386__.
2955         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2956         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2957         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2958         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2959         to tm_file.
2961 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2963         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2964         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2966 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2968         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2969         Update rt_sigframe format and address for current Nios II
2970         Linux conventions.
2972 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2974         * config.host (arm*-*-freebsd*): Add new configuration for
2975         arm*-*-freebsd*.
2976         * config/arm/freebsd-atomic.c: New file.
2977         * config/arm/t-freebsd: Likewise.
2978         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2979         'PC-relative indirect' OS's.
2981 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2983         * config.host: Add Visium support.
2984         * config/visium: New directory.
2986 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2988         Update copyright years.
2990 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
2992         * config.host: Support mipsisa32r6 and mipsisa64r6.
2993         * config/mips/mips16.S: Do not build for R6.
2995 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
2997         * config/sh/crt.h: New.
2998         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2999         symbols.
3000         * config/sh/crt1.S: Likewise.
3002 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
3004         PR libgcc/63832
3005         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3006         func_ptr *dtor_list temporary variable to avoid "array subscript
3007         is above array bounds" warnings.
3009 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
3011         * Makefile.in (with_aix_soname): Define.
3012         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3013         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3014         * configure: Recreate.
3016 2014-12-05  Olivier Hainque  <hainque@adacore.com>
3018         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3019         now provided by defaults.h.
3021 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
3023         PR target/55351
3024         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3025         whether it's defined.
3027 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
3029         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3030         * config/i386/cpuinfo.c (get_available_features): Detect it.
3032 2014-11-27  Tony Wang  <tony.wang@arm.com>
3034         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3035         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3036         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3038 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
3040         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3042 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
3044         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3045         instead.
3047 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3048             John David Anglin  <danglin@gcc.gnu.org>
3050         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3051         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
3052         (OP_AND_FETCH_2): Likewise.
3053         (COMPARE_AND_SWAP_2): Likewise.
3054         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3055         (SYNC_LOCK_RELEASE_2): Likewise.
3056         (SUBWORD_SYNC_OP): Remove.
3057         (SUBWORD_VAL_CAS): Likewise.
3058         (SUBWORD_BOOL_CAS): Likewise.
3059         (FETCH_AND_OP_WORD): Update.
3060         Consistently use signed types.
3062 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
3063             Thomas Schwinge  <thomas@codesourcery.com>
3064             Ilya Verbin  <ilya.verbin@intel.com>
3065             Andrey Turetskiy  <andrey.turetskiy@intel.com>
3067         * Makefile.in (crtoffloadbegin$(objext)): New rule.
3068         (crtoffloadend$(objext)): Likewise.
3069         * configure: Regenerate.
3070         * configure.ac (accel_dir_suffix): Compute new variable.
3071         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3072         if enable_offload_targets is not empty.
3073         * offloadstuff.c: New file.
3075 2014-11-13  Nick Clifton  <nickc@redhat.com>
3077         * config/rl78/divmodhi.S: Add support for the G10 architecture.
3078         Use START_FUNC and END_FUNC macros to enable linker garbage
3079         collection.
3080         * config/rl78/divmodqi.S: Likewise.
3081         * config/rl78/divmodsi.S: Likewise.
3082         * config/rl78/mulsi3.S: Likewise.
3083         * config/rl78/lib2div.c: Remove G10 functions.
3084         * config/rl78/lib2muls.c: Likewise.
3085         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3086         * config/rl78/vregs.h (START_FUNC): New macro.
3087         (END_FUNC): New macro.
3089 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
3091         * config/mips/mips16.S: Set .module when supported.  Update O32
3092         FP64 calling convention and use for FPXX when possible.  Add FPXX
3093         calling convention fallback case.
3095 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
3097         * config.host: Handle nvptx-*-*.
3098         * shared-object.mk (as-flags-$o): Define.
3099         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3100         -xassembler-with-cpp.
3101         * static-object.mk: Identical changes.
3102         * config/nvptx/t-nvptx: New file.
3103         * config/nvptx/crt0.s: New file.
3104         * config/nvptx/free.asm: New file.
3105         * config/nvptx/malloc.asm: New file.
3106         * config/nvptx/realloc.c: New file.
3108 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3110         * Makefile.in (libgcc.map.in): New target.
3111         (libgcc.map): Use libgcc.map.in.
3112         * config/t-softfp (softfp_compat): New variable to be set by
3113         users.
3114         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3115         variables.
3116         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3117         directory.
3118         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3119         that use compat symbols and disable all code unless [SHARED].
3120         * config/t-softfp-compat: New file.
3121         * find-symver.awk: New file.
3122         * configure.ac (--with-glibc-version): New configure option.
3123         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3124         * configure: Regenerate.
3125         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3126         soft-float and e500.
3128 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3130         * config/t-hardfp (hardfp_exclusions): Document new variable for
3131         user to define.
3132         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3133         * config/t-softfp (softfp_extras): Document new variable for user
3134         to define.
3135         (softfp_func_list): Add functions from $(softfp_extras).
3136         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3137         * config.host (powerpc*-*-linux*): For e500v1, use
3138         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3139         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3140         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3142 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3144         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3145         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3146         memory read accesses are ok.
3148 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3150         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3151         * configure: Regenerate.
3152         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3153         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3154         of soft-fp for 32-bit classic hard float.  Do not use
3155         t-softfp-excl for soft float.
3157 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3159         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3160         configurations.
3161         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3162         Remove variables.
3164 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3166         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3167         introduced with 2014-10-21 trunk r216525.
3169 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3170             Vidya Praveen  <vidya.praveen@atmel.com>
3171             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3172             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3173             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3175         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3176         order.
3178         Updated library functions for AVRTINY arch.
3179         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3180         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3181         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3182         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3183         wsubi/wadi macors.
3184         (__mulsi3_helper): Update stack, preserve callee saved regs and
3185         argument from stack. Restore callee save registers.
3186         (__mulpsi3): Likewise.
3187         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3188         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3189         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3190         AVRTINY.
3191         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3192         (__do_copy_data): Added new definition for AVRTINY.
3193         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3194         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3195         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3196         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3197         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3198         macors.
3199         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3200         AVRTINY.
3202         Fix broken long multiplication on tiny arch.
3204 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3206         * soft-fp/double.h: Update from glibc.
3207         * soft-fp/eqdf2.c: Likewise.
3208         * soft-fp/eqsf2.c: Likewise.
3209         * soft-fp/eqtf2.c: Likewise.
3210         * soft-fp/extenddftf2.c: Likewise.
3211         * soft-fp/extended.h: Likewise.
3212         * soft-fp/extendsfdf2.c: Likewise.
3213         * soft-fp/extendsftf2.c: Likewise.
3214         * soft-fp/extendxftf2.c: Likewise.
3215         * soft-fp/gedf2.c: Likewise.
3216         * soft-fp/gesf2.c: Likewise.
3217         * soft-fp/getf2.c: Likewise.
3218         * soft-fp/ledf2.c: Likewise.
3219         * soft-fp/lesf2.c: Likewise.
3220         * soft-fp/letf2.c: Likewise.
3221         * soft-fp/op-1.h: Likewise.
3222         * soft-fp/op-2.h: Likewise.
3223         * soft-fp/op-4.h: Likewise.
3224         * soft-fp/op-8.h: Likewise.
3225         * soft-fp/op-common.h: Likewise.
3226         * soft-fp/quad.h: Likewise.
3227         * soft-fp/single.h: Likewise.
3228         * soft-fp/soft-fp.h: Likewise.
3229         * soft-fp/unorddf2.c: Likewise.
3230         * soft-fp/unordsf2.c: Likewise.
3231         * soft-fp/unordtf2.c: Likewise.
3232         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3233         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3234         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3235         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3236         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3237         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3238         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3239         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3240         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3241         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3243 2014-10-08  Rong Xu  <xur@google.com>
3245         * libgcov-util.c (read_gcda_file): Fix format.
3246         (find_match_gcov_info): Ditto.
3247         (calculate_2_entries): New.
3248         (compute_one_gcov): Ditto.
3249         (gcov_info_count_all_cold): Ditto.
3250         (gcov_info_count_all_zero): Ditto.
3251         (extract_file_basename): Ditto.
3252         (get_file_basename): Ditto.
3253         (set_flag): Ditto.
3254         (matched_gcov_info): Ditto.
3255         (calculate_overlap): Ditto.
3256         (gcov_profile_overlap): Ditto.
3257         * libgcov-driver.c (compute_summary): Make
3258         it avavilable for external calls.
3260 2014-10-06  Rong Xu  <xur@google.com>
3262         * Makefile.in: Ditto.
3263         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3264         (gcov_sort_icall_topn_counter): Ditto.
3265         (gcov_sort_topn_counter_arrays): Ditto.
3266         (dump_one_gcov): Sort indirect_call topn counters.
3267         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3268         function.
3269         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3270         utility function.
3271         (__gcov_indirect_call_topn_profiler): New profiler function.
3272         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3273         * libgcov.h: New decls.
3275 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
3277         * config.host: Remove support for score-*.
3279 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3281         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3282         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3283         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3284         __LIBGCC_XF_MANT_DIG__.
3285         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3286         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3287         __LIBGCC_TF_MANT_DIG__.
3288         * libgcc2.c (NOTRUNC): Define in terms of
3289         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3290         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3292 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3294         PR target/63312
3295         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3296         New macros.
3298 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
3300         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3301         override USE_PT_GNU_EH_FRAME.
3302         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3303         check USE_EH_FRAME_REGISTRY_ALWAYS against
3304         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3305         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3306         variable for substituted force_explicit_eh_registry.
3307         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3308         * configure.ac (explicit-exception-frame-registration):
3309         New AC_ARG_ENABLE.
3310         * configure: Regenerate.
3312 2014-09-19  Olivier Hainque  <hainque@adacore.com>
3314         * config.host (powerpc-wrs-vxworksmils): New configuration,
3315         same as vxworksae.
3317 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3319         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3321 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3323         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3324         bits not set bits as indicating trapping exceptions.
3326 2014-09-17  Nathan sidwell  <nathan@acm.org>
3328         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3329         (LIBGCOV_DRIVER): ... here.
3330         * libgcov-driver.c (gcov_master): New.
3331         (gcov_exit): Remove from master chain.
3332         (__gcov_init): Add to master chain if version compatible.  Don't
3333         clear the version.
3334         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3335         (gcov_reset_int): Clear master chain, if compatible.
3336         (gcov_dump_int): New internal interface.  Dump master chain, if
3337         compatible.
3338         (gcov_dump): Alias for gcov_dump_int.
3339         * libgcov.h (struct gcov_root): Add next and prev fields.
3340         (struct gcov_master): New struct.
3341         (__gcov_master): New.
3342         (gcov_dump_int): Declare.
3344 2014-09-17  Olivier Hainque  <hainque@adacore.com>
3346         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3347         and crtbegin.o + crtend.o to extra_parts.
3349 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3351         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3352         __LIBGCC_HAS_SF_MODE__.
3353         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3354         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3355         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3356         * config/libbid/bid_gcc_intrinsics.h
3357         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3358         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3359         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3360         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3361         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3362         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3364 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
3366         PR target/63223
3367         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3368         and R24 as needed.  Make work for all devices and .text locations.
3369         (__do_global_ctors, __do_global_dtors): Use word addresses.
3370         (__tablejump__, __tablejump_elpm__): Remove functions.
3371         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3372         Add _tablejump2.
3373         (XICALL, XIJMP): New macros.
3375 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3376         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3378         * config.host (aarch64*): Include crtfastmath.o and
3379         t-crtfm.
3380         * config/aarch64/crtfastmath.c: New file.
3382 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
3384         * config.host: Remove picochip support.
3385         * config/picochip/adddi3.S: Remove.
3386         * config/picochip/ashlsi3.S: Remove.
3387         * config/picochip/ashlsi3.c: Remove.
3388         * config/picochip/ashrsi3.S: Remove.
3389         * config/picochip/ashrsi3.c: Remove.
3390         * config/picochip/clzsi2.S: Remove.
3391         * config/picochip/cmpsi2.S: Remove.
3392         * config/picochip/divmod15.S: Remove.
3393         * config/picochip/divmodhi4.S: Remove.
3394         * config/picochip/divmodsi4.S: Remove.
3395         * config/picochip/lib1funcs.S: Remove.
3396         * config/picochip/longjmp.S: Remove.
3397         * config/picochip/lshrsi3.S: Remove.
3398         * config/picochip/lshrsi3.c: Remove.
3399         * config/picochip/parityhi2.S: Remove.
3400         * config/picochip/popcounthi2.S: Remove.
3401         * config/picochip/setjmp.S: Remove.
3402         * config/picochip/subdi3.S: Remove.
3403         * config/picochip/t-picochip: Remove.
3404         * config/picochip/ucmpsi2.S: Remove.
3405         * config/picochip/udivmodhi4.S: Remove.
3406         * config/picochip/udivmodsi4.S: Remove.
3408 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3410         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3411         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3412         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3413         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3414         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
3415         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3416         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
3417         defined and LIBGCC2_HAS_DF_MODE is defined.
3418         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
3419         defined and LIBGCC2_HAS_XF_MODE is defined.
3420         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
3421         defined and LIBGCC2_HAS_TF_MODE is defined.
3423 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3425         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3426         and ROUND_TOWARDS_ZERO conditionals.
3428 2014-09-07  Nathan sidwell  <nathan@acm.org>
3430         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3431         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
3433 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
3435         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3436         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3437         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3438         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3439         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3440         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3441         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3442         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3443         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3444         (DWARF_FRAME_REGISTERS): Change all uses to
3445         __LIBGCC_DWARF_FRAME_REGISTERS__.
3446         (EH_RETURN_STACKADJ_RTX): Change all uses to
3447         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3448         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3449         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
3450         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3451         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3452         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3453         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3454         to __LIBGCC_EH_FRAME_SECTION_NAME__.
3455         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3456         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3457         __LIBGCC_STACK_POINTER_REGNUM__.
3458         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3459         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3460         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3461         to __LIBGCC_STACK_POINTER_REGNUM__.
3462         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3463         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3464         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3465         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3466         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3467         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3468         (STACK_POINTER_REGNUM): Change all uses to
3469         __LIBGCC_STACK_POINTER_REGNUM__.
3470         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3471         use to __LIBGCC_STACK_POINTER_REGNUM__.
3472         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3473         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3474         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3475         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3476         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3477         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3478         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3479         to __LIBGCC_STACK_POINTER_REGNUM__.
3480         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3481         Remove conditional definition.
3482         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3483         __LIBGCC_TEXT_SECTION_ASM_OP__.
3484         (EH_FRAME_SECTION_NAME): Change all uses to
3485         __LIBGCC_EH_FRAME_SECTION_NAME__.
3486         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3487         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3488         (CTORS_SECTION_ASM_OP): Change all uses to
3489         __LIBGCC_CTORS_SECTION_ASM_OP__.
3490         (DTORS_SECTION_ASM_OP): Change all uses to
3491         __LIBGCC_DTORS_SECTION_ASM_OP__.
3492         (JCR_SECTION_NAME): Change all uses to
3493         __LIBGCC_JCR_SECTION_NAME__.
3494         (INIT_SECTION_ASM_OP): Change all uses to
3495         __LIBGCC_INIT_SECTION_ASM_OP__.
3496         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3497         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3498         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3499         __LIBGCC_STACK_GROWS_DOWNWARD__.
3500         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3501         __LIBGCC_INIT_SECTION_ASM_OP__.
3502         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3503         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3504         (EH_FRAME_SECTION_NAME): Change all uses to
3505         __LIBGCC_EH_FRAME_SECTION_NAME__.
3506         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3507         definitions.  Change all uses to
3508         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3509         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3510         __LIBGCC_STACK_GROWS_DOWNWARD__.
3511         (DWARF_FRAME_REGISTERS): Change all uses to
3512         __LIBGCC_DWARF_FRAME_REGISTERS__.
3513         (EH_RETURN_STACKADJ_RTX): Change all uses to
3514         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3515         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3516         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3517         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3518         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3519         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3521 2014-09-02  Nathan sidwell  <nathan@acm.org>
3523         * libgcov-interface.c (STRONG_ALIAS): New.
3524         (__gcov_flush): Call __gcov_reset_int.
3525         (__gcov_reset): Strong alias for ...
3526         (__gcov_reset_ing): ... this renamed hidden version.
3527         * libgcov.h (__gcov_reset_int): New declaration.
3529 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3531         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3532         call from here...
3533         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3534         (__dso_handle): Define on Cygwin.
3535         * config/i386/t-cygming (crtbeginS.o): New rule.
3536         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3538         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3539         declaration syntax.
3541 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3543         * crtstuff.c: Undef caddr_t.
3545 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3547         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3549 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3551         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3552         (LIBGCOV_DRIVER): ... to here.
3553         * libgcov.h (gcov_do_dump): New #define.
3554         (struct gcov_root): New.
3555         (__gcov_root): New declaration.
3556         (__gcov_dump_one): Declare.
3557         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3558         run_accounted): Delete.
3559         (gcov_compute_histogram): Add LIST argument, adjust.
3560         (compute_summary): Adjust gcov_compute_histogram call.
3561         (gcov_do_dump): Not hidden, static in libgcov.
3562         (gcov_clear): Move  to interface.c.
3563         (__gcov_dump_one): New, broken out of ...
3564         (gcov_exit): ... here.  Make static.
3565         (__gcov_root): New.
3566         (__gcov_init): Adjust.
3567         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3568         declarations.
3569         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3570         (gcov_clear): Moved from driver.c.   Add LIST argument.
3571         (__gcov_reset): Adjust for changed interfaces.
3572         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3574 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3576         PR target/60102
3577         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3578         based on change in SPE high register numbers and 3 HTM registers.
3580 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3582         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3583         LIBGCOV_INTERFACE): Reformat.
3584         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3585         IN_GCOV_TOOL.
3586         * libgcov-interface.c: Reformat some comments.
3587         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3589 2014-07-31  Alan Modra  <amodra@gmail.com>
3590             Peter Bergner  <bergner@vnet.ibm.com>
3592         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3593         (pack_ldouble): New function.
3594         (__gcc_qadd): Use it.
3595         (__gcc_qmul): Likewise.
3596         (__gcc_qdiv): Likewise.
3597         (__gcc_qneg): Likewise.
3598         (__gcc_stoq): Likewise.
3599         (__gcc_dtoq): Likewise.
3601 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3603         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3604         (__tpf_eh_return): Add original return address as second parameter.
3605         Handle cases where unwinder routines were called directly, instead
3606         of from within the C++ library.
3608 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3610         * libgcov.h: Move renaming of entry points to lib gcov specific
3611         portion.
3612         (gcov_do_dump): New rename.
3613         (gcov_rewrite): Remove inline, make HIDDEN.
3614         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3615         (gcov_exit_compute_summary): Rename to ...
3616         (compute_summary): ... here.  Add LIST argument.
3617         (gcov_exit_merge_gcda): Rename to ...
3618         (merge_one_data): ... here.
3619         (gcov_exit_write_gcda): Rename to ...
3620         (write_one_data): ... here.
3621         (gcov_exit_merge_summary): Rename to ...
3622         (merge_summary): Add RUN_COUNTED argument.
3623         (gcov_exit_dump_gcov): Rename to ...
3624         (dump_one_gcov): Add RUN_COUNTED argument.
3625         (gcov_do_dump): New function, broken out of ...
3626         (gcov_exit): ... here.  Call it.
3628 2014-07-27  Anthony Green  <green@moxielogic.com>
3630         * config.host: Add moxiebox configuration suppport.
3632 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3634         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3635         (struct gcov_filename): ... here.  Include buffer and max length
3636         fields.
3637         (gcov_max_filename): Remove.
3638         (gi_filename): Remove.
3639         (gcov_exit_compute_summary): Compute max filename here.
3640         (gcov_exit_merge_gcda): Add filename parm, adjust.
3641         (gcov_exit_merge_summary): Likewise.
3642         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3643         (gcov_exit): Likewise.
3644         (__gcov_init): Don't calculate max length here.
3645         * libgcov_util.c (max_filename_len): Remove.
3646         (read_gcda_file): Don't calculate max length here.
3647         (gcov_read_profile_dir): Don't propagate here.
3648         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3649         struct gcov_filename changes.
3650         (gcov_exit_open_gcda_file): Likewise.
3652 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3654         * libgcov-driver.c (set_gcov_dump_complete,
3655         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3656         functions polluting user's namespace.
3657         (gcov_exit): Set variable directly.
3658         (gcov_clear): Reset variable directly.
3659         * libgcov-interface.c (get_gcov_dymp_complete,
3660         reset_gov_dump_complete): Remove declarations.
3661         (__gcov_reset, __gcov_dump): Don't call them.
3663 2014-07-24  DJ Delorie  <dj@redhat.com>
3665         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3666         (__gcc_deregister_frame): Move logic to detect deregister function
3667         to ...
3668         (__gcc_register_frame): here, so it's consistent with the register
3669         logic.
3671 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3673         * libgcov-driver.c (set_gcov_list): Remove.
3674         (gcov_list): Make non-static in GCOV_TOOL.
3675         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3677 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3679         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3680         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3681         Don't use SYNC_LOCK_RELEASE for int type.
3683 2014-07-14  Richard Biener  <rguenther@suse.de>
3685         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3687 2014-07-11  Rong Xu  <xur@google.com>
3689         * libgcov-util.c (gcov_max_filename): Fix declartion.
3691 2014-07-10  Rong Xu  <xur@google.com>
3693         Add gcov-tool: an offline gcda profile processing tool
3694         Support.
3695         * libgcov-driver.c (gcov_max_filename): Make available
3696         to gcov-tool.
3697         * libgcov-merge.c (__gcov_merge_add): Replace
3698         gcov_read_counter() with a Macro.
3699         (__gcov_merge_ior): Ditto.
3700         (__gcov_merge_time_profile): Ditto.
3701         (__gcov_merge_single): Ditto.
3702         (__gcov_merge_delta): Ditto.
3703         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3704         in the utility functions.
3705         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3706         gcov_list object link lists.
3707         (tag_function): Ditto.
3708         (tag_blocks): Ditto.
3709         (tag_arcs): Ditto.
3710         (tag_lines): Ditto.
3711         (tag_counters): Ditto.
3712         (tag_summary): Ditto.
3713         (read_gcda_finalize): Ditto.
3714         (read_gcda_file): Ditto.
3715         (ftw_read_file): Ditto.
3716         (read_profile_dir_init): Ditto.
3717         (gcov_read_profile_dir): Ditto.
3718         (gcov_read_counter_mem): Ditto.
3719         (gcov_get_merge_weight): Ditto.
3720         (merge_wrapper): A wrapper function that calls merging handler.
3721         (gcov_merge): Merge two gcov_info objects with weights.
3722         (find_match_gcov_info): Find the matched gcov_info in the list.
3723         (gcov_profile_merge): Merge two gcov_info object lists.
3724         (__gcov_add_counter_op): Process edge profile counter values.
3725         (__gcov_ior_counter_op): Process IOR profile counter values.
3726         (__gcov_delta_counter_op): Process delta profile counter values.
3727         (__gcov_single_counter_op): Process single  profile counter values.
3728         (fp_scale): Callback function for float-point scaling.
3729         (int_scale): Callback function for integer fraction scaling.
3730         (gcov_profile_scale): Scaling profile counters.
3731         (gcov_profile_normalize): Normalize profile counters.
3732         * libgcov.h: Add headers and functions for gcov-tool use.
3733         (gcov_get_counter): New.
3734         (gcov_get_counter_target): Ditto.
3735         (struct gcov_info): Make the functions field mutable in gcov-tool
3736         compilation.
3738 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3740         PR libgcc/61585
3741         * unwind-seh.c (_Unwind_GetGR): Check for proper
3742         index range.
3743         (_Unwind_SetGR): Likewise.
3745 2014-05-22  Nick Clifton  <nickc@redhat.com>
3747         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3748         -mhwmult=none.
3750 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3752         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3753         include.
3755 2014-05-20  John Marino  <gnugcc@marino.st>
3757         * config.host (*-*-dragonfly*): New target.
3758         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3759         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3760         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3761         * config/i386/dragonfly-unwind.h: New.
3763 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3765         PR libgcc/60166
3766         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3767         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3769 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3771         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3772         implementation.
3774 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3776         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3778 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3780         PR libgcc/61097
3781         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3782         if --enable-shared.
3784 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3786         Work around for current cygwin32 build problems.
3787         * config/i386/cygming-crtbegin.c (__register_frame_info,
3788         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3789         functions only for 64-bit systems.
3791 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3793         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3794         (sigill_caught, sigill_hdlr): Remove.
3796 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3798         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3799         check.
3800         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3801         Solaris 9 single-threaded support.
3802         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3803         Solaris 9 single-threaded support.  Add call_user_handler code
3804         sequences.
3805         (sparc_is_sighandler): Likewise.
3807 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3809         * config.host: Append t-floattodi to tmake_file depending on
3810         host_address.
3812 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3814         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3816 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3818         PR libgcc/60472
3819         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3820         variable to avoid "array subscript is above array bounds" warnings.
3821         Use __builtin_expect when checking *jcr_list for NULL.
3823 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3825         PR libgcc/59339
3826         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3827         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3828         vtv_*.o to extra_parts if enable_vtable_verify.
3830 2014-03-06  Nick Clifton  <nickc@redhat.com>
3832         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3833         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3835 2014-02-28  Joey Ye  <joey.ye@arm.com>
3837         PR libgcc/60166
3838         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3839         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3840         Set to zero.
3842 2014-02-24  Walter Lee  <walt@tilera.com>
3844         * config.host: Support "tilegx*" and "tilepro*" triplets.
3845         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3846         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3848 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3849             Chung-Lin Tang  <cltang@codesourcery.com>
3851         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3852         * config/nios2/crti.S: Remove .file directive.
3853         * config/nios2/crtn.S: Likewise.
3855 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3856         Jonathan Schleifer  <js@webkeks.org>
3858         PR objc/56870
3859         * unwind-seh.c (_GCC_specific_handler): Pass proper
3860         value to unwind-handler.
3862 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3864         * soft-fp/adddf3.c: Update from glibc.
3865         * soft-fp/addsf3.c: Likewise.
3866         * soft-fp/addtf3.c: Likewise.
3867         * soft-fp/divdf3.c: Likewise.
3868         * soft-fp/divsf3.c: Likewise.
3869         * soft-fp/divtf3.c: Likewise.
3870         * soft-fp/double.h: Likewise.
3871         * soft-fp/eqdf2.c: Likewise.
3872         * soft-fp/eqsf2.c: Likewise.
3873         * soft-fp/eqtf2.c: Likewise.
3874         * soft-fp/extenddftf2.c: Likewise.
3875         * soft-fp/extended.h: Likewise.
3876         * soft-fp/extendsfdf2.c: Likewise.
3877         * soft-fp/extendsftf2.c: Likewise.
3878         * soft-fp/extendxftf2.c: Likewise.
3879         * soft-fp/fixdfdi.c: Likewise.
3880         * soft-fp/fixdfsi.c: Likewise.
3881         * soft-fp/fixdfti.c: Likewise.
3882         * soft-fp/fixsfdi.c: Likewise.
3883         * soft-fp/fixsfsi.c: Likewise.
3884         * soft-fp/fixsfti.c: Likewise.
3885         * soft-fp/fixtfdi.c: Likewise.
3886         * soft-fp/fixtfsi.c: Likewise.
3887         * soft-fp/fixtfti.c: Likewise.
3888         * soft-fp/fixunsdfdi.c: Likewise.
3889         * soft-fp/fixunsdfsi.c: Likewise.
3890         * soft-fp/fixunsdfti.c: Likewise.
3891         * soft-fp/fixunssfdi.c: Likewise.
3892         * soft-fp/fixunssfsi.c: Likewise.
3893         * soft-fp/fixunssfti.c: Likewise.
3894         * soft-fp/fixunstfdi.c: Likewise.
3895         * soft-fp/fixunstfsi.c: Likewise.
3896         * soft-fp/fixunstfti.c: Likewise.
3897         * soft-fp/floatdidf.c: Likewise.
3898         * soft-fp/floatdisf.c: Likewise.
3899         * soft-fp/floatditf.c: Likewise.
3900         * soft-fp/floatsidf.c: Likewise.
3901         * soft-fp/floatsisf.c: Likewise.
3902         * soft-fp/floatsitf.c: Likewise.
3903         * soft-fp/floattidf.c: Likewise.
3904         * soft-fp/floattisf.c: Likewise.
3905         * soft-fp/floattitf.c: Likewise.
3906         * soft-fp/floatundidf.c: Likewise.
3907         * soft-fp/floatundisf.c: Likewise.
3908         * soft-fp/floatunditf.c: Likewise.
3909         * soft-fp/floatunsidf.c: Likewise.
3910         * soft-fp/floatunsisf.c: Likewise.
3911         * soft-fp/floatunsitf.c: Likewise.
3912         * soft-fp/floatuntidf.c: Likewise.
3913         * soft-fp/floatuntisf.c: Likewise.
3914         * soft-fp/floatuntitf.c: Likewise.
3915         * soft-fp/gedf2.c: Likewise.
3916         * soft-fp/gesf2.c: Likewise.
3917         * soft-fp/getf2.c: Likewise.
3918         * soft-fp/ledf2.c: Likewise.
3919         * soft-fp/lesf2.c: Likewise.
3920         * soft-fp/letf2.c: Likewise.
3921         * soft-fp/muldf3.c: Likewise.
3922         * soft-fp/mulsf3.c: Likewise.
3923         * soft-fp/multf3.c: Likewise.
3924         * soft-fp/negdf2.c: Likewise.
3925         * soft-fp/negsf2.c: Likewise.
3926         * soft-fp/negtf2.c: Likewise.
3927         * soft-fp/op-1.h: Likewise.
3928         * soft-fp/op-2.h: Likewise.
3929         * soft-fp/op-4.h: Likewise.
3930         * soft-fp/op-8.h: Likewise.
3931         * soft-fp/op-common.h: Likewise.
3932         * soft-fp/quad.h: Likewise.
3933         * soft-fp/single.h: Likewise.
3934         * soft-fp/soft-fp.h: Likewise.
3935         * soft-fp/subdf3.c: Likewise.
3936         * soft-fp/subsf3.c: Likewise.
3937         * soft-fp/subtf3.c: Likewise.
3938         * soft-fp/truncdfsf2.c: Likewise.
3939         * soft-fp/trunctfdf2.c: Likewise.
3940         * soft-fp/trunctfsf2.c: Likewise.
3941         * soft-fp/trunctfxf2.c: Likewise.
3942         * soft-fp/unorddf2.c: Likewise.
3943         * soft-fp/unordsf2.c: Likewise.
3944         * soft-fp/unordtf2.c: Likewise.
3945         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3946         macro.
3947         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3948         Likewise.
3949         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3950         Likewise.
3951         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3952         Likewise.
3953         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3954         Likewise.
3955         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3956         Likewise.
3957         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3958         Likewise.
3959         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3960         Likewise.
3961         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3962         Likewise.
3963         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3964         Likewise.
3965         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3966         Likewise.
3967         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3968         Likewise.
3969         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3970         Likewise.
3971         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3972         Likewise.
3973         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3974         Likewise.
3975         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3976         Likewise.
3978 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3980         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3981         cannot be represented.
3982         * config/s390/32/_fixsfdi.c: Likewise.
3983         * config/s390/32/_fixtfdi.c: Likewise.
3984         * config/s390/32/_fixunsdfdi.c: Likewise.
3985         * config/s390/32/_fixunssfdi.c: Likewise.
3986         * config/s390/32/_fixunstfdi.c: Likewise.
3988 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
3990         * configure.ac (libgcc_cv_mips_hard_float): New.
3991         * configure: Regenerate.
3992         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3993         t-softfp-sfdf for hard-float targets.
3994         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3995         (softfp_float_modes, softfp_int_modes, softfp_extensions)
3996         (softfp_truncations, softfp_exclude_libgcc2): New.
3997         * config/t-hardfp: New file.
3998         * config/t-hardfp-sfdf: Likewise.
3999         * config/hardfp.c: Likewise.
4001 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4003         * config.host: Include t-floattodi also for s390x.
4004         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4005         * config/s390/32/_fixsfdi.c: Likewise.
4006         * config/s390/32/_fixtfdi.c: Likewise.
4007         * config/s390/32/_fixunsdfdi.c: Likewise.
4008         * config/s390/32/_fixunssfdi.c: Likewise.
4009         * config/s390/32/_fixunstfdi.c: Likewise.
4011 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4013         PR target/59788
4014         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4015         (install-libgcc-unwind-map-forbuild): New target.
4016         (all): Depend on install-libgcc-unwind-map-forbuild.
4017         (install-libgcc-unwind-map): New target.
4018         (install): Depend on install-libgcc-unwind-map.
4020 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
4022         * config/nios2/crti.S (_init): Initialize GOT pointer from
4023         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4025 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
4027         * configure.ac: Check __mips64 when setting host_address.
4028         * configure: Regenerate.
4029         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4030         mips/t-mips64 and t-softfp.
4031         (mips*-*-linux*): Don't add mips/t-tpbit.
4032         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4033         (DPBIT, DPBIT_CFLAGS): Delete.
4034         * config/mips/sfp-machine.h: New file.
4035         * config/mips/t-mips64: Likewise.
4036         * config/mips/t-softfp-tf: Likewise.
4037         * config/mips/t-tpbit: Delete.
4039 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4041         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4042         as long long.
4044 2014-01-25  Walter Lee  <walt@tilera.com>
4046         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
4047         config.h or system.h.
4048         (bool) Define.
4050 2014-01-25  Walter Lee  <walt@tilera.com>
4052         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4053         (post_atomic_barrier): Ditto.
4054         (__fetch_and_do): New macro.
4055         (__atomic_fetch_and_do): Use __fetch_and_do.
4056         (__sync_fetch_and_do): New macro.
4057         (__sync_fetch_and_add_4): New function.
4058         (__sync_fetch_and_sub_4): New function.
4059         (__sync_fetch_and_or_4): New function.
4060         (__sync_fetch_and_and_4): New function.
4061         (__sync_fetch_and_xor_4): New function.
4062         (__sync_fetch_and_nand_4): New function.
4063         (__sync_fetch_and_add_8): New function.
4064         (__sync_fetch_and_sub_8): New function.
4065         (__sync_fetch_and_or_8): New function.
4066         (__sync_fetch_and_and_8): New function.
4067         (__sync_fetch_and_xor_8): New function.
4068         (__sync_fetch_and_nand_8): New function.
4069         (__do_and_fetch): New macro.
4070         (__atomic_do_and_fetch): Use __do_and_fetch.
4071         (__sync_do_and_fetch): New macro.
4072         (__sync_add_and_fetch_4): New function.
4073         (__sync_sub_and_fetch_4): New function.
4074         (__sync_or_and_fetch_4): New function.
4075         (__sync_and_and_fetch_4): New function.
4076         (__sync_xor_and_fetch_4): New function.
4077         (__sync_nand_and_fetch_4): New function.
4078         (__sync_add_and_fetch_8): New function.
4079         (__sync_sub_and_fetch_8): New function.
4080         (__sync_or_and_fetch_8): New function.
4081         (__sync_and_and_fetch_8): New function.
4082         (__sync_xor_and_fetch_8): New function.
4083         (__sync_nand_and_fetch_8): New function.
4084         (__sync_exchange_methods): New macro.
4085         (__sync_val_compare_and_swap_4): New function.
4086         (__sync_bool_compare_and_swap_4): New function.
4087         (__sync_lock_test_and_test_4): New function.
4088         (__sync_val_compare_and_swap_8): New function.
4089         (__sync_bool_compare_and_swap_8): New function.
4090         (__sync_lock_test_and_test_8): New function.
4091         (__subword_cmpxchg_body): New macro.
4092         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4093         (__atomic_compare_exchange_2): Ditto.
4094         (__sync_subword_cmpxchg): New macro.
4095         (__sync_val_compare_and_swap_1): New function.
4096         (__sync_bool_compare_and_swap_1): New function.
4097         (__sync_val_compare_and_swap_2): New function.
4098         (__sync_bool_compare_and_swap_2): New function.
4099         (__atomic_subword): Rename to ...
4100         (__subword): ... New name.
4101         (__atomic_subword_fetch): Use __subword.
4102         (__sync_subword_fetch): New macro.
4103         (__sync_fetch_and_add_1): New function.
4104         (__sync_fetch_and_sub_1): New function.
4105         (__sync_fetch_and_or_1): New function.
4106         (__sync_fetch_and_and_1): New function.
4107         (__sync_fetch_and_xor_1): New function.
4108         (__sync_fetch_and_nand_1): New function.
4109         (__sync_fetch_and_add_2): New function.
4110         (__sync_fetch_and_sub_2): New function.
4111         (__sync_fetch_and_or_2): New function.
4112         (__sync_fetch_and_and_2): New function.
4113         (__sync_fetch_and_xor_2): New function.
4114         (__sync_fetch_and_nand_2): New function.
4115         (__sync_add_and_fetch_1): New function.
4116         (__sync_sub_and_fetch_1): New function.
4117         (__sync_or_and_fetch_1): New function.
4118         (__sync_and_and_fetch_1): New function.
4119         (__sync_xor_and_fetch_1): New function.
4120         (__sync_nand_and_fetch_1): New function.
4121         (__sync_add_and_fetch_2): New function.
4122         (__sync_sub_and_fetch_2): New function.
4123         (__sync_or_and_fetch_2): New function.
4124         (__sync_and_and_fetch_2): New function.
4125         (__sync_xor_and_fetch_2): New function.
4126         (__sync_nand_and_fetch_2): New function.
4127         (__atomic_subword_lock): Use __subword.
4128         (__sync_subword_lock): New macro.
4129         (__sync_lock_test_and_set_1): New function.
4130         (__sync_lock_test_and_set_2): New function.
4132 2014-01-25  Walter Lee  <walt@tilera.com>
4134         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4135         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4136         (__atomic_subword): Ditto.
4138 2014-01-25  Walter Lee  <walt@tilera.com>
4140         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4141         a prefix op argument.
4142         (__atomic_nand_fetch_4): Add prefix op.
4143         (__atomic_nand_fetch_8): Ditto.
4145 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4147         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4149 2014-01-09  Rong Xu  <xur@google.com>
4151         * libgcov-driver.c (this_prg): make it local to save
4152         bss space.
4153         (gcov_exit_compute_summary): Ditto.
4154         (gcov_exit_merge_gcda): Ditto.
4155         (gcov_exit_merge_summary): Ditto.
4156         (gcov_exit_dump_gcov): Ditto.
4158 2014-01-08  Rong Xu  <xur@google.com>
4160         * libgcov-driver.c: Use libgcov.h.
4161         (buffer_fn_data): Use xmalloc instead of malloc.
4162         (gcov_exit_merge_gcda): Ditto.
4163         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4164         * libgcov.h: New common header files for libgcov-*.h.
4165         * libgcov-interface.c: Use libgcov.h
4166         * libgcov-merge.c: Ditto.
4167         * libgcov-profiler.c: Ditto.
4168         * Makefile.in: Add dependence to libgcov.h
4170 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4172         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4173         case of small numerator and finite nonzero result.
4175 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4177         Update copyright years
4179 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4181         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4182         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4183         config/arc/dp-hack.h, config/arc/fp-hack.h,
4184         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4185         config/arc/ieee-754/arc600-dsp/divdf3.S,
4186         config/arc/ieee-754/arc600-dsp/divsf3.S,
4187         config/arc/ieee-754/arc600-dsp/muldf3.S,
4188         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4189         config/arc/ieee-754/arc600-mul64/divdf3.S,
4190         config/arc/ieee-754/arc600-mul64/divsf3.S,
4191         config/arc/ieee-754/arc600-mul64/muldf3.S,
4192         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4193         config/arc/ieee-754/arc600/divsf3.S,
4194         config/arc/ieee-754/arc600/mulsf3.S,
4195         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4196         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4197         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4198         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4199         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4200         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4201         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4202         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4203         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4204         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4205         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4206         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4207         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4208         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4209         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4210         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4211         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4212         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4213         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4214         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4215         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4216         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4217         vtv_start_preinit.c: Use the standard form for the copyright notice.
4219 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4220             Chung-Lin Tang  <cltang@codesourcery.com>
4221             Based on patches from Altera Corporation
4223         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4224         * config/nios2/lib2-nios2.h: New file.
4225         * config/nios2/lib2-divmod-hi.c: New file.
4226         * config/nios2/linux-unwind.h: New file.
4227         * config/nios2/lib2-divmod.c: New file.
4228         * config/nios2/linux-atomic.c: New file.
4229         * config/nios2/t-nios2: New file.
4230         * config/nios2/crti.asm: New file.
4231         * config/nios2/t-linux: New file.
4232         * config/nios2/lib2-divtable.c: New file.
4233         * config/nios2/lib2-mul.c: New file.
4234         * config/nios2/tramp.c: New file.
4235         * config/nios2/crtn.asm: New file.
4237 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4239         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4240         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4241         from cpuid.h to check vendor signatures.
4243 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4245         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4246         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4247         (get_amd_cpu): Likewise.
4249 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
4251         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4252         Haswell.
4254 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4255             H.J. Lu  <hongjiu.lu@intel.com>
4257         PR target/59422
4258         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
4259         and AMD_JAGUAR.
4260         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4261         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4262         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
4263         FEATURE_XOP and FEATURE_FMA.
4264         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4265         AMDFAM15H_BDVER3.
4266         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4267         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4268         FEATURE_FMA4 and FEATURE_XOP.
4270 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
4272         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4273         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4274         (get_intel_cpu): Updated.
4276 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
4278         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4280 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
4282         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4283         instructions when __SSE_MATH__ is defined.
4285 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
4287         * config.host (microblaze-*-rtems*): New.
4289 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
4291         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4292         architectures that do not have hardware divide instruction.
4293         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4295 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
4297         * longlong.h: Delete (moved to include/).
4299 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4301         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4302         of normal number and qNaN to not raise an inexact exception.
4304 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
4306         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4308 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
4310         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4311         for correct opcodes on BE.
4313 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
4315         * soft-fp/op-4.h: Update from glibc.
4317 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
4319         * libgcc2.c (__udivmoddi4): Define new implementation when
4320         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4321         divide instructions.
4323 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
4325         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4327 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4329         * config/t-softfp (soft-fp-objects-base): New variable.
4330         (soft-fp-objects): Use it.
4332 2013-11-23  David Edelson  <dje.gcc@gmail.com>
4333             Andrew Dixie  <andrewd@gentrack.com>
4335         PR target/33704
4336         * config/rs6000/aixinitfini.c: New file.
4337         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4338         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4339         symbols.
4341 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
4343         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4345 2013-11-18  Jan Hubicka  <jh@suse.cz>
4347         * libgcov-driver.c (run_accounted): Make global level static.
4348         (gcov_exit_merge_summary): Silence warning; do not clear
4349         run_accounted here.
4350         (gcov_exit): Clear it here.
4352         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4353         run_accounted.
4355         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4356         (all_prg, crc32): Remove static vars.
4357         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4358         all_prg.
4359         (gcov_exit_merge_gcda): Add crc32 parameter.
4360         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4361         do not account run if it was already accounted.
4362         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4363         (gcov_exit): Initialize all_prg; update.
4365 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
4367         * configure: Regenerate.
4369 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4370             Alan Modra  <amodra@gmail.com>
4372         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4373         (frob_update_context): Use it.
4375 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4376             Alan Modra  <amodra@gmail.com>
4378         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4379         (trampoline_initial): Provide ELFv2 variant.
4380         (__trampoline_setup): Likewise.
4382         * config/rs6000/linux-unwind.h (frob_update_context): Do not
4383         check for AIX indirect function call sequence if _CALL_ELF == 2.
4385 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4386             Alan Modra  <amodra@gmail.com>
4388         * config/rs6000/linux-unwind.h (get_regs): Do not support
4389         old kernel versions if _CALL_ELF == 2.
4390         (frob_update_context): Do not support PLT stub variants only
4391         generated by old linkers if _CALL_ELF == 2.
4393 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4394             Alan Modra  <amodra@gmail.com>
4396         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4397         location of CR save area for 64-bit little-endian systems.
4399 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
4401         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4402         in tmake_file.
4403         * config/arm/t-vxworks: Delete.
4405 2013-11-10  Kai Tietz  <ktietz@redhat.com>
4407         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4408         Increment load-count on use of LIBGCC_SONAME DLL.
4409         (hmod_libgcc): New static variable to hold handle of
4410         LIBGCC_SONAME DLL.
4411         (__gcc_deregister_frame): Decrement load-count of
4412         LIBGCC_SONAME DLL.
4414 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
4416         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4417         availability.
4418         * configure: Regenerate
4420 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
4422         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4423         FP_EX_DENORM.  Store result to volatile location after SSE division
4424         to close interrupt window.  Remove unneeded fwait after x87
4425         division since interrupt window will be closed by emitted fstp.
4426         Rewrite FP_EX_INEXACT handling.
4428 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
4430         * soft-fp/README: Update.
4431         * soft-fp/adddf3.c: Update from glibc.
4432         * soft-fp/addsf3.c: Likewise.
4433         * soft-fp/addtf3.c: Likewise.
4434         * soft-fp/divdf3.c: Likewise.
4435         * soft-fp/divsf3.c: Likewise.
4436         * soft-fp/divtf3.c: Likewise.
4437         * soft-fp/double.h: Likewise.
4438         * soft-fp/eqdf2.c: Likewise.
4439         * soft-fp/eqsf2.c: Likewise.
4440         * soft-fp/eqtf2.c: Likewise.
4441         * soft-fp/extenddftf2.c: Likewise.
4442         * soft-fp/extended.h: Likewise.
4443         * soft-fp/extendsfdf2.c: Likewise.
4444         * soft-fp/extendsftf2.c: Likewise.
4445         * soft-fp/extendxftf2.c: Likewise.
4446         * soft-fp/fixdfdi.c: Likewise.
4447         * soft-fp/fixdfsi.c: Likewise.
4448         * soft-fp/fixdfti.c: Likewise.
4449         * soft-fp/fixsfdi.c: Likewise.
4450         * soft-fp/fixsfsi.c: Likewise.
4451         * soft-fp/fixsfti.c: Likewise.
4452         * soft-fp/fixtfdi.c: Likewise.
4453         * soft-fp/fixtfsi.c: Likewise.
4454         * soft-fp/fixtfti.c: Likewise.
4455         * soft-fp/fixunsdfdi.c: Likewise.
4456         * soft-fp/fixunsdfsi.c: Likewise.
4457         * soft-fp/fixunsdfti.c: Likewise.
4458         * soft-fp/fixunssfdi.c: Likewise.
4459         * soft-fp/fixunssfsi.c: Likewise.
4460         * soft-fp/fixunssfti.c: Likewise.
4461         * soft-fp/fixunstfdi.c: Likewise.
4462         * soft-fp/fixunstfsi.c: Likewise.
4463         * soft-fp/fixunstfti.c: Likewise.
4464         * soft-fp/floatdidf.c: Likewise.
4465         * soft-fp/floatdisf.c: Likewise.
4466         * soft-fp/floatditf.c: Likewise.
4467         * soft-fp/floatsidf.c: Likewise.
4468         * soft-fp/floatsisf.c: Likewise.
4469         * soft-fp/floatsitf.c: Likewise.
4470         * soft-fp/floattidf.c: Likewise.
4471         * soft-fp/floattisf.c: Likewise.
4472         * soft-fp/floattitf.c: Likewise.
4473         * soft-fp/floatundidf.c: Likewise.
4474         * soft-fp/floatundisf.c: Likewise.
4475         * soft-fp/floatunditf.c: Likewise.
4476         * soft-fp/floatunsidf.c: Likewise.
4477         * soft-fp/floatunsisf.c: Likewise.
4478         * soft-fp/floatunsitf.c: Likewise.
4479         * soft-fp/floatuntidf.c: Likewise.
4480         * soft-fp/floatuntisf.c: Likewise.
4481         * soft-fp/floatuntitf.c: Likewise.
4482         * soft-fp/gedf2.c: Likewise.
4483         * soft-fp/gesf2.c: Likewise.
4484         * soft-fp/getf2.c: Likewise.
4485         * soft-fp/ledf2.c: Likewise.
4486         * soft-fp/lesf2.c: Likewise.
4487         * soft-fp/letf2.c: Likewise.
4488         * soft-fp/muldf3.c: Likewise.
4489         * soft-fp/mulsf3.c: Likewise.
4490         * soft-fp/multf3.c: Likewise.
4491         * soft-fp/negdf2.c: Likewise.
4492         * soft-fp/negsf2.c: Likewise.
4493         * soft-fp/negtf2.c: Likewise.
4494         * soft-fp/op-1.h: Likewise.
4495         * soft-fp/op-2.h: Likewise.
4496         * soft-fp/op-4.h: Likewise.
4497         * soft-fp/op-8.h: Likewise.
4498         * soft-fp/op-common.h: Likewise.
4499         * soft-fp/quad.h: Likewise.
4500         * soft-fp/single.h: Likewise.
4501         * soft-fp/soft-fp.h: Likewise.
4502         * soft-fp/subdf3.c: Likewise.
4503         * soft-fp/subsf3.c: Likewise.
4504         * soft-fp/subtf3.c: Likewise.
4505         * soft-fp/truncdfsf2.c: Likewise.
4506         * soft-fp/trunctfdf2.c: Likewise.
4507         * soft-fp/trunctfsf2.c: Likewise.
4508         * soft-fp/trunctfxf2.c: Likewise.
4509         * soft-fp/unorddf2.c: Likewise.
4510         * soft-fp/unordsf2.c: Likewise.
4511         * soft-fp/unordtf2.c: Likewise.
4513 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4515         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4516         (_FP_MUL_MEAT_D): Ditto.
4517         (_FP_DIV_MEAT_S): Ditto.
4518         (_FP_DIV_MEAT_D): Ditto.
4519         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4520         t-softfp-sfdf and t-softfp to tmake_file.
4522 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4524         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4525         * config/i386/crtprec.c: Ditto.
4527 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4528             Shiva Chen  <shiva0217@gmail.com>
4530         * config.host (nds32*-elf*): Add nds32 target.
4531         * config/nds32 : New directory and files.
4533 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4535         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4536         * config.host (cpu_type) <Setting default>: Add entry for
4537         crisv32-*-*.
4538         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4539         <crisv32-*-linux*>: Adjust.
4540         * longlong.h: Wrap the whole CRIS section in a single
4541         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4542         and sub_ddmmss.
4543         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4544         defined.
4545         [__CRIS__] (__umulsidi3): Define.
4546         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4547         * config/cris/sfp-machine.h: New file.
4548         * config/cris/umulsidi3.S: New file.
4549         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4550         * config/cris/arit.c (SIGNMULT): New macro.
4551         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4552         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4553         saving 3 out of originally 33 cycles from the fastest
4554         path, 3 out of 54 from the medium path and one from the longest
4555         path.  Improve comments.
4557 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4559         * sync.c: Remove static aliases and define each function directly
4560         under its real name.
4562 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4564         * config.host (hppa*64*-*-linux*): Define extra_parts.
4565         (hppa*-*-linux*): Likewise.
4567 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4569         * config/arc/crtgend.S: Add 2013 to Copyright years.
4570         * config/arc/gmon/atomic.h: Likewise.
4571         * config/arc/gmon/auxreg.h: Likewise.
4572         * config/arc/gmon/sys/gmon_out.h: Likewise.
4573         * config/arc/gmon/sys/gmon.h: Likewise.
4574         * config/arc/gmon/prof-freq.c: Likewise.
4575         * config/arc/gmon/mcount.c: Likewise.
4576         * config/arc/gmon/prof-freq-stub.S: Likewise.
4577         * config/arc/gmon/gmon.c: Likewise.
4578         * config/arc/gmon/machine-gmon.h: Likewise.
4579         * config/arc/gmon/profil.S: Likewise.
4580         * config/arc/gmon/dcache_linesz.S: Likewise.
4581         * config/arc/crtg.S: Likewise.
4582         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4583         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4584         * config/arc/ieee-754/adddf3.S: Likewise.
4585         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4586         * config/arc/ieee-754/fixsfsi.S: Likewise.
4587         * config/arc/ieee-754/gtsf2.S: Likewise.
4588         * config/arc/ieee-754/floatsisf.S: Likewise.
4589         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4590         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4591         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4592         * config/arc/ieee-754/fixdfsi.S: Likewise.
4593         * config/arc/ieee-754/addsf3.S: Likewise.
4594         * config/arc/ieee-754/gesf2.S: Likewise.
4595         * config/arc/ieee-754/floatsidf.S: Likewise.
4596         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4597         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4598         * config/arc/ieee-754/gtdf2.S: Likewise.
4599         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4600         * config/arc/ieee-754/uneqdf2.S: Likewise.
4601         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4602         * config/arc/ieee-754/uneqsf2.S: Likewise.
4603         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4604         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4605         * config/arc/ieee-754/eqdf2.S: Likewise.
4606         * config/arc/ieee-754/ordsf2.S: Likewise.
4607         * config/arc/ieee-754/divsf3.S: Likewise.
4608         * config/arc/ieee-754/divdf3.S: Likewise.
4609         * config/arc/ieee-754/floatunsidf.S: Likewise.
4610         * config/arc/ieee-754/orddf2.S: Likewise.
4611         * config/arc/ieee-754/eqsf2.S: Likewise.
4612         * config/arc/ieee-754/gedf2.S: Likewise.
4613         * config/arc/crtn.S: Likewise.
4614         * config/arc/crti.S: Likewise.
4615         * config/arc/t-arc700-uClibc: Likewise.
4616         * config/arc/asm.h: Likewise.
4617         * config/arc/libgcc-excl.ver: Likewise.
4618         * config/arc/t-arc-newlib: Likewise.
4619         * config/arc/divtab-arc700.c: Likewise.
4620         * config/arc/initfini.c: Likewise.
4621         * config/arc/fp-hack.h: Likewise.
4623 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4624             Diego Novillo  <dnovillo@google.com>
4626         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4627         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4628         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4629         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4631 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4632             Brendan Kehoe  <brendan@zen.org>
4633             Simon Cook  <simon.cook@embecosm.com>
4635         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4636         * config/arc: New directory.
4637         * longlong.h [__arc__] (umul_ppmm): Remove.
4638         [__arc__] (__umulsidi3): Define.
4639         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4640         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4642 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4644         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4645         CreateSemaphoreA.
4646         * config/i386/gthr-win32.h: Likewise.
4648 2013-09-16  DJ Delorie  <dj@redhat.com>
4650         * config/rl78/vregs.h: Add G10 register definitions.
4651         * config/rl78/lib2mul.c: Enable for RL78/G10.
4652         * config/rl78/lib2div.c: Likewise.
4653         * config/rl78/lshrsi3.S: Use vregs.h.
4654         * config/rl78/cmpsi2.S: Likewise.
4655         * config/rl78/trampoline.S: Likewise.
4656         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4658 2013-09-14  DJ Delorie  <dj@redhat.com>
4659             Nick Clifton  <nickc@redhat.com>
4661         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4662         * config/rl78/vregs.h: New.
4663         * config/rl78/signbit.S: New file.  Implements signbit function.
4664         * config/rl78/divmodsi.S: New.
4665         * config/rl78/divmodhi.S: New.
4666         * config/rl78/divmodqi.S: New.
4667         * config/rl78/t-rl78: Build them here...
4668         * config/rl78/lib2div.c: ...but not here.
4670 2013-09-12  DJ Delorie  <dj@redhat.com>
4672         * config.host (msp*-*-elf): New.
4673         * config/msp430/: New port.
4675 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4677         PR gcov-profile/58127
4678         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4679         __thread var for emulated TLS.
4680         (__gcov_indirect_call_counters): Likewise.
4682 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4683             Catherine Moore  <clm@codesourcery.com>
4684             Richard Sandiford  <rdsandiford@googlemail.com>
4686         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4687         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4688         (CALL_STUB_NO_RET): Likewise.
4689         (CALL_STUB_RET): Likewise.
4690         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4691         __mips16_ret call/return stub symbols.
4692         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4693         to tmake_file.
4695 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4697         * config.host <mips*-*-linux*>: Remove a stray comment.
4699 2013-08-10  Jan Hubicka  <jh@suse.cz>
4701         Work around binutils PR14342
4702         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4703         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4704         (L_gcov_indirect_call_profiler_v2): New.
4706 2013-08-06  Jan Hubicka  <jh@suse.cz>
4708         * libgcov.c (__gcov_indirect_call_callee,
4709         __gcov_indirect_call_counters): New global vars.
4710         (__gcov_indirect_call_profiler): replace by ...
4711         (__gcov_indirect_call_profiler_v2) ... this one.
4713 2013-08-06  Caroline Tice  <cmtice@google.com>
4715         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4716         vtv_start_preinit.o and vtv_end_preinit.o.
4717         * configure.ac: Add code to check/set enable_vtable_verify.
4718         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4719         true.
4720         * vtv_start_preinit.c: New file.
4721         * vtv_end_preinit.c: New file.
4722         * vtv_start.c: New file.
4723         * vtv_end.c: New file.
4724         * configure: Regenerated.
4726 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4728         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4729         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4730         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4731         GPL-3.0-with-GCC-exception.
4733 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4735         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4736         ISA and up.
4738 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4740         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4741         mapping for FPRs when creating the fallback framestate.
4743 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4745         PR target/57516
4746         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4747         (__round_s2_const, __round_u2_const)
4748         (__round_s4_const, __round_u4_const, __round_x8):
4749         Saturate result if addition result cannot be represented.
4751 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4753         * libgcc2.c: Don't include <limits.h>.
4755 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4757         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4759 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4761         PR target/29776
4762         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4764 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4766         PR middle-end/36041
4767         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4768         Define.
4769         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4770         instead of table lookups.
4771         (__popcountDI2): Likewise.
4773 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4775         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4776         correctly.
4778 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4780         PR other/53317
4781         * soft-fp/adddf3.c: Update from glibc.
4782         * soft-fp/addsf3.c: Likewise.
4783         * soft-fp/addtf3.c: Likewise.
4784         * soft-fp/divdf3.c: Likewise.
4785         * soft-fp/divsf3.c: Likewise.
4786         * soft-fp/divtf3.c: Likewise.
4787         * soft-fp/double.h: Likewise.
4788         * soft-fp/eqdf2.c: Likewise.
4789         * soft-fp/eqsf2.c: Likewise.
4790         * soft-fp/eqtf2.c: Likewise.
4791         * soft-fp/extenddftf2.c: Likewise.
4792         * soft-fp/extended.h: Likewise.
4793         * soft-fp/extendsfdf2.c: Likewise.
4794         * soft-fp/extendsftf2.c: Likewise.
4795         * soft-fp/fixdfdi.c: Likewise.
4796         * soft-fp/fixdfsi.c: Likewise.
4797         * soft-fp/fixsfdi.c: Likewise.
4798         * soft-fp/fixsfsi.c: Likewise.
4799         * soft-fp/fixtfdi.c: Likewise.
4800         * soft-fp/fixtfsi.c: Likewise.
4801         * soft-fp/fixunsdfdi.c: Likewise.
4802         * soft-fp/fixunsdfsi.c: Likewise.
4803         * soft-fp/fixunssfdi.c: Likewise.
4804         * soft-fp/fixunssfsi.c: Likewise.
4805         * soft-fp/fixunstfdi.c: Likewise.
4806         * soft-fp/fixunstfsi.c: Likewise.
4807         * soft-fp/floatdidf.c: Likewise.
4808         * soft-fp/floatdisf.c: Likewise.
4809         * soft-fp/floatditf.c: Likewise.
4810         * soft-fp/floatsidf.c: Likewise.
4811         * soft-fp/floatsisf.c: Likewise.
4812         * soft-fp/floatsitf.c: Likewise.
4813         * soft-fp/floatundidf.c: Likewise.
4814         * soft-fp/floatundisf.c: Likewise.
4815         * soft-fp/floatunditf.c: Likewise.
4816         * soft-fp/floatunsidf.c: Likewise.
4817         * soft-fp/floatunsisf.c: Likewise.
4818         * soft-fp/floatunsitf.c: Likewise.
4819         * soft-fp/gedf2.c: Likewise.
4820         * soft-fp/gesf2.c: Likewise.
4821         * soft-fp/getf2.c: Likewise.
4822         * soft-fp/ledf2.c: Likewise.
4823         * soft-fp/lesf2.c: Likewise.
4824         * soft-fp/letf2.c: Likewise.
4825         * soft-fp/muldf3.c: Likewise.
4826         * soft-fp/mulsf3.c: Likewise.
4827         * soft-fp/multf3.c: Likewise.
4828         * soft-fp/negdf2.c: Likewise.
4829         * soft-fp/negsf2.c: Likewise.
4830         * soft-fp/negtf2.c: Likewise.
4831         * soft-fp/op-1.h: Likewise.
4832         * soft-fp/op-2.h: Likewise.
4833         * soft-fp/op-4.h: Likewise.
4834         * soft-fp/op-8.h: Likewise.
4835         * soft-fp/op-common.h: Likewise.
4836         * soft-fp/quad.h: Likewise.
4837         * soft-fp/single.h: Likewise.
4838         * soft-fp/soft-fp.h: Likewise.
4839         * soft-fp/subdf3.c: Likewise.
4840         * soft-fp/subsf3.c: Likewise.
4841         * soft-fp/subtf3.c: Likewise.
4842         * soft-fp/truncdfsf2.c: Likewise.
4843         * soft-fp/trunctfdf2.c: Likewise.
4844         * soft-fp/trunctfsf2.c: Likewise.
4845         * soft-fp/unorddf2.c: Likewise.
4846         * soft-fp/unordsf2.c: Likewise.
4847         * soft-fp/unordtf2.c: Likewise.
4848         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4849         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4850         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4851         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4852         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4853         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4854         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4855         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4856         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4857         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4858         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4859         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4861 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4863         * config/mips/lib2funcs.c: New file.
4864         * config/mips/t-mips (LIB2ADD_ST): Add it.
4866 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4868         PR target/6526
4869         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4870         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4872 2013-06-08  Walter Lee  <walt@tilera.com>
4874         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4875         Replace int64_t with long long.  Add __extension__ where
4876         appropriate.
4877         * config/tilepro/atomic.c: Include config.h.
4879 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4881         * config.host (arm-wrs-vxworks): Configure with other soft float.
4883 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4885         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4886         (mips64r5900el-*-elf*): New configurations.
4888 2013-06-04  Alan Modra  <amodra@gmail.com>
4890         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4892 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4894         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4896 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4898         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4899         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4900         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4902 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4904         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4905         (powerpc-wrs-vxworks): Likewise.
4907 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4909         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4910         signal frames as well.
4911         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4912         STACK_BIAS to the CFA offset.
4914 2013-05-17  Richard Henderson  <rth@redhat.com>
4916         PR target/49146
4917         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4918         (execute_cfa_program): Use it when storing to fs->regs.
4920 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4922         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4923         (__deregister_frame_info): Likewise.
4925 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4927         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4928         NaN's payload.
4930         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4932 2013-04-25  Alan Modra  <amodra@gmail.com>
4934         * config.host: Match little-endian powerpc-linux.
4936 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4938         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4939         as 'unsigned long long' instead of 'unsigned long'.
4940         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4941         'signed long'.
4943 2013-04-10  Julian Brown  <julian@codesourcery.com>
4945         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4946         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4947         unsigned char/unsigned short.
4948         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4950 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4952         PR other/55274
4953         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4955 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4957         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4958         computing the location of the link register.
4959         (aeabi_uldivmod): Ditto.
4961 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4963         * config.host: Add support for cygwin x64 target.
4964         * configure: Regenerated.
4966 2013-03-26  Walter Lee  <walt@tilera.com>
4968         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4969         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4971 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4973         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4975 2013-03-20  Robert Mason  <rbmj@verizon.net>
4977         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4978         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4979         (__gthread_leave_tsd_dtor_context): Add prototypes.
4980         (tls_delete_hook): Update.
4982 2013-03-20  Catherine Moore  <clm@codesourcery.com>
4983             Joseph Myers  <joseph@codesourcery.com>
4984             Chao-ying Fu  <fu@mips.com>
4986         * config/mips/mips16.S:  Don't build for microMIPS.
4987         * config/mips/linux-unwind.h: Handle microMIPS frame.
4988         * config/mips/crtn.S (fini, init): New labels.
4990 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
4992         PR tree-optimization/53265
4993         * unwind-dw2.c (execute_cfa_program): Avoid
4994         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4995         on targets with DWARF_FRAME_REGISTERS < 32.
4997 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
4999         PR target/49880
5000         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5001         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5003 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
5005         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5006         sandybridge processors.
5008 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
5010         PR target/56529
5011         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5012         inclusion list.
5014 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5016         * config/microblaze/crti.S: Setup stack protection at entry
5018 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
5020         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5021         (__rotldi3): Shift bytewise if applicable.
5023 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
5025         * config/aarch64/sync-cache.c
5026         (__aarch64_sync_cache_range): Silence warnings.
5028 2013-02-25  Catherine Moore  <clm@codesourcery.com>
5030         Revert:
5031         2013-02-24  Catherine Moore  <clm@codesourcery.com>
5032             Joseph Myers  <joseph@codesourcery.com>
5033             Chao-ying Fu  <fu@mips.com>
5035         * config/mips/mips16.S:  Don't build for microMIPS.
5036         * config/mips/linux-unwind.h: Handle microMIPS frame.
5037         * config/mips/crtn.S (fini, init): New labels.
5039 2013-02-24  Catherine Moore  <clm@codesourcery.com>
5040             Joseph Myers  <joseph@codesourcery.com>
5041             Chao-ying Fu  <fu@mips.com>
5043         * config/mips/mips16.S:  Don't build for microMIPS.
5044         * config/mips/linux-unwind.h: Handle microMIPS frame.
5045         * config/mips/crtn.S (fini, init): New labels.
5047 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5048         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5049         as dividend.
5051 2013-02-16  Alan Modra  <amodra@gmail.com>
5053         PR target/55431
5054         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5055         (ppc_fallback_frame_state): Always set up save locations for fp
5056         and altivec.  Don't bother with non-callee-saved regs, r0-r13
5057         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5059 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
5061         PR target/54222
5062         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5063         _ssmulHA, _ssmulSA.
5064         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5065         _ssmulha3, _usmulusa3, _ssmulsa3.
5066         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5067         (__muldi3): XCALL __muldi3_6 instead of rcall.
5068         (__umulsidi3, __mulsidi3): New functions.
5069         (do_prologue_saves, do_epilogue_restores): New .macros.
5070         (__divdi3_moddi3): Use them.
5071         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5072         (__usmulusa3, __ssmulsa3): New functions.
5074 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
5075             Jack Howarth  <howarth@bromo.med.uc.edu>
5076             Patrick Marlier  <patrick.marlier@gmail.com>
5078         PR libitm/55693
5079         * config/darwin-crt-tm.c: Remove dummy functions hack.
5081 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
5083         PR target/54222
5084         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5085         * config/avr/lib2-object.mk: New iterator to build objects from it.
5086         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5087         lib2funcs.c.
5088         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5089         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5090         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5091         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5092         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5093         * config/avr/lib1funcs-fixed.S: Implement them.
5095 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
5097         Update copyright years.
5099 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
5101         PR target/54601
5102         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5103         Add crtcxa to extra_parts.
5104         * config/rs6000/exit.h: New file.
5105         * config/rs6000/cxa_atexit.c: New file.
5106         * config/rs6000/cxa_finalize.c: New file.
5107         * config/rs6000/crtcxa.c: New file.
5108         * config/rs6000/t-aix-cxa: New file.
5109         * config/rs6000/libgcc-aix-cxa.ver: New file.
5111 2013-01-31  Nick Clifton  <nickc@redhat.com>
5113         * config/v850/lib1funcs.S: Add support for e3v5 architecture
5114         variant.
5116 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5118         PR target/54222
5119         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5120         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5121         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5122         _divQQ,  _divHQ,  _divHA,  _divSA,
5123         _divUQQ, _divUHQ, _divUHA, _divUSA.
5125 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5127         * config.host(microblaze*-linux*): tmake_file: Remove
5128         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5129         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5130         to exclude functions from being built with libgcc.c and use
5131         the microblaze assembly.
5133 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5135         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5136         extra_parts.
5138 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5140         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5141         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5142         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5143         alignment operation.
5145 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5147         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5148         loop start address for cache clearing.
5150 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5152         * config/avr/lib1funcs.S: Remove trailing blanks.
5153         * config/avr/lib1funcs-fixed.S: Ditto.
5155 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5157         * config/avr/avr-lib.h: Add GPL copyright notice.
5159 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5161         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5162         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5163         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5164         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5166 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5168         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5169         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5171 2013-01-04  Nick Clifton  <nickc@redhat.com>
5173         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5174         the CALLT instruction is supported.
5176 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5178         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5179         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5181 2012-12-13  John Tytgat  <John@bass-software.com>
5183         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5184         is 25.
5186 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5188         PR libgcc/55451
5189         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5190         undefined signed overflows.
5192 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5194         PR target/55344
5195         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5197 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5199         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5200         (FP_TRAPPING_EXCEPTIONS): Define.
5201         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5202         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5204 2012-12-04  Richard Henderson  <rth@redhat.com>
5206         PR bootstrap/55571
5207         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5209 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5211         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5212         (FP_EX_SHIFT): Define.
5213         (FP_TRAPPING_EXCEPTIONS): Define.
5215 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5217         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5218         (FP_ROUNDMODE): Use FP_RND_MASK.
5219         * config/aarch64/sfp-exceptions.c: New.
5220         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5221         Use __sfp_handle_exceptions.
5223 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5225         * config.host: (arm*-*-freebsd*): Remove.
5226         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5227         (arm*-*-elf*): Remove.
5228         (arm*-*-wince-pe*): Remove.
5229         * arm/unwind-arm.c (struct fpa_reg): Delete.
5230         (struct fpa_regs): Delete.
5231         (phase1_vrs): Remove fpa element.
5232         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5233         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5234         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5235         * ieee754-sf.S (floatundisf): Remove FPA support.
5236         (floatdisf): Likewise.
5237         * ieee75f-df.S (floatundidf): Likewise.
5238         (floatdidf): Likewise.
5240 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5242         PR target/55445
5243         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5244         * unwind-generic.h: Likewise.
5245         * unwind-seh.c: Likewise.
5247 2012-11-28  Richard Henderson  <rth@redhat.com>
5249         PR libgcc/48076
5250         * emutls.c (__emutls_get_address): Avoid race condition between
5251         obj->loc.offset read and emutls_key initialization.
5253 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
5255         Adjust decimal point of signed accum mode to GCC default.
5257         PR target/54222
5258         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5259         _divqq_helper.
5260         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5261         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5262         (__mulha3, __mulsa3)
5263         (__divqq3, __divha3, __divsa3): Adjust to new position of
5264         decimal point of signed accum types.
5266         (__mulusa3_round): New function.
5267         (__mulusa3): Use it.
5268         (__divqq_helper): New function.
5269         (__udivuqq3): Use it.
5271 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
5273         PR bootstrap/55370
5274         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5276 2012-11-18  Teresa Johnson  <tejohnson@google.com>
5278         PR bootstrap/55051
5279         * libgcov.c (gcov_exit): Remove merged program summary
5280         comparison unless !GCOV_LOCKED.
5282 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5284         * soft-fp: Updated from glibc upstream.
5286 2012-11-06  Ian Lance Taylor  <iant@google.com>
5288         * generic-morestack.c (__generic_morestack): Align the returned
5289         stack pointer to a 32 byte boundary.
5290         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5291         increment the return address until we have decided that we don't
5292         have a varargs function.
5293         (__morestack) [32-bit]: Align stack correctly when calling C
5294         functions.
5295         (__morestack) [64-bit]: Likewise.
5297 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5299         * configure: Regenerate.
5301 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
5303         PR target/55175
5304         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5305         * config/i386/sfp-machine.h: Guard exception handling
5306         code with _SOFT_FLOAT.
5307         * config/i386/32/sfp-machine.h: Guard rounding handling
5308         code with _SOFT_FLOAT.
5309         * config/i386/64/sfp-machine.h: Ditto.
5311 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
5313         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5314         as extra_parts.
5316 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
5318         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5319         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
5320         when appropriate.  Correct structure element types.
5321         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5322         -minline-all-stringops from compile flags.
5324 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5326         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5328 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5330         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5332 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5334         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5335         tmake_file.
5337 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
5338             Jim MacArthur  <jim.macarthur@arm.com>
5339             Marcus Shawcroft  <marcus.shawcroft@arm.com>
5340             Nigel Stephens  <nigel.stephens@arm.com>
5341             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5342             Richard Earnshaw  <rearnsha@arm.com>
5343             Sofiane Naci  <sofiane.naci@arm.com>
5344             Stephen Thomas  <stephen.thomas@arm.com>
5345             Tejas Belagod  <tejas.belagod@arm.com>
5346             Yufeng Zhang  <yufeng.zhang@arm.com>
5348         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5349         * config/aarch64/crti.S: New file.
5350         * config/aarch64/crtn.S: New file.
5351         * config/aarch64/linux-unwind.h: New file.
5352         * config/aarch64/sfp-machine.h: New file.
5353         * config/aarch64/sync-cache.c: New file.
5354         * config/aarch64/t-aarch64: New file.
5355         * config/aarch64/t-softfp: New file.
5357 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
5359         * config/mmix/crti.S: Mark program and data addresses using PRELD.
5360         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
5361         no-longer-needed LDBU insns.
5363 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5365         * config.host
5366         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5367         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5369 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5371         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5373 2012-10-15  Matthias Klose  <doko@ubuntu.com>
5375         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5377 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
5379         * configure: Regenerate.
5380         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5382 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5384         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5385         instructions for 64bit targets only.
5387 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5389         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5390         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5391         * config/i386/32/sfp-machine.h: ... here.
5392         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5393         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5394         New defines.
5396 2012-10-07  Matthias Klose  <doko@ubuntu.com>
5398         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5399         as unused.
5400         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5402 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
5404         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5405         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5406         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5407         (ElfW): Likewise.
5409 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
5411         PR other/53889
5412         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5413         Fix parameter names.
5415 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
5417         PR target/33135
5418         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5419         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5420         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5422 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
5424         PR target/50457
5425         * config/sh/linux-atomic.S: Delete.
5426         * config/sh/linux-atomic.c: New.
5427         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5428         linux-atomic.c.  Add cflags to disable warnings.
5430 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5432         PR other/53889
5433         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5434         function.
5435         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5436         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5437         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5438         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5439         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5440         Likewise.
5441         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5442         Likewise.
5443         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5444         Likewise.
5445         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5446         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5448 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
5450         * config.host (hppa-*-openbsd*): New target.
5451         * config/pa/t-openbsd: New file.
5453 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
5455         PR target/54222
5456         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5457         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5458         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5459         (__divsa3): Use __negsi2 to negate r_quoL.
5460         * config/avr/lib1funcs.S (FALIAS): New macro.
5461         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5462         (__negsi2): ...this new function.
5463         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5464         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5465         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5466         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5467         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5468         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5470 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
5472         PR target/54089
5473         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5474         (lshrsi3): Reimplement as lshrsi3_r0.
5476 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
5478         PR target/46191
5479         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5480         of libgcc.a.
5482 2012-09-07  Teresa Johnson  <tejohnson@google.com>
5484         PR gcov-profile/54487
5485         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5486         differences.
5488 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
5490         PR target/54461
5491         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5492         not configured --with-avrlibc=no.
5493         * config/avr/t-avrlibc: New file.
5494         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5495         (DPBIT_FUNCS): Ditto.
5496         (TPBIT_FUNCS): Ditto.
5498 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5500         * libgcov.c (struct gcov_summary_buffer): New structure.
5501         (gcov_histogram_insert): New function.
5502         (gcov_compute_histogram): Ditto.
5503         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5504         histograms during summary merging.
5506 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5508         * config.host (x86_64-*-openbsd*): New target.
5510 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5512         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5513         attribute.
5515 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5517         PR target/54222
5518         * config/avr/t-avr (conv_X): Rename to func_X.
5520 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5522         PR target/54222
5523         * config/avr/lib1funcs-fixed.S: New file.
5524         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5525         after they are used.
5526         (neg2, neg4): New macros.
5527         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5528         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5529         (__umulhisi3): Speed up MUL variant if there is enough flash.
5530         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5531         avr-modes.def.
5532         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5533         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5534         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5535         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5536         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5537         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5538         (LIB2FUNCS_EXCLUDE): Add supported functions.
5540 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5542         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5543         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5544         libgcc-s-objects.
5545         * fixed-obj.mk: Only expand dependency if $o is not in
5546         LIB2FUNCS_EXCLUDE.
5548 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5550         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5552 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5554         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5555         depend on --enable-shared.
5556         ($(lib1asmfuncs-o)): Use %.vis files independent of
5557         --enable-shared.
5558         * static-object.mk ($(base)$(objext), $(base).vis)
5559         ($(base)_s$(objext)): Use same rules for visibility handling as in
5560         shared-object.mk.
5562 2012-08-21  Ian Lance Taylor  <iant@google.com>
5564         * config/i386/morestack.S (__morestack_non_split): Increase amount
5565         of space allocated for non-split code stack.
5567 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5569         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5570         even if inhibit_libc.
5572 2012-08-17  Julian Brown  <julian@codesourcery.com>
5574         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5575         -fexceptions -fnon-call-exceptions if not defined.
5576         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5577         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5579 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5581         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5582         type.
5584 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5586         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5587         rs6000/t-slibgcc-aix.
5589 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5591         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5593 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5595         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5597 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5599         PR driver/54171
5600         * Makefile.in (version): Replace top_srcdir with srcdir.
5602 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5604         * Makefile.in (version): set to BASE-VER file from gcc directory.
5606 2012-08-01  Nick Clifton  <nickc@redhat.com>
5608         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5609         Implements __clrsb for an HImode argument.
5611 2012-07-31  Nick Clifton  <nickc@redhat.com>
5613         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5614         Implements __clrsb for an HImode argument.
5615         * config/stormy16/clrsbhi2.c: New file:
5616         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5618 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5620         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5622 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5623             Richard Henderson  <rth@redhat.com>
5625         * unwind-seh.c: New file.
5626         * unwind-generic.h: Include windows.h for SEH.
5627         (_Unwind_Exception): Use 6 private fields for SEH.
5628         (_GCC_specific_handler): Declare.
5629         * unwind-c.c (__gcc_personality_seh0): New function.
5630         Adjust for SEH.
5631         * config/i386/libgcc-cygming.ver: New file.
5632         * config/i386/t-seh-eh: New file.
5633         * config.host (x86_64-*-mingw*): Default to seh.
5635 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5637         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5639 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5641         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5642         __builtin_expect when checking for exceptions.
5643         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5645 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5647         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5648         function declaration.
5649         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5650         (FP_RND_MASK): New.
5651         * config/ia64/sfp-exceptions.c: New.
5652         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5654 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5656         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5657         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5658         * config/i386/64/sfp-machine: ... (delete here) ...
5659         * config/i386/sfp-machine.h: ... to here.
5660         (FP_EX_MASK): Remove.
5661         (FP_RND_MASK): New.
5662         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5664 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5666         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5667         * config/i386/libgcc-sol2.ver: Ditto.
5668         * config/i386/libgcc-glibc.ver: Ditto.
5670 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5672         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5673         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5674         pthread_cancel.
5676 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5678         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5679         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5680         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5681         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5682         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5683         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5684         * config/i386/64/sfp-machine: ... (delete here) ...
5685         * config/i386/sfp-machine.h: ... to here.
5686         (FP_EX_MASK): New.
5687         (__sfp_handle_exceptions): New function declaration.
5688         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5689         * config/i386/sfp-exceptions.c: New.
5690         * config/i386/t-softfp: New.
5691         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5692         i386/t-softfp to tmake_file.
5694 2012-06-03  David S. Miller  <davem@davemloft.net>
5696         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5697         change.
5699 2012-05-31  David S. Miller  <davem@davemloft.net>
5701         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5702         multiply and divide instructions on 32-bit when V9.
5703         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5705 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5707         * config/arm/ieee754-df.S: Fix typos.
5708         * config/arm/ieee754-sf.S: Fix typos.
5709         * config/c6x/libunwind.S: Fix typos.
5710         * config/epiphany/udivsi3-float.c: Fix typos.
5711         * config/microblaze/muldi3_hard.S: Fix typos.
5712         * config/picochip/adddi3.S: Fix typos.
5713         * config/picochip/ashlsi3.S: Fix typos.
5714         * config/picochip/ashrsi3.S: Fix typos.
5715         * config/picochip/clzsi2.S: Fix typos.
5716         * config/picochip/cmpsi2.S: Fix typos.
5717         * config/picochip/divmod15.S: Fix typos.
5718         * config/picochip/divmodhi4.S: Fix typos.
5719         * config/picochip/divmodsi4.S: Fix typos.
5720         * config/picochip/longjmp.S: Fix typos.
5721         * config/picochip/lshrsi3.S: Fix typos.
5722         * config/picochip/parityhi2.S: Fix typos.
5723         * config/picochip/popcounthi2.S: Fix typos.
5724         * config/picochip/setjmp.S: Fix typos.
5725         * config/picochip/subdi3.S: Fix typos.
5726         * config/picochip/ucmpsi2.S: Fix typos.
5727         * config/picochip/udivmodhi4.S: Fix typos.
5728         * config/picochip/udivmodsi4.S: Fix typos.
5729         * config/spu/divv2df3.c: Fix typos.
5730         * config/spu/mfc_multi_tag_release.c: Fix typos.
5731         * config/spu/mfc_tag_release.c: Fix typos.
5732         * configure.ac: Fix typos.
5733         * configure: Regenerate.
5735 2012-05-25  Ian Lance Taylor  <iant@google.com>
5737         * config/i386/morestack.S (__morestack_non_split): Check whether
5738         caller is varargs and needs %bp to hold the stack frame on return.
5740 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5742         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5743         sequence in the non pic case on VxWorks.
5745 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5747         * Makefile.in: Move dependency on install-unwind_h from
5748         "install-leaf" to "install".
5750 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5752         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5753         Use a separate command for stamp removals.
5755 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5757         PR bootstrap/53183
5758         * configure.ac: Define the default includes to being none.
5759         * configure: Regenerate.
5761 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5763         * Makefile.in (install-unwind_h): Rename into ...
5764         (install-unwind_h-forbuild): New target.
5765         (all): Use it instead of the former install-unwind_h.
5766         (install-unwind_h): Reinstate, copy to user install destination
5767         for include files, not to the internal gcc object directory one.
5768         (install-leaf): Depend on it.
5770 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5772         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5773         register numbers. LR_REGNO replaces R_LR.
5774         (ucontext_for): New, helper for ...
5775         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5776         and 5.3 of ...
5777         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5779 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5781         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5782         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5783         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5784         i386/t-cpuinfo ...
5785         (i[34567]86-*-*, x86_64-*-*): ... here.
5787         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5788         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5790         * config/i386/i386-cpuinfo.c: Rename to ...
5791         * config/i386/cpuinfo.c: ... this.
5792         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5794         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5795         (libgcc_cv_init_priority): New test.
5796         * configure: Regenerate.
5797         * config.in: New file.
5798         * Makefile.in (clean): Rename config.h to auto-target.h.
5799         (config.h): Likewise.
5800         (stamp-h): Likewise.
5802         * config/i386/cpuinfo.c (auto-target.h): Include.
5803         (CONSTRUCTOR_PRIORITY): Define.
5804         (__cpu_indicator_init): Use it.
5806 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5808         * longlong.h: Use a URL instead of an FSF postal address.
5809         Replace spaces with tab.
5811 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5813         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5814         (__gcov_dump): Ditto.
5815         (gcov_dump_complete): New global variable.
5816         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5817         (__gcov_flush): Outline functionality now in gcov_clear.
5818         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5820 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5822         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5823         (mips*-*-linux*): Include mips/t-tpbit when long double is
5824         16 bytes long.
5826 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5828         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5829         (get_available_features): New argument. Check for AVX2.
5830         (__cpu_indicator_init): Modify call to get_available_features.
5832 2012-04-25  Alan Modra  <amodra@gmail.com>
5834         * config/rs6000/crtsavevr.S: New file.
5835         * config/rs6000/crtrestvr.S: New file.
5836         * config/rs6000/t-savresfgpr: Build the above.
5837         * config/rs6000/t-netbsd: Likewise.
5839 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5841         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5843 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5845         * libgcc/config/i386/i386-cpuinfo.c: New file.
5846         * libgcc/config/i386/t-cpuinfo: New file.
5847         * libgcc/config.host: Include t-cpuinfo.
5848         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5850 2012-04-24  Chao-ying Fu  <fu@mips.com>
5852         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5854 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5856         struct siginfo vs. siginfo_t
5858         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5859         siginfo_t instead of struct siginfo.
5860         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5861         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5862         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5863         (ia64_handle_unwabi): Likewise.
5864         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5865         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5866         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5867         (sh_fallback_frame_state): Likewise.
5868         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5869         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5871 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5873         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5874         system call number.
5876 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5878         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5879         if it hasn't been previously saved.
5881 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5883         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5884         only for glibc.
5886 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5888         PR target/52737
5889         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5890         instead of __AVR_HAVE_8BIT_SP__.
5892 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5894         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5895         (unw_table_entry): Use unw_word instead of unsigned long.
5896         (_Unwind_FindTableEntry): Likewise.
5897         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5898         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5899         (_Unwind_FindTableEntry): Likewise.
5900         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5901         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5902         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5903         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5904         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5905         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5906         (uw_init_context_1, uw_install_context): Likewise.
5907         (unw_word): Move to unwind-ia64.h
5909 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5911         * config/vms/vms-ucrt0.c: Update copyright years.
5912         Add a sanity check.
5913         (___gcc_main_flags): Declare.
5914         (__main): Check flags to remap argv and exit code.
5915         * config.host (*-*-*vms*): Adjust extra_parts.
5916         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5917         (crt0.o): Add.
5919 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5921         * arm/lib1funcs.asm (ctzsi2): New function.
5922         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5923         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5924         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5925         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5926         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5927         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5929 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5931         * config.host: Add bits to support powerpc64-*-freebsd*.
5932         * config/rs6000/freebsd-unwind.h: New file.
5933         * config/rs6000/t-freebsd64: New file.
5935 2012-03-20  Richard Guenther  <rguenther@suse.de>
5937         PR gcov-profile/52627
5938         * libgcov.c (init_mx): Fix mutex name.
5940 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5942         * config/ia64/vms-unwind.h: Remove ulong (and replace
5943         it by unw_reg where used).  Define unw_reg with __int64.
5945 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5947         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5948         Solaris 8 handling.
5949         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5950         Solaris 8 handling.
5951         (sparc_is_sighandler): Likewise.
5953 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5955         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5956         <= saved reg size.
5958 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5960         * config/arm/crtn.S: Fix typo.
5962 2012-03-13  Richard Guenther  <rguenther@suse.de>
5964         * libgcov.c: Remove stdio.h include and NULL un-define.
5966 2012-03-13  Richard Guenther  <rguenther@suse.de>
5968         PR target/52569
5969         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5971 2012-03-13  Richard Guenther  <rguenther@suse.de>
5973         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5975 2012-03-13  Richard Guenther  <rguenther@suse.de>
5977         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5978         and __gthread_mutex_init_function definitions.
5980 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5982         * config.host (mips*-*-openbsd*): Remove.
5984 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5986         * config.host: Remove alpha*-dec-osf5.1* handling.
5987         * config/alpha/gthr-posix.c: Remove.
5988         * config/alpha/libgcc-osf5.ver: Remove.
5989         * config/alpha/osf5-unwind.h: Remove.
5990         * config/alpha/t-osf-pthread: Remove.
5991         * config/alpha/t-slibgcc-osf: Remove.
5992         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5993         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5994         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5995         * mkmap-flat.awk: Remove osf_export handling.
5997 2012-03-12  Richard Guenther  <rguenther@suse.de>
5999         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6000         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6001         (__gthread_mutex_init_function): New function.
6002         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6004         PR gcov/49484
6005         * libgcov.c: Include gthr.h.
6006         (__gcov_flush_mx): New global variable.
6007         (init_mx, init_mx_once): New functions.
6008         (__gcov_flush): Protect self with a mutex.
6009         (__gcov_fork): Re-initialize mutex after forking.
6010         * unwind-dw2-fde.c: Change condition under which to use
6011         __GTHREAD_MUTEX_INIT_FUNCTION.
6013 2012-03-12  Tristan Gingold  <gingold@adacore.com>
6015         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6016         * config/ia64/t-vms: Likewise.
6018 2012-03-11  Michael Hope  <michael.hope@linaro.org>
6020         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6021         for Thumb-2.
6023 2012-03-07  Walter Lee  <walt@tilera.com>
6025         * config/tilepro/atomic.c: Rename "atomic_" prefix to
6026         "arch_atomic_".
6027         (atomic_xor): Rename and move definition to
6028         config/tilepro/atomic.h.
6029         (atomic_nand): Ditto.
6030         * config/tilepro/atomic.h: Rename "atomic_" prefix to
6031         "arch_atomic_".
6032         (arch_atomic_xor): Move from config/tilepro/atomic.c.
6033         (arch_atomic_nand): Ditto.
6035 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6037         PR target/52507
6038         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6040 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6042         PR target/52505
6043         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6044         from RAM.
6046 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6048         PR target/52461
6049         PR target/52508
6050         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6051         if RAMPZ affects reading from RAM.
6052         (__tablejump_elpm__): Ditto.
6053         (.xload): Ditto.
6054         (__movmemx_hi): Ditto.
6055         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6056         (__do_global_dtors): Ditto.
6057         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6058         (__movmemx_hi): Ditto.
6060 2012-03-05  Richard Henderson  <rth@redhat.com>
6062         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6063         [ARM] (count_trailing_zeros): Use the builtin.
6065 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6067         * soft-fp: Imported from glibc upstream.
6069 2012-02-28  Kai Tietz  <ktietz@redhat.com>
6071         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6072         for mingw-targets as attribute gcc_struct.
6074 2012-02-28  Ian Lance Taylor  <iant@google.com>
6076         * generic-morestack.c (__splitstack_releasecontext): Correct call
6077         to __morestack_release_segments.
6079 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6081         PR target/52390
6082         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6083         for __linux__ when removing signals from __morestack_fullmask.
6085 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
6087         PR target/52261
6088         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6090 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6092         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6093         instead of HAVE_INITFINI_ARRAY.
6094         * config/ia64/crtend.S: Likewise.
6096 2012-02-20  Kai Tietz  <ktietz@redhat.com>
6098         PR libstdc++/52300
6099         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6101         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6102         to w32-unwind.h header.
6104 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6106         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6107         (mips*-*-linux*): Remove t-slibgcc-libgcc.
6108         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6109         * config/mips/mips16.S (__mips16_rdhwr): Delete.
6111 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6113         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6115 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6117         PR libitm/52220
6118         * config/darwin-crt-tm.c: Correct typo.
6120 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6121             Patrick Marlier  <patrick.marlier@gmail.com>
6123         PR libitm/52220
6124         * config/darwin-crt-tm.c: Generate dummy functions.
6126 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6127             Patrick Marlier  <patrick.marlier@gmail.com>
6129         PR libitm/52042
6130         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6131         (__doTMRegistrations): Call it.
6132         (__doTMdeRegistrations): Likewise.
6134 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6135             Anatoly Sokolov  <aesok@post.ru>
6136             Eric Weddington  <eric.weddington@atmel.com>
6138         PR target/52261
6139         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6140         (__epilogue_restores__): Ditto.
6142 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6144         PR target/51921
6145         PR target/52205
6146         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6147         Solaris 11 and slightly reformat.
6148         (sparc_is_sighandler): Likewise.
6150 2012-02-14  Walter Lee  <walt@tilera.com>
6152         * config.host: Handle tilegx and tilepro.
6153         * config/tilegx/sfp-machine.h: New file.
6154         * config/tilegx/sfp-machine32.h: New file.
6155         * config/tilegx/sfp-machine64.h: New file.
6156         * config/tilegx/t-crtstuff: New file.
6157         * config/tilegx/t-softfp: New file.
6158         * config/tilegx/t-tilegx: New file.
6159         * config/tilepro/atomic.c: New file.
6160         * config/tilepro/atomic.h: New file.
6161         * config/tilepro/linux-unwind.h: New file.
6162         * config/tilepro/sfp-machine.h: New file.
6163         * config/tilepro/softdivide.c: New file.
6164         * config/tilepro/softmpy.S: New file.
6165         * config/tilepro/t-crtstuff: New file.
6166         * config/tilepro/t-tilepro: New file.
6168 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6170         PR libstdc++/51296
6171         PR libstdc++/51906
6172         * gthr-posix.h: Allow static initializer macros to be disabled.
6173         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6175 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6177         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6178         Add t-slibgcc-libgcc to tmake_file.
6179         * config/mips/libgcc-mips16.ver: Revert previous patch.
6180         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6182 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6183             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6185         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6186         * config/cr16/crti.S: New file.
6187         * config/cr16/crtlibid.S: New file.
6188         * config/cr16/crtn.S: New file.
6189         * config/cr16/lib1funcs.S: New file.
6190         * config/cr16/t-cr16: New file.
6191         * config/cr16/t-crtlibid: New file.
6192         * config/cr16/unwind-dw2.h: New file.
6193         * config/cr16/unwind-cr16.c: New file.
6194         * config/cr16/divmodhi3.c: New file.
6196 2012-01-25  Alan Modra  <amodra@gmail.com>
6198         * config/rs6000/t-linux64: Delete.  Move..
6199         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6200         * config/rs6000/t-linux: ..and libgcc flags to here.
6202 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6204         * config.host (i[34567]86-*-interix3*):
6205         Change triplet to i[34567]86-*-interix[3-9]*.
6206         * configure: Regenerate.
6208 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6209             Richard Sandiford  <rdsandiford@googlemail.com>
6211         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6212         * config/mips/mips16.S (__mips16_rdhwr): New function.
6213         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6215 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6217         * libgcov.c (__gcov_init): Ignore objects with no functions.
6219 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6221         PR target/49868
6222         Extend __pgmx semantics to linearize memory.
6223         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6224         * config/avr/lib1funcs.S (__xload_1): New function.
6225         (__movmemx_qi, __movmemx_hi): New functions.
6226         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6227         semantics.
6229 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6231         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6232         purported sigacthandler address isn't null before dereferencing it.
6233         (sparc_is_sighandler): Likewise.
6235 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6237         PR ada/41929
6238         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6239         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6240         (sparc_is_sighandler): Likewise.
6241         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6243 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6245         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6246         compatibility thunks...
6247         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6248         (crtbeginS.o, crtendS.o): ... and these to ...
6249         * config/ia64/t-ia64-elf: ... this new file.
6250         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6251         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6253 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6255         * configure: Regenerate.
6256         * config/s390/t-crtstuff: Remove -fPIC.
6258 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6260         PR bootstrap/51006
6261         * enable-execute-stack-mprotect.c (getpagesize): Do not define
6262         for NetBSD.
6264 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6266         PR target/51345
6267         * config/avr/lib1funcs.S: Remove FIXME comments.
6268         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6270 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6272         Implement light-weight DImode support.
6273         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6274         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6275         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6276         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6278 2011-12-30  Nathan Sidwell  <nathan@acm.org>
6280         * libgcov.c (gcov_crc32): Remove global var.
6281         (free_fn_data): New function.
6282         (buffer_fn_data): Pass in filename, more robust error recovery.
6283         (crc32_unsigned): New function.
6284         (gcov_exit): More robust detection of new program. More robust
6285         error recovery.
6286         (__gcov_init): Do not update program's crc here.
6288 2011-12-21  Tristan Gingold  <gingold@adacore.com>
6290         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6292 2011-12-21  Ian Lance Taylor  <iant@google.com>
6294         * config/i386/morestack.S: Simplify CFI opcodes throughout.
6296 2011-12-20  Ian Lance Taylor  <iant@google.com>
6298         * config/i386/morestack.S (__morestack_non_split): If there is
6299         enough stack space already, don't split.  Ask for more stack space
6300         than we required.
6302 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
6304         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6305         `sys/sdt.h'.
6306         (_Unwind_DebugHook): New function.
6307         (uw_restore_core_regs): New define.
6308         (unwind_phase2): Use uw_restore_core_regs instead of
6309         restore_core_regs.
6310         (unwind_phase2_forced): Likewise.
6311         (__gnu_Unwind_Resume): Likewise.
6313 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
6315         * config/alpha/linux-unwind.h: Update copyright years.
6316         (MD_FROB_UPDATE_CONTEXT): New define.
6317         (alpha_frob_update_context): New function.
6319 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
6321         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6322         tmake_file rather replacing it.
6324 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
6326         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6327         function is not used for PPC64.
6328         (save_world): Amend comments.  Update the VRsave mask to reflect the
6329         saved regs.
6330         (rest_world): Update comments, do not  clobber r10, do not use r8.
6331         (eh_rest_world_r10): Amend comments, do not use r8.
6332         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6333         no longer used, move restore of CR and target address to the end of
6334         the routine.
6336 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
6338         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6339         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6341 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
6343         PR target/49313
6344         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6345         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6347 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
6349         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6351 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
6353         PR target/49313
6354         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6355         * config/avr/lib1funcs.S (__muldi3): New function.
6357 2011-12-06  Andrew Pinski  <apinski@cavium.com>
6359         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6360         size of func_ptr.
6361         (__frame_dummy_init_array_entry): Likewise.
6363 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
6365         Forward-port from gcc-4_6-branch r181936 2011-12-02.
6367         PR target/51345
6368         PR target/51002
6369         * config/avr/lib1funcs.S (__prologue_saves__,
6370         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6371         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
6373 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
6375         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6377 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6379         PR other/51272
6380         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6381         (_ITM_deregisterTMCloneTable): Likewise.
6382         (__register_frame_info): Fix unused warning.
6383         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6384         pthread_default_stacksize_np): Likewise.
6385         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6387 2011-11-29  DJ Delorie  <dj@redhat.com>
6389         * config.host (rl78-*-elf): New case.
6390         * config/rl78: New directory for the Renesas RL78.
6392 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
6394         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
6395         formatting.
6397 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6399         PR other/51022
6400         * config/rs6000/t-savresfgpr: New file.
6401         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6402         $(srcdir)/config/rs6000/eabi.S.
6403         * config/rs6000/t-ppccomm-ldbl: Remove.
6404         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6405         tmake_file.
6406         (powerpc-*-eabispe*): Likewise.
6407         (powerpc-*-eabi*): Likewise.
6408         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6409         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6410         to tmake_file, remove rs6000/t-ppccomm-ldbl.
6411         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6412         tmake_file.
6413         (powerpc-*-eabisim*): Likewise.
6414         (powerpc-*-elf*): Likewise.
6415         (powerpc-*-eabialtivec*): Likewise.
6416         (powerpc-xilinx-eabi*): Likewise.
6417         (powerpc-*-rtems*): Likewise.
6418         (powerpcle-*-elf*): Likewise.
6419         (powerpcle-*-eabisim*): Likewise.
6420         (powerpcle-*-eabi*): Likewise.
6422 2011-11-27  Ian Lance Taylor  <iant@google.com>
6424         * generic-morestack.c (__splitstack_find): Check for NULL old
6425         stack value.
6426         (__splitstack_resetcontext): New function.
6427         (__splitstack_releasecontext): New function.
6428         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6430 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6432         * config/darwin-crt-tm.c: Correct comments, use correct licence.
6434 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6436         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6438 2011-11-26  Richard Henderson  <rth@redhat.com>
6440         * config/m68k/linux-atomic.c: New file.
6441         * config/m68k/t-linux: New file.
6442         * config.host (m68k-uclinux, m68k-linux): Use it.
6444 2011-11-26  Richard Henderson  <rth@redhat.com>
6446         * crtstuff.c (__TMC_LIST__): Mark used not unused.
6447         (__TMC_END__): Only declare if hidden is available; in the definition,
6448         if hidden is unavailable add a null record.
6449         (deregister_tm_clones, register_tm_clones): New.
6450         (__do_global_dtors_aux, frame_dummy): Use them.
6451         (__do_global_dtors, __do_global_ctors_1): Likewise.
6453 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
6455         * config/darwin-crt-tm.c: New file.
6456         * config.host (darwin): Build crttms.o crttme.o to provide
6457         startup and shutdown for tm clones.
6458         * config/t-darwin (crttms.o): New build rule.
6459         (crttme.o): Likewise.
6461 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
6463         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6464         et al.
6466 2011-11-21  Richard Henderson  <rth@redhat.com>
6468         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6469         (__TMC_LIST__, __TMC_END__): New.
6470         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6471         (__do_global_dtors): Likewise.
6472         (frame_dummy): Call _ITM_registerTMCloneTable.
6473         (__do_global_ctors_1): Likewise.
6475 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6477         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6478         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6479         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6480         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6481         * config/i386/t-darwin64: Remove.
6482         * config/sh/t-netbsd (LIB2ADD): Remove.
6484 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
6486         PR target/49313
6487         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6488         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6489         * config/avr/lib1funcs.S (wmov): New assembler macro.
6490         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6491         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6492         (__udivmod64): New function.
6493         (__negdi2): New function.
6495 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
6497         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6498         *-*-freebsd*aout*): Remove.
6500 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6502         * static-object.mk (c_flags-$o): Save c_flags.
6503         ($(base)$(objext)): Use it.
6505 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6507         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6509 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6511         PR target/49868
6512         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6513         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6514         New functions.
6516 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6518         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6519         functions.
6520         (aeabi_uidivmod): Likewise.
6521         (umodsi3): Likewise.
6522         (divsi3): Likewise.
6523         (aeabi_idivmod): Likewise.
6524         (modsi3): Likewise.
6526 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6528         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6530 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6532         PR target/49868
6533         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6534         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6536 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6538         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6539         tmake_file list.
6540         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6541         * config/pa/t-stublib64: Delete.
6543 2011-11-12  Richard Henderson  <rth@redhat.com>
6545         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6546         cast the pointer argument to _Unwind_SetGRPtr.
6548 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6550         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6552 2011-11-09  Ian Lance Taylor  <iant@google.com>
6554         * generic-morestack.c: Include <string.h>.
6555         (uintptr_type): Define.
6556         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6557         extra array by 1.
6558         (allocate_segment): Set prev field to NULL.  Don't set
6559         __morestack_current_segment or __morestack_segments.
6560         (__generic_morestack): Update current->prev and *pp after calling
6561         allocate_segment.
6562         (__morestack_block_signals): Don't do anything if
6563         dont_block_signals is set.
6564         (__morestack_unblock_signals): Likewise.
6565         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6566         uintptr_type.
6567         (__splitstack_block_signals): New function.
6568         (enum __splitstack_content_offsets): Define.
6569         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6570         (__splitstack_makecontext): New function.
6571         (__splitstack_block_signals_context): New function.
6572         (__splitstack_find_context): New function.
6573         * config/i386/morestack.S (__morestack_get_guard): New function.
6574         (__morestack_set_guard, __morestack_make_guard): New functions.
6575         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6577 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6579         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6580         (i[34567]86-*-mingw*): ... here.
6581         (x86_64-*-mingw*): ... here.
6583 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6585         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6587 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6589         * libgcov.c (struct gcov_fn_buffer): New struct.
6590         (buffer_fn_data): New helper.
6591         (gcov_exit): Rework for new gcov data structures.
6593 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6595         PR target/49313
6596         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6598 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6600         * config.host (tmake_file): Correct comment.
6601         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6602         t-libgcc-pic.
6603         (bfin*-uclinux*): Likewise.
6604         (bfin*-linux-uclibc*): Likewise.
6605         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6607         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6608         assigning.
6609         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6610         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6611         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6612         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6613         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6614         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6615         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6616         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6617         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6618         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6619         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6620         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6621         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6623         * config/bfin/t-elf: Remove.
6624         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6626 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6628         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6629         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6630         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6631         (lm32-*-elf*): ... this.
6632         (lm32-*-rtems*): ... and this.
6633         Add to tmake_file.
6634         (m32r-*-rtems*): Add to tmake_file.
6635         (moxie-*-rtems*): Likewise.
6636         (sparc-*-rtems*): Likewise.
6637         Remove t-rtems from tmake_file.
6638         (sparc64-*-rtems*): Likewise.
6639         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6640         instead.
6642 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6644         PR bootstrap/50982
6645         * config/gthr-posix.h: Move ...
6646         * gthr-posix.h: ... here.
6647         * config/gthr-lynx.h: Reflect this.
6648         * config/gthr-vxworks.h: Likewise.
6649         * config/rs6000/gthr-aix.h: Likewise.
6650         * configure.ac (target_thread_file): Likewise.
6651         * configure: Regenerate.
6653 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6655         * config.host (arm*-*-rtemseabi*): New target.
6657 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6659         PR other/50991
6660         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6661         extra-parts.
6663 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6665         * config.host (epiphany-*-elf*): New configuration.
6666         * config/epiphany: New Directory.
6668 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6670         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6671         * config/avr/t-rtems: New.
6672         Filter out _exit from LIB1ASMFUNCS.
6674 2011-11-04  David S. Miller  <davem@davemloft.net>
6676         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6677         * configure: Rebuild.
6679 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6681         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6682         variable.
6684 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6686         PR target/50931
6687         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6688         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6690 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6692         PR target/50989
6693         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6695 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6697         * config/c6x/t-elf (LIB2ADDEH): Set.
6698         * config/c6x/t-c6x-elf: Remove.
6700 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6702         * config/i386/sol2-ci.S: Rename to ...
6703         * config/i386/crti.S: ... this.
6704         * config/i386/sol2-cn.S: Rename to ...
6705         * config/i386/crtn.S: ... this.
6706         * config/sparc/sol2-ci.S: Rename to ...
6707         * config/sparc/crti.S: ... this.
6708         * config/sparc/sol2-cn.S: Rename to ...
6709         * config/sparc/crtn.S: ... this.
6710         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6711         (crti.o, crtn.o): Remove.
6713 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6715         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6717 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6719         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6721 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6723         * config.host (crisv32-*-none, cris-*-none): Remove.
6724         (crisv32-*-elf): Append to tmake_file, don't just set it.
6725         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6727 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6729         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6730         (ecrtn$(objext)): Likewise.
6731         (ncrti$(objext)): Likewise.
6732         (ncrtn$(objext)): Likewise.
6734 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6736         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6738 2011-11-02  David S. Miller  <davem@davemloft.net>
6740         * configure.ac: Set host_address on sparc too.
6741         * configure: Regenerate.
6742         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6743         based upon host_address.
6744         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6746 2011-11-02  Jason Merrill  <jason@redhat.com>
6748         * config/rs6000/t-ppccomm: Add missing \.
6750 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6752         * gthr-single.h, gthr.h: New files.
6753         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6754         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6755         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6756         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6757         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6758         * configure.ac (thread_header): New variable.
6759         Set it depending on target_thread_file.
6760         (gthr-default.h): Link from $thread_header.
6761         * configure: Regenerate.
6762         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6764 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6766         * configure.ac (tm_file_): New variable.
6767         Determine from tm_file.
6768         (tm_file, tm_defines): Substitute.
6769         * configure: Regenerate.
6770         * mkheader.sh: New file.
6771         * Makefile.in (clean): Remove libgcc_tm.h.
6772         ($(objects)): Depend on libgcc_tm.h.
6773         (libgcc_tm_defines, libgcc_tm_file): New variables.
6774         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6775         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6776         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6777         ($(extra-parts)): Depend on libgcc_tm.h.
6778         * config.host (tm_defines, tm_file): New variable.
6779         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6780         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6781         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6782         (avr-*-rtems*): Likewise.
6783         (avr-*-*): Likewise.
6784         (frv-*-elf): Likewise.
6785         (frv-*-*linux*): Likewise.
6786         (h8300-*-rtems*): Likewise.
6787         (h8300-*-elf*): Likewise.
6788         (i[34567]86-*-darwin*): Likewise.
6789         (x86_64-*-darwin*): Likewise.
6790         (rx-*-elf): Likewise.
6791         (tic6x-*-uclinux): Likewise.
6792         (tic6x-*-elf): Likewise.
6793         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6794         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6795         * config/i386/cygming-crtbegin.c: Likewise.
6796         * config/i386/cygming-crtend.c: Likewise.
6797         * config/ia64/fde-vms.c: Likewise.
6798         * config/ia64/unwind-ia64.c: Likewise.
6799         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6800         * config/rs6000/darwin-fallback.c: Likewise.
6801         * config/stormy16/lib2funcs.c: Likewise.
6802         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6803         * crtstuff.c: Likewise.
6804         * dfp-bit.h: Likewise.
6805         * emutls.c: Likewise.
6806         * fixed-bit.c: Likewise.
6807         * fp-bit.c: Likewise.
6808         * generic-morestack-thread.c: Likewise.
6809         * generic-morestack.c: Likewise.
6810         * libgcc2.c: Likewise.
6811         * libgcov.c: Likewise.
6812         * unwind-dw2-fde-dip.c: Likewise.
6813         * unwind-dw2-fde.c: Likewise.
6814         * unwind-dw2.c: Likewise.
6815         * unwind-sjlj.c: Likewise.
6817 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6819         * configure.ac: Include ../config/picflag.m4.
6820         (GCC_PICFLAG): Call it.
6821         Substitute.
6822         * configure: Regenerate.
6823         * Makefile.in (gcc_srcdir): Remove.
6824         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6825         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6826         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6827         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6828         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6829         Use $<.
6830         Remove comment.
6831         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6832         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6833         to refer to libgcc2.c.
6834         Use $<.
6835         * config/darwin-64.c: New file.
6836         * config/darwin-crt3.c: Remove comment.
6837         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6838         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6839         config/udivmodsi4.c: New files.
6840         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6841         config/memset.c: New files.
6842         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6843         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6844         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6845         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6846         * config/t-openbsd-thread: New file.
6847         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6848         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6849         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6850         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6851         qrnnd.S.
6852         Adapt filename.
6853         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6854         to refer to gthr-posix.c.
6855         * config/alpha/t-vms (LIB2ADD): Set.
6856         * config/alpha/vms-gcc_shell_handler.c: New file.
6857         * config/arm/bpabi.c, config/arm/fp16.c,
6858         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6859         config/arm/unaligned-funcs.c: New files.
6860         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6861         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6862         * config/arm/t-linux: Likewise.
6863         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6864         * config/arm/t-netbsd: New file.
6865         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6866         * config/arm/t-symbian (LIB2ADD_ST): Set.
6867         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6868         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6869         * config/bfin/t-elf: New file.
6870         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6871         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6872         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6873         config/c6x/ltf.c: New files.
6874         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6875         (HOST_LIBGCC2_CFLAGS): Set.
6876         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6877         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6878         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6879         New files.
6880         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6881         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6882         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6883         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6884         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6885         files.
6886         * config/frv/t-frv (LIB2ADD): Set.
6887         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6888         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6889         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6890         config/h8300/popcounthi2.c: New files.
6891         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6892         * config/i386/gthr-win32.c: New file.
6893         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6894         * config/i386/t-cygwin: Likewise.
6895         * config/i386/t-darwin, config/i386/t-darwin64,
6896         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6897         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6898         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6899         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6900         * config/ia64/quadlib.c: New file.
6901         * config/ia64/t-hpux (LIB2ADD): Set.
6902         * config/ia64/t-ia64: Add comment.
6903         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6904         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6905         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6906         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6907         * config/m32c/t-m32c (LIB2ADD): Set.
6908         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6909         * config/m32r/t-m32r: Likewise.
6910         * config/m68k/fpgnulib.c: New file.
6911         * config/m68k/t-floatlib (LIB2ADD): Set.
6912         (xfgnulib.c): New target.
6913         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6914         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6915         * config/mep/t-mep (LIB2ADD): Set.
6916         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6917         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6918         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6919         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6920         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6921         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6922         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6923         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6924         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6925         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6926         New files.
6927         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6928         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6929         * config/pa/fptr.c, config/pa/lib2funcs.S,
6930         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6931         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6932         (LIB2ADD, LIB2ADD_ST): Set.
6933         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6934         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6935         Set.
6936         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6937         * config/pdp11/t-pdp11: New file.
6938         * config/picochip/libgccExtras/adddi3.S,
6939         config/picochip/libgccExtras/ashlsi3.S,
6940         config/picochip/libgccExtras/ashrsi3.S,
6941         config/picochip/libgccExtras/clzsi2.S,
6942         config/picochip/libgccExtras/cmpsi2.S,
6943         config/picochip/libgccExtras/divmod15.S,
6944         config/picochip/libgccExtras/divmodhi4.S,
6945         config/picochip/libgccExtras/divmodsi4.S,
6946         config/picochip/libgccExtras/lshrsi3.S,
6947         config/picochip/libgccExtras/parityhi2.S,
6948         config/picochip/libgccExtras/popcounthi2.S,
6949         config/picochip/libgccExtras/subdi3.S,
6950         config/picochip/libgccExtras/ucmpsi2.S,
6951         config/picochip/libgccExtras/udivmodhi4.S,
6952         config/picochip/libgccExtras/udivmodsi4.S: New files.
6953         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6954         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6955         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6956         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6957         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6958         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6959         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6960         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6961         files.
6962         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6963         (HOST_LIBGCC2_CFLAGS): Set.
6964         * config/rs6000/t-darwin64: New file.
6965         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6966         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6967         * config/rs6000/t-ppccomm (LIB2ADD): Add
6968         $(srcdir)/config/rs6000/tramp.S.
6969         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6970         Add  $(srcdir)/config/rs6000/eabi.S.
6971         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6972         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6973         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6974         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6975         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6976         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6977         * config/rs6000/tramp.S: New file.
6978         * config/s390/t-tpf: Remove.
6979         * config/sh/linux-atomic.S: New file.
6980         * config/sh/t-linux (LIB2ADD): Set.
6981         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6982         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6983         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6984         to unwind-dw2.c.
6985         (HOST_LIBGCC2_CFLAGS): Set.
6986         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6987         * config/spu/divmodti4.c, config/spu/divv2df3.c,
6988         config/spu/float_disf.c, config/spu/float_unsdidf.c,
6989         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6990         config/spu/mfc_multi_tag_release.c,
6991         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6992         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6993         config/spu/multi3.c: New files.
6994         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6995         (HOST_LIBGCC2_CFLAGS): Set.
6996         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6997         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6998         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6999         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7000         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7001         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7002         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7003         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7004         config/stormy16/umodsi3.c: New files.
7005         * config/xtensa/lib2funcs.S: New file.
7006         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7007         * config/xtensa/t-xtensa (LIB2ADD): Set.
7008         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7009         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7010         Add t-freebsd-thread to tmake_file for posix threads.
7011         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7012         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7013         (*-*-lynxos*): Likewise.
7014         (*-*-netbsd*): Likewise.
7015         (*-*-openbsd*): Likewise.
7016         Add t-openbsd-thread to tmake_file for posix threads.
7017         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7018         (*-*-vxworks*): Set tmake_file.
7019         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7020         (alpha*-*-freebsd*): Likewise.
7021         (alpha*-*-netbsd*): Likewise.
7022         (alpha*-*-openbsd*): Likewise.
7023         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7024         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7025         (alpha*-dec-*vms*): Likewise.
7026         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7027         (bfin*-elf*): Add bfin/t-elf to tmake_file.
7028         (bfin*-uclinux*): Likewise.
7029         (bfin*-linux-uclibc*): Likewise.
7030         (crisv32-*-elf): Add cris/t-cris to tmake_file.
7031         (crisv32-*-none): Likewise.
7032         (cris-*-elf): Likewise.
7033         (cris-*-none): Likewise.
7034         (cris-*-linux*, crisv32-*-linux*): Likewise.
7035         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7036         tmake_file.
7037         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7038         tmake_file.
7039         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7040         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7041         (x86_64-*-elf*): Likewise.
7042         (i[34567]86-*-nto-qnx*): Likewise.
7043         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7044         win32 threads.
7045         (x86_64-*-mingw*): Likewise.
7046         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7047         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7048         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7049         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7050         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7051         tmake_file.
7052         (mipsisa64sr71k-*-elf*): Likewise.
7053         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7054         (mips-*-elf*, mipsel-*-elf*): Likewise.
7055         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7056         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7057         (mips*-*-rtems*): Likewise.
7058         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7059         to tmake_file.
7060         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7061         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7062         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7063         (spu-*-elf*): Likewise.
7064         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7066 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7068         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7069         $(srcdir) to refer to $(LIB1ASMSRC).
7070         Use $<.
7071         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7072         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7073         config/arm/lib1funcs.S: New files.
7074         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7075         * config/arm/t-arm: New file.
7076         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7077         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7078         config/arm/t-strongarm-elf: New files.
7079         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7080         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7081         * config/avr/lib1funcs.S: New file.
7082         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7083         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7084         * config/c6x/lib1funcs.S: New file.
7085         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7086         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7087         * config/frv/lib1funcs.S: New file.
7088         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7089         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7090         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7091         * config/ia64/__divxf3.asm: Rename to ...
7092         * config/ia64/__divxf3.S: ... this.
7093         Adapt lib1funcs.asm filename.
7094         * config/ia64/_fixtfdi.asm: Rename to ...
7095         * config/ia64/_fixtfdi.S: ... this.
7096         Adapt lib1funcs.asm filename.
7097         * config/ia64/_fixunstfdi.asm: Rename to ...
7098         * config/ia64/_fixunstfdi.S: ... this.
7099         Adapt lib1funcs.asm filename.
7100         * config/ia64/_floatditf.asm: Rename to ...
7101         * config/ia64/_floatditf.S: ... this.
7102         Adapt lib1funcs.asm filename.
7103         * config/ia64/lib1funcs.S: New file.
7104         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7105         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7106         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7107         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7108         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7109         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7110         * config/mep/lib1funcs.S: New file.
7111         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7112         * config/mips/mips16.S: New file.
7113         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7114         * config/pa/milli64.S: New file.
7115         * config/pa/t-linux, config/pa/t-linux64: New files.
7116         * config/picochip/lib1funcs.S: New file.
7117         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7118         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7119         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7120         * config/sh/t-netbsd: New file.
7121         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7122         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7123         * config/sh/t-sh64: New file.
7124         * config/sparc/lb1spc.S: New file.
7125         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7126         filename.
7127         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7128         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7129         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7130         config/xtensa/lib1funcs.S: New files.
7131         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7132         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7133         tmake_file.
7134         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7135         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7136         (arm*-*-linux*): Likewise.
7137         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7138         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7139         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7140         (arm*-*-ecos-elf): Likewise.
7141         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7142         (arm*-*-rtems*): Likewise.
7143         (arm*-*-elf): Likewise.
7144         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7145         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7146         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7147         (bfin*-uclinux*): Likewise.
7148         (bfin*-linux-uclibc*): Likewise.
7149         (bfin*-rtems*): Likewise.
7150         (bfin*-*): Likewise.
7151         (fido-*-elf): Merge into m68k-*-elf*.
7152         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7153         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7154         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7155         (h8300-*-elf*): Likewise.
7156         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7157         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7158         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7159         (i[34567]86-*-mingw*): Likewise.
7160         (x86_64-*-mingw*): Likewise.
7161         (i[34567]86-*-interix3*): Likewise.
7162         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7163         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7164         (m68k-*-elf*): Also handle fido-*-elf.
7165         Add m68k/t-floatlib to tmake_file.
7166         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7167         (m68k-*-linux*): Likewise.
7168         (m68k-*-rtems*): Likewise.
7169         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7170         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7171         sh64*-*-*.
7172         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7173         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7174         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7175         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7176         sh/t-netbsd to tmake_file.
7177         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7178         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7179         (sh-wrs-vxworks): Likewise.
7180         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7181         *-leon[3-9]*.
7182         (v850*-*-*): Add v850/t-v850 to tmake_file.
7183         (vax-*-linux*): Add vax/t-linux to tmake_file.
7184         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7186 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7188         * crtstuff.c: New file.
7189         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7190         (CRTSTUFF_T_CFLAGS): Define.
7191         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7192         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7193         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7194         crtstuff.c.
7195         Use $<.
7196         (crtbeginT.o): Use $(objext).
7197         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7198         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7199         (gcc-extra-parts): Remove.
7200         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7201         Set extra_parts.
7202         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7203         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7204         Add t-crtstuff-pic to tmake_file.
7205         (*-*-lynxos*): New case.
7206         Set tmake_file, extra_parts.
7207         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7208         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7209         *-*-netbsdelf[2-9]*.
7210         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7211         (*-*-rtems*): Set extra_parts.
7212         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7213         (*-*-uclinux*): New case.
7214         Set extra_parts.
7215         (*-*-vms*): New case.
7216         Set tmake_file, extra_parts.
7217         (*-*-elf): Set extra_parts.
7218         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7219         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7220         vms/t-vms64.
7221         Set extra_parts.
7222         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7223         Set extra_parts.
7224         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7225         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7226         (arm-wrs-vxworks): Append to tmake_file.
7227         Set extra_parts.
7228         (arm*-*-uclinux*): Set extra_parts.
7229         (arm*-*-ecos-elf): Likewise.
7230         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7231         arm*-*-eabi*.
7232         (arm*-*-rtems*): Set extra_parts.
7233         (arm*-*-elf): Likewise.
7234         (avr-*-rtems*): Clear extra_parts.
7235         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7236         Set extra_parts.
7237         (bfin*-uclinux*): Likewise.
7238         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7239         (bfin*-rtems*): Append to tmake_file.
7240         Set extra_parts.
7241         (bfin*-*): Likewise.
7242         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7243         (crisv32-*-elf): ... this.
7244         (crisv32-*-none): ... this.
7245         (cris-*-elf, cris-*-none): New cases.
7246         Add cris/t-elfmulti to tmake_file.
7247         (fr30-*-elf): Append to tmake_file.
7248         Set extra_parts.
7249         (frv-*-elf): Append to tmake_file, add frv/t-frv.
7250         Set extra_parts.
7251         (h8300-*-rtems*): Append to tmake_file.
7252         Set extra_parts.
7253         (h8300-*-elf*): Likewise.
7254         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7255         Set extra_parts.
7256         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7257         Set extra_parts.
7258         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7259         (x86_64-*-elf*): Likewise.
7260         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7261         (x86_64-*-freebsd*): Likewise.
7262         (x86_64-*-netbsd*): Likewise.
7263         (i[34567]86-*-linux*): Likewise.
7264         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7265         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7266         (x86_64-*-linux*): Likewise.
7267         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7268         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7269         tmake_file.
7270         Set extra_parts.
7271         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7272         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7273         Append to extra_parts, remove crtbegin.o, crtend.o.
7274         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7275         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7276         crtend.o, crtbeginS.o, crtendS.o.
7277         (ia64*-*-linux*): Comment extra_parts.
7278         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7279         Set extra_parts.
7280         (iq2000*-*-elf*): Clear extra_parts.
7281         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7282         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7283         (m32r-*-elf*, m32r-*-rtems*): Split off ...
7284         (m32r-*-rtems*): ... this.
7285         Add m32r/t-m32r to tmake_file.
7286         (m68k-*-elf*): Add t-crtin to tmake_file.
7287         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7288         (mcore-*-elf): Likewise.
7289         (microblaze*-*-*): Set extra_parts.
7290         (mips*-sde-elf*): New case.
7291         Set tmake_file, extra_parts.
7292         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7293         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7294         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7295         tmake_file.
7296         Set extra_parts.
7297         (mipsisa64sr71k-*-elf*): Likewise.
7298         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7299         (mips-*-elf*, mipsel-*-elf*): Likewise.
7300         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7301         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7302         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
7303         (mips*-*-rtems*): Likewise.
7304         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7305         (moxie-*-*): Split into ...
7306         (moxie-*-elf, moxie-*-uclinux*): ... this.
7307         Add to extra_parts, remove crtbegin.o, crtend.o.
7308         (moxie-*-rtems*): New case.
7309         Set tmake_file.
7310         Clear extra_parts.
7311         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7312         Set extra_parts.
7313         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7314         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7315         tmake_file.
7316         Set extra_parts.
7317         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7318         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7319         Set extra_parts.
7320         (powerpc-*-eabisim*): Likewise.
7321         (powerpc-*-elf*): Likewise.
7322         (powerpc-*-eabialtivec*): Likewise.
7323         (powerpc-xilinx-eabi*): Likewise.
7324         (powerpc-*-eabi*): Likewise.
7325         (powerpc-*-rtems*): Likewise.
7326         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7327         tmake_file.
7328         Set extra_parts.
7329         (powerpc-*-lynxos*): Add to tmake_file.
7330         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7331         rs6000/t-crtstuff, t-crtstuff-pic.
7332         Set extra_parts.
7333         (powerpcle-*-eabisim*): Likewise.
7334         (powerpcle-*-eabi*): Likewise.
7335         (rx-*-elf): Remove extra_parts.
7336         (s390x-ibm-tpf*): Set extra_parts.
7337         (score-*-elf): Set extra_parts.
7338         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7339         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7340         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7341         (sh64l*-*-netbsd*): Split into ...
7342         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7343         Add t-crtstuff-pic to tmake_file.
7344         Set extra_parts.
7345         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7346         Set extra_parts.
7347         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7348         (sparc-*-elf*): Remove t-crtin from tmake_file.
7349         Add to extra_parts, remove crtbegin.o, crtend.o.
7350         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7351         (sparc64-*-linux*): Likewise.
7352         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7353         Add to extra_parts, remove crtbegin.o, crtend.o.
7354         (sparc64-*-elf*): Remove t-crtin from tmake_file.
7355         Add to extra_parts, remove crtbegin.o, crtend.o.
7356         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7357         Add to extra_parts, remove crtbegin.o, crtend.o.
7358         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7359         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7360         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7361         Set extra_parts.
7362         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7363         Set extra_parts.
7364         (tic6x-*-*): Change to ...
7365         (tic6x-*-elf): ... this.
7366         Set extra_parts.
7367         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7368         Set extra_parts.
7369         (am33_2.0-*-linux*): Add comment.
7370         (mep*-*-*): Add mep/t-mep to tmake_file.
7371         Set extra_parts.
7372         * config/alpha/t-vms: New file.
7373         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7374         * config/arm/crti.S, config/arm/crtn.S: New files.
7375         * config/bfin/crti.S, config/bfin/crtn.S: New files.
7376         * config/bfin/crtlibid.S: New file.
7377         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7378         * config/c6x/crti.S, config/c6x/crtn.S: New files.
7379         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7380         (crti.o, crtin.o): New rules.
7381         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7382         * config/c6x/t-uclinux: New file.
7383         * config/cris/t-elfmulti: New file.
7384         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7385         * config/fr30/crti.S, config/fr30/crtn.S: New files.
7386         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7387         * config/frv/t-frv: New file.
7388         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7389         * config/h8300/crti.S, config/h8300/crtn.S: New files.
7390         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7391         New files.
7392         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7393         refer to cygming-crtbegin.c, cygming-crtend.c.
7394         Use $<.
7395         * config/i386/t-nto: New file.
7396         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7397         * config/ia64/crti.S, config/ia64/crtn.S: New files.
7398         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7399         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7400         Use .S extension.
7401         Use $<.
7402         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7403         (crtinitS.o): New rule.
7404         * config/ia64/vms-crtinit.S: New file.
7405         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7406         * config/m32r/initfini.c: New file.
7407         * config/m32r/t-linux, config/m32r/t-m32r: New files.
7408         * config/m68k/crti.S, config/m68k/crtn.S: New files.
7409         * config/mcore/crti.S, config/mcore/crtn.S: New files.
7410         * config/mep/t-mep: New file.
7411         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7412         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7413         * config/mips/crti.S, config/mips/crtn.S: New files.
7414         * config/mips/t-crtstuff: New file.
7415         * config/mmix/crti.S, config/mmix/crtn.S: New files.
7416         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7417         (CUSTOM_CRTIN): Set.
7418         ($(T)crti.o, $(T)crtn.o): Remove $(T),
7419         dependencies.
7420         Use $(srcdir) to refer to crti.S, crtn.S.
7421         Use .S extension, $<.
7422         * config/moxie/crti.asm: Rename to ...
7423         * config/moxie/crti.S: ... this.
7424         * config/moxie/crtn.asm: Rename to ...
7425         * config/moxie/crtn.S: ... this.
7426         * config/moxie/t-moxie: Remove.
7427         * config/pa/stublib.c: New file.
7428         * config/pa/t-stublib, config/pa/t-stublib64: New files.
7429         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7430         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7431         * config/rs6000/t-crtstuff: New file.
7432         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7433         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7434         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7435         Make output file explicit.
7436         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7437         Make output file explicit.
7438         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7439         Make output file explicit.
7440         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7441         Make output file explicit.
7442         * config/score/crti.S, config/score/crtn.S: New files.
7443         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7444         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7445         files.
7446         * config/sh/t-sh, config/sh/t-superh: New files.
7447         * config/sparc/t-linux64: New file.
7448         * config/spu/cache.S, config/spu/cachemgr.c: New files.
7449         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7450         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7451         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7452         * config/t-crtin: Remove.
7453         * config/t-crtstuff-pic: New file.
7454         * config/t-sol2 (CUSTOM_CRTIN): Set.
7455         (crti.o, crtn.o): New rules.
7456         * config/vms/t-vms: New file.
7457         * config/vms/vms-ucrt0.c: New file.
7458         * config/xtensa/t-elf: New file.
7460 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7462         * Makefile.in (SHLIB_NM_FLAGS): Set.
7463         * mkmap-flat.awk, mkmap-symver.awk: New files.
7464         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7465         exceptions.
7466         * configure: Regenerate.
7467         * config/libgcc-glibc.ver: New file.
7468         * config/libgcc-libsystem.ver: New file.
7469         * config/t-libunwind (SHLIB_LC): Set.
7470         * config/t-linux: New file.
7471         * config/t-slibgcc (INSTALL_SHLIB): New.
7472         (SHLIB_INSTALL): Use it.
7473         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7474         to mkmap-symver.awk.
7475         (SHLIB_MAPFILES): Don't append, adapt pathname.
7476         (SHLIB_VERPFX): Set.
7477         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7478         to mkmap-symver.awk.
7479         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7480         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7481         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7482         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7483         to mkmap-flat.awk.
7484         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7485         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7486         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7487         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7488         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7489         * config/i386/libgcc-darwin.10.4.ver,
7490         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7491         New files.
7492         * config/i386/t-darwin: Remove.
7493         * config/i386/t-darwin64: Likewise.
7494         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7495         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7496         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7497         * config/i386/t-linux: New file.
7498         * config/i386/t-mingw32: New file.
7499         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7500         * config/ia64/t-glibc: Rename to ...
7501         * config/ia64/t-linux: ... this.
7502         (SHLIB_MAPFILES): Set.
7503         * config/ia64/t-glibc-libunwind: Rename to ...
7504         * config/ia64/t-linux-libunwind: ... this.
7505         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7506         * config/ia64/t-slibgcc-hpux: New file.
7507         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7508         * config/m68k/t-slibgcc-elf-ver: New file.
7509         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7510         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7511         to mkmap-flat.awk.
7512         * config/pa/t-slibgcc-hpux: New file.
7513         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7514         files.
7515         * config/rs6000/libgcc-darwin.10.4.ver,
7516         config/rs6000/libgcc-darwin.10.5.ver: New files.
7517         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7518         config/rs6000/libgcc-glibc.ver.
7519         * config/rs6000/libgcc-ppc64.ver: Rename to
7520         config/rs6000/libgcc-ibm-ldouble.ver.
7521         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7522         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7523         * config/rs6000/t-ldbl128: Rename to ...
7524         * config/rs6000/t-linux: ... this.
7525         (SHLIB_MAPFILES): Adapt filename.
7526         * config/rs6000/t-slibgcc-aix: New file.
7527         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7528         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7529         libgcc-excl.ver, libgcc-glibc.ver.
7530         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7531         * config/sparc/libgcc-glibc.ver: New file.
7532         * config/sparc/t-linux: New file.
7533         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7534         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7535         t-slibgcc-elf-ver to tmake_file.
7536         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7537         *-*-freebsd[34].
7538         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7539         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7540         t-slibgcc-elf-ver, t-linux to tmake_file.
7541         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7542         tmake_file.
7543         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7544         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7545         (alpha*-dec-*vms*): Likewise.
7546         (arm*-*-freebsd*): Append to tmake_file.
7547         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7548         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7549         arm*-*-linux-*eabi.
7550         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7551         tmake_file for arm*-*-symbianelf*.
7552         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7553         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7554         cris/t-linux.
7555         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7556         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7557         pa/t-slibgcc-dwarf-ver to tmake_file.
7558         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7559         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7560         (hppa*64*-*-hpux11*): Likewise.
7561         (hppa[12]*-*-hpux11*): Likewise.
7562         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7563         i386/t-crtpc, i386/t-crtfm.
7564         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7565         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7566         to tmake_file.
7567         Add i386/t-cygwin to tmake_file.
7568         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7569         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7570         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7571         to tmake_file.
7572         Add i386/t-mingw32 to tmake_file.
7573         (x86_64-*-mingw*): Likewise.
7574         (ia64*-*-freebsd*): Append to tmake_file.
7575         (ia64*-*-linux*): Append to tmake_file.
7576         Replace ia64/t-glibc by ia64/t-linux.
7577         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7578         system libunwind.
7579         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7580         t-slibgcc-hpux to tmake_file.
7581         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7582         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7583         (m32rle-*-linux*): Likewise.
7584         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7585         sjlj exceptions.
7586         (microblaze*-linux*): New case.
7587         Append to tmake_file, add t-slibgcc-nolc-override.
7588         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7589         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7590         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7591         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7592         rs6000/t-slibgcc-aix to tmake_file.
7593         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7594         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7595         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7596         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7597         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7598         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7599         sh*-*-linux*.
7600         (sparc-*-linux*): Append to tmake_file for *-leon*.
7601         Add sparc/t-linux to tmake_file for non-Leon targets.
7602         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7603         (tic6x-*-uclinux): New case.
7604         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7605         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7606         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7607         (am33_2.0-*-linux*): Append to tmake_file.
7608         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7609         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7610         x86_64-*-kfreebsd*-gnu.
7611         Add i386/t-linux to tmake_file.
7613 2011-10-28  Ian Lance Taylor  <iant@google.com>
7615         * config/i386/morestack.S: Correct CFI information to do proper
7616         returns throughout function.  In 32-bit mode, save %ebx so that it
7617         is restored on unwind.
7619 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7621         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7622         case where B3 isn't the return register.
7624         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7625         logic for doubleword pops.
7627 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7629         * config/rs6000/t-freebsd: Add wildcard.
7631 2011-10-21  Paul Brook  <paul@codesourcery.com>
7633         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7635 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7636             Eric Botcazou  <ebotcazou@adacore.com>
7638         PR target/50737
7639         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7640         fs->signal_frame to 1.
7642 2011-10-07  Ian Lance Taylor  <iant@google.com>
7644         * generic-morestack-thread.c: #include <errno.h>.
7646 2011-10-07  Ian Lance Taylor  <iant@google.com>
7648         PR target/46093
7649         * generic-morestack.c (__generic_morestack): Make sure the segment
7650         is large enough for both the stack frame and the copied
7651         parameters.
7653 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7655         PR bootstrap/49804
7656         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7657         extra_parts.
7659 2011-09-28  Nick Clifton  <nickc@redhat.com>
7661         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7662         64-bit doubles are not enabled.
7663         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7664         and floatunsisf functions.
7666 2011-09-13  Paul Brook  <paul@codesourcery.com>
7668         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7669         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7670         * unwind-arm-common.inc: New file.
7671         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7672         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7673         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7674         * config/c6x/libunwind.S: New file.
7675         * config/c6x/pr-support.c: New file.
7676         * config/c6x/unwind-c6x.c: New file.
7677         * config/c6x/unwind-c6x.h: New file.
7678         * config/c6x/t-c6x-elf: New file.
7680 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7682         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7683         (ASM_DIVZERO): Ditto.
7684         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7686 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7688         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7690 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7692         PR target/50090
7693         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7694         instead of an assembly one.
7696 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7698         PR bootstrap/50047
7699         * Makefile.in (install-unwind_h): Create
7700         $(gcc_objdir)/include/unwind.h atomically.
7702 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7704         * Makefile.in (install-unwind_h): Remove destination file first.
7706 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7708         * sync.c: New file.
7709         * config/mips/t-mips16: New file.
7710         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7711         (mips*-*-linux*): Likewise.
7712         (mips*-sde-elf*): Likewise.
7713         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7714         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7715         Add mips/t-mips16 to tmake_file.
7716         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7717         (mips-*-elf*): Likewise.
7718         (mips64-*-elf*): Likewise.
7719         (mips64orion-*-elf*): Likewise.
7720         (mips*-*-rtems*): Likewise.
7721         (mipstx39-*-elf*): Likewise.
7722         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7723         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7724         LIBGCC_SYNC_CFLAGS.
7725         Use $(srcdir) to refer to sync.c.
7726         Use $<.
7727         ($(libgcc-sync-funcs-o)): Likewise.
7728         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7729         ($(libgcc-sync-funcs-s-o)): Likewise.
7731 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7733         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7734         t-libunwind.
7736 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7738         PR other/48007
7739         * config/i386/value-unwind.h: New.
7741 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7743         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7744         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7745         Add to tmake_file rather than overriding it.
7747 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7749         * config/t-softfp: Remove.
7750         * soft-fp: Moved from ../gcc/config.
7751         * soft-fp/README: Remove t-softfp reference.
7752         * soft-fp/t-softfp: Move to config/t-softfp.
7753         (softfp_machine_header): Remove.
7754         (softfp_file_list): Remove config subdir.
7755         (soft-fp-objects): New variable.
7756         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7757         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7758         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7759         * config/t-softfp-excl: New file.
7760         * config/t-softfp-sfdf: New file.
7761         * config/t-softfp-tf: New file.
7762         * config/no-sfp-machine.h: New file.
7763         * config/arm/sfp-machine.h: New file.
7764         * config/arm/t-softfp: New file.
7765         * config/c6x/sfp-machine.h: New file.
7766         * config/i386/32/t-fprules-softfp: Rename to ...
7767         * config/i386/32/t-softfp: ... this.
7768         (tifunctions, LIB2ADD): Remove.
7769         (softfp_int_modes): Override.
7770         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7771         subdir.
7772         * config/i386/64/eqtf2.c: Likewise.
7773         * config/i386/64/getf2.c: Likewise.
7774         * config/i386/64/letf2.c: Likewise.
7775         * config/ia64/sft-machine.h: New file.
7776         * config/ia64/t-fprules-softfp: Rename to ...
7777         * config/ia64/t-softfp: ... this.
7778         * config/lm32/sfp-machine.h: New file.
7779         * config/moxie/t-moxie-softfp: Remove.
7780         * config/rs6000/ibm-ldouble-format: New file.
7781         * config/rs6000/ibm-ldouble.c: New file.
7782         * config/rs6000/libgcc-ppc-glibc.ver: New file
7783         * config/rs6000/libgcc-ppc64.ver: New file
7784         * config/rs6000/sfp-machine.h: New file.
7785         * config/rs6000/t-freebsd: New file.
7786         * config/rs6000/t-ibm-ldouble: New file.
7787         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7788         libgcc-ppc-glibc.ver.
7789         * config/rs6000/t-linux64: New file.
7790         * config/rs6000/t-ppccomm (LIB2ADD): Add
7791         $(srcdir)/config/rs6000/ibm-ldouble.c.
7792         * config/rs6000/t-ppccomm-ldbl: New file.
7793         * config/score/sfp-machine.h: New file.
7794         * config.host (sfp_machine_header): Explain.
7795         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7796         t-softfp to tmake_file.
7797         (arm*-*-uclinux*): Likewise.
7798         (arm*-*-ecos-elf): Likewise.
7799         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7800         (arm*-*-rtems*): Likewise.
7801         (arm*-*-elf): Likewise.
7802         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7803         in tmake_file.
7804         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7805         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7806         (lm32-*-uclinux*): Likewise.
7807         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7808         t-softfp-excl, t-softfp.
7809         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7810         (powerpc64-*-darwin*): Likewise.
7811         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7812         to tmake_file.
7813         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7814         tmake_file.
7815         (powerpc-*-eabisim*): Likewise.
7816         (powerpc-*-elf*): Likewise.
7817         (powerpc-*-eabialtivec*): Likewise.
7818         (powerpc-xilinx-eabi*): Likewise.
7819         (powerpc-*-rtems*): Likewise.
7820         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7821         t-softfp-excl, t-softfp to tmake_file.
7822         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7823         rs6000/t-ppccomm-ldbl to tmake_file.
7824         (powerpcle-*-elf*): Likewise.
7825         (powerpcle-*-eabisim*): Likewise.
7826         (powerpcle-*-eabi*): Likewise.
7827         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7828         rs6000/t-ibm-ldouble to tmake_file.
7829         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7830         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7831         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7832         (tic6x-*-*): Likewise.
7833         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7834         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7835         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7836         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7837         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7838         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7839         t-softfp to tmake_file.
7840         * configure.ac (sfp_machine_header): Provide default if unset.
7841         Substitute.
7842         Link sfp-machine.h to config/$sfp_machine_header.
7843         * configure: Regenerate.
7845 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7847         * Makefile.in (double_type_size, long_double_type_size): Set.
7848         Remove $(fpbit-in-libgcc) support.
7849         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7850         (fpbit-src): New variable.
7851         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7852         Compile with -DFLOAT $(FPBIT_CFLAGS).
7853         Use $<.
7854         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7855         Compile with $(FPBIT_CFLAGS).
7856         Use $<.
7857         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7858         Compile with -DFLOAT $(TPBIT_CFLAGS).
7859         Use $<.
7860         * configure.ac (double_type_size, long_double_type_size):
7861         Determine and substitute.
7862         * configure: Regenerate.
7863         * fp-bit.c, fp-bit.h: New files.
7864         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7865         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7866         * config/mips/t-mips: New file.
7867         * config/mips/t-sdemtk: New file.
7868         * config/rs6000/ppc64-fp.c: New file.
7869         * config/rs6000/t-darwin (LIB2ADD): Add
7870         $(srcdir)/config/rs6000/ppc64-fp.c.
7871         * config/rs6000/t-ppc64-fp: New file.
7872         * config/rx/rx-lib.h: New file.
7873         * config/rx/t-rx (FPBIT): Set to true.
7874         ($(gcc_objdir)/fp-bit.c): Remove.
7875         (DPBIT): Set to true only with -m64bit-doubles.
7876         ($(gcc_objdir)/dp-bit.c): Remove.
7877         * config/sparc/t-softfp: Remove.
7878         * config/spu/t-elf: New file.
7879         * config/t-fdpbit, config/t-fpbit: New files.
7880         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7881         (mips*-*-*): Likewise.
7882         (arm-wrs-vxworks): Likewise.
7883         (arm*-*-freebsd*): Likewise.
7884         (avr-*-rtems*): Add t-fpbit to tmake_file.
7885         (avr-*-*): Likewise.
7886         (bfin*-elf*): Add t-fdpbit to tmake_file.
7887         (bfin*-uclinux*): Likewise.
7888         (bfin*-linux-uclibc*): Likewise.
7889         (bfin*-rtems*): New case.
7890         Add t-fdpbit to tmake_file.
7891         (bfin*-*): Add t-fdpbit to tmake_file.
7892         (crisv32-*-elf): Likewise.
7893         (cris-*-linux*): Likewise.
7894         (fr30-*-elf): Likewise.
7895         (frv-*-elf, frv-*-*linux*): Likewise.
7896         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7897         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7898         (m32r-*-elf*): Likewise.
7899         (m32rle-*-elf*): Likewise.
7900         (m32r-*-linux*): Likewise.
7901         (m32rle-*-linux*): Likewise.
7902         (mcore-*-elf): Add t-fdpbit to tmake_file.
7903         (microblaze*-*-*): Likewise.
7904         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7905         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7906         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7907         Fix typo.
7908         Add mips/t-tpbit to tmake-file.
7909         (mips*-*-linux*): Fix typo.
7910         (mips*-sde-elf*): New case
7911         Add mips/t-sdemtk unless using newlib.
7912         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7913         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7914         (mn10300-*-*): Likewise.
7915         (pdp11-*-*): Likewise.
7916         (picochip-*-*): Add t-fpbit to tmake_file.
7917         (powerpc-*-eabisimaltivec*): Likewise.
7918         (powerpc-*-eabisim*): Likewise.
7919         (powerpc-*-elf*): Likewise.
7920         (powerpc-*-eabialtivec*): Likewise.
7921         (powerpc-xilinx-eabi*): New case.
7922         Add t-fdpbit to tmake_file.
7923         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7924         (powerpc-*-rtems*): Likewise.
7925         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7926         tmake_file.
7927         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7928         tmake_file.
7929         (powerpc-*-lynxos*): Likewise.
7930         (powerpcle-*-elf*): Likewise.
7931         (powerpcle-*-eabisim*): Likewise.
7932         (powerpcle-*-eabi*): Likewise.
7933         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7934         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7935         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7936         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7937         (rx-*-elf): Add t-fdpbit to tmake_file.
7938         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7939         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7940         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7941         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7942         sh*-*-netbsd*.
7943         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7944         (sh-wrs-vxworks): Likewise.
7945         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7946         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7947         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7948         (sparc64-*-rtems*): ... new case.
7949         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7950         (spu-*-elf*): Likewise.
7951         Add spu/t-elf to tmake_file.
7952         (v850*-*-*): Add t-fdpbit to tmake_file.
7953         (xstormy16-*-elf): Likewise.
7954         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7955         (mep*-*-*): Likewise.
7957 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7959         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7960         variables.
7961         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7962         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7963         (install-unwind_h): New target.
7964         (all): Depend on it.
7965         * config.host (unwind_header): New variable.
7966         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7967         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7968         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7969         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7970         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7971         Set unwind_header.
7972         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7973         Set unwind_header.
7974         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7975         arm*-*-eabi*.
7976         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7977         Set unwind_header.
7978         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7979         (ia64*-*-freebsd*): Likewise.
7980         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7981         tmake_file.
7982         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7983         $with_system_libunwind.
7984         (ia64*-*-hpux*): Set tmake_file.
7985         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7986         (picochip-*-*): Set tmake_file.
7987         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7988         md_unwind_header.
7989         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7990         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7991         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7992         (xtensa*-*-elf*): Set tmake_file.
7993         (xtensa*-*-linux*): Likewise.
7994         * configure.ac: Include ../config/unwind_ipinfo.m4.
7995         Call GCC_CHECK_UNWIND_GETIPINFO.
7996         Link unwind.h to $unwind_header.
7997         * configure: Regenerate.
7998         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7999         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8000         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8001         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8002         * config/unwind-dw2-fde-darwin.c: New file.
8003         * config/arm/libunwind.S, config/arm/pr-support.c,
8004         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8005         config/arm/unwind-arm.h,: New files.
8006         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8007         config/ia64/t-eh-ia64, config/ia64/t-glibc,
8008         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8009         config/ia64/t-vms, config/ia64/unwind-ia64.c,
8010         config/ia64/unwind-ia64.h: New files.
8011         * config/picochip/t-picochip: New file.
8012         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8013         files.
8014         * config/rs6000/t-darwin (LIB2ADDEH): Set.
8015         * config/s390/t-tpf (LIB2ADDEH): Remove.
8016         * config/t-darwin (LIB2ADDEH): Set.
8017         * config/t-eh-dw2-dip: New file.
8018         * config/t-libunwind, config/t-libunwind-elf: New files.
8019         * config/t-sol2 (LIB2ADDEH): Remove.
8020         * config/xtensa/t-xtensa: New file.
8022 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
8024         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8025         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8026         long long to check rt_sigreturn syscall.
8028 2011-08-02  Alan Modra  <amodra@gmail.com>
8030         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8031         Restore for indirect call bcrtl from correct stack slot, and only
8032         if cfa+40 isn't valid.
8034 2011-08-01  Julian Brown  <julian@codesourcery.com>
8036         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8037         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8038         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8040 2011-08-01  Julian Brown  <julian@codesourcery.com>
8042         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8043         (libgcc-std.ver.in): Use above.
8044         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8045         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
8046         throughout file.
8047         * config/t-fixedpoint-gnu-prefix: New file.
8048         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8049         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8050         instead of __PFX__.
8052 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8054         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8055         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8056         for x86-64.  Properly check __x86_64__ and __LP64__.
8058 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8060         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8061         version.
8062         (_FP_WS_TYPE): Likewise.
8063         (_FP_I_TYPE): Likewise.
8065 2011-07-28  Alan Modra  <amodra@gmail.com>
8067         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8068         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8069         in a plt call stub.  Do restore r2 if stopped on bctrl.
8071 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8073         * config.host (i[3456x]86-*-netware*): Remove.
8074         * config/i386/netware-crt0.c, config/i386/t-nwld,
8075         config/i386/t-slibgcc-nwld: Remove.
8077 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
8079         * config.host: Handle tic6x-*-*.
8080         * config/c6x/c6x-abi.h: New file.
8082 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8084         * config/i386/crtprec.c: New file.
8085         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8086         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8087         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8088         (x86_64-*-darwin*): Likewise.
8089         (i[34567]86-*-solaris2*: Likewise.
8091 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8093         * config/alpha/crtfastmath.c: New file.
8094         * config/i386/crtfastmath.c: New file.
8095         * config/ia64/crtfastmath.c: New file.
8096         * config/mips/crtfastmath.c: New file.
8097         * config/sparc/crtfastmath.c: New file.
8099         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8100         crtfastmath.c.
8101         Add -frandom-seed=gcc-crtfastmath.
8102         * config/alpha/t-crtfm: Remove.
8103         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8104         * config/ia64/t-ia64 (crtfastmath.o): Remove.
8106         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8107         (alpha*-dec-osf5.1*): Likewise.
8108         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8109         Add crtfastmath.o to extra_parts.
8110         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8111         Add crtfastmath.o to extra_parts.
8112         (x86_64-*-darwin*): Likewise.
8113         (x86_64-*-mingw*): Likewise.
8114         (ia64*-*-elf*): Add t-crtfm to tmake_file.
8115         (ia64*-*-freebsd*): Likewise.
8116         (ia64*-*-linux*): Likewise.
8117         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8118         Add crtfastmath.o to extra_parts.
8120 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8122         * config/darwin-crt3.o: New file.
8123         * config/rs6000/darwin-crt2.c: New file.
8124         * config/t-darwin: New file.
8125         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8126         (crt2.o): New rule.
8127         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8128         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8129         (powerpc64-*-darwin*): Likewise.
8131 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8133         * config/i386/netware-crt0.c: New file.
8134         * config/i386/t-nwld: Rename to ...
8135         * config/i386/t-slibgcc-nwld: ... this.
8136         * config/i386/t-nwld: New file.
8137         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8138         tmake_file.
8139         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8140         extra_parts.
8142 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8144         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8145         i386/t-crtstuff.
8146         * configure: Regenerate.
8148 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8150         * dfp-bit.c, dfp-bit.h: New files.
8151         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8152         variables.
8153         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8154         ($(d64pbit-o)): Likewise.
8155         ($(d128pbit-o)): Likewise.
8156         * config/t-dfprules: New file.
8157         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8158         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8159         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8160         (x86_64-*-linux*): Likewise.
8161         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8162         (i[34567]86-*-cygwin*): Likewise.
8163         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8164         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8166 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8168         * Makfile.in (LIBGCOV): New variable.
8169         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8170         * libgcov.c: New file.
8172 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8174         * fixed-bit.c, fixed-bit.h: New files.
8175         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8176         refer to fixed-bit.c.
8178 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8180         * config.host (*local*): Remove.
8182 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8184         PR target/39150
8185         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8186         like i?86-*-solaris2.1[0-9]*.
8187         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8188         * configure.ac (i?86-*-solaris2*): Likewise.
8189         * configure: Regenerate.
8191 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8193         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8194         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8195         md_unwind_header by splitting out of...
8196         (i[34567]86-*-linux*): ... this.
8197         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8198         Remove md_unwind_header by splitting out of...
8199         (x86_64-*-linux*): ... this.
8201 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8203         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8205 2011-06-28  Nick Clifton  <nickc@redhat.com>
8207         * config.host: Recognize all V850 variants.
8209 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8211         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8213 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8215         * shared-object.mk (c_flags-$o): Save c_flags.
8216         ($(base)$(objext)): Use it.
8217         ($(base)_s$(objext)): Likewise.
8219 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8221         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8222         * libgcc-std.ver.in (GCC_4.7.0): New section.
8224 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8226         PR target/49313
8227         PR target/29524
8228         * config/avr/t-avr: Fix line endings.
8229         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8230         _parityXX2.
8232 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8233             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8235         * config/mips/irix6-unwind.h: New file.
8236         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8238 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8240         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8241         (sparc64_fallback_frame_state): Use it.
8242         (sparc64_frob_update_context): Further adjust context.
8243         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8244         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8245         * config/sparc/sol2-cn.S: Likewise.
8247 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8249         * enable-execute-stack-empty.c: New file.
8250         * enable-execute-stack-mprotect.c: New file.
8251         * config/i386/enable-execute-stack-mingw32.c: New file.
8252         * config.host (enable_execute_stack): New variable.
8253         Select appropriate variants.
8254         * configure.ac: Link enable-execute-stack.c to
8255         $enable_execute_stack.
8256         * configure: Regenerate.
8257         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8258         (lib2funcs): Remove _enable_execute_stack.
8260 2011-06-09  David S. Miller  <davem@davemloft.net>
8261             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8263         * config.host (sparc-*-linux*): Correct md_unwind_header
8264         filename.
8265         (s390x-ibm-tpf*): Fix typo.
8267 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8269         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8270         Add crtfastmath.o to extra_parts.
8271         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8272         mips/t-crtfm.
8273         * config/mips/t-crtfm: Remove.
8275 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8277         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8279 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8281         * config.host (sh*-*-linux*): Fix typo.
8283 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8285         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8286         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8287         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8288         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8289         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8290         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8291         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8292         Wrap in !__MINGW64__.
8293         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8294         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8295         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8296         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8297         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8298         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8299         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8300         Wrap in !__LP64__.
8301         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8302         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8303         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8304         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8305         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8306         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8307         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8308         * config/no-unwind.h: New file.
8309         * config.host (md_unwind_header): Document.
8310         Define.
8311         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8312         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8313         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8314         hppa[12]*-*-hpux11*): Set md_unwind_header.
8315         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8316         Set md_unwind_header.
8317         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8318         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8319         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8320         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8321         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8322         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8323         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8324         md_unwind_header.
8325         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8326         * configure: Regenerate.
8328 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8330         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8331         Set tmake_file, extra_parts.
8332         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8333         Remove O32 support.
8334         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8335         Remove O32 support.
8336         * config/mips/t-irix6: New file.
8337         * config/mips/t-slibgcc-irix: New file.
8339 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8341         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8342         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8344 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8346         * configure.ac (target_thread_file): Determine thread model.
8347         * configure: Regenerate.
8348         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8349         * config/alpha/t-alpha: New file.
8350         * config/alpha/t-crtfm: Use $<.
8351         * config/alpha/t-ieee: New file.
8352         * config/alpha/t-osf-pthread: New file.
8353         * config/alpha/t-slibgcc-osf: New file.
8354         * config/alpha/libgcc-osf5.ver: New file.
8356 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8358         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8359         tmake_file.
8360         Add crtfastmath.o to extra_parts.
8362 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8364         * config/gmon-sol2.c: Reindent.
8365         Cleanup comments.
8366         Remove, correct casts.
8367         Use STDERR_FILENO, NULL.
8368         (BASEADDRESS): Remove.
8369         (minbrk): Remove.
8370         (errno, sbrk): Remove declarations.
8371         (monstartup) [hp300]: Remove.
8372         (mcount): Remove.
8374 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8376         * Makefile.in (cpu_type): Define.
8377         * config.host (i[34567]86-*-rtems*): Handle it.
8378         (i[34567]86-*-solaris2*): Move body ...
8379         (*-*-solaris2*): ... here.
8380         New case, generalize.
8381         (sparc-*-elf*): Handle it.
8382         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8383         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8384         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8385         Fold into ...
8386         (sparc*-*-solaris2*): ... this.
8387         New case.
8388         (sparc64-*-elf*): Handle it.
8389         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8390         Merge ../gcc/config/i386/gmon-sol2.c.
8391         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8392         Use C comments.
8393         Merge ../gcc/config/i386/sol2-gc1.asm.
8394         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8395         Use C comments.
8396         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8397         Use C comments.
8398         * config/i386/t-crtfm (crtfastmath.o): Use $<.
8399         * config/i386/t-crtstuff: New file.
8400         * config/i386/t-softfp: New file.
8401         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8402         $(T)crti.o, $(T)crtn.o): Remove.
8403         (gcrt1.o): New rule.
8404         (TARGET_LIBGCC2_CFLAGS): Remove.
8405         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8406         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8407         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8408         * config/sparc/t-sol2: New file.
8409         * config/sparc/t-crtfm: Move to ...
8410         * config/t-crtfm: ... this.
8411         Use $(cpu_type), $<.
8412         * config/t-crtin: New file.
8413         * config/sparc/t-softfp: New file.
8414         * config/sparc/t-softmul: New file.
8415         * config/t-rtems: New file.
8416         * config/t-slibgcc: New file.
8417         * config/t-slibgcc-elf-ver: New file.
8418         * config/t-slibgcc-gld: New file.
8419         * config/t-slibgcc-sld: New file.
8420         * config/t-sol2: New file.
8421         * configure.ac: Include ../config/lib-ld.m4.
8422         Call AC_LIB_PROG_LD_GNU.
8423         Substitute cpu_type.
8424         * configure: Regenerate.
8426 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
8428         PR bootstrap/49173
8429         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8430         libgcc-std.ver in the build directory.
8431         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8432         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8434 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
8436         * libgcc-std.ver.in: New file.
8437         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8438         variables.
8439         (libgcc-std.ver): New rule.
8440         * config/t-gnu-prefix: New file.
8442 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8444         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8446 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8448         * config/i386/darwin-lib.h: New file.
8450 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8452         * config/arm/symbian-lib.h: New.
8454 2011-05-04  Chris Demetriou  <cgd@google.com>
8456         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8457         (__x86.get_pc_thunk.bx): ...this.
8458         (__morestack): Adjust for rename, remove undef of __i686.
8460 2011-05-03  Chris Demetriou  <cgd@google.com>
8462         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8464 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
8466         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8467         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8468         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8469         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8470         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8471         Remove cases.
8473 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
8475         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8476         Adjust copyright year.
8478 2011-03-07  Ian Lance Taylor  <iant@google.com>
8480         * generic-morestack.c (__splitstack_find): Adjust returned stack
8481         pointer to include all registers pushed by __morestack.
8483 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
8485         PR target/40125
8486         * configure.ac: Call ACX_NONCANONICAL_TARGET.
8487         (toolexecdir): Calculate and AC_SUBST.
8488         (toolexeclibdir): Likewise.
8489         * Makefile.in (target_noncanonical): Import.
8490         (toolexecdir): Likewise.
8491         (toolexeclibdir): Likewise.
8492         * configure: Regenerate.
8494 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
8496         PR target/46040
8497         * config/arm/bpabi.h: Rename to...
8498         * config/arm/bpabi-lib.h: ...this.
8500 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8502         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8503         appropriate.
8504         * configure: Regenerate.
8506 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8508         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8509         __FLOAT_WORD_ORDER__.
8510         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8511         Delete.
8513 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8515         PR other/46202
8516         * Makefile.in (install-strip): New phony target.
8518 2010-11-07  Ian Lance Taylor  <iant@google.com>
8520         PR target/46089
8521         * config/i386/morestack.S (__morestack_large_model): New
8522         function.
8524 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8526         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8527         Delete.
8528         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8530 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8532         * config/arm/bpabi.h: New file.
8533         * config/frv/frv-abi.h: New file.
8535 2010-10-01  Ian Lance Taylor  <iant@google.com>
8537         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8538         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8540 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8542         PR target/45858
8543         * config.host: Add the missing `$'.
8545 2010-09-30  Michael Eager  <eager@eagercon.com>
8547         * config.host: Add microblaze*-*-*.
8548         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8549         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8550         udivsi3.asm,umodsi3.asm}:  New.
8552 2010-09-28  Ian Lance Taylor  <iant@google.com>
8554         * configure.ac: Adjust CFI test to test assembler directly rather
8555         than checking gcc preprocessor macro.
8556         * configure: Rebuild.
8558 2010-09-27  Ian Lance Taylor  <iant@google.com>
8560         * configure.ac: Test whether assembler supports CFI directives.
8561         * config.host: Only add t-stack and i386/t-stack-i386 to
8562         tmake_file if libgcc_cv_cfi is "yes".
8563         * configure: Rebuild.
8565 2010-09-27  Ian Lance Taylor  <iant@google.com>
8567         * generic-morestack.h: New file.
8568         * generic-morestack.c: New file.
8569         * generic-morestack-thread.c: New file.
8570         * config/i386/morestack.S: New file.
8571         * config/t-stack: New file.
8572         * config/i386/t-stack-i386: New file.
8573         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8574         i386/t-stack-i386 to tmake_file.
8576 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8578         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8579         invoke ranlib after installing them.
8580         (gcc-extra-parts): Likewise.
8581         (install-leaf): Likewise.
8583 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8585         * configure: Regenerated.
8587 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8589         * configure: Regenerated.
8591 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8592             Andrew Pinski  <pinskia@gmail.com>
8594         PR target/40959
8595         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8597 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8599         PR target/45524
8600         * configure: Regenerated.
8602 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8604         * configure: Regenerate.
8606 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8608         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8609         64bit targets.
8610         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8611         for 64bit targets.
8613 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8614             Iain Sandoe  <iains@gcc.gnu.org>
8616         PR target/45476
8617         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8618         LIB2FUNCS_EXCLUDE functions.
8620 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8622         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8623         Include dfp.m4.
8624         * configure: Regenerate.
8626 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8628         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8629         i386/t-freebsd to tmake_file.
8630         * config/i386/t-freebsd: New file.
8631         * config/i386/libgcc-bsd.ver: New file.
8633 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8635         * config.host (powerpc*-eabispe*): Set tmake_file.
8636         (powerpc*-eabi*): Likewise.
8637         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8638         crtbeginS, crtendS, crtbeginT.
8640 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8642         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8643         to tmake_file.  Add crtfastmath.o to extra_parts.
8644         * config/mips/t-crtfm: New.
8646 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8648         * config.host (sparc64-*-rtems*): New target.
8650 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8652         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8653         assembler syntax.
8655 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8657         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8659 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8661         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8662         alpha-dec-osf5.0* support.
8664 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8666         * config.host: Add lm32-*-rtems*.
8668 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8669             Uros Bizjak  <ubizjak@gmail.com>
8671         PR target/39048
8672         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8673         like other remaining 32-bit x86 OSes.
8674         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8675         assembler syntax.
8676         * config/i386/libgcc-sol2.ver: New file.
8677         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8679 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8681         PR c/43553
8682         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8683         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8684         is used and substitute set_use_emutls.
8685         * configure: Regenerated.
8687 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8689         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8691 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8693         PR target/38085
8694         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8695         MULTILIB_CFLAGS.
8696         ($(T)gcrt1.o): Likewise.
8697         ($(T)crt1.o): Likewise.
8698         ($(T)crti.o): Likewise.
8699         ($(T)crtn.o): Likewise.
8701 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8703         PR other/42980
8704         * Makefile.in (install): Use $(MAKE) string in rule, for
8705         parallel make.
8707 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8709         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8710         * config/mmix/t-mmix: New file.
8711         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8713 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8715         PR java/41991
8716         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8717         SHLIB_MAPFILES.
8719 2010-01-04  Anthony Green  <green@moxielogic.com>
8721         * config/moxie/crti.asm, config/moxie/crtn.asm,
8722         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8723         config/moxie/t-moxie: New files.
8724         * config.host: Add t-moxie-softfp reference.
8726 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8728         PR other/39888
8729         * config/t-slibgcc-darwin: Fix embedded rpaths for
8730         --enable-version-specific-runtime-libs, build extension stub
8731         libs exposing features available from current libgcc_s.
8733 2009-11-11  Jon Beniston  <jon@beniston.com>
8735         * config.host: Add lm32 targets.
8736         * config/lm32: New directory.
8737         * config/lm32/libgcc_lm32.h: New file.
8738         * config/lm32/_mulsi3.c: New file.
8739         * config/lm32/_udivmodsi4.c: New file.
8740         * config/lm32/_divsi3.c: New file.
8741         * config/lm32/_modsi3.c: New file.
8742         * config/lm32/_udivsi3.c: New file.
8743         * config/lm32/_umodsi3.c: New file.
8744         * config/lm32/_lshrsi3.S: New file.
8745         * config/lm32/_ashrsi3.S: New file.
8746         * config/lm32/_ashlsi3.S: New file.
8747         * config/lm32/crti.S: New file.
8748         * config/lm32/crtn.S: New file.
8749         * config/lm32/t-lm32: New file.
8750         * config/lm32/t-elf: New file.
8751         * config/lm32/t-uclinux: New file.
8753 2009-10-26  Nick Clifton  <nickc@redhat.com>
8755         * config.host: Add support for RX target.
8756         * config/rx: New directory.
8757         * config/rx/rx-abi-functions.c: New file. Supplementary
8758         functions for libgcc to support the RX ABI.
8759         * config/rx/rx-abi.h: New file.  Supplementary header file for
8760         libgcc RX ABI functions.
8761         * config/rx/t-rx: New file: Makefile fragment for building
8762         libgcc for the RX.
8764 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8766         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8767         constraint of y0 to "g".
8769 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8771         * config.host: Include the s390 makefile fragments.
8772         * config/s390/32/_fixdfdi.c: New file.
8773         * config/s390/32/_fixsfdi.c: New file.
8774         * config/s390/32/_fixtfdi.c: New file.
8775         * config/s390/32/_fixunsdfdi.c: New file.
8776         * config/s390/32/_fixunssfdi.c: New file.
8777         * config/s390/32/_fixunstfdi.c: New file.
8778         * config/s390/32/t-floattodi: New file.
8779         * config/s390/libgcc-glibc.ver: New file.
8780         * config/s390/t-crtstuff: New file.
8781         * config/s390/t-linux: New file.
8782         * config/s390/t-tpf: New file.
8784 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8786         * configure.ac (AC_PREREQ): Bump to 2.64.
8788 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8790         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8792 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8794         * configure: Regenerate.
8796 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8798         * config.host (ia64-hp-*vms*): New target.
8799         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8800         with ia64-hp-*vms*.
8802 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8804         * configure.ac: Add snippet for maintainer-mode.
8805         * configure: Regenerate.
8806         * Makefile.in (AUTOCONF, configure_deps): New variables.
8807         ($(srcdir)/configure)): New rule, active only with maintainer
8808         mode turned on.
8810 2009-06-23  DJ Delorie  <dj@redhat.com>
8812         Add MeP port.
8813         * config.host: Add mep support.
8815 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8817         * config.host: Add i386/${host_address}/t-fprules-softfp and
8818         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8820         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8821         for mingw targets.
8822         * config/i386/64/_multc3.c: Likewise.
8823         * config/i386/64/_powitf2.c: Likewise.
8824         * config/i386/64/eqtf2.c: Likewise.
8825         * config/i386/64/getf2.c: Likewise.
8826         * config/i386/64/letf2.c: Likewise.
8827         * config/i386/64/letf2.c: Likewise.
8828         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8829         unsigned long long for x64 mingw targets.
8830         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8831         (_FP_I_TYPE): Define as long long for x64 mingw target.
8833 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8835         * config.host (vax-*-linux*): New.
8837 2009-05-31  Anthony Green  <green@moxielogic.com>
8839         * config.host: Add moxie support.
8840         * config/moxie/t-moxie: New file.
8842 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8844         * config.host: Add i386/${host_address}/t-fprules-softfp and
8845         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8847 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8849         * config.host: Add i386/${host_address}/t-fprules-softfp to
8850         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8852 2009-04-09  Nick Clifton  <nickc@redhat.com>
8854         * config/ia64/tf-signs.c: Change copyright header to refer to
8855         version 3 of the GNU General Public License with version 3.1
8856         of the GCC Runtime Library Exception and to point readers at
8857         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8858         web page.
8859         * config/i386/32/tf-signs.c: Likewise.
8860         * config/libbid/_addsub_dd.c: Likewise.
8861         * config/libbid/_addsub_sd.c: Likewise.
8862         * config/libbid/_addsub_td.c: Likewise.
8863         * config/libbid/_dd_to_df.c: Likewise.
8864         * config/libbid/_dd_to_di.c: Likewise.
8865         * config/libbid/_dd_to_sd.c: Likewise.
8866         * config/libbid/_dd_to_sf.c: Likewise.
8867         * config/libbid/_dd_to_si.c: Likewise.
8868         * config/libbid/_dd_to_td.c: Likewise.
8869         * config/libbid/_dd_to_tf.c: Likewise.
8870         * config/libbid/_dd_to_udi.c: Likewise.
8871         * config/libbid/_dd_to_usi.c: Likewise.
8872         * config/libbid/_dd_to_xf.c: Likewise.
8873         * config/libbid/_df_to_dd.c: Likewise.
8874         * config/libbid/_df_to_sd.c: Likewise.
8875         * config/libbid/_df_to_td.c: Likewise.
8876         * config/libbid/_di_to_dd.c: Likewise.
8877         * config/libbid/_di_to_sd.c: Likewise.
8878         * config/libbid/_di_to_td.c: Likewise.
8879         * config/libbid/_div_dd.c: Likewise.
8880         * config/libbid/_div_sd.c: Likewise.
8881         * config/libbid/_div_td.c: Likewise.
8882         * config/libbid/_eq_dd.c: Likewise.
8883         * config/libbid/_eq_sd.c: Likewise.
8884         * config/libbid/_eq_td.c: Likewise.
8885         * config/libbid/_ge_dd.c: Likewise.
8886         * config/libbid/_ge_sd.c: Likewise.
8887         * config/libbid/_ge_td.c: Likewise.
8888         * config/libbid/_gt_dd.c: Likewise.
8889         * config/libbid/_gt_sd.c: Likewise.
8890         * config/libbid/_gt_td.c: Likewise.
8891         * config/libbid/_isinfd128.c: Likewise.
8892         * config/libbid/_isinfd32.c: Likewise.
8893         * config/libbid/_isinfd64.c: Likewise.
8894         * config/libbid/_le_dd.c: Likewise.
8895         * config/libbid/_le_sd.c: Likewise.
8896         * config/libbid/_le_td.c: Likewise.
8897         * config/libbid/_lt_dd.c: Likewise.
8898         * config/libbid/_lt_sd.c: Likewise.
8899         * config/libbid/_lt_td.c: Likewise.
8900         * config/libbid/_mul_dd.c: Likewise.
8901         * config/libbid/_mul_sd.c: Likewise.
8902         * config/libbid/_mul_td.c: Likewise.
8903         * config/libbid/_ne_dd.c: Likewise.
8904         * config/libbid/_ne_sd.c: Likewise.
8905         * config/libbid/_ne_td.c: Likewise.
8906         * config/libbid/_sd_to_dd.c: Likewise.
8907         * config/libbid/_sd_to_df.c: Likewise.
8908         * config/libbid/_sd_to_di.c: Likewise.
8909         * config/libbid/_sd_to_sf.c: Likewise.
8910         * config/libbid/_sd_to_si.c: Likewise.
8911         * config/libbid/_sd_to_td.c: Likewise.
8912         * config/libbid/_sd_to_tf.c: Likewise.
8913         * config/libbid/_sd_to_udi.c: Likewise.
8914         * config/libbid/_sd_to_usi.c: Likewise.
8915         * config/libbid/_sd_to_xf.c: Likewise.
8916         * config/libbid/_sf_to_dd.c: Likewise.
8917         * config/libbid/_sf_to_sd.c: Likewise.
8918         * config/libbid/_sf_to_td.c: Likewise.
8919         * config/libbid/_si_to_dd.c: Likewise.
8920         * config/libbid/_si_to_sd.c: Likewise.
8921         * config/libbid/_si_to_td.c: Likewise.
8922         * config/libbid/_td_to_dd.c: Likewise.
8923         * config/libbid/_td_to_df.c: Likewise.
8924         * config/libbid/_td_to_di.c: Likewise.
8925         * config/libbid/_td_to_sd.c: Likewise.
8926         * config/libbid/_td_to_sf.c: Likewise.
8927         * config/libbid/_td_to_si.c: Likewise.
8928         * config/libbid/_td_to_tf.c: Likewise.
8929         * config/libbid/_td_to_udi.c: Likewise.
8930         * config/libbid/_td_to_usi.c: Likewise.
8931         * config/libbid/_td_to_xf.c: Likewise.
8932         * config/libbid/_tf_to_dd.c: Likewise.
8933         * config/libbid/_tf_to_sd.c: Likewise.
8934         * config/libbid/_tf_to_td.c: Likewise.
8935         * config/libbid/_udi_to_dd.c: Likewise.
8936         * config/libbid/_udi_to_sd.c: Likewise.
8937         * config/libbid/_udi_to_td.c: Likewise.
8938         * config/libbid/_unord_dd.c: Likewise.
8939         * config/libbid/_unord_sd.c: Likewise.
8940         * config/libbid/_unord_td.c: Likewise.
8941         * config/libbid/_usi_to_dd.c: Likewise.
8942         * config/libbid/_usi_to_sd.c: Likewise.
8943         * config/libbid/_usi_to_td.c: Likewise.
8944         * config/libbid/_xf_to_dd.c: Likewise.
8945         * config/libbid/_xf_to_sd.c: Likewise.
8946         * config/libbid/_xf_to_td.c: Likewise.
8947         * config/libbid/bid128.c: Likewise.
8948         * config/libbid/bid128_2_str.h: Likewise.
8949         * config/libbid/bid128_2_str_macros.h: Likewise.
8950         * config/libbid/bid128_2_str_tables.c: Likewise.
8951         * config/libbid/bid128_add.c: Likewise.
8952         * config/libbid/bid128_compare.c: Likewise.
8953         * config/libbid/bid128_div.c: Likewise.
8954         * config/libbid/bid128_fma.c: Likewise.
8955         * config/libbid/bid128_logb.c: Likewise.
8956         * config/libbid/bid128_minmax.c: Likewise.
8957         * config/libbid/bid128_mul.c: Likewise.
8958         * config/libbid/bid128_next.c: Likewise.
8959         * config/libbid/bid128_noncomp.c: Likewise.
8960         * config/libbid/bid128_quantize.c: Likewise.
8961         * config/libbid/bid128_rem.c: Likewise.
8962         * config/libbid/bid128_round_integral.c: Likewise.
8963         * config/libbid/bid128_scalb.c: Likewise.
8964         * config/libbid/bid128_sqrt.c: Likewise.
8965         * config/libbid/bid128_string.c: Likewise.
8966         * config/libbid/bid128_to_int16.c: Likewise.
8967         * config/libbid/bid128_to_int32.c: Likewise.
8968         * config/libbid/bid128_to_int64.c: Likewise.
8969         * config/libbid/bid128_to_int8.c: Likewise.
8970         * config/libbid/bid128_to_uint16.c: Likewise.
8971         * config/libbid/bid128_to_uint32.c: Likewise.
8972         * config/libbid/bid128_to_uint64.c: Likewise.
8973         * config/libbid/bid128_to_uint8.c: Likewise.
8974         * config/libbid/bid32_to_bid128.c: Likewise.
8975         * config/libbid/bid32_to_bid64.c: Likewise.
8976         * config/libbid/bid64_add.c: Likewise.
8977         * config/libbid/bid64_compare.c: Likewise.
8978         * config/libbid/bid64_div.c: Likewise.
8979         * config/libbid/bid64_fma.c: Likewise.
8980         * config/libbid/bid64_logb.c: Likewise.
8981         * config/libbid/bid64_minmax.c: Likewise.
8982         * config/libbid/bid64_mul.c: Likewise.
8983         * config/libbid/bid64_next.c: Likewise.
8984         * config/libbid/bid64_noncomp.c: Likewise.
8985         * config/libbid/bid64_quantize.c: Likewise.
8986         * config/libbid/bid64_rem.c: Likewise.
8987         * config/libbid/bid64_round_integral.c: Likewise.
8988         * config/libbid/bid64_scalb.c: Likewise.
8989         * config/libbid/bid64_sqrt.c: Likewise.
8990         * config/libbid/bid64_string.c: Likewise.
8991         * config/libbid/bid64_to_bid128.c: Likewise.
8992         * config/libbid/bid64_to_int16.c: Likewise.
8993         * config/libbid/bid64_to_int32.c: Likewise.
8994         * config/libbid/bid64_to_int64.c: Likewise.
8995         * config/libbid/bid64_to_int8.c: Likewise.
8996         * config/libbid/bid64_to_uint16.c: Likewise.
8997         * config/libbid/bid64_to_uint32.c: Likewise.
8998         * config/libbid/bid64_to_uint64.c: Likewise.
8999         * config/libbid/bid64_to_uint8.c: Likewise.
9000         * config/libbid/bid_b2d.h: Likewise.
9001         * config/libbid/bid_binarydecimal.c: Likewise.
9002         * config/libbid/bid_conf.h: Likewise.
9003         * config/libbid/bid_convert_data.c: Likewise.
9004         * config/libbid/bid_decimal_data.c: Likewise.
9005         * config/libbid/bid_decimal_globals.c: Likewise.
9006         * config/libbid/bid_div_macros.h: Likewise.
9007         * config/libbid/bid_dpd.c: Likewise.
9008         * config/libbid/bid_flag_operations.c: Likewise.
9009         * config/libbid/bid_from_int.c: Likewise.
9010         * config/libbid/bid_functions.h: Likewise.
9011         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9012         * config/libbid/bid_inline_add.h: Likewise.
9013         * config/libbid/bid_internal.h: Likewise.
9014         * config/libbid/bid_round.c: Likewise.
9015         * config/libbid/bid_sqrt_macros.h: Likewise.
9017 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
9019         * Makefile.in: Change copyright header to refer to version
9020         3 of the GNU General Public License and to point readers at the
9021         COPYING3 file and the FSF's license web page.
9022         * config.host: Likewise.
9024 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
9026         * config.host: Reorder and merge to match config.gcc change.
9028 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
9030         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9032 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
9034         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9035         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9036         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9037         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9039 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
9041         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9042         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9044 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
9046         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9047         ia64/t-softfp-compat to tmake_file.
9049         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9051         * config/ia64/__divxf3.asm: New.
9052         * config/ia64/_fixtfdi.asm: Likewise.
9053         * config/ia64/_fixunstfdi.asm: Likewise.
9054         * config/ia64/_floatditf.asm: Likewise.
9055         * config/ia64/t-fprules-softfp: Likewise.
9056         * config/ia64/t-softfp-compat: Likewise.
9057         * config/ia64/tf-signs.c: Likewise.
9059 2009-01-18  Ben Elliston  <bje@au.ibm.com>
9061         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9063 2009-01-16  Ben Elliston  <bje@au.ibm.com>
9065         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9066         to tmake_file.
9068 2009-01-13  Ben Elliston  <bje@au.ibm.com>
9070         * config/t-softfp: New file.
9071         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9072         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9074 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
9076         * config.host: Add m32r*-*-rtems*.
9078 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
9080         * config.host: Add m32c*-*-rtems*.
9082 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9084         PR bootstrap/33100
9085         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9086         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9087         * configure: Regenerate.
9088         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9089         tmake_file here from gcc/config.gcc.
9090         Move extra_parts here from gcc/config.gcc.
9091         * config/i386/t-sol2: Move here from gcc/config/i386.
9092         Use gcc_srcdir instead of srcdir.
9094 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
9096         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9097         case.
9099 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
9101         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9103 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
9105         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9107 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
9109         Add picoChip port.
9110         * config.host: Add picochip-*-*.
9112 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
9114         * config.host: Match more processor names for Xtensa.
9116 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9118         * config/i386/64/t-softfp-compat: Update comments.
9120 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9122         * config/i386/64/_divtc3-compat.c: Moved to ...
9123         * config/i386/64/_divtc3.c: Here.
9125         * config/i386/64/_multc3-compat.c: Moved to ...
9126         * config/i386/64/_multc3.c: Here.
9128         * config/i386/64/_powitf2-compat.c: Moved to ...
9129         * config/i386/64/_powitf2.c: Here.
9131         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9132         .c suffix instead of -compat.c.
9134 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9136         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9137         (_FP_MUL_MEAT_D): Ditto.
9138         (_FP_DIV_MEAT_S): Ditto.
9139         (_FP_DIV_MEAT_D): Ditto.
9141 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9143         * Makefile.in: Add support for __sync_* libgcc functions.
9145 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9147         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9149 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9151         PR boostrap/36702
9152         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9153         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9155         * config/i386/64/t-fprules-softfp: Moved to ...
9156         * config/i386/64/t-softfp-compat: This.  New.
9158 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9160         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9161         Initialize f with 0.0.
9163 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9165         PR target/36669
9166         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9168         * config/i386/64/_divtc3-compat.c: New.
9169         * config/i386/64/_multc3-compat.c: Likewise.
9170         * config/i386/64/_powitf2-compat.c: Likewise.
9171         * config/i386/64/eqtf2.c: Likewise.
9172         * config/i386/64/getf2.c: Likewise.
9173         * config/i386/64/letf2.c: Likewise.
9174         * config/i386/64/t-fprules-softfp: Likewise.
9176 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9178         * config.host: Add i386/${host_address}/t-fprules-softfp to
9179         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9180         i[34567]86-*-linux*, x86_64-*-linux*.
9182         * configure.ac: Set host_address to 64 or 32 for x86.
9183         * configure: Regenerated.
9185         * Makefile.in (config.status): Also depend on
9186         $(srcdir)/config.host.
9188         * config/i386/32/t-fprules-softfp: New.
9189         * config/i386/32/tf-signs.c: Likewise.
9191         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9193 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9194             Uros Bizjak  <ubizjak@gmail.com>
9196         * config/i386/32/sfp-machine.h: New.
9198 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9200         * config/rs6000/t-ppccomm: Remove rules that conflict with
9201         auto-generated rules.
9203 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9205         * configure.ac: sinclude override.m4.
9206         * configure: Regenerate.
9208 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9210         * configure: Regenerate.
9212 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9214         * Makefile.in (DECNUMINC): Remove
9215         -I$(MULTIBUILDTOP)../../libdecnumber.
9216         * gstdint.h: New.
9218 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9220         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9221         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9222         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9223         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9224         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9225         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9226         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9227         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9228         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9229         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9230         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9231         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9232         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9233         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9235 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9237         * config.host (sh2[lbe]*-*-linux*): Allow target.
9239 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9241         * config/rs6000/t-ppccomm: Add build rules for new files.
9242         (LIB2ADD_ST): New variable.
9244 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9246         PR target/34210
9247         PR target/35508
9248         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9249         * config/t-avr: New file. Build 16bit libgcc functions.
9251 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
9253         PR target/35401
9254         * config/t-slibgcc-darwin: Make install-leaf dependent on
9255         install-darwin-libgcc-stubs instead of install.
9257 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9259         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9260         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9261         sh-*-rtemscoff*): Remove cases.
9263 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
9265         * Makefile.in (all): Use install-leaf rather than install.
9266         (install): Split most of the rule into...
9267         (install-leaf): ...this new one.
9269 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
9270             Paolo Bonzini  <bonzini@gnu.org>
9272         PR target/30572
9273         * Makefile.in: Use @shlib_slibdir@ substitution to get
9274         correct install name on darwin.
9275         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9277 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
9279         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9280         cris-*-elf and cris-*-none.
9281         (crisv32-*-linux*): Similar, as cris-*-linux*.
9283 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
9285         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9287 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
9289         PR regression/33926
9290         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9291         * configure: Regenerated.
9293 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9295         * Makefile.in (dfp-filenames): Replace decimal_globals,
9296         decimal_data, binarydecimal and convert_data with
9297         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9298         and bid_convert_data, respectively.
9300 2007-09-17  Chao-ying Fu  <fu@mips.com>
9301             Nigel Stephens  <nigel@mips.com>
9303         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9304         * Makefile.in (fixed_point): Define.
9305         Check if fixed_point is yes to build support functions.
9306         * configure.ac: Check for fixed_point support.
9307         * configure: Regenerated.
9308         * gen-fixed.sh: New file to generate lists of fixed-point labels,
9309         funcs, modes, from, to.
9311 2007-09-11  Janis Johnson  <janis187@us.ibm.com
9313         * Makefile.in (dfp-filenames): Add bid128_noncomp.
9315 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
9317         * Makefile.in (dfp-filenames): Remove decUtility, add
9318         decDouble, decPacked, decQuad, decSingle.
9320 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
9322         * config.host : Add x86_64-elf target.
9324 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9326         * configure.ac (set_have_cc_tls): Add a missing =.
9327         * configure: Regenerated.
9329 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9331         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9332         and x86_64-*-linux*.
9334         * config/t-tls: New file.
9336         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9338         * configure.ac: Include ../config/enable.m4 and
9339         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
9340         supports TLS and substitute set_have_cc_tls.
9341         * configure: Regenerated.
9343 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9345         * Makefile.in: Use libbid for DFP when BID is enabled.
9347 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
9349         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9350         extra_parts. Add config/i386/t-cygming to tmake_file.
9351         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9353 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
9354             Danny Smith  <dannysmith@users.sourceforge.net>
9356         PR target/29498
9357         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9358         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
9359         * config/i386/t-crtfm: Compile crtfastmath.o with
9360         -minline-all-stringops.
9362 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
9364         * config.host (sparc-wrs-vxworks): New target.
9366 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
9368         * config.host: Recognize fido.
9370 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
9372         * configure: Check host, not target, for decimal float support.
9374 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
9376         * config/i386/t-crtpc: New file.
9377         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9378         (x86_64-*-linux*): Ditto.
9380 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
9382         * config.host (x86_64-*-mingw*): New target.
9384 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
9385             H.J. Lu  <hongjiu.lu@intel.com>
9387         * Makefile.in (enable_decimal_float): New.
9388         (DECNUMINC): Add
9389         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9390         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9391         (decbits-filenames): This.
9392         (decbits-objects): New.
9393         (libgcc-objects): Add $(decbits-objects).
9395         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9396         Substitute enable_decimal_float.
9397         * configure: Regenerated.
9399 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
9401         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9403 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
9405         * Makefile.in (install-info): New dummy target.
9407 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
9409         * config.host (bfin*-linux-uclibc*): Set extra_parts.
9411 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
9413         * Makefile.in: Add install-html and install-pdf dummy
9414         targets.
9416 2007-02-05  Roger Sayle  <roger@eyesopen.com>
9417             Daniel Jacobowitz  <dan@codesourcery.com>
9419         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9420         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9421         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9423 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
9425         * Makefile.in (dec-filenames): Add decExcept.
9427 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
9429         PR bootstrap/30469
9430         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9431         -fprofile-use.
9433 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
9435         * configure.ac: Add --enable-version-specific-runtime-libs.
9436         Correct $slibdir default.
9437         * configure: Regenerated.
9439 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
9441         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9443 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
9445         PR target/30519
9446         * config.host (alpha*-*-linux*): Set extra_parts.
9448 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
9450         * config/sh/t-linux: New.
9451         * config.host (sh*-*-linux*): Set tmake_file.
9453 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
9455         * Makefile.in (install): Handle multilibs.
9457 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9459         * Makefile.in: Added .PHONY entry for documentation targets.
9461 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9463         * Makefile.in: Add empty info, html, dvi, pdf targets.
9465 2007-01-04  Mike Stump  <mrs@apple.com>
9467         * Makefile.in (MAKEINFO): Remove.
9468         (PERL): Likewise.
9470 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
9472         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9473         * configure: Regenerate.
9474         * Makefile.in (host_subdir): Substitute it.
9475         (gcc_objdir): Use it.
9477 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9479         * config.host (ia64*-*-linux*): Set tmake_file.
9481 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9483         * Makefile.in (version): Define.
9485 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
9486             Paolo Bonzini  <bonzini@gnu.org>
9488         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9489         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9490         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9491         config/sparc/t-crtfm, config/t-slibgcc-darwin,
9492         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9493         shared-object.mk, siditi-object.mk, static-object.mk: New files.
9494         * configure: Generated.
9496 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9498 Copying and distribution of this file, with or without modification,
9499 are permitted in any medium without royalty provided the copyright
9500 notice and this notice are preserved.