re PR c++/84661 (internal compiler error: Segmentation fault (strip_array_types()))
[official-gcc.git] / libgcc / ChangeLog
blob950eeabb0613f475c379c99423d0f44a4a2d1094
1 2019-02-21  Martin Sebor  <msebor@redhat.com>
3         * libgcc2.h (__clear_cache): Correct signature.
4         * libgcc2.c (__clear_cache): Same.
6 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
8         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
9         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
11 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
13         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
14         regno instead of index to DWARF_ZERO_REG.
16 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
18         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
19         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
21 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
23         * config/alpha/t-linux: Add -mfp-rounding-mode=d
24         to HOST_LIBGCC2_CFLAGS.
26 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
28         PR libgcc/88931
29         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
31 2019-01-18  Martin Liska  <mliska@suse.cz>
33         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
34         to ...
35         (__gcov_indirect_call_profiler_v3): ... this.
36         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
37         (__gcov_indirect_call_profiler_v3): Likewise.
38         * Makefile.in: Bump function name.
40 2019-01-18  Martin Liska  <mliska@suse.cz>
42         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
43         (gcov_version): Use in gcov_error.
44         (merge_one_data): Likewise.
45         (dump_one_gcov): Likewise.
47 2019-01-18  Martin Liska  <mliska@suse.cz>
49         * libgcov-driver.c (gcov_version_string): New function.
50         (gcov_version): Convert version integer into string.
52 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
53             Kwok Cheung Yeung  <kcy@codesourcery.com>
54             Julian Brown  <julian@codesourcery.com>
55             Tom de Vries  <tom@codesourcery.com>
57         * config.host: Recognize amdgcn*-*-amdhsa.
58         * config/gcn/crt0.c: New file.
59         * config/gcn/lib2-divmod-hi.c: New file.
60         * config/gcn/lib2-divmod.c: New file.
61         * config/gcn/lib2-gcn.h: New file.
62         * config/gcn/sfp-machine.h: New file.
63         * config/gcn/t-amdgcn: New file.
65 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
67         PR other/16615
69         * config/c6x/libunwind.S: Mechanically replace "can not" with
70         "cannot".
71         * config/tilepro/atomic.h: Likewise.
72         * config/vxlib-tls.c: Likewise.
73         * generic-morestack-thread.c: Likewise.
74         * generic-morestack.c: Likewise.
75         * mkmap-symver.awk: Likewise.
77 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
79         Update copyright years.
81 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
83         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
84         to ignore -Waddress-of-packed-member.
86 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
88         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
89         parameter and corresponding code.
90         (ARM_FUNC_START): Likewise in both definitions.
91         Also update footer comment about condition that need to match with
92         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
93         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
94         defined.  Weakly define it in this case.
95         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
96         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
97         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
98         comment to keep condition in sync with the one in
99         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
101 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
103         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
104         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
106 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
108         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
109         and .cfi_endproc directives for VxWorks targets.
111 2018-12-05  Paul Koning  <ni1d@arrl.net>
113         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
115 2018-11-27  Alan Modra  <amodra@gmail.com>
117         * config/rs6000/morestack.S (__stack_split_initialize),
118         (__morestack_get_guard, __morestack_set_guard),
119         (__morestack_make_guard): Provide CFI covering these functions.
120         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
122 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
124         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
125         (sc_pt_regs_lr): Update for kernel.
126         (sc_pt_regs_tls): Update for kernel.
128 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
130         * config/csky/linux-unwind.h: Fix coding style.
132 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
134         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
135         (csky_fallback_frame_state): Modify the check of the
136         instructions to adapt to changes in the kernel
138 2018-11-09  Stafford Horne  <shorne@gmail.com>
139             Richard Henderson  <rth@twiddle.net>
141         * config.host: Add OpenRISC support.
142         * config/or1k/*: New.
144 2018-11-08  Kito Cheng  <kito@andestech.com>
146         * soft-fp/adddf3.c: Update from glibc.
147         * soft-fp/addsf3.c: Likewise.
148         * soft-fp/addtf3.c: Likewise.
149         * soft-fp/divdf3.c: Likewise.
150         * soft-fp/divsf3.c: Likewise.
151         * soft-fp/divtf3.c: Likewise.
152         * soft-fp/double.h: Likewise.
153         * soft-fp/eqdf2.c: Likewise.
154         * soft-fp/eqsf2.c: Likewise.
155         * soft-fp/eqtf2.c: Likewise.
156         * soft-fp/extenddftf2.c: Likewise.
157         * soft-fp/extended.h: Likewise.
158         * soft-fp/extendhftf2.c: Likewise.
159         * soft-fp/extendsfdf2.c: Likewise.
160         * soft-fp/extendsftf2.c: Likewise.
161         * soft-fp/extendxftf2.c: Likewise.
162         * soft-fp/fixdfdi.c: Likewise.
163         * soft-fp/fixdfsi.c: Likewise.
164         * soft-fp/fixdfti.c: Likewise.
165         * soft-fp/fixhfti.c: Likewise.
166         * soft-fp/fixsfdi.c: Likewise.
167         * soft-fp/fixsfsi.c: Likewise.
168         * soft-fp/fixsfti.c: Likewise.
169         * soft-fp/fixtfdi.c: Likewise.
170         * soft-fp/fixtfsi.c: Likewise.
171         * soft-fp/fixtfti.c: Likewise.
172         * soft-fp/fixunsdfdi.c: Likewise.
173         * soft-fp/fixunsdfsi.c: Likewise.
174         * soft-fp/fixunsdfti.c: Likewise.
175         * soft-fp/fixunshfti.c: Likewise.
176         * soft-fp/fixunssfdi.c: Likewise.
177         * soft-fp/fixunssfsi.c: Likewise.
178         * soft-fp/fixunssfti.c: Likewise.
179         * soft-fp/fixunstfdi.c: Likewise.
180         * soft-fp/fixunstfsi.c: Likewise.
181         * soft-fp/fixunstfti.c: Likewise.
182         * soft-fp/floatdidf.c: Likewise.
183         * soft-fp/floatdisf.c: Likewise.
184         * soft-fp/floatditf.c: Likewise.
185         * soft-fp/floatsidf.c: Likewise.
186         * soft-fp/floatsisf.c: Likewise.
187         * soft-fp/floatsitf.c: Likewise.
188         * soft-fp/floattidf.c: Likewise.
189         * soft-fp/floattihf.c: Likewise.
190         * soft-fp/floattisf.c: Likewise.
191         * soft-fp/floattitf.c: Likewise.
192         * soft-fp/floatundidf.c: Likewise.
193         * soft-fp/floatundisf.c: Likewise.
194         * soft-fp/floatunditf.c: Likewise.
195         * soft-fp/floatunsidf.c: Likewise.
196         * soft-fp/floatunsisf.c: Likewise.
197         * soft-fp/floatunsitf.c: Likewise.
198         * soft-fp/floatuntidf.c: Likewise.
199         * soft-fp/floatuntihf.c: Likewise.
200         * soft-fp/floatuntisf.c: Likewise.
201         * soft-fp/floatuntitf.c: Likewise.
202         * soft-fp/gedf2.c: Likewise.
203         * soft-fp/gesf2.c: Likewise.
204         * soft-fp/getf2.c: Likewise.
205         * soft-fp/half.h: Likewise.
206         * soft-fp/ledf2.c: Likewise.
207         * soft-fp/lesf2.c: Likewise.
208         * soft-fp/letf2.c: Likewise.
209         * soft-fp/muldf3.c: Likewise.
210         * soft-fp/mulsf3.c: Likewise.
211         * soft-fp/multf3.c: Likewise.
212         * soft-fp/negdf2.c: Likewise.
213         * soft-fp/negsf2.c: Likewise.
214         * soft-fp/negtf2.c: Likewise.
215         * soft-fp/op-1.h: Likewise.
216         * soft-fp/op-2.h: Likewise.
217         * soft-fp/op-4.h: Likewise.
218         * soft-fp/op-8.h: Likewise.
219         * soft-fp/op-common.h: Likewise.
220         * soft-fp/quad.h: Likewise.
221         * soft-fp/single.h: Likewise.
222         * soft-fp/soft-fp.h: Likewise.
223         * soft-fp/subdf3.c: Likewise.
224         * soft-fp/subsf3.c: Likewise.
225         * soft-fp/subtf3.c: Likewise.
226         * soft-fp/truncdfsf2.c: Likewise.
227         * soft-fp/trunctfdf2.c: Likewise.
228         * soft-fp/trunctfhf2.c: Likewise.
229         * soft-fp/trunctfsf2.c: Likewise.
230         * soft-fp/trunctfxf2.c: Likewise.
231         * soft-fp/unorddf2.c: Likewise.
232         * soft-fp/unordsf2.c: Likewise.
233         * soft-fp/unordtf2.c: Likewise.
235 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
237         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
238         * config/i386/cpuinfo.h (processor_types): Add znver2.
240 2018-11-01  Paul Koning  <ni1d@arrl.net>
242         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
243         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
245 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
247         PR bootstrap/82856
248         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
249         * configure: Regenerate.
251 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
253         * config/arc/lib1funcs.S (_muldi3): New function.
254         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
256 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
258         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
260 2018-10-25  Martin Liska  <mliska@suse.cz>
262         PR other/87735
263         * libgcov-profiler.c: Revert.
265 2018-10-24  Martin Liska  <mliska@suse.cz>
267         * libgcov-profiler.c: Start from 1 in order to distinguish
268         functions which were seen and these that were not.
270 2018-10-18  Paul Koning  <ni1d@arrl.net>
272         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
273         standard.
274         * divmod.c: Update references to __udivmodsi4.
275         * udivmod.c: Ditto.
276         * udivhi3.c: New file.
277         * udivmodhi4.c: New file.
278         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
280 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
282         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
284 2018-10-12  Olivier Hainque  <hainque@adacore.com>
286         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
287         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
289 2018-10-08  Paul Koning  <ni1d@arrl.net>
291         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
293 2018-10-04  Martin Liska  <mliska@suse.cz>
295         PR gcov-profile/84107
296         * libgcov-profiler.c (__gcov_indirect_call):
297         Change type to indirect_call_tuple.
298         (struct indirect_call_tuple): New struct.
299         (__gcov_indirect_call_topn_profiler): Change type.
300         (__gcov_indirect_call_profiler_v2): Use the new
301         variables.
302         * libgcov.h (struct indirect_call_tuple): New struct
303         definition.
305 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
307         * libgcc2.c (isnan): Use __builtin_isnan.
308         (isfinite): Use __builtin_isfinite.
309         (isinf): Use __builtin_isinf.
311 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
313         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
315 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
317         * config/vxcache.c: New file.  Provide __clear_cache, based on
318         the cacheTextUpdate VxWorks service.
319         * config/t-vxworks (LIB2ADD): Add vxcache.c.
320         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
321         * config/t-vxwoks7: Likewise.
323 2018-09-21  Martin Liska  <mliska@suse.cz>
325         * libgcov-driver.c (crc32_unsigned): Remove.
326         (gcov_histogram_insert): Likewise.
327         (gcov_compute_histogram): Likewise.
328         (compute_summary): Simplify rapidly.
329         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
330         (merge_summary): Rapidly simplify.
331         (dump_one_gcov): Ignore gcov_summary.
332         (gcov_do_dump): Do not handle program summary, it's not
333         used.
334         * libgcov-util.c (tag_summary): Remove.
335         (read_gcda_finalize): Fix coding style.
336         (read_gcda_file): Initialize curr_object_summary.
337         (compute_summary): Remove.
338         (calculate_overlap): Remove settings of run_max.
340 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
342         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
343         ucontext_t type instead.
344         (nds32_fallback_frame_state): Remove struct _sigframe statement.
346 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
348         * config/nds32/t-nds32-glibc: New file.
350 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
352         * configure.ac (solaris_ld_v2_maps): New test.
353         * configure: Regenerate.
354         * Makefile.in (solaris_ld_v2_maps): New variable.
355         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
356         if supported.
358 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
360         PR target/86951
361         * config/arm/lib1funcs.asm (speculation_barrier): New function.
362         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
363         to build.
365 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
367         * config/unwind-dw2-fde-darwin.c
368         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
369         * config/darwin10-unwind-find-enc-func.c: … to here.
370         * config/t-darwin: Build Darwin10 unwinder shim crt.
371         * libgcc/config.host: Add the Darwin10 unwinder shim.
373 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
375         * config.host: Add crtbegin.o and crtend.o for
376         powerpc-wrs-vxworks target.
378 2018-08-17  Jojo  <jijie_rong@c-sky.com>
379             Huibin Wang  <huibin_wang@c-sky.com>
380             Sandra Loosemore  <sandra@codesourcery.com>
381             Chung-Lin Tang  <cltang@codesourcery.com>
383         C-SKY port: libgcc
385         * config.host: Add C-SKY support.
386         * config/csky/*: New.
388 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
390         * config/nds32/t-nds32-isr: Rearrange object dependency.
391         * config/nds32/initfini.c: Add dwarf2 unwinding support.
392         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
393         and registers usage.
394         * config/nds32/isr-library/excp_isr.S: Ditto.
395         * config/nds32/isr-library/intr_isr.S: Ditto.
396         * config/nds32/isr-library/reset.S: Ditto.
397         * config/nds32/isr-library/restore_all.inc: Ditto.
398         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
399         * config/nds32/isr-library/restore_partial.inc: Ditto.
400         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
401         * config/nds32/isr-library/save_all.inc: Ditto.
402         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
403         * config/nds32/isr-library/save_partial.inc: Ditto.
404         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
405         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
407 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
409         * config/pa/linux-atomic.c: Update comment.
410         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
411         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
412         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
413         __ATOMIC_RELAXED for atomic loads.
414         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
415         unordered store to release lock.
416         (__sync_lock_release_8): Likewise.
417         (SYNC_LOCK_RELEASE_2): Remove define.
419 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
421         PR libgcc/86512
422         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
423         exponent goes negative. Update my email address.
424         * config/arm/ieee754-sf.S: Likewise.
426 2018-08-01  Martin Liska  <mliska@suse.cz>
428         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
429         check that  __gcov_indirect_call_callee is non-null.
431 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
433         * config/arm/ieee754-df.S: Fix comment for code working on
434         architectures >= 4.
435         * config/arm/ieee754-sf.S: Likewise.
437 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
439         PR libgcc/85334
440         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
441         Removed.
443 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
445         * configure: Regenerated.
447 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
449         * Makefile.in (install_leaf): Use enable_gcov instead of
450         enable_libgcov.
452 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
454         * configure.ac: Add --disable-gcov option.
455         * configure: Regenerate.
456         * Makefile.in: Honour @enable_gcov@.
458 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
460         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
461         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
462         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
463         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
464         __ARM_ARCH__.
465         * config/arm/ieee754-sf.S: Likewise.
466         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
468 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
470         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
471         longer supported.
472         * config/arm/ieee754-sf.S: Likewise.
474 2018-06-20  Than McIntosh  <thanm@google.com>
476         PR libgcc/86213
477         * generic-morestack.c (allocate_segment): Move calls to getenv and
478         getpagesize to __morestack_load_mmap.
479         (__morestack_load_mmap) Initialize static_pagesize and
480         use_guard_page here so as to avoid clobbering SSE regs during a
481         __morestack call.
483 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
485         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
486         support modules with -mno-gnu-attribute.
487         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
489 2018-06-07  Olivier Hainque  <hainque@adacore.com>
491         * config/t-vxworks (LIBGCC_INCLUDES): Add
492         -I$(MULTIBUILDTOP)../../gcc/include.
493         * config/t-vxworks7: Likewise. Reformat a bit to match
494         the t-vxworks layout.
496 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
498         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
500 2018-06-07  Martin Liska  <mliska@suse.cz>
502         * libgcov-driver.c: Rename cs_all to all and assign it from
503         all_prg.
505 2018-06-07  Martin Liska  <mliska@suse.cz>
507         PR bootstrap/86057
508         * libgcov-driver-system.c (replace_filename_variables): Use
509         memcpy instead of mempcpy.
510         (allocate_filename_struct): Do not allocate filename, allocate
511         prefix and set it.
512         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
513         here and properly copy content into it.
514         * libgcov-driver.c (struct gcov_filename): Remove max_length
515         field, change prefix from size_t into char *.
516         (compute_summary): Do not calculate longest filename.
517         (gcov_do_dump): Release memory of gf.filename after each file.
518         * libgcov-util.c (compute_summary): Use new signature of
519         compute_summary.
520         (calculate_overlap): Likewise.
522 2018-06-05  Martin Liska  <mliska@suse.cz>
524         PR gcov-profile/47618
525         * libgcov-driver-system.c (replace_filename_variables): New
526         function.
527         (gcov_exit_open_gcda_file): Use it.
529 2018-06-05  Martin Liska  <mliska@suse.cz>
531         * libgcov-driver.c (gcov_compute_histogram): Remove usage
532         of gcov_ctr_summary.
533         (compute_summary): Do it just for a single summary.
534         (merge_one_data): Likewise.
535         (merge_summary): Simplify as we read just single summary.
536         (dump_one_gcov): Pass proper argument.
537         * libgcov-util.c (compute_one_gcov): Simplify as we have just
538         single summary.
539         (gcov_info_count_all_cold): Likewise.
540         (calculate_overlap): Likewise.
542 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
543             Monk Chiang  <sh.chiang04@gmail.com>
545         * config.host (nds32*-linux*): New.
546         * config/nds32/linux-atomic.c: New file.
547         * config/nds32/linux-unwind.h: New file.
549 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
551         PR target/85591
552         * config/i386/cpuinfo.c (get_amd_cpu): Return
553         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
555 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
557         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
559 2018-05-29  Martin Liska  <mliska@suse.cz>
561         PR gcov-profile/85759
562         * libgcov-driver-system.c (gcov_error): Introduce usage of
563         GCOV_EXIT_AT_ERROR env. variable.
564         * libgcov-driver.c (merge_one_data): Print error that we
565         overwrite a gcov file with a different timestamp.
567 2018-05-23  Kalamatee  <kalamatee@gmail.com>
569         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
570         path to Lf$finfty.
572 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
573             Monk Chiang  <sh.chiang04@gmail.com>
574             Jim Wilson <jimw@sifive.com>
576         * config/riscv/save-restore.S: Add support for rv32e.
578 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
580         * config/arm/libunwind.S: Update comment relating to armv5.
582 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
584         * config/arm/cmse.c (cmse_check_address_range): Replace
585         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
587 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
589         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
590         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
592 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
594         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
595         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
597 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
599         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
601 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
602             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
604         PR libgcc/84292
605         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
606         op_and_fetch to return the right result.
608 2018-04-27  Alan Modra  <amodra@gmail.com>
610         PR libgcc/85532
611         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
612         -fno-asynchronous-unwind-tables.
614 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
616         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
617         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
619 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
621         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
622         when including "config/i386/shadow-stack-unwind.h".
624 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
626         * configure: Regenerated.
628 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
630         PR target/85456
631         * config/rs6000/_powikf2.c: New file.  Add support for the
632         __builtin_powil function when long double is IEEE 128-bit floating
633         point.
634         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
635         __powikf2 support.
636         (__powikf2): Likewise.
637         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
638         (__powikf2_hw): Likewise.
639         (__powikf2): Likewise.
640         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
641         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
642         (_powikf2-hw.c): Likewise.
644 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
646         PR libgcc/85334
647         * unwind-generic.h (_Unwind_Frames_Increment): New.
648         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
649         Likewise.
650         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
651         count with _Unwind_Frames_Increment.
652         (_Unwind_ForcedUnwind_Phase2): Likewise.
654 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
656         PR libgcc/85379
657         * config/i386/morestack.S (__stack_split_initialize): Add
658         _CET_ENDBR.
660 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
662         * configure: Regenerated.
664 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
666         PR jit/85384
667         * configure: Regenerate.
669 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
671         PR target/84945
672         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
673         -Wdangling-else warnings.  Mask shift counts to avoid
674         -Wshift-count-negative and -Wshift-count-overflow false positives.
676 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
678         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
680 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
682         PR target/85100
683         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
684         (XSTATE_FP): Likewise.
685         (XSTATE_SSE): Likewise.
686         (XSTATE_YMM): Likewise.
687         (XSTATE_OPMASK): Likewise.
688         (XSTATE_ZMM): Likewise.
689         (XSTATE_HI_ZMM): Likewise.
690         (XCR_AVX_ENABLED_MASK): Likewise.
691         (XCR_AVX512F_ENABLED_MASK): Likewise.
692         (get_available_features): Enable AVX and AVX512 features only
693         if their states are supported by OSXSAVE.
695 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
697         PR target/85025
698         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
699         Fix a typo, tmp => 255.
701 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
703         PR target/84945
704         * config/i386/cpuinfo.h (__cpu_features2): Declare.
705         * config/i386/cpuinfo.c (__cpu_features2): New variable for
706         ifndef SHARED only.
707         (set_feature): Define.
708         (get_available_features): Use set_feature macro.  Set __cpu_features2
709         to the second word of features ifndef SHARED.
711 2018-03-15  Julia Koval  <julia.koval@intel.com>
713         * config/i386/cpuinfo.c (get_available_features): Add
714         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
715         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
716         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
717         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
718         FEATURE_AVX512BITALG.
720 2018-03-14  Julia Koval  <julia.koval@intel.com>
722         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
723         icelake client and icelake server.
725 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
727         * config/pa/fptr.c (_dl_read_access_allowed): New.
728         (__canonicalize_funcptr_for_compare): Use it.
730 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
732         PR debug/83917
733         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
734         $asm_hidden_op if visibility ("hidden") attribute works.
735         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
736         * config/i386/i386-asm.h: Don't include auto-host.h.
737         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
738         PACKAGE_URL): Don't undefine.
739         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
740         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
741         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
742         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
743         definition instead of hardcoded .hidden.
744         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
745         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
746         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
747         (USE_GAS_CFI_DIRECTIVES): Don't define.
748         * configure: Regenerated.
749         * config.in: Likewise.
751 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
753         PR debug/83917
754         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
755         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
756         inclusion of auto-target.h and auto-host.h.
757         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
758         __GCC_HAVE_DWARF2_CFI_ASM.
759         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
760         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
761         cfi_pop): Define.
762         * config/i386/cygwin.S: Don't include auto-host.h here, just
763         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
764         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
765         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
766         * config/i386/resms64fx.h: Add cfi_* directives.
767         * config/i386/resms64x.h: Likewise.
769 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
771         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
772         .literal_position directive.
773         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
775 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
777         PR target/84148
778         * configure: Regenerate.
780 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
782         PR target/84239
783         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
784         Include cetintrin.h not x86intrin.h.
786 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
788         PR target/84239
789         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
790         Use new _get_ssp and _inc_ssp intrinsics.
792 2018-02-02  Julia Koval  <julia.koval@intel.com>
794         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
796 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
798         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
799         option.
800         (__divsi3): Use RF16 safe registers.
801         (__modsi3): Likewise.
803 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
805         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
806         (__divsf3): Make NaN return value quiet.
807         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
808         (__divdf3): Make NaN return value quiet.
810 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
812         * config/rl78/anddi3.S: New assembly file.
813         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
815 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
817         * config/rl78/umindi3.S: New assembly file.
818         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
820 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
822         * config/rl78/smindi3.S: New assembly file.
823         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
825 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
827         * config/rl78/smaxdi3.S: New assembly file.
828         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
830 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
832         * config/rl78/umaxdi3.S: New assembly file.
833         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
835 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
837         PR lto/83452
838         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
839         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
841 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
843         * config/aarch64/value-unwind.h (aarch64_vg): New function.
844         (DWARF_LAZY_REGISTER_VALUE): Define.
845         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
846         to provide a fallback register value.
848 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
850         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
851         __ibm128, instead of trying to use long double.
852         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
853         accomidate -mabi=ieeelongdouble multilibs.
854         (CVT_IBM128_TO_FLOAT128): Likewise.
855         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
856         the appropriate IBM extended double type.
857         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
858         (__gcc_qsub): Likewise.
859         (__gcc_qmul): Likewise.
860         (__gcc_qdiv): Likewise.
861         (pack_ldouble): Likewise.
862         (__gcc_qneg): Likewise.
863         (__gcc_qeq): Likewise.
864         (__gcc_qne): Likewise.
865         (__gcc_qge): Likewise.
866         (__gcc_qle): Likewise.
867         (__gcc_stoq): Likewise.
868         (__gcc_dtoq): Likewise.
869         (__gcc_itoq): Likewise.
870         (__gcc_utoq): Likewise.
871         (__gcc_qunord): Likewise.
872         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
873         quad-float128.h for the definitions.
874         (COPYSIGN): Use the f128 version instead of the q version.
875         (INFINITY): Likewise.
876         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
877         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
878         quad-float128.h for the definitions.
879         (COPYSIGN): Use the f128 version instead of the q version.
880         (INFINITY): Likewise.
881         (FABS): Likewise.
882         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
883         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
884         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
886 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
888         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
889         configuration.
891 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
893         Update copyright years.
895 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
897         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
898         * config/riscv/multi3.c: New file.
899         * config/riscv/multi3.S: Remove.
901 2017-12-08  Jim Wilson  <jimw@sifive.com>
903         * config/riscv/div.S: Use FUNC_* macros.
904         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
905         * config/riscv/save-restore.S: Likewise.
906         * config/riscv/riscv-asm.h: New.
908 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
910         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
911         * config/rs6000/_divkc3.c (__divkc3): Likewise.
913         PR libgcc/83112
914         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
915         correct type for all ifunc resolvers to silence -Wattribute-alias
916         warnings.  Eliminate the forward declaration of the resolver
917         functions which is no longer needed.
918         (__subkf3_resolve): Likewise.
919         (__mulkf3_resolve): Likewise.
920         (__divkf3_resolve): Likewise.
921         (__negkf2_resolve): Likewise.
922         (__eqkf2_resolve): Likewise.
923         (__nekf2_resolve): Likewise.
924         (__gekf2_resolve): Likewise.
925         (__gtkf2_resolve): Likewise.
926         (__lekf2_resolve): Likewise.
927         (__ltkf2_resolve): Likewise.
928         (__unordkf2_resolve): Likewise.
929         (__extendsfkf2_resolve): Likewise.
930         (__extenddfkf2_resolve): Likewise.
931         (__trunckfsf2_resolve): Likewise.
932         (__trunckfdf2_resolve): Likewise.
933         (__fixkfsi_resolve): Likewise.
934         (__fixkfdi_resolve): Likewise.
935         (__fixunskfsi_resolve): Likewise.
936         (__fixunskfdi_resolve): Likewise.
937         (__floatsikf_resolve): Likewise.
938         (__floatdikf_resolve): Likewise.
939         (__floatunsikf_resolve): Likewise.
940         (__floatundikf_resolve): Likewise.
941         (__extendkftf2_resolve): Likewise.
942         (__trunctfkf2_resolve): Likewise.
944         PR libgcc/83103
945         * config/rs6000/quad-float128.h (TF): Don't define if long double
946         is IEEE 128-bit floating point.
947         (TCtype): Define as either TCmode or KCmode, depending on whether
948         long double is IEEE 128-bit floating point.
949         (__mulkc3_sw): Add declarations for software/hardware versions of
950         complex multiply/divide.
951         (__divkc3_sw): Likewise.
952         (__mulkc3_hw): Likewise.
953         (__divkc3_hw): Likewise.
954         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
955         handlers to switch between using software emulation and hardware
956         float128 instructions, build the complex multiply/divide functions
957         for both software and hardware support.
958         * config/rs6000/_divkc3.c (_divkc3): Likewise.
959         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
960         (__divkc3_resolve): Likewise.
961         (__mulkc3): Likewise.
962         (__divkc3): Likewise.
963         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
964         (fp128_hw_src): Likewise.
965         (fp128_hw_static_obj): Likewise.
966         (fp128_hw_shared_obj): Likewise.
967         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
968         _mulkc3.c and _divkc3.c, changing the function name.
969         (_divkc3-hw.c): Likewise.
970         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
971         and _divkc3-hw.c.
973 2017-11-26  Julia Koval  <julia.koval@intel.com>
975         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
976         * config/i386/cpuinfo.h (processor_subtypes): Add
977         INTEL_COREI7_CANNONLAKE.
979 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
981         PR bootstrap/83015
982         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
983         parameter.
984         * config/xtensa/unwind-dw2-xtensa.c: Likewise
985         * config/ia64/unwind-ia64.c: Add frames parameter.
986         * unwind-sjlj.c: Likewise.
988 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
990         * config/i386/linux-unwind.h: Include
991         config/i386/shadow-stack-unwind.h.
992         * config/i386/shadow-stack-unwind.h: New file.
993         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
994         pass it to _Unwind_Frames_Extra.
995         * unwind-generic.h (_Unwind_Frames_Extra): New.
996         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
997         parameter. Add local variable frames to count number of frames.
998         (_Unwind_ForcedUnwind_Phase2): Likewise.
999         (_Unwind_RaiseException): Add local variable frames to count
1000         number of frames, pass it to _Unwind_RaiseException_Phase2 and
1001         uw_install_context.
1002         (_Unwind_ForcedUnwind): Likewise.
1003         (_Unwind_Resume): Likewise.
1004         (_Unwind_Resume_or_Rethrow): Likewise.
1006 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
1008         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1009         (CET_FLAGS): New.
1010         * config/i386/morestack.S: Include <cet.h>.
1011         (__morestack_large_model): Add _CET_ENDBR at function entrance.
1012         * config/i386/resms64.h: Include <cet.h>.
1013         * config/i386/resms64f.h: Likewise.
1014         * config/i386/resms64fx.h: Likewise.
1015         * config/i386/resms64x.h: Likewise.
1016         * config/i386/savms64.h: Likewise.
1017         * config/i386/savms64f.h: Likewise.
1018         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1019         (CRTSTUFF_T_CFLAGS): Likewise.
1020         * configure.ac: Include ../config/cet.m4.
1021         Set and substitute CET_FLAGS.
1022         * configure: Regenerated.
1024 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1026         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1027         renaming.
1028         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1029         * configure.ac (libgcc_cv_solaris_crts): Likewise.
1030         * configure: Regenerate.
1032 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1034         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1035         after "do {} while (0)".
1037 2017-11-07  Tom de Vries  <tom@codesourcery.com>
1039         PR other/82784
1040         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1041         semicolon after "do {} while (0)".
1042         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1043         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1044         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1045         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1047 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
1049         PR libgcc/82635
1050         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1051         sysctl to determine whether we're in a trampoline.
1052         Keep the pattern matching method for systems without
1053         KERN_PROC_SIGTRAMP sysctl.
1055 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
1056             Vineet Gupta <vgupta@synopsys.com>
1058         * config.host (arc*-*-linux*): Set md_unwind_header variable.
1059         * config/arc/linux-unwind-reg.def: New file.
1060         * config/arc/linux-unwind-reg.h: Likewise.
1062 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
1064         * config/rl78/subdi3.S: New assembly file.
1065         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1067 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
1069         * config/rl78/adddi3.S: New assembly file.
1070         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1072 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
1074         PR target/82274
1075         * libgcc2.c (__mulvDI3): If both operands have
1076         the same highpart of -1 and the topmost bit of lowpart is 0,
1077         multiplication overflows even if both lowparts are 0.
1079 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
1081         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1083 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
1085         * config/microblaze/crti.S, config/microblaze/crtn.S,
1086         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1087         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1088         config/microblaze/mulsi3.S,
1089         config/microblaze/stack_overflow_exit.S,
1090         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1091         config/pa/milli64.S: Add .note.GNU-stack section.
1093 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
1095         * configure.ac: Add Check for HAVE_AS_AVX.
1096         * config.in: Regenerate.
1097         * configure: Likewise.
1098         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1099         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1100         Correct out-of-date comments.
1102 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
1104         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1105         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1107 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
1109         * config/i386/i386-asm.h (PASTE2): New macro.
1110         (ASMNAME): Modify to use PASTE2.
1111         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1112         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
1113         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
1114         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
1115         * config/i386/resms64f.S: Likewise.
1116         * config/i386/resms64fx.S: Likewise.
1117         * config/i386/resms64x.S: Likewise.
1118         * config/i386/savms64.S: Likewise.
1119         * config/i386/savms64f.S: Likewise.
1120         * config/i386/avx_resms64.S: New file that only defines a macro and
1121         includes it's corresponding header file.
1122         * config/i386/avx_resms64f.S: Likewise.
1123         * config/i386/avx_resms64fx.S: Likewise.
1124         * config/i386/avx_resms64x.S: Likewise.
1125         * config/i386/avx_savms64.S: Likewise.
1126         * config/i386/avx_savms64f.S: Likewise.
1127         * config/i386/sse_resms64.S: Likewise.
1128         * config/i386/sse_resms64f.S: Likewise.
1129         * config/i386/sse_resms64fx.S: Likewise.
1130         * config/i386/sse_resms64x.S: Likewise.
1131         * config/i386/sse_savms64.S: Likewise.
1132         * config/i386/sse_savms64f.S: Likewise.
1133         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
1135 2017-09-01  Olivier Hainque  <hainque@adacore.com>
1136         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1138 2017-08-31  Olivier Hainque  <hainque@adacore.com>
1140         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1141         match as powerpc-wrs-vxworks*.
1143 2017-08-07  Jonathan Yong  <10walls@gmail.com>
1145         * config.host (*-cygwin): Include file from mingw
1146         config/i386/enable-execute-stack-mingw32.c
1148 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
1149             Doug Rupp  <rupp@adacore.com>
1150             Olivier Hainque  <hainque@adacore.com>
1152         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1153         as well as arm-wrs-vxworks.
1154         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
1155         LIB2ADDEH.
1156         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1157         __exidx_start and __exidx_end for downloadable modules.
1159 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1161         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1162         * config/t-vxworks7: Likewise.
1164 2017-08-01  Olivier Hainque  <hainque@adacore.com>
1166         * config/t-vxworks: Instead of redefining LIB2ADD,
1167         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1169 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1171         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1173 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
1175         PR testsuite/80759
1176         * config.host: include i386/t-msabi for darwin and solaris.
1177         * config/i386/i386-asm.h
1178         (ELFFN): Rename to FN_TYPE.
1179         (FN_SIZE): New macro.
1180         (FN_HIDDEN): Likewise.
1181         (ASMNAME): Likewise.
1182         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1183         .globl.
1184         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1185         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1186         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1187         .macro.
1188         * config/i386/resms64f.S: Likewise.
1189         * config/i386/resms64fx.S: Likewise.
1190         * config/i386/resms64x.S: Likewise.
1191         * config/i386/savms64.S: Likewise.
1192         * config/i386/savms64f.S: Likewise.
1194 2017-07-19  John Marino  <gnugcc@marino.st>
1196         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1198 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
1200         PR target/81193
1201         * configure.ac (PowerPC float128 hardware support): Test whether
1202         we can use __builtin_cpu_supports before enabling the ifunc
1203         handler.
1204         * configure: Regenerate.
1206 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
1208         * config.host: Remove uclibc from arc target spec.
1210 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
1212         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1214 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
1216         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1217         (have_ieee_hw_p): Delete function.
1218         (SW_OR_HW) Use __builtin_cpu_supports().
1220 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1222         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1224 2017-07-03  Olivier Hainque  <hainque@adacore.com>
1226         * config/t-vxworks7: New file, really.
1228 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1230         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1231         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1232         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1233         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1234         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1235         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1236         config/pa/linux-unwind.h (pa32_fallback_frame_state),
1237         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1238         config/sh/linux-unwind.h (sh_fallback_frame_state),
1239         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1240         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1241         ucontext_t instead of struct ucontext.
1243 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
1245         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1246         (x86_64-wrs-vxworks7): Likewise.
1248 2017-06-27  Olivier Hainque  <hainque@adacore.com>
1250         * config/t-vxworks7: New file.
1251         * config.host (*-*-vxworks7): Use it.
1253 2017-06-22  Matt Turner  <mattst88@gmail.com>
1255         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1256         skylake case.
1258 2017-06-21  Richard Biener  <rguenther@suse.de>
1260         PR gcov-profile/81080
1261         * configure.ac: Add AC_SYS_LARGEFILE.
1262         * libgcov.h: Include auto-target.h before tsystem.h to pick
1263         up _FILE_OFFSET_BITS which might differ for multilibs.
1264         * config.in: Regenerate.
1265         * configure: Likewise.
1267 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
1269         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1271 2017-06-09  Martin Liska  <mliska@suse.cz>
1273         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1274         Reset __gcov_indirect_call_callee to NULL.
1276 2017-06-08  Olivier Hainque  <hainque@adacore.com>
1278         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1279         the set of -I options, support for direct inclusions of net/uio.h
1280         by VxWorks header files via ioLib.h.
1282 2017-06-07  Tony Reix  <tony.reix@atos.net>
1283             Matthieu Sarter  <matthieu.sarter.external@atos.net>
1284             David Edelsohn  <dje.gcc@gmail.com>
1286         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1287         unconditionally.
1288         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
1289         AIX 7.2 support.
1291 2017-06-02  Olivier Hainque  <hainque@adacore.com>
1293         * config/vxlib.c (__gthread_once): Add missing value to
1294         return statement.
1296 2017-05-30  Olivier Hainque  <hainque@adacore.com>
1298         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1299         dollar sign before $(MULTIDIR).
1301 2017-05-26  Richard Henderson  <rth@redhat.com>
1303         PR libgcc/80037
1304         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1306 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
1308         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1309         _Unwind_SetIP available as functions for arm*-*-freebsd*.
1310         * config/arm/unwind-arm.c: Implement the above.
1312 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1314         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1315         section for a non-executable stack.
1317 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
1319         PR target/80600
1320         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1322 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
1324         * config.host: Add i386/t-msabi to i386/t-linux file list.
1325         * config/i386/i386-asm.h: New file.
1326         * config/i386/resms64.S: New file.
1327         * config/i386/resms64f.S: New file.
1328         * config/i386/resms64fx.S: New file.
1329         * config/i386/resms64x.S: New file.
1330         * config/i386/savms64.S: New file.
1331         * config/i386/savms64f.S: New file.
1332         * config/i386/t-msabi: New file.
1334 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
1336         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1337         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1339 2017-05-05  Joshua Conner  <joshconner@google.com>
1341         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1342         pc-relative indirect handling for fuchsia.
1343         * config/t-slibgcc-fuchsia: New file.
1344         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1345         x86_64-*-fuchsia*): Add definitions.
1347 2017-04-19  Martin Liska  <mliska@suse.cz>
1349         PR gcov-profile/80435
1350         * Makefile.in: Install gcov.h.
1351         * gcov.h: New file.
1352         * libgcov.h: Use the header and make __gcov_flush publicly
1353         visible.
1355 2017-04-18  Martin Liska  <mliska@suse.cz>
1357         PR gcov-profile/78783
1358         * libgcov-driver.c (gcov_get_filename): New function.
1360 2017-04-07  Jeff Law  <law@redhat.com>
1362         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1363         target makefile fragment.
1364         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1366 2017-04-07  Alan Modra  <amodra@gmail.com>
1368         PR target/45053
1369         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1371 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
1373         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1375 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
1377         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1379 2017-03-10  John Marino  <gnugcc@marino.st>
1381         * config/aarch64/freebsd-unwind.h: New file.
1382         * config.host: Add aarch64-*-freebsd unwinder.
1384 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1386         * config/rs6000/crtrestvr.s: Use .machine altivec.
1387         * config/rs6000/crtsavevr.s: Ditto.
1389 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1391         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1392         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1393         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1394         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1395         * configure: Regenerate.
1396         * config.in: Regenerate.
1398 2017-03-02  Jonathan Yong <10walls@gmail.com>
1400         * config/i386/gthr-win32.h: Define NOGDI before
1401         windows.h include to prevent w32api CC_NONE macro
1402         clash with libgfortran.
1404 2017-03-02  Jonathan Yong <10walls@gmail.com>
1406         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1408 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1410         * config/aarch64/value-unwind.h: New file.
1411         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1412         to tm_file.
1414 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1416         * config.host: Add RISC-V tuples.
1417         * config/riscv/atomic.c: New file.
1418         * config/riscv/crti.S: Likewise.
1419         * config/riscv/crtn.S: Likewise.
1420         * config/riscv/div.S: Likewise.
1421         * config/riscv/linux-unwind.h: Likewise.
1422         * config/riscv/muldi3.S: Likewise.
1423         * config/riscv/multi3.S: Likewise.
1424         * config/riscv/save-restore.S: Likewise.
1425         * config/riscv/sfp-machine.h: Likewise.
1426         * config/riscv/t-elf: Likewise.
1427         * config/riscv/t-elf32: Likewise.
1428         * config/riscv/t-elf64: Likewise.
1429         * config/riscv/t-softfp32: Likewise.
1430         * config/riscv/t-softfp64: Likewise.
1432 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1434         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1435         /* FALLTHRU */ comments.
1437 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1439         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1441 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1443         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1444         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1445         DW_CFA_GNU_window_save for AArch64 and LP64.
1447 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1449         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1451 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1453         * config/aarch64/aarch64-unwind.h: New file.
1454         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1455         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1456         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1457         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1458         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1459         (aarch64_post_extract_frame_addr): New function.
1460         (aarch64_post_frob_eh_handler_addr): New function.
1461         (aarch64_frob_update_context): New function.
1462         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1463         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1464         aarch64*-*-freebsd*):
1465         Initialize md_unwind_header to include aarch64-unwind.h.
1466         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1467         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1468         __aarch64__.
1469         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1470         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1471         (uw_frob_return_addr): New function.
1472         (uw_install_context): Use uw_frob_return_addr.
1474 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1476         PR other/79046
1477         * configure.ac: Add GCC_BASE_VER.
1478         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1479         version from BASE-VER file.
1480         * configure: Regenerated.
1482 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1484         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1485         libmul_f5.a): Filter archived prerequisites.
1487 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1489         * config/i386/cpuinfo.h (processor_features): Add
1490         FEATURE_AVX512VPOPCNTDQ.
1491         * config/i386/cpuinfo.c (get_available_features): Habdle new
1492         feature.
1494 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1496         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1497         payload if [__mips_nan2008].
1499 2017-01-04  Alan Modra  <amodra@gmail.com>
1501         * Makefile.in (configure_deps): Update.
1502         * configure: Regenerate.
1504 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1506         Update copyright years.
1508 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1510         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1511         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1512         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1514 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1516         * config/arc/gmon: Remove empty directory.
1518 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
1520         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1521         crtgend.
1522         (arc*-*-elf*): Likewise.
1523         * config/arc/t-arc: Remove old gmon lib targets.
1524         * config/arc/crtg.S: Remove.
1525         * config/arc/crtgend.S: Likewise.
1526         * config/arc/gmon/atomic.h: Likewise.
1527         * config/arc/gmon/auxreg.h: Likewise.
1528         * config/arc/gmon/dcache_linesz.S: Likewise.
1529         * config/arc/gmon/gmon.c: Likewise.
1530         * config/arc/gmon/machine-gmon.h: Likewise.
1531         * config/arc/gmon/mcount.c: Likewise.
1532         * config/arc/gmon/prof-freq-stub.S: Likewise.
1533         * config/arc/gmon/prof-freq.c: Likewise.
1534         * config/arc/gmon/profil.S: Likewise.
1535         * config/arc/gmon/sys/gmon.h: Likewise.
1536         * config/arc/gmon/sys/gmon_out.h: Likewise.
1537         * config/arc/t-arc-newlib: Likewise.
1538         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1540 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1542         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1544 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1546         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1547         R16 instead of push + pop.
1548         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1550 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
1552         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1553         tmake_file.
1555 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
1557         * config.host (arc*-*-linux-uclibc*): Use default extra
1558         objects. Include linux-android header.
1559         * config/arc/crti.S (_init): Declare symbol as function.
1560         (_fini): Likewise.
1562 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
1564         PR fortran/78379
1565         * config/i386/cpuinfo.c:  Move denums for processor vendors,
1566         processor type, processor subtypes and declaration of
1567         struct __processor_model into
1568         * config/i386/cpuinfo.h:  New header file.
1570 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1571             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1573         * config/arm/cmse_nonsecure_call.S: New.
1574         * config/arm/t-arm: Compile cmse_nonsecure_call.S
1576 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1577             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1579         * config/arm/t-arm (HAVE_CMSE): New.
1580         * config/arm/cmse.c: New.
1582 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1584         PR gcc/74748
1585         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1586         use generic linker version information on Blackfin.
1588         PR gcc/74748
1589         * libgcc/mkmap-symver.awk: add support for skip_underscore
1591 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
1592             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1594         PR target/67710
1595         *  config/t-darwin: Default builds to 10.5 codegen.
1597 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
1599         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1600         (_FP_NANSIGN_H): Likewise.
1601         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1602         (softfp_truncations): Add tfhf.
1603         (softfp_extras): Add required conversion functions.
1605 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1606             Matthew Wahab  <matthew.wahab@arm.com>
1608         * config/arm/fp16.c (binary64): New.
1609         (__gnu_d2h_internal): New.
1610         (__gnu_d2h_ieee): New.
1611         (__gnu_d2h_alternative): New.
1613 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1614             Matthew Wahab  <matthew.wahab@arm.com>
1616         * config/arm/fp16.c (struct format): New.
1617         (binary32): New.
1618         (__gnu_float2h_internal): New.  Body moved from
1619         __gnu_f2h_internal and generalize.
1620         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1621         Call it with binary32.
1623 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1625         * soft-fp/extendhftf2.c: Update from glibc.
1626         * soft-fp/fixhfti.c: Likewise.
1627         * soft-fp/fixunshfti.c: Likewise.
1628         * soft-fp/floattihf.c: Likewise.
1629         * soft-fp/floatuntihf.c: Likewise.
1630         * soft-fp/half.h: Likewise.
1631         * soft-fp/trunctfhf2.c: Likewise.
1633 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
1635         PR libgcc/77813
1636         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1637         __TMC_END__ behind a passthrough asm.
1639 2016-11-18  Walter Lee  <walt@tilera.com>
1641         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1643 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
1645         * config/i386/cpuinfo.c (processor_features): Add
1646         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1648 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
1650         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1651         (__ARC_NORM__): Use instead ARC_OPTFPE.
1652         * config/arc/fp-hack.h: Likewise.
1653         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1654         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1656 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
1658         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1659         * config/nvptx/mgomp.c: New file.
1660         * config/nvptx/t-nvptx: Add mgomp.c
1662 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
1664         PR libgcc/68468
1665         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1667 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
1669         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1670         of checking for cpus.
1671         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1672         (__modsi3, __clzsi2): Likewise.
1674 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1676         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1677         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1678         * config/i386/t-cpuinfo-static: New.
1680 2016-11-03  Martin Liska  <mliska@suse.cz>
1682         * libgcov-profiler.c (__gcov_time_profiler): Remove.
1683         (__gcov_time_profiler_atomic): Likewise.
1685 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1687         PR libgcc/78067
1688         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1689         count_leading_zeros.
1691 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
1693         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1694         * libgcc2.c (__divmoddi4): New function.
1695         * libgcc2.h (__divmoddi4): Declare.
1696         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1697         and __PFX_divmodti4.
1699 2016-10-24  Florian Weimer  <fweimer@redhat.com>
1701         PR libgcc/78064
1702         * unwind-c.c: Include auto-target.h.
1704 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
1706         * config/pa/pa64-hpux-lib.h: New file.
1707         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1708         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1709         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1710         hppa*64*-*-hpux11*.
1712 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
1714         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1715         definition.
1716         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1717         definition.
1718         * config/xtensa/t-windowed (LIB2ADDEH): Use
1719         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1720         or xtensa/t-linux.
1722 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
1724         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1725         __ieee754_sqrt): New functions.
1726         (__divdf3): Add implementation with new FPU instructions under
1727         #if XCHAL_HAVE_DFP_DIV.
1728         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1729         __ieee754_sqrtf): New functions.
1730         (__divsf3): Add implementation with new FPU instructions under
1731         #if XCHAL_HAVE_FP_DIV.
1732         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1733         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1735 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1737         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1738         equivalent.
1739         * config/tilepro/atomic.c: Likewise and stop casting model to
1740         enum memmodel.
1742 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
1744         PR target/77586
1745         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1746         soft-fp.
1748 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
1750         * config.host: Add support for aarch64-*-freebsd*.
1752 2016-10-05  Andreas Schwab  <schwab@suse.de>
1754         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1755         (.section .init_array): Don't call __do_jv_register_classes.
1756         (.section .init): Likewise.
1758 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
1760         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1761         (__JCR_LIST__): Remove.
1762         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1763         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1764         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1765         * config/ia64/crtend.S (__JCR_END__): Remove.
1766         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1767         conditionals.
1768         (__JCR_LIST__, __JCR_END__): Remove.
1769         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1770         (__do_global_ctors_1): Likewise.
1772 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1774         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1775         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1777 2016-09-27  Martin Liska  <mliska@suse.cz>
1779         PR gcov-profile/7970
1780         PR gcov-profile/16855
1781         PR gcov-profile/44779
1782         * libgcov-driver.c (__gcov_init): Do not register a atexit
1783         handler.
1784         (__gcov_exit): Rename from gcov_exit.
1785         * libgcov.h (__gcov_exit): Declare.
1787 2016-09-27  Martin Liska  <mliska@suse.cz>
1789         PR bootstrap/77749
1790         * Makefile.in: Remove _gcov_merge_delta.
1791         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1792         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1793         * libgcov.h: Remove declaration of __gcov_merge_delta.
1795 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1797         * configure.ac: Do not create links, only substitute the filenames.
1798         * configure: Regenerate.
1799         * Makefile.in: Assign the substitution results to variables.
1800         (LIBGCC_LINKS): Define.
1801         (enable-execute-stack.c): New rule.
1802         (unwind.h): Likewise.
1803         (md-unwind-support.h): Likewise.
1804         (sfp-machine.h): Likewise.
1805         (gthr-default.h): Likewise.
1806         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1807         unwind.h as prerequisite of install-unwind_h-forbuild.
1809 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1811         PR libgcc/71744
1812         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1813         is not the primary registry and atomics are available.
1814         (any_objects_registered): New variable.
1815         (__register_frame_info_bases, __register_frame_info_table_bases):
1816         Atomically store 1 to any_objects_registered after registering first
1817         unwind info.
1818         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1820 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1822         PR target/63250
1823         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1824         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1825         (HFtype): Likewise.
1826         (HCtype): Likewise.
1827         (__divhc3): Likewise.
1828         (__mulhc3): Likewise.
1829         * libgcc2.c: Support _mulhc3 and _divhc3.
1831 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1833         PR libgcc/77519
1834         * libgcc2.c (NOTRUNC): Invert settings.
1836 2016-09-06  Martin Liska  <mliska@suse.cz>
1838         PR gcov-profile/77378
1839         PR gcov-profile/77466
1840         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1841         conditionaly enable/disable *_atomic functions.
1843 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1845         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1846         where not already enabled.
1848 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1850         * config/mips/linux-unwind.h: Use sys/syscall.h.
1852 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1854         PR libgcc/77265
1855         * soft-fp/adddf3.c: Update from glibc.
1856         * soft-fp/addsf3.c: Likewise.
1857         * soft-fp/addtf3.c: Likewise.
1858         * soft-fp/divdf3.c: Likewise.
1859         * soft-fp/divsf3.c: Likewise.
1860         * soft-fp/divtf3.c: Likewise.
1861         * soft-fp/double.h: Likewise.
1862         * soft-fp/eqdf2.c: Likewise.
1863         * soft-fp/eqsf2.c: Likewise.
1864         * soft-fp/eqtf2.c: Likewise.
1865         * soft-fp/extenddftf2.c: Likewise.
1866         * soft-fp/extended.h: Likewise.
1867         * soft-fp/extendsfdf2.c: Likewise.
1868         * soft-fp/extendsftf2.c: Likewise.
1869         * soft-fp/extendxftf2.c: Likewise.
1870         * soft-fp/fixdfdi.c: Likewise.
1871         * soft-fp/fixdfsi.c: Likewise.
1872         * soft-fp/fixdfti.c: Likewise.
1873         * soft-fp/fixsfdi.c: Likewise.
1874         * soft-fp/fixsfsi.c: Likewise.
1875         * soft-fp/fixsfti.c: Likewise.
1876         * soft-fp/fixtfdi.c: Likewise.
1877         * soft-fp/fixtfsi.c: Likewise.
1878         * soft-fp/fixtfti.c: Likewise.
1879         * soft-fp/fixunsdfdi.c: Likewise.
1880         * soft-fp/fixunsdfsi.c: Likewise.
1881         * soft-fp/fixunsdfti.c: Likewise.
1882         * soft-fp/fixunssfdi.c: Likewise.
1883         * soft-fp/fixunssfsi.c: Likewise.
1884         * soft-fp/fixunssfti.c: Likewise.
1885         * soft-fp/fixunstfdi.c: Likewise.
1886         * soft-fp/fixunstfsi.c: Likewise.
1887         * soft-fp/fixunstfti.c: Likewise.
1888         * soft-fp/floatdidf.c: Likewise.
1889         * soft-fp/floatdisf.c: Likewise.
1890         * soft-fp/floatditf.c: Likewise.
1891         * soft-fp/floatsidf.c: Likewise.
1892         * soft-fp/floatsisf.c: Likewise.
1893         * soft-fp/floatsitf.c: Likewise.
1894         * soft-fp/floattidf.c: Likewise.
1895         * soft-fp/floattisf.c: Likewise.
1896         * soft-fp/floattitf.c: Likewise.
1897         * soft-fp/floatundidf.c: Likewise.
1898         * soft-fp/floatundisf.c: Likewise.
1899         * soft-fp/floatunditf.c: Likewise.
1900         * soft-fp/floatunsidf.c: Likewise.
1901         * soft-fp/floatunsisf.c: Likewise.
1902         * soft-fp/floatunsitf.c: Likewise.
1903         * soft-fp/floatuntidf.c: Likewise.
1904         * soft-fp/floatuntisf.c: Likewise.
1905         * soft-fp/floatuntitf.c: Likewise.
1906         * soft-fp/gedf2.c: Likewise.
1907         * soft-fp/gesf2.c: Likewise.
1908         * soft-fp/getf2.c: Likewise.
1909         * soft-fp/ledf2.c: Likewise.
1910         * soft-fp/lesf2.c: Likewise.
1911         * soft-fp/letf2.c: Likewise.
1912         * soft-fp/muldf3.c: Likewise.
1913         * soft-fp/mulsf3.c: Likewise.
1914         * soft-fp/multf3.c: Likewise.
1915         * soft-fp/negdf2.c: Likewise.
1916         * soft-fp/negsf2.c: Likewise.
1917         * soft-fp/negtf2.c: Likewise.
1918         * soft-fp/op-1.h: Likewise.
1919         * soft-fp/op-2.h: Likewise.
1920         * soft-fp/op-4.h: Likewise.
1921         * soft-fp/op-8.h: Likewise.
1922         * soft-fp/op-common.h: Likewise.
1923         * soft-fp/quad.h: Likewise.
1924         * soft-fp/single.h: Likewise.
1925         * soft-fp/soft-fp.h: Likewise.
1926         * soft-fp/subdf3.c: Likewise.
1927         * soft-fp/subsf3.c: Likewise.
1928         * soft-fp/subtf3.c: Likewise.
1929         * soft-fp/truncdfsf2.c: Likewise.
1930         * soft-fp/trunctfdf2.c: Likewise.
1931         * soft-fp/trunctfsf2.c: Likewise.
1932         * soft-fp/trunctfxf2.c: Likewise.
1933         * soft-fp/unorddf2.c: Likewise.
1934         * soft-fp/unordsf2.c: Likewise.
1935         * soft-fp/unordtf2.c: Likewise.
1937 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1939         PR gcov-profile/67097
1940         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1942 2016-08-10  Martin Liska  <mliska@suse.cz>
1944         PR gcov-profile/58306
1945         * Makefile.in: New functions (modules) are added.
1946         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1947         function.
1948         (__gcov_pow2_profiler_atomic): New function.
1949         (__gcov_one_value_profiler_body): New argument is instroduced.
1950         (__gcov_one_value_profiler): Call with the new argument.
1951         (__gcov_one_value_profiler_atomic): Likewise.
1952         (__gcov_indirect_call_profiler_v2): Likewise.
1953         (__gcov_time_profiler_atomic): New function.
1954         (__gcov_average_profiler_atomic): Likewise.
1955         (__gcov_ior_profiler_atomic): Likewise.
1956         * libgcov.h: Declare the aforementioned functions.
1958 2016-08-09  Martin Liska  <mliska@suse.cz>
1960         * libgcov-util.c: Fix typo and GNU coding style.
1962 2016-08-09  Martin Liska  <mliska@suse.cz>
1964         * Makefile.in: Remove __gcov_indirect_call_profiler.
1965         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1966         function.
1967         * libgcov.h: And the declaration of the function.
1969 2016-08-09  Martin Liska  <mliska@suse.cz>
1971         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1972         power of two.
1974 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1976         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1977         * config/rs6000/_mulkc3.c: Likewise.
1979 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1981         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1982         zero_reg as previous call to __umulhisi3 already cleared it.
1984 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1986         PR target/59833
1987         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1989 2016-07-19  Nick Clifton  <nickc@redhat.com>
1991         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1992         Add crtinit.o and crtfini.o to extra_parts.
1994 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1996         * config/rs6000/_divkc3.c: New.
1997         * config/rs6000/_mulkc3.c: New.
1998         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1999         and _divkc3.
2000         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2001         fp128_ppc_funcs.
2003 2016-07-11  Hale Wang  <hale.wang@arm.com>
2004             Andre Vieira  <andre.simoesdiasvieira@arm.com>
2006         * config/arm/lib1funcs.S: Add new wrapper.
2008 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2010         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2012 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2014         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2015         and ARMv5t* rather than for a fixed list of architectures.
2017 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2019         * config/arm/bpabi-v6m.S: Clarify what architectures is the
2020         implementation suitable for.
2021         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2022         for all Thumb-1 only targets.
2023         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2024         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2025         __ARM_ARCH_6M__.
2026         (EQUIV): Likewise.
2027         (ARM_FUNC_ALIAS): Likewise.
2028         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2029         version.
2030         (modsi3): Likewise.
2031         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2032         (clzdi2): Likewise.
2033         (ctzsi2): Likewise.
2034         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2035         __ARM_ARCH_6M__ in guard for checking whether it is defined.
2036         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2037         __ARM_ARCH_6M__ and add comment to indicate the connection between
2038         this condition and the one in gcc/config/arm/elf.h.
2039         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2040         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2041         * config/arm/t-softfp: Likewise.
2043 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2045         * libgcc2.c (SYMBOL__MAIN): Remove checks for
2046         CTOR_LISTS_DEFINED_EXTERNALLY.
2048 2016-06-28  Walter Lee  <walt@tilera.com>
2050         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2051         asm/unistd.h.
2052         (SPR_CMPEXCH_VALUE): Define for tilegx.
2053         (__NR_FAST_cmpxchg): Define for tilepro.
2054         (__NR_FAST_atomic_update): Define for tilepro.
2055         (__NR_FAST_cmpxchg64): Define for tilepro.
2057 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
2059         * config.host: Add suport for arm*-*-phoenix* targets.
2061 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2063         * config.host: Remove support for mep-*.
2064         * config/mep/lib1funcs.S: Remove.
2065         * config/mep/lib2funcs.c: Remove.
2066         * config/mep/t-mep: Remove.
2067         * config/mep/tramp.c: Remove.
2069 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2071         * config.host: Remove support for avr-rtems.
2072         * config/avr/t-rtems: Remove.
2074 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2076         * config.host: Remove m32r-rtems support.
2078 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2080         * config.host: Remove h8300-rtems support.
2082 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2084         * config.host: Remove support for knetbsd.
2086 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2088         * config.host: Remove support for openbsd 2 and 3.
2090 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2092         * config.host: Remove interix support.
2093         * config/i386/t-interix: Remove.
2095 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
2097         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2098         least-significant bit in function pointer for fixup.
2100 2016-06-05  Aaron Conole  <aconole@redhat.com>
2101             Nathan Sidwell  <nathan@acm.org>
2103         PR libgcc/71400
2104         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2105         (get_gcov_error_file): Check __gcov_error_file before trying to
2106         initialize it.
2107         (gcov_error): Always use get_gcov_error_file.
2109 2016-06-02  Aaron Conole  <aconole@redhat.com>
2111         * libgcov-driver-system.c (__gcov_error_file): New.
2112         (get_gcov_error_file): New.
2113         (gcov_error): Use and set __gcov_error_file.
2114         (gcov_error_exit): New.
2115         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2117 2016-05-26  Nathan Sidwell  <nathan@acm.org>
2119         * config/nvptx/free.asm: Delete.
2120         * config/nvptx/malloc.asm: Delete.
2121         * config/nvptx/realloc.c: Delete.
2122         * t-nvptx: Update.
2124 2016-05-25  Nathan Sidwell  <nathan@acm.org>
2126         * config/nvptx/crt0.s: Delete.
2127         * config/nvptx/crt0.c: New.
2128         * t-nvptx: Update.
2130 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
2132         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
2133         dw2/seh configuration.
2134         [x86_64-*-mingw*]: Likewise.
2136 2016-05-10  Joel Sherrill <joel@rtems.org>
2138         PR libgcc/70720
2139         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2140         targets so the same extra_parts are built.  Also have tmake_file add
2141         on to its value rather than override.
2143 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
2145         * config.host: Remove SH5 support.
2146         * configure: Likewise.
2148 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
2150         * config/sh/crt1.S: Remove SH5 support.
2151         * config/sh/crti.S: Likewise.
2152         * config/sh/crtn.S: Likewise.
2153         * config/sh/lib1funcs-4-300.S: Likewise.
2154         * config/sh/lib1funcs-Os-4-200.S: Likewise.
2155         * config/sh/lib1funcs.S: Likewise.
2156         * config/sh/linux-unwind.h: Likewise.
2157         * config/sh/t-sh64: Delete.
2159 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
2161         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2163 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
2164             Joern Rennecke  <joern.rennecke@embecosm.com>
2166         * config/arc/crttls.S: New file.
2167         * config/arc/t-arc: New rule.
2168         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2170 2016-04-25  Nick Clifton  <nickc@redhat.com>
2172         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2173         (__mspabi_cmpd): Likewise.
2174         * config/msp430/floathidf.c (__floathidf): Likewise.
2175         * config/msp430/floathisf.c (__floathisf): Likewise
2176         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2177         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2178         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2179         second parameter.
2180         (__ashrsi3): Likewise.
2182 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
2184         * config/m68k/linux-atomic.c: Do not include unistd.h
2186 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
2188         * config/arm/ieee754-df.S: Fix typos in comments.
2190 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
2192         PR target/70381
2193         * configure.ac (powerpc*-*-linux*): Rework tests to build
2194         __float128 emulation routines to not depend on using #pragma GCC
2195         target to enable -mfloat128.
2196         * configure: Regnerate.
2198 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
2200         PR target/67172
2201         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2202         __MINGW32__ is defined.
2204 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
2206         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
2208 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
2210         PR libgcc/70363
2211         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2212         built with an assembler that does not support ISA 3.0
2213         instructions, rename __extendkftf2_sw to __extendkftf2.
2215 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2217         PR target/38239
2218         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2219         call-clobbered registers.
2220         (internal_mcount): Remove __i386__ handling.
2222 2016-02-26  Joel Sherrill <joel@rtems.org>
2224         * config.host: Add x86_64-*-rtems*.
2226 2016-02-26  Joel Sherrill <joel@rtems.org>
2228         * libgcc/config.host: Add aarch64-*-rtems*.
2230 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2231             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
2233         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2234         union of u64 and double.
2235         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2236         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2237         value.
2238         (FP_ROUNDMODE): Update the usage of _fpscr.
2240 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
2242         PR driver/68463
2243         * Makefile.in (crtoffloadtable$(objext)): New rule.
2244         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2245         enable_offload_targets is not empty.
2246         * configure: Regenerate.
2247         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2248         crtoffloadtable.
2250 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
2252         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2253         .literal_position before the function.
2254         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2255         Likewise.
2257 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
2259         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2260         * config/s390/morestack.S: New file.
2261         * config/s390/t-stack-s390: New file.
2262         * generic-morestack.c (__splitstack_find): Add s390-specific code.
2264 2016-02-12  Walter Lee  <walt@tilera.com>
2266         * config.host (tilegx*-*-linux*): remove ti from
2267         softfp_int_modes for 32-bit configs.
2269 2016-02-10  Ian Lance Taylor  <iant@google.com>
2271         PR go/68562
2272         * config/i386/morestack.S (__stack_split_initialize): Align
2273         stack.
2275 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
2277         PR bootstrap/69611
2278         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2279         __FLOAT128__ to compile only for __float128 capable targets.
2281 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
2283         PR target/69444
2284         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2285         instead of ___NO_FPRS__.
2287 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
2288             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2289             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2291         * config/rs6000/float128-sed: New files to convert TF names to KF
2292         names for PowerPC IEEE 128-bit floating point support.
2293         * config/rs6000/float128-sed-hw: Likewise.
2295         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2296         floating point hardware support.
2298         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2299         128-bit floating point software emulation or use ISA 3.0 hardware
2300         support if it is available.
2302         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2303         floating point.
2305         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2306         floating point to IBM extended double.
2308         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2309         double to IEEE 128-bit floating point.
2311         * config/rs6000/t-float128: New Makefile fragments to enable
2312         building __float128 emulation support.
2313         * config/rs6000/t-float128-hw: Likewise.
2315         * config/rs6000/sfp-exceptions.c: New file to provide exception
2316         support for IEEE 128-bit floating point.
2318         * config/rs6000/floattikf.c: New files for converting between IEEE
2319         128-bit floating point and signed/unsigned 128-bit integers.
2320         * config/rs6000/fixunskfti.c: Likewise.
2321         * config/rs6000/fixkfti.c: Likewise.
2322         * config/rs6000/floatuntikf.c: Likewise.
2324         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2325         when building on 64-bit systems, or when VSX is enabled.
2326         (_FP_W_TYPE): Likewise.
2327         (_FP_WS_TYPE): Likewise.
2328         (_FP_I_TYPE): Likewise.
2329         (TItype): Define on 64-bit systems.
2330         (UTItype): Likewise.
2331         (TI_BITS): Likewise.
2332         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2333         (_FP_MUL_MEAT_Q): Likewise.
2334         (_FP_DIV_MEAT_D): Likewise.
2335         (_FP_DIV_MEAT_Q): Likewise.
2336         (_FP_NANFRAC_D): Likewise.
2337         (_FP_NANFRAC_Q): Likewise.
2338         (ISA_BIT): Add exception support if we are being compiled on a
2339         machine with hardware floating point support to build the IEEE
2340         128-bit emulation functions.
2341         (FP_EX_INVALID): Likewise.
2342         (FP_EX_OVERFLOW): Likewise.
2343         (FP_EX_UNDERFLOW): Likewise.
2344         (FP_EX_DIVZERO): Likewise.
2345         (FP_EX_INEXACT): Likewise.
2346         (FP_EX_ALL): Likewise.
2347         (__sfp_handle_exceptions): Likewise.
2348         (FP_HANDLE_EXCEPTIONS): Likewise.
2349         (FP_RND_NEAREST): Likewise.
2350         (FP_RND_ZERO): Likewise.
2351         (FP_RND_PINF): Likewise.
2352         (FP_RND_MINF): Likewise.
2353         (FP_RND_MASK): Likewise.
2354         (_FP_DECL_EX): Likewise.
2355         (FP_INIT_ROUNDMODE): Likewise.
2356         (FP_ROUNDMODE): Likewise.
2358         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2359         VSX code, enable IEEE 128-bit floating point.  If the compiler can
2360         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2361         floating point hardware instructions and it supports declaring
2362         functions with the ifunc attribute, enable ifunc functions to
2363         switch between software and hardware support.
2364         * configure.ac (powerpc*-*-linux*): Likewise.
2365         * configure: Regenerate.
2367 2016-01-15  Nick Clifton  <nickc@redhat.com>
2369         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2370         dependency as the source file to be compiled.
2371         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2372         (lib2hw_mul_f5.o): Likewise.
2374 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2376         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2377         * libgcc/config/rs6000/fixkfti.c: Likewise.
2378         * libgcc/config/rs6000/fixunskfti.c: Likewise.
2379         * libgcc/config/rs6000/float128-hw.c: Likewise.
2380         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2381         * libgcc/config/rs6000/float128-sed: Likewise.
2382         * libgcc/config/rs6000/floattikf.c: Likewise.
2383         * libgcc/config/rs6000/floatuntikf.c: Likewise.
2384         * libgcc/config/rs6000/quad-float128.h: Likewise.
2385         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2386         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2387         * libgcc/config/rs6000/t-float128: Likewise.
2388         * libgcc/config/rs6000/t-float128-hw: Likewise.
2389         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2390         * libgcc/config.host: Likewise.
2391         * libgcc/configure: Likewise.
2392         * libgcc/configure.ac: Likewise.
2394 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2395             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2396             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2398         * config/rs6000/sfp-exceptions.c: New file to provide exception
2399         support for IEEE 128-bit floating point.
2401         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2402         floating point hardware support.
2404         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2405         point conversions.
2406         * config/rs6000/fixunskfti.c: Likewise.
2407         * config/rs6000/fixkfti.c: Likewise.
2408         * config/rs6000/floatuntikf.c: Likewise.
2409         * config/rs6000/extendkftf2-sw.c: Likewise.
2410         * config/rs6000/trunctfkf2-sw.c: Likewise.
2412         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2413         128-bit floating point software emulation or use ISA 3.0 hardware
2414         support if it is available.
2416         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2417         floating point.
2419         * config/rs6000/t-float128: New Makefile fragments to enable
2420         building __float128 emulation support.
2421         * config/rs6000/t-float128-hw: Likewise.
2423         * config/rs6000/float128-sed: New file to convert TF names to KF
2424         names for PowerPC IEEE 128-bit floating point support.
2426         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2427         when building on 64-bit systems, or when VSX is enabled.
2428         (_FP_W_TYPE): Likewise.
2429         (_FP_WS_TYPE): Likewise.
2430         (_FP_I_TYPE): Likewise.
2431         (TItype): Define on 64-bit systems.
2432         (UTItype): Likewise.
2433         (TI_BITS): Likewise.
2434         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2435         (_FP_MUL_MEAT_Q): Likewise.
2436         (_FP_DIV_MEAT_D): Likewise.
2437         (_FP_DIV_MEAT_Q): Likewise.
2438         (_FP_NANFRAC_D): Likewise.
2439         (_FP_NANFRAC_Q): Likewise.
2440         (ISA_BIT): Add exception support if we are being compiled on a
2441         machine with hardware floating point support to build the IEEE
2442         128-bit emulation functions.
2443         (FP_EX_INVALID): Likewise.
2444         (FP_EX_OVERFLOW): Likewise.
2445         (FP_EX_UNDERFLOW): Likewise.
2446         (FP_EX_DIVZERO): Likewise.
2447         (FP_EX_INEXACT): Likewise.
2448         (FP_EX_ALL): Likewise.
2449         (__sfp_handle_exceptions): Likewise.
2450         (FP_HANDLE_EXCEPTIONS): Likewise.
2451         (FP_RND_NEAREST): Likewise.
2452         (FP_RND_ZERO): Likewise.
2453         (FP_RND_PINF): Likewise.
2454         (FP_RND_MINF): Likewise.
2455         (FP_RND_MASK): Likewise.
2456         (_FP_DECL_EX): Likewise.
2457         (FP_INIT_ROUNDMODE): Likewise.
2458         (FP_ROUNDMODE): Likewise.
2460         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2461         compiler can do __float128.
2462         * configure: Regenerate.
2464         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2465         VSX code, enable IEEE 128-bit floating point.
2467 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2469         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2470         specificities.
2472 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2474         Update copyright years.
2476 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2478         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2479         soft-fp targets.
2481 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2483         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2484         instead of abort to avoid dependency on stdlib.h.
2486 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2488         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2489         to initialize call to __dl_fixup once.
2491 2015-12-04  Nick Clifton  <nickc@redhat.com>
2493         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2494         Allow for the second argument being negative.
2495         * config.host (extra_parts): Define for MSP430.  Create separate
2496         libraries for each of the hardware multiply formats.
2497         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2498         that are needed.
2499         * config/msp430/lib2mul.c: Likewise.
2500         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2501         Add rules to build hardware multiply libraries.
2502         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2503         __mspabi_divul function.
2504         (__mspabi_divllu): New stub function.
2506 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2508         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2509         fixup values if saved GOT address doesn't match runtime address.
2510         (fixup_branch_offset): Reorder list.
2512 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2514         * Makefile.in (VTV_CFLAGS): New variable.
2515         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2516         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2517         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2518         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2519         to extra_parts if $enable_vtable_verify = yes.
2521 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2523         PR target/68059
2524         * config/arm/linux-atomic-64bit.c (__write): Rename to...
2525         (write): ...this and fix the return type.
2527 2015-11-19  DJ Delorie  <dj@redhat.com>
2529         * config/msp430/lib2hw_mul.S: Fix alignment.
2531 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
2533         * config/nvptx/reduction.c: New.
2534         * config/nvptx/t-nvptx (LIB2ADD): Add it.
2536 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
2538         * config/rs6000/on_exit.c: New file.
2539         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2540         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2542 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
2544         * config/arc/dp-hack.h: Add support for ARCHS.
2545         * config/arc/ieee-754/divdf3.S: Likewise.
2546         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2547         * config/arc/ieee-754/muldf3.S: Likewise.
2548         * config/arc/ieee-754/mulsf3.S: Likewise
2549         * config/arc/lib1funcs.S: Likewise
2550         * config/arc/gmon/dcache_linesz.S: Don't read the build register
2551         for ARCv2 cores.
2552         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2553         for ARCv2 cores.
2554         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2555         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2556         cores.
2558 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2560         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2561         value.
2562         * config/ia64/crtend.S: Likewise.
2564 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2566         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2567         __CHAR_BIT__ instead of BITS_PER_UNIT.
2568         * fixed-bit.h: Likewise.
2569         * fp-bit.h: Likewise.
2570         * libgcc2.c (__popcountSI2): Likewise.
2571         (__popcountDI2): Likewise.
2572         * libgcc2.h: Likewise.
2573         * libgcov.h: Likewise.
2575 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
2577         * config/rs6000/atexit.c: New file.
2578         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2579         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2580         * config/rs6000/cxa_finalize.c
2581         (catomic_compare_and_exchange_bool_acq): Negate return value.
2583 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2585         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2586         (processor_subtypes): Add znver1.
2587         (get_amd_cpu): Detect znver1.
2589 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
2591         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2592         Include crtfastmath.o.
2594 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
2596         PR libgcc/66883
2597         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2599 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
2601         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2602         * config/rl78/divmodsi.S: Update return register to r8.
2603         * config/rl78/divmodhi.S: Update return register to r8,r9.
2604         Branch to main_loop_done_himode to pop registers before return.
2606 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2608         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2609         (__cpu_indicator_init): Fix model selection for AMD CPUs.
2611 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
2613         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2615 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
2617         * config.host (xtensa*-*-uclinux*): New configuration.
2619 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
2621         * config/i386/cpuinfo.c (processor_features): Add
2622         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2624 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2626         * soft-fp/adddf3.c: Update from glibc.
2627         * soft-fp/addsf3.c: Likewise.
2628         * soft-fp/addtf3.c: Likewise.
2629         * soft-fp/divdf3.c: Likewise.
2630         * soft-fp/divsf3.c: Likewise.
2631         * soft-fp/divtf3.c: Likewise.
2632         * soft-fp/double.h: Likewise.
2633         * soft-fp/eqdf2.c: Likewise.
2634         * soft-fp/eqsf2.c: Likewise.
2635         * soft-fp/eqtf2.c: Likewise.
2636         * soft-fp/extenddftf2.c: Likewise.
2637         * soft-fp/extended.h: Likewise.
2638         * soft-fp/extendsfdf2.c: Likewise.
2639         * soft-fp/extendsftf2.c: Likewise.
2640         * soft-fp/extendxftf2.c: Likewise.
2641         * soft-fp/fixdfdi.c: Likewise.
2642         * soft-fp/fixdfsi.c: Likewise.
2643         * soft-fp/fixdfti.c: Likewise.
2644         * soft-fp/fixsfdi.c: Likewise.
2645         * soft-fp/fixsfsi.c: Likewise.
2646         * soft-fp/fixsfti.c: Likewise.
2647         * soft-fp/fixtfdi.c: Likewise.
2648         * soft-fp/fixtfsi.c: Likewise.
2649         * soft-fp/fixtfti.c: Likewise.
2650         * soft-fp/fixunsdfdi.c: Likewise.
2651         * soft-fp/fixunsdfsi.c: Likewise.
2652         * soft-fp/fixunsdfti.c: Likewise.
2653         * soft-fp/fixunssfdi.c: Likewise.
2654         * soft-fp/fixunssfsi.c: Likewise.
2655         * soft-fp/fixunssfti.c: Likewise.
2656         * soft-fp/fixunstfdi.c: Likewise.
2657         * soft-fp/fixunstfsi.c: Likewise.
2658         * soft-fp/fixunstfti.c: Likewise.
2659         * soft-fp/floatdidf.c: Likewise.
2660         * soft-fp/floatdisf.c: Likewise.
2661         * soft-fp/floatditf.c: Likewise.
2662         * soft-fp/floatsidf.c: Likewise.
2663         * soft-fp/floatsisf.c: Likewise.
2664         * soft-fp/floatsitf.c: Likewise.
2665         * soft-fp/floattidf.c: Likewise.
2666         * soft-fp/floattisf.c: Likewise.
2667         * soft-fp/floattitf.c: Likewise.
2668         * soft-fp/floatundidf.c: Likewise.
2669         * soft-fp/floatundisf.c: Likewise.
2670         * soft-fp/floatunditf.c: Likewise.
2671         * soft-fp/floatunsidf.c: Likewise.
2672         * soft-fp/floatunsisf.c: Likewise.
2673         * soft-fp/floatunsitf.c: Likewise.
2674         * soft-fp/floatuntidf.c: Likewise.
2675         * soft-fp/floatuntisf.c: Likewise.
2676         * soft-fp/floatuntitf.c: Likewise.
2677         * soft-fp/gedf2.c: Likewise.
2678         * soft-fp/gesf2.c: Likewise.
2679         * soft-fp/getf2.c: Likewise.
2680         * soft-fp/ledf2.c: Likewise.
2681         * soft-fp/lesf2.c: Likewise.
2682         * soft-fp/letf2.c: Likewise.
2683         * soft-fp/muldf3.c: Likewise.
2684         * soft-fp/mulsf3.c: Likewise.
2685         * soft-fp/multf3.c: Likewise.
2686         * soft-fp/negdf2.c: Likewise.
2687         * soft-fp/negsf2.c: Likewise.
2688         * soft-fp/negtf2.c: Likewise.
2689         * soft-fp/op-1.h: Likewise.
2690         * soft-fp/op-2.h: Likewise.
2691         * soft-fp/op-4.h: Likewise.
2692         * soft-fp/op-8.h: Likewise.
2693         * soft-fp/op-common.h: Likewise.
2694         * soft-fp/quad.h: Likewise.
2695         * soft-fp/single.h: Likewise.
2696         * soft-fp/soft-fp.h: Likewise.
2697         * soft-fp/subdf3.c: Likewise.
2698         * soft-fp/subsf3.c: Likewise.
2699         * soft-fp/subtf3.c: Likewise.
2700         * soft-fp/truncdfsf2.c: Likewise.
2701         * soft-fp/trunctfdf2.c: Likewise.
2702         * soft-fp/trunctfsf2.c: Likewise.
2703         * soft-fp/trunctfxf2.c: Likewise.
2704         * soft-fp/unorddf2.c: Likewise.
2705         * soft-fp/unordsf2.c: Likewise.
2706         * soft-fp/unordtf2.c: Likewise.
2708 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
2710         PR libgcc/67624
2711         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2713 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2715         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2716         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2717         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2718         messages.
2719         (internal_mcount): Likewise.
2720         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2721         crt_compile, add CRTSTUFF_T_CFLAGS_S.
2723 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2725         * configure.ac (libgcc_cv_solaris_crts): New test.
2726         * configure: Regenerate.
2727         * config.in: Regenerate.
2728         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2729         * config/gmon-sol2.c: Rename to ...
2730         * config/sol2/gmon.c: ... this.
2731         Include auto-target.h.
2732         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2733         * config/t-sol2: Rename to ...
2734         * config/sol2/t-sol2: ... this.
2735         (gmon.o): Reflect renaming.
2736         (crtp.o, crtpg.o): New rules.
2737         * config.host (*-*-solaris2*): Reflect renaming.
2738         Use system CRTs if present.
2739         Remove default CRT case.
2741 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
2743         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2744         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2745         __kernel_cmpxchg2.
2746         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2747         (__sync_val_compare_and_swap_##WIDTH): Likewise.
2748         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2749         (__sync_lock_test_and_set_##WIDTH): Likewise.
2750         (__sync_lock_release_##WIDTH): Likewise.
2751         (__sync_fetch_and_##OP##_4): Change result to match type of
2752         __kernel_cmpxchg.
2753         (__sync_##OP##_and_fetch_4): Likewise.
2754         (__sync_val_compare_and_swap_4): Likewise.
2755         (__sync_bool_compare_and_swap_4): likewise.
2756         (__sync_lock_test_and_set_4): Likewise.
2757         (__sync_lock_release_4): Likewise.
2758         (FETCH_AND_OP_2): Add long long variants.
2759         (OP_AND_FETCH_2): Likewise.
2760         (COMPARE_AND_SWAP_2 ): Likewise.
2761         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2762         (SYNC_LOCK_RELEASE_2): Likewise.
2763         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2765 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2767         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2768         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2769         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2770         (get_available_features): Habdle new features.
2772 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2774         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2775         memory layout. Deal correctly with BSS region larger than 32K.
2776         Handle a watchdog reset like a power-on reset. Clean up unused
2777         code.
2779 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2780             David Edelsohn  <dje.gcc@gmail.com>
2782         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2783         * config/rs6000/crtdbase.S: New file.
2784         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2786 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2788         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2789         Add support for call0 ABI.
2791 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2793         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2795 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2797         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2798         (__GTHREAD_HAS_COND): Likewise.
2799         (__gthread_t): Likewise.
2800         (__gthread_cond_t): Likewise.
2801         (__gthread_time_t): Likewise.
2802         (__GTHREAD_MUTEX_INIT): Likewise.
2803         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2804         (__GTHREAD_COND_INIT): Likewise.
2805         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2806         (__GTHREAD_TIME_INIT): Likewise.
2807         (__gthread_create): Likewise.
2808         (__gthread_join): Likewise.
2809         (__gthread_detach): Likewise.
2810         (__gthread_equal): Likewise.
2811         (__gthread_self): Likewise.
2812         (__gthread_yield): Likewise.
2813         (__gthread_cond_broadcast): Likewise.
2814         (__gthread_cond_signal): Likewise.
2815         (__gthread_cond_wait): Likewise.
2816         (__gthread_cond_timedwait): Likewise.
2817         (__gthread_cond_wait_recursive): Likewise.
2818         (__gthread_cond_destroy): Likewise.
2819         (rtems_gxx_once): Delete.
2820         (rtems_gxx_key_create): Likewise.
2821         (rtems_gxx_key_delete): Likewise.
2822         (rtems_gxx_getspecific): Likewise.
2823         (rtems_gxx_setspecific): Likewise.
2824         (rtems_gxx_mutex_init): Likewise.
2825         (rtems_gxx_mutex_destroy): Likewise.
2826         (rtems_gxx_mutex_lock): Likewise.
2827         (rtems_gxx_mutex_trylock): Likewise.
2828         (rtems_gxx_mutex_unlock): Likewise.
2829         (rtems_gxx_recursive_mutex_init): Likewise.
2830         (rtems_gxx_recursive_mutex_lock): Likewise.
2831         (rtems_gxx_recursive_mutex_trylock): Likewise.
2832         (rtems_gxx_recursive_mutex_unlock): Likewise.
2833         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2834         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2835         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2836         (__gthread_once): Likewise.
2837         (__gthread_key_create): Likewise.
2838         (__gthread_key_delete): Likewise.
2839         (__gthread_getspecific): Likewise.
2840         (__gthread_setspecific): Likewise.
2841         (__gthread_key_t): Use <pthread.h> type.
2842         (__gthread_once_t): Likewise
2843         (__gthread_mutex_t): Use <sys/lock.h> type.
2844         (__gthread_recursive_mutex_t): Likewise
2845         (__gthread_mutex_lock): Use <sys/lock.h> function.
2846         (__gthread_mutex_trylock): Likewise.
2847         (__gthread_mutex_timedlock): Likewise.
2848         (__gthread_mutex_unlock): Likewise.
2849         (__gthread_mutex_destroy): Likewise.
2850         (__gthread_recursive_mutex_lock): Likewise.
2851         (__gthread_recursive_mutex_trylock): Likewise.
2852         (__gthread_recursive_mutex_timedlock): Likewise.
2853         (__gthread_recursive_mutex_unlock): Likewise.
2854         (__gthread_recursive_mutex_destroy): Likewise.
2856 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2858         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2859         context->sp instead of context->cfa.
2861 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2863         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2864         with unwind-dw2-fde-dip.
2866 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2868         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2869         CALL12 followed by series of ENTRY to spill windowed registers.
2870         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2871         instead of making linux spill syscall.
2873 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2875         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2876         (get_intel_cpu): Likewise.
2878 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2880         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2881         (get_intel_cpu): Add Knights Landing support.
2883 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2885         PR target/66954
2886         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2887         (get_available_features): Handle FEATURE_PCLMUL.
2889 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2891         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2892         Broadwell.
2894 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2896         PR target/66954
2897         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2898         (get_available_features): Handle FEATURE_AES.
2900 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2902         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2903         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2905 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2907         * offloadstuff.c: Constify host data.
2909 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2911         * config/t-softfp: Split up "else ifneq".
2913 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2914             Cesar Philippidis  <cesar@codesourcery.com>
2915             Chung-Lin Tang  <cltang@codesourcery.com>
2917         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2918         for __nios2_arch__ level.
2920 2015-07-13  John Marino  <gnugcc@marino.st>
2922         * config/i386/t-dragonfly: New.
2924 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2926         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2927         better match light-weight syscall argument order.
2928         (__kernel_cmpxchg2): Likewise.
2929         Adjust callers.
2931 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2933         * config.host: Support i[34567]86-*-elfiamcu target.
2934         * config/t-softfp-sfdftf: New file.
2935         * config/i386/32/t-iamcu: Likewise.
2936         * configure: Regenerated.
2938 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2940         libgcc/config/arm/
2941         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2943 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2945         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2947 2015-05-27  John Marino  <gnugcc@marino.st>
2949         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2950         md_unwind_header
2951         * config/i386/freebsd-unwind.h: New.
2953 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2955         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2956         i386/t-crtfm to tmake_file.
2957         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2958         (set_fast_math): Use set_fast_math_sse for SSE targets.
2959         * config/i386/t-crtfm: Remove.
2961 2015-05-21  Alan Modra  <amodra@gmail.com>
2963         PR libgcc/66225
2964         * config/rs6000/morestack.S: Remove ".abiversion 1".
2966 2015-05-20  Alan Modra  <amodra@gmail.com>
2968         * config/rs6000/morestack.S: New.
2969         * config/rs6000/t-stack-rs6000: New.
2970         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2971         to tmake_file.
2972         * generic-morestack.c: Don't build for powerpc 32-bit.
2974 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2976         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2977         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2979 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2981         * config.host: FT32 target added.
2982         * config/ft32/*: New files for FT32 target.
2984 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2986         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2987         New macros.
2988         * config/arm/ieee754-df.S: Add CFI directives.
2989         * config/arm/ieee754-sf.S: Add CFI directives.
2991 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2993         * configure.ac: Include config/sjlj.m4.
2994         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2995         * config.in: Regenerate.
2996         * configure: Likewise.
2997         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2999 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
3001         * libgcov-util.c: Add space between string literal and macro name.
3003 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
3004             Chris Jones  <chrisj@nvidia.com>
3005             Joshua Conner  <jconner@nvidia.com>
3007         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3008         (arm*-*-uclinux*): Likewise.
3009         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3010         * config/arm/crtfastmath.c: New file.
3012 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
3014         * Makefile.in (real_host_noncanonical): New variable.
3015         (libsubdir): Use it.
3016         * configure.ac (real_host_noncanonical): Compute.  Remove special
3017         case for intelmicemul.
3018         * configure: Regenerate.
3020 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3022         * config/frv/elf-lib.h: New file.
3023         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3024         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3025         to tm_file.
3027 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
3029         * config/frv/frvbengin.c: Do not include defaults.h
3030         * config/frv/frvend.c: Ditto.
3032 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
3034         * config.host: Add h8300-*-linux
3035         * config/h8300/t-linux: New file.
3036         * config/h8300/lib1funs.s: Change symbol prefix.
3037         * config/h8300/sfp-machine.h: 64bit double support.
3039 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
3040             Szabolcs Nagy  <szabolcs.nagy@arm.com>
3042         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3043         Linux if target provides dl_iterate_phdr.
3045 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
3047         PR target/65612
3048         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3049         * config/i386/cpuinfo.c (__cpu_model): Initialize.
3050         (__cpu_indicator_init@GCC_4.8.0): New.
3051         (__cpu_model@GCC_4.8.0): Likewise.
3052         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3053         -DUSE_ELF_SYMVER.
3055 2015-04-16  Nick Clifton  <nickc@redhat.com>
3057         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3058         and __modhi3 functions.
3059         * config/rl78/divmodso.S: Add G14 and G13 versions of the
3060         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3062 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
3064         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3065         do-while loop as macro body to avoid warnings.
3067 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
3068             Iain Sandoe  <iain@codesourcery.com>
3070         PR target/65351
3071         * configure: Regenerate.
3073 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
3074             Iain Sandoe  <iain@codesourcery.com>
3076         PR target/65351
3077         * configure: Regenerate.
3079 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
3081         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3083 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
3085         Implement call0 ABI for xtensa
3086         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3087         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3088         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3089         use ret in call0 ABI.
3090         * config/xtensa/t-windowed: New file.
3091         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3092         * libgcc/configure: Regenerated.
3093         * libgcc/configure.ac: Check if xtensa target is configured for
3094         windowed ABI and thus needs to use custom unwind code.
3096 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
3098         PR libgcc/64885
3099         * gthr-single.h: Use __unused__ attribute instead of unused.
3100         * config/gthr-vxworks.h: Likewise.
3101         * config/i386/gthr-win32.h: Likewise.
3103 2015-02-27  Kai Tietz  <ktietz@redhat.com>
3105         PR target/65038
3106         * config.in: Regenerated.
3107         * configure: Likewise.
3108         * configure.ac (AC_HEADER_STDC): Added explicit.
3109         (AC_CHECK_HEADERS): Check for default headers  plus
3110         for ftw.h header.
3111         * libgcov-util.c (gcov_read_profile_dir): Disable use
3112         of ftw-function, if header is not found.
3113         (ftw_read_file): Likewise.
3115 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
3117         PR target/65181
3118         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3119         -Dinhibit_libc.
3121 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
3123         * config/arm/bpabi.S (test_div_by_zero): Make label names
3124         consistent between thumb2 and arm mode cases.  Separate the
3125         signed comparison on the high word of the numerator from the
3126         unsigned comparison on the low word.
3127         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3128         signed comparison.
3130 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3132         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3133         and <string.h>.
3134         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3136 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
3138         PR gcov-profile/61889
3139         * libgcov-driver-system.c: undefine clashing macro for mkdir.
3141 2015-02-02  Nick Clifton  <nickc@redhat.com>
3143         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3144         rounding up the fraction.
3146 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
3148         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3149         oldval and newval to const void *.  Fix typo.
3150         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3151         (FETCH_AND_OP_WORD): Likewise.
3152         (OP_AND_FETCH_WORD): Likewise.
3153         (COMPARE_AND_SWAP_2): Likewise.
3154         (__sync_val_compare_and_swap_4): Likewise.
3155         (__sync_lock_test_and_set_4): Likewise.
3156         (SYNC_LOCK_RELEASE_2): Likewise.
3157         Remove support for long long atomic operations.
3159 2015-01-27  Caroline Tice  <cmtice@google.com>
3161         Committing VTV Cywin/Ming patch for Patrick Wollgast
3162         * Makefile.in: Move rules to build vtv_*.o out of the check
3163         for CUSTOM_CRTSTUFF.
3164         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3165         i[34567]86-*-mingw*)
3166          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3167         enable_vtable_verify.
3169 2015-01-27  Nick Clifton  <nickc@redhat.com>
3171         * config/rl78/cmpsi2.S: Use function start and end macros.
3172         (__gcc_bcmp): New function.
3173         * config/rl78/lshrsi3.S: Use function start and end macros.
3174         * config/rl78/mulsi3.S: Add support for G10.
3175         (__mulqi3): New function for G10.
3176         * config/rl78/signbit.S: Use function start and end macros.
3177         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3178         fpmath-sf.S.
3179         (LIB2FUNCS_EXCLUDE): Define.
3180         (LIB2FUNCS_ST): Define.
3181         * config/rl78/trampoline.S: Use function start and end macros.
3182         * config/rl78/vregs.h (START_FUNC): New macro.
3183         (START_ANOTHER_FUNC): New macro.
3184         (END_FUNC): New macro.
3185         (END_ANOTHER_FUNC): New macro.
3186         * config/rl78/bit-count.S: New file.  Contains assembler
3187         implementations of the bit counting functions: ___clzhi2,
3188         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3189         __paritysi2, __popcounthi2 and __popcountsi2.
3190         * config/rl78/fpbit-sf.S: New file.  Contains assembler
3191         implementationas of the math functions: __negsf2, __cmpsf2,
3192         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3193         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
3194         * config/rl78/fpmath-sf.S: New file.  Contains assembler
3195         implementations of the math functions: __subsf3, __addsf3,
3196         __mulsf3 and __divsf3
3198 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3200         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3201         Add i386/elf-lib.h to tm_file.
3202         * config/i386/elf-lib.h: Fix comment.
3203         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3204         && __sun__ && __svr4__]: Remove workaround.
3206 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
3208         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3209         FEATURE_BMI2.
3210         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3212 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
3214         * config/i386/cpuinfo.c (processor_subtypes): Add
3215         INTEL_COREI7_BROADWELL.
3216         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3217         model numbers.
3219 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
3221         * config/i386/elf-lib.h: New file.
3222         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3223         Wrap definition in #ifdef __i386__.
3224         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3225         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3226         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3227         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3228         to tm_file.
3230 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
3232         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3233         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3235 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
3237         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3238         Update rt_sigframe format and address for current Nios II
3239         Linux conventions.
3241 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3243         * config.host (arm*-*-freebsd*): Add new configuration for
3244         arm*-*-freebsd*.
3245         * config/arm/freebsd-atomic.c: New file.
3246         * config/arm/t-freebsd: Likewise.
3247         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3248         'PC-relative indirect' OS's.
3250 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
3252         * config.host: Add Visium support.
3253         * config/visium: New directory.
3255 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
3257         Update copyright years.
3259 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
3261         * config.host: Support mipsisa32r6 and mipsisa64r6.
3262         * config/mips/mips16.S: Do not build for R6.
3264 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
3266         * config/sh/crt.h: New.
3267         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3268         symbols.
3269         * config/sh/crt1.S: Likewise.
3271 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
3273         PR libgcc/63832
3274         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3275         func_ptr *dtor_list temporary variable to avoid "array subscript
3276         is above array bounds" warnings.
3278 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
3280         * Makefile.in (with_aix_soname): Define.
3281         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3282         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3283         * configure: Recreate.
3285 2014-12-05  Olivier Hainque  <hainque@adacore.com>
3287         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3288         now provided by defaults.h.
3290 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
3292         PR target/55351
3293         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3294         whether it's defined.
3296 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
3298         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3299         * config/i386/cpuinfo.c (get_available_features): Detect it.
3301 2014-11-27  Tony Wang  <tony.wang@arm.com>
3303         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3304         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3305         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3307 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
3309         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3311 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
3313         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3314         instead.
3316 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3317             John David Anglin  <danglin@gcc.gnu.org>
3319         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3320         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
3321         (OP_AND_FETCH_2): Likewise.
3322         (COMPARE_AND_SWAP_2): Likewise.
3323         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3324         (SYNC_LOCK_RELEASE_2): Likewise.
3325         (SUBWORD_SYNC_OP): Remove.
3326         (SUBWORD_VAL_CAS): Likewise.
3327         (SUBWORD_BOOL_CAS): Likewise.
3328         (FETCH_AND_OP_WORD): Update.
3329         Consistently use signed types.
3331 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
3332             Thomas Schwinge  <thomas@codesourcery.com>
3333             Ilya Verbin  <ilya.verbin@intel.com>
3334             Andrey Turetskiy  <andrey.turetskiy@intel.com>
3336         * Makefile.in (crtoffloadbegin$(objext)): New rule.
3337         (crtoffloadend$(objext)): Likewise.
3338         * configure: Regenerate.
3339         * configure.ac (accel_dir_suffix): Compute new variable.
3340         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3341         if enable_offload_targets is not empty.
3342         * offloadstuff.c: New file.
3344 2014-11-13  Nick Clifton  <nickc@redhat.com>
3346         * config/rl78/divmodhi.S: Add support for the G10 architecture.
3347         Use START_FUNC and END_FUNC macros to enable linker garbage
3348         collection.
3349         * config/rl78/divmodqi.S: Likewise.
3350         * config/rl78/divmodsi.S: Likewise.
3351         * config/rl78/mulsi3.S: Likewise.
3352         * config/rl78/lib2div.c: Remove G10 functions.
3353         * config/rl78/lib2muls.c: Likewise.
3354         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3355         * config/rl78/vregs.h (START_FUNC): New macro.
3356         (END_FUNC): New macro.
3358 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
3360         * config/mips/mips16.S: Set .module when supported.  Update O32
3361         FP64 calling convention and use for FPXX when possible.  Add FPXX
3362         calling convention fallback case.
3364 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
3366         * config.host: Handle nvptx-*-*.
3367         * shared-object.mk (as-flags-$o): Define.
3368         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3369         -xassembler-with-cpp.
3370         * static-object.mk: Identical changes.
3371         * config/nvptx/t-nvptx: New file.
3372         * config/nvptx/crt0.s: New file.
3373         * config/nvptx/free.asm: New file.
3374         * config/nvptx/malloc.asm: New file.
3375         * config/nvptx/realloc.c: New file.
3377 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3379         * Makefile.in (libgcc.map.in): New target.
3380         (libgcc.map): Use libgcc.map.in.
3381         * config/t-softfp (softfp_compat): New variable to be set by
3382         users.
3383         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3384         variables.
3385         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3386         directory.
3387         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3388         that use compat symbols and disable all code unless [SHARED].
3389         * config/t-softfp-compat: New file.
3390         * find-symver.awk: New file.
3391         * configure.ac (--with-glibc-version): New configure option.
3392         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3393         * configure: Regenerate.
3394         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3395         soft-float and e500.
3397 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3399         * config/t-hardfp (hardfp_exclusions): Document new variable for
3400         user to define.
3401         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3402         * config/t-softfp (softfp_extras): Document new variable for user
3403         to define.
3404         (softfp_func_list): Add functions from $(softfp_extras).
3405         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3406         * config.host (powerpc*-*-linux*): For e500v1, use
3407         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3408         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3409         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3411 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3413         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3414         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3415         memory read accesses are ok.
3417 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3419         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3420         * configure: Regenerate.
3421         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3422         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3423         of soft-fp for 32-bit classic hard float.  Do not use
3424         t-softfp-excl for soft float.
3426 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3428         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3429         configurations.
3430         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3431         Remove variables.
3433 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3435         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3436         introduced with 2014-10-21 trunk r216525.
3438 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3439             Vidya Praveen  <vidya.praveen@atmel.com>
3440             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3441             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3442             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3444         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3445         order.
3447         Updated library functions for AVRTINY arch.
3448         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3449         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3450         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3451         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3452         wsubi/wadi macors.
3453         (__mulsi3_helper): Update stack, preserve callee saved regs and
3454         argument from stack. Restore callee save registers.
3455         (__mulpsi3): Likewise.
3456         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3457         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3458         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3459         AVRTINY.
3460         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3461         (__do_copy_data): Added new definition for AVRTINY.
3462         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3463         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3464         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3465         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3466         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3467         macors.
3468         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3469         AVRTINY.
3471         Fix broken long multiplication on tiny arch.
3473 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3475         * soft-fp/double.h: Update from glibc.
3476         * soft-fp/eqdf2.c: Likewise.
3477         * soft-fp/eqsf2.c: Likewise.
3478         * soft-fp/eqtf2.c: Likewise.
3479         * soft-fp/extenddftf2.c: Likewise.
3480         * soft-fp/extended.h: Likewise.
3481         * soft-fp/extendsfdf2.c: Likewise.
3482         * soft-fp/extendsftf2.c: Likewise.
3483         * soft-fp/extendxftf2.c: Likewise.
3484         * soft-fp/gedf2.c: Likewise.
3485         * soft-fp/gesf2.c: Likewise.
3486         * soft-fp/getf2.c: Likewise.
3487         * soft-fp/ledf2.c: Likewise.
3488         * soft-fp/lesf2.c: Likewise.
3489         * soft-fp/letf2.c: Likewise.
3490         * soft-fp/op-1.h: Likewise.
3491         * soft-fp/op-2.h: Likewise.
3492         * soft-fp/op-4.h: Likewise.
3493         * soft-fp/op-8.h: Likewise.
3494         * soft-fp/op-common.h: Likewise.
3495         * soft-fp/quad.h: Likewise.
3496         * soft-fp/single.h: Likewise.
3497         * soft-fp/soft-fp.h: Likewise.
3498         * soft-fp/unorddf2.c: Likewise.
3499         * soft-fp/unordsf2.c: Likewise.
3500         * soft-fp/unordtf2.c: Likewise.
3501         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3502         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3503         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3504         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3505         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3506         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3507         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3508         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3509         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3510         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3512 2014-10-08  Rong Xu  <xur@google.com>
3514         * libgcov-util.c (read_gcda_file): Fix format.
3515         (find_match_gcov_info): Ditto.
3516         (calculate_2_entries): New.
3517         (compute_one_gcov): Ditto.
3518         (gcov_info_count_all_cold): Ditto.
3519         (gcov_info_count_all_zero): Ditto.
3520         (extract_file_basename): Ditto.
3521         (get_file_basename): Ditto.
3522         (set_flag): Ditto.
3523         (matched_gcov_info): Ditto.
3524         (calculate_overlap): Ditto.
3525         (gcov_profile_overlap): Ditto.
3526         * libgcov-driver.c (compute_summary): Make
3527         it avavilable for external calls.
3529 2014-10-06  Rong Xu  <xur@google.com>
3531         * Makefile.in: Ditto.
3532         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3533         (gcov_sort_icall_topn_counter): Ditto.
3534         (gcov_sort_topn_counter_arrays): Ditto.
3535         (dump_one_gcov): Sort indirect_call topn counters.
3536         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3537         function.
3538         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3539         utility function.
3540         (__gcov_indirect_call_topn_profiler): New profiler function.
3541         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3542         * libgcov.h: New decls.
3544 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
3546         * config.host: Remove support for score-*.
3548 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3550         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3551         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3552         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3553         __LIBGCC_XF_MANT_DIG__.
3554         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3555         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3556         __LIBGCC_TF_MANT_DIG__.
3557         * libgcc2.c (NOTRUNC): Define in terms of
3558         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3559         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3561 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3563         PR target/63312
3564         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3565         New macros.
3567 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
3569         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3570         override USE_PT_GNU_EH_FRAME.
3571         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3572         check USE_EH_FRAME_REGISTRY_ALWAYS against
3573         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3574         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3575         variable for substituted force_explicit_eh_registry.
3576         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3577         * configure.ac (explicit-exception-frame-registration):
3578         New AC_ARG_ENABLE.
3579         * configure: Regenerate.
3581 2014-09-19  Olivier Hainque  <hainque@adacore.com>
3583         * config.host (powerpc-wrs-vxworksmils): New configuration,
3584         same as vxworksae.
3586 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3588         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3590 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3592         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3593         bits not set bits as indicating trapping exceptions.
3595 2014-09-17  Nathan sidwell  <nathan@acm.org>
3597         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3598         (LIBGCOV_DRIVER): ... here.
3599         * libgcov-driver.c (gcov_master): New.
3600         (gcov_exit): Remove from master chain.
3601         (__gcov_init): Add to master chain if version compatible.  Don't
3602         clear the version.
3603         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3604         (gcov_reset_int): Clear master chain, if compatible.
3605         (gcov_dump_int): New internal interface.  Dump master chain, if
3606         compatible.
3607         (gcov_dump): Alias for gcov_dump_int.
3608         * libgcov.h (struct gcov_root): Add next and prev fields.
3609         (struct gcov_master): New struct.
3610         (__gcov_master): New.
3611         (gcov_dump_int): Declare.
3613 2014-09-17  Olivier Hainque  <hainque@adacore.com>
3615         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3616         and crtbegin.o + crtend.o to extra_parts.
3618 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3620         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3621         __LIBGCC_HAS_SF_MODE__.
3622         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3623         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3624         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3625         * config/libbid/bid_gcc_intrinsics.h
3626         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3627         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3628         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3629         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3630         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3631         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3633 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
3635         PR target/63223
3636         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3637         and R24 as needed.  Make work for all devices and .text locations.
3638         (__do_global_ctors, __do_global_dtors): Use word addresses.
3639         (__tablejump__, __tablejump_elpm__): Remove functions.
3640         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3641         Add _tablejump2.
3642         (XICALL, XIJMP): New macros.
3644 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3645         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3647         * config.host (aarch64*): Include crtfastmath.o and
3648         t-crtfm.
3649         * config/aarch64/crtfastmath.c: New file.
3651 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
3653         * config.host: Remove picochip support.
3654         * config/picochip/adddi3.S: Remove.
3655         * config/picochip/ashlsi3.S: Remove.
3656         * config/picochip/ashlsi3.c: Remove.
3657         * config/picochip/ashrsi3.S: Remove.
3658         * config/picochip/ashrsi3.c: Remove.
3659         * config/picochip/clzsi2.S: Remove.
3660         * config/picochip/cmpsi2.S: Remove.
3661         * config/picochip/divmod15.S: Remove.
3662         * config/picochip/divmodhi4.S: Remove.
3663         * config/picochip/divmodsi4.S: Remove.
3664         * config/picochip/lib1funcs.S: Remove.
3665         * config/picochip/longjmp.S: Remove.
3666         * config/picochip/lshrsi3.S: Remove.
3667         * config/picochip/lshrsi3.c: Remove.
3668         * config/picochip/parityhi2.S: Remove.
3669         * config/picochip/popcounthi2.S: Remove.
3670         * config/picochip/setjmp.S: Remove.
3671         * config/picochip/subdi3.S: Remove.
3672         * config/picochip/t-picochip: Remove.
3673         * config/picochip/ucmpsi2.S: Remove.
3674         * config/picochip/udivmodhi4.S: Remove.
3675         * config/picochip/udivmodsi4.S: Remove.
3677 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3679         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3680         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3681         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3682         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3683         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
3684         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3685         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
3686         defined and LIBGCC2_HAS_DF_MODE is defined.
3687         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
3688         defined and LIBGCC2_HAS_XF_MODE is defined.
3689         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
3690         defined and LIBGCC2_HAS_TF_MODE is defined.
3692 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3694         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3695         and ROUND_TOWARDS_ZERO conditionals.
3697 2014-09-07  Nathan sidwell  <nathan@acm.org>
3699         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3700         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
3702 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
3704         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3705         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3706         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3707         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3708         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3709         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3710         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3711         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3712         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3713         (DWARF_FRAME_REGISTERS): Change all uses to
3714         __LIBGCC_DWARF_FRAME_REGISTERS__.
3715         (EH_RETURN_STACKADJ_RTX): Change all uses to
3716         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3717         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3718         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
3719         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3720         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3721         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3722         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3723         to __LIBGCC_EH_FRAME_SECTION_NAME__.
3724         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3725         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3726         __LIBGCC_STACK_POINTER_REGNUM__.
3727         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3728         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3729         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3730         to __LIBGCC_STACK_POINTER_REGNUM__.
3731         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3732         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3733         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3734         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3735         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3736         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3737         (STACK_POINTER_REGNUM): Change all uses to
3738         __LIBGCC_STACK_POINTER_REGNUM__.
3739         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3740         use to __LIBGCC_STACK_POINTER_REGNUM__.
3741         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3742         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3743         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3744         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3745         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3746         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3747         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3748         to __LIBGCC_STACK_POINTER_REGNUM__.
3749         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3750         Remove conditional definition.
3751         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3752         __LIBGCC_TEXT_SECTION_ASM_OP__.
3753         (EH_FRAME_SECTION_NAME): Change all uses to
3754         __LIBGCC_EH_FRAME_SECTION_NAME__.
3755         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3756         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3757         (CTORS_SECTION_ASM_OP): Change all uses to
3758         __LIBGCC_CTORS_SECTION_ASM_OP__.
3759         (DTORS_SECTION_ASM_OP): Change all uses to
3760         __LIBGCC_DTORS_SECTION_ASM_OP__.
3761         (JCR_SECTION_NAME): Change all uses to
3762         __LIBGCC_JCR_SECTION_NAME__.
3763         (INIT_SECTION_ASM_OP): Change all uses to
3764         __LIBGCC_INIT_SECTION_ASM_OP__.
3765         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3766         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3767         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3768         __LIBGCC_STACK_GROWS_DOWNWARD__.
3769         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3770         __LIBGCC_INIT_SECTION_ASM_OP__.
3771         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3772         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3773         (EH_FRAME_SECTION_NAME): Change all uses to
3774         __LIBGCC_EH_FRAME_SECTION_NAME__.
3775         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3776         definitions.  Change all uses to
3777         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3778         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3779         __LIBGCC_STACK_GROWS_DOWNWARD__.
3780         (DWARF_FRAME_REGISTERS): Change all uses to
3781         __LIBGCC_DWARF_FRAME_REGISTERS__.
3782         (EH_RETURN_STACKADJ_RTX): Change all uses to
3783         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3784         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3785         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3786         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3787         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3788         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3790 2014-09-02  Nathan sidwell  <nathan@acm.org>
3792         * libgcov-interface.c (STRONG_ALIAS): New.
3793         (__gcov_flush): Call __gcov_reset_int.
3794         (__gcov_reset): Strong alias for ...
3795         (__gcov_reset_ing): ... this renamed hidden version.
3796         * libgcov.h (__gcov_reset_int): New declaration.
3798 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3800         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3801         call from here...
3802         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3803         (__dso_handle): Define on Cygwin.
3804         * config/i386/t-cygming (crtbeginS.o): New rule.
3805         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3807         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3808         declaration syntax.
3810 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3812         * crtstuff.c: Undef caddr_t.
3814 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3816         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3818 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3820         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3821         (LIBGCOV_DRIVER): ... to here.
3822         * libgcov.h (gcov_do_dump): New #define.
3823         (struct gcov_root): New.
3824         (__gcov_root): New declaration.
3825         (__gcov_dump_one): Declare.
3826         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3827         run_accounted): Delete.
3828         (gcov_compute_histogram): Add LIST argument, adjust.
3829         (compute_summary): Adjust gcov_compute_histogram call.
3830         (gcov_do_dump): Not hidden, static in libgcov.
3831         (gcov_clear): Move  to interface.c.
3832         (__gcov_dump_one): New, broken out of ...
3833         (gcov_exit): ... here.  Make static.
3834         (__gcov_root): New.
3835         (__gcov_init): Adjust.
3836         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3837         declarations.
3838         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3839         (gcov_clear): Moved from driver.c.   Add LIST argument.
3840         (__gcov_reset): Adjust for changed interfaces.
3841         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3843 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3845         PR target/60102
3846         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3847         based on change in SPE high register numbers and 3 HTM registers.
3849 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3851         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3852         LIBGCOV_INTERFACE): Reformat.
3853         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3854         IN_GCOV_TOOL.
3855         * libgcov-interface.c: Reformat some comments.
3856         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3858 2014-07-31  Alan Modra  <amodra@gmail.com>
3859             Peter Bergner  <bergner@vnet.ibm.com>
3861         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3862         (pack_ldouble): New function.
3863         (__gcc_qadd): Use it.
3864         (__gcc_qmul): Likewise.
3865         (__gcc_qdiv): Likewise.
3866         (__gcc_qneg): Likewise.
3867         (__gcc_stoq): Likewise.
3868         (__gcc_dtoq): Likewise.
3870 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3872         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3873         (__tpf_eh_return): Add original return address as second parameter.
3874         Handle cases where unwinder routines were called directly, instead
3875         of from within the C++ library.
3877 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3879         * libgcov.h: Move renaming of entry points to lib gcov specific
3880         portion.
3881         (gcov_do_dump): New rename.
3882         (gcov_rewrite): Remove inline, make HIDDEN.
3883         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3884         (gcov_exit_compute_summary): Rename to ...
3885         (compute_summary): ... here.  Add LIST argument.
3886         (gcov_exit_merge_gcda): Rename to ...
3887         (merge_one_data): ... here.
3888         (gcov_exit_write_gcda): Rename to ...
3889         (write_one_data): ... here.
3890         (gcov_exit_merge_summary): Rename to ...
3891         (merge_summary): Add RUN_COUNTED argument.
3892         (gcov_exit_dump_gcov): Rename to ...
3893         (dump_one_gcov): Add RUN_COUNTED argument.
3894         (gcov_do_dump): New function, broken out of ...
3895         (gcov_exit): ... here.  Call it.
3897 2014-07-27  Anthony Green  <green@moxielogic.com>
3899         * config.host: Add moxiebox configuration suppport.
3901 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3903         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3904         (struct gcov_filename): ... here.  Include buffer and max length
3905         fields.
3906         (gcov_max_filename): Remove.
3907         (gi_filename): Remove.
3908         (gcov_exit_compute_summary): Compute max filename here.
3909         (gcov_exit_merge_gcda): Add filename parm, adjust.
3910         (gcov_exit_merge_summary): Likewise.
3911         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3912         (gcov_exit): Likewise.
3913         (__gcov_init): Don't calculate max length here.
3914         * libgcov_util.c (max_filename_len): Remove.
3915         (read_gcda_file): Don't calculate max length here.
3916         (gcov_read_profile_dir): Don't propagate here.
3917         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3918         struct gcov_filename changes.
3919         (gcov_exit_open_gcda_file): Likewise.
3921 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3923         * libgcov-driver.c (set_gcov_dump_complete,
3924         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3925         functions polluting user's namespace.
3926         (gcov_exit): Set variable directly.
3927         (gcov_clear): Reset variable directly.
3928         * libgcov-interface.c (get_gcov_dymp_complete,
3929         reset_gov_dump_complete): Remove declarations.
3930         (__gcov_reset, __gcov_dump): Don't call them.
3932 2014-07-24  DJ Delorie  <dj@redhat.com>
3934         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3935         (__gcc_deregister_frame): Move logic to detect deregister function
3936         to ...
3937         (__gcc_register_frame): here, so it's consistent with the register
3938         logic.
3940 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3942         * libgcov-driver.c (set_gcov_list): Remove.
3943         (gcov_list): Make non-static in GCOV_TOOL.
3944         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3946 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3948         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3949         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3950         Don't use SYNC_LOCK_RELEASE for int type.
3952 2014-07-14  Richard Biener  <rguenther@suse.de>
3954         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3956 2014-07-11  Rong Xu  <xur@google.com>
3958         * libgcov-util.c (gcov_max_filename): Fix declartion.
3960 2014-07-10  Rong Xu  <xur@google.com>
3962         Add gcov-tool: an offline gcda profile processing tool
3963         Support.
3964         * libgcov-driver.c (gcov_max_filename): Make available
3965         to gcov-tool.
3966         * libgcov-merge.c (__gcov_merge_add): Replace
3967         gcov_read_counter() with a Macro.
3968         (__gcov_merge_ior): Ditto.
3969         (__gcov_merge_time_profile): Ditto.
3970         (__gcov_merge_single): Ditto.
3971         (__gcov_merge_delta): Ditto.
3972         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3973         in the utility functions.
3974         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3975         gcov_list object link lists.
3976         (tag_function): Ditto.
3977         (tag_blocks): Ditto.
3978         (tag_arcs): Ditto.
3979         (tag_lines): Ditto.
3980         (tag_counters): Ditto.
3981         (tag_summary): Ditto.
3982         (read_gcda_finalize): Ditto.
3983         (read_gcda_file): Ditto.
3984         (ftw_read_file): Ditto.
3985         (read_profile_dir_init): Ditto.
3986         (gcov_read_profile_dir): Ditto.
3987         (gcov_read_counter_mem): Ditto.
3988         (gcov_get_merge_weight): Ditto.
3989         (merge_wrapper): A wrapper function that calls merging handler.
3990         (gcov_merge): Merge two gcov_info objects with weights.
3991         (find_match_gcov_info): Find the matched gcov_info in the list.
3992         (gcov_profile_merge): Merge two gcov_info object lists.
3993         (__gcov_add_counter_op): Process edge profile counter values.
3994         (__gcov_ior_counter_op): Process IOR profile counter values.
3995         (__gcov_delta_counter_op): Process delta profile counter values.
3996         (__gcov_single_counter_op): Process single  profile counter values.
3997         (fp_scale): Callback function for float-point scaling.
3998         (int_scale): Callback function for integer fraction scaling.
3999         (gcov_profile_scale): Scaling profile counters.
4000         (gcov_profile_normalize): Normalize profile counters.
4001         * libgcov.h: Add headers and functions for gcov-tool use.
4002         (gcov_get_counter): New.
4003         (gcov_get_counter_target): Ditto.
4004         (struct gcov_info): Make the functions field mutable in gcov-tool
4005         compilation.
4007 2014-06-23  Kai Tietz  <ktietz@redhat.com>
4009         PR libgcc/61585
4010         * unwind-seh.c (_Unwind_GetGR): Check for proper
4011         index range.
4012         (_Unwind_SetGR): Likewise.
4014 2014-05-22  Nick Clifton  <nickc@redhat.com>
4016         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4017         -mhwmult=none.
4019 2014-05-22  Teresa Johnson  <tejohnson@google.com>
4021         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4022         include.
4024 2014-05-20  John Marino  <gnugcc@marino.st>
4026         * config.host (*-*-dragonfly*): New target.
4027         * crtstuff.c: Make dl_iterate_support generic on *bsd.
4028         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4029         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4030         * config/i386/dragonfly-unwind.h: New.
4032 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
4034         PR libgcc/60166
4035         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4036         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4038 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4040         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4041         implementation.
4043 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
4045         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4047 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4049         PR libgcc/61097
4050         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4051         if --enable-shared.
4053 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4055         Work around for current cygwin32 build problems.
4056         * config/i386/cygming-crtbegin.c (__register_frame_info,
4057         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4058         functions only for 64-bit systems.
4060 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4062         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4063         (sigill_caught, sigill_hdlr): Remove.
4065 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4067         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4068         check.
4069         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4070         Solaris 9 single-threaded support.
4071         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4072         Solaris 9 single-threaded support.  Add call_user_handler code
4073         sequences.
4074         (sparc_is_sighandler): Likewise.
4076 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4078         * config.host: Append t-floattodi to tmake_file depending on
4079         host_address.
4081 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
4083         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
4085 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
4087         PR libgcc/60472
4088         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
4089         variable to avoid "array subscript is above array bounds" warnings.
4090         Use __builtin_expect when checking *jcr_list for NULL.
4092 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4094         PR libgcc/59339
4095         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4096         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4097         vtv_*.o to extra_parts if enable_vtable_verify.
4099 2014-03-06  Nick Clifton  <nickc@redhat.com>
4101         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4102         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4104 2014-02-28  Joey Ye  <joey.ye@arm.com>
4106         PR libgcc/60166
4107         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4108         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4109         Set to zero.
4111 2014-02-24  Walter Lee  <walt@tilera.com>
4113         * config.host: Support "tilegx*" and "tilepro*" triplets.
4114         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4115         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4117 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
4118             Chung-Lin Tang  <cltang@codesourcery.com>
4120         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4121         * config/nios2/crti.S: Remove .file directive.
4122         * config/nios2/crtn.S: Likewise.
4124 2014-02-18  Kai Tietz  <ktietz@redhat.com>
4125         Jonathan Schleifer  <js@webkeks.org>
4127         PR objc/56870
4128         * unwind-seh.c (_GCC_specific_handler): Pass proper
4129         value to unwind-handler.
4131 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
4133         * soft-fp/adddf3.c: Update from glibc.
4134         * soft-fp/addsf3.c: Likewise.
4135         * soft-fp/addtf3.c: Likewise.
4136         * soft-fp/divdf3.c: Likewise.
4137         * soft-fp/divsf3.c: Likewise.
4138         * soft-fp/divtf3.c: Likewise.
4139         * soft-fp/double.h: Likewise.
4140         * soft-fp/eqdf2.c: Likewise.
4141         * soft-fp/eqsf2.c: Likewise.
4142         * soft-fp/eqtf2.c: Likewise.
4143         * soft-fp/extenddftf2.c: Likewise.
4144         * soft-fp/extended.h: Likewise.
4145         * soft-fp/extendsfdf2.c: Likewise.
4146         * soft-fp/extendsftf2.c: Likewise.
4147         * soft-fp/extendxftf2.c: Likewise.
4148         * soft-fp/fixdfdi.c: Likewise.
4149         * soft-fp/fixdfsi.c: Likewise.
4150         * soft-fp/fixdfti.c: Likewise.
4151         * soft-fp/fixsfdi.c: Likewise.
4152         * soft-fp/fixsfsi.c: Likewise.
4153         * soft-fp/fixsfti.c: Likewise.
4154         * soft-fp/fixtfdi.c: Likewise.
4155         * soft-fp/fixtfsi.c: Likewise.
4156         * soft-fp/fixtfti.c: Likewise.
4157         * soft-fp/fixunsdfdi.c: Likewise.
4158         * soft-fp/fixunsdfsi.c: Likewise.
4159         * soft-fp/fixunsdfti.c: Likewise.
4160         * soft-fp/fixunssfdi.c: Likewise.
4161         * soft-fp/fixunssfsi.c: Likewise.
4162         * soft-fp/fixunssfti.c: Likewise.
4163         * soft-fp/fixunstfdi.c: Likewise.
4164         * soft-fp/fixunstfsi.c: Likewise.
4165         * soft-fp/fixunstfti.c: Likewise.
4166         * soft-fp/floatdidf.c: Likewise.
4167         * soft-fp/floatdisf.c: Likewise.
4168         * soft-fp/floatditf.c: Likewise.
4169         * soft-fp/floatsidf.c: Likewise.
4170         * soft-fp/floatsisf.c: Likewise.
4171         * soft-fp/floatsitf.c: Likewise.
4172         * soft-fp/floattidf.c: Likewise.
4173         * soft-fp/floattisf.c: Likewise.
4174         * soft-fp/floattitf.c: Likewise.
4175         * soft-fp/floatundidf.c: Likewise.
4176         * soft-fp/floatundisf.c: Likewise.
4177         * soft-fp/floatunditf.c: Likewise.
4178         * soft-fp/floatunsidf.c: Likewise.
4179         * soft-fp/floatunsisf.c: Likewise.
4180         * soft-fp/floatunsitf.c: Likewise.
4181         * soft-fp/floatuntidf.c: Likewise.
4182         * soft-fp/floatuntisf.c: Likewise.
4183         * soft-fp/floatuntitf.c: Likewise.
4184         * soft-fp/gedf2.c: Likewise.
4185         * soft-fp/gesf2.c: Likewise.
4186         * soft-fp/getf2.c: Likewise.
4187         * soft-fp/ledf2.c: Likewise.
4188         * soft-fp/lesf2.c: Likewise.
4189         * soft-fp/letf2.c: Likewise.
4190         * soft-fp/muldf3.c: Likewise.
4191         * soft-fp/mulsf3.c: Likewise.
4192         * soft-fp/multf3.c: Likewise.
4193         * soft-fp/negdf2.c: Likewise.
4194         * soft-fp/negsf2.c: Likewise.
4195         * soft-fp/negtf2.c: Likewise.
4196         * soft-fp/op-1.h: Likewise.
4197         * soft-fp/op-2.h: Likewise.
4198         * soft-fp/op-4.h: Likewise.
4199         * soft-fp/op-8.h: Likewise.
4200         * soft-fp/op-common.h: Likewise.
4201         * soft-fp/quad.h: Likewise.
4202         * soft-fp/single.h: Likewise.
4203         * soft-fp/soft-fp.h: Likewise.
4204         * soft-fp/subdf3.c: Likewise.
4205         * soft-fp/subsf3.c: Likewise.
4206         * soft-fp/subtf3.c: Likewise.
4207         * soft-fp/truncdfsf2.c: Likewise.
4208         * soft-fp/trunctfdf2.c: Likewise.
4209         * soft-fp/trunctfsf2.c: Likewise.
4210         * soft-fp/trunctfxf2.c: Likewise.
4211         * soft-fp/unorddf2.c: Likewise.
4212         * soft-fp/unordsf2.c: Likewise.
4213         * soft-fp/unordtf2.c: Likewise.
4214         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4215         macro.
4216         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4217         Likewise.
4218         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4219         Likewise.
4220         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4221         Likewise.
4222         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4223         Likewise.
4224         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4225         Likewise.
4226         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4227         Likewise.
4228         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4229         Likewise.
4230         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4231         Likewise.
4232         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4233         Likewise.
4234         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4235         Likewise.
4236         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4237         Likewise.
4238         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4239         Likewise.
4240         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4241         Likewise.
4242         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4243         Likewise.
4244         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4245         Likewise.
4247 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4249         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4250         cannot be represented.
4251         * config/s390/32/_fixsfdi.c: Likewise.
4252         * config/s390/32/_fixtfdi.c: Likewise.
4253         * config/s390/32/_fixunsdfdi.c: Likewise.
4254         * config/s390/32/_fixunssfdi.c: Likewise.
4255         * config/s390/32/_fixunstfdi.c: Likewise.
4257 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
4259         * configure.ac (libgcc_cv_mips_hard_float): New.
4260         * configure: Regenerate.
4261         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4262         t-softfp-sfdf for hard-float targets.
4263         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4264         (softfp_float_modes, softfp_int_modes, softfp_extensions)
4265         (softfp_truncations, softfp_exclude_libgcc2): New.
4266         * config/t-hardfp: New file.
4267         * config/t-hardfp-sfdf: Likewise.
4268         * config/hardfp.c: Likewise.
4270 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4272         * config.host: Include t-floattodi also for s390x.
4273         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4274         * config/s390/32/_fixsfdi.c: Likewise.
4275         * config/s390/32/_fixtfdi.c: Likewise.
4276         * config/s390/32/_fixunsdfdi.c: Likewise.
4277         * config/s390/32/_fixunssfdi.c: Likewise.
4278         * config/s390/32/_fixunstfdi.c: Likewise.
4280 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4282         PR target/59788
4283         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4284         (install-libgcc-unwind-map-forbuild): New target.
4285         (all): Depend on install-libgcc-unwind-map-forbuild.
4286         (install-libgcc-unwind-map): New target.
4287         (install): Depend on install-libgcc-unwind-map.
4289 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
4291         * config/nios2/crti.S (_init): Initialize GOT pointer from
4292         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4294 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
4296         * configure.ac: Check __mips64 when setting host_address.
4297         * configure: Regenerate.
4298         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4299         mips/t-mips64 and t-softfp.
4300         (mips*-*-linux*): Don't add mips/t-tpbit.
4301         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4302         (DPBIT, DPBIT_CFLAGS): Delete.
4303         * config/mips/sfp-machine.h: New file.
4304         * config/mips/t-mips64: Likewise.
4305         * config/mips/t-softfp-tf: Likewise.
4306         * config/mips/t-tpbit: Delete.
4308 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4310         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4311         as long long.
4313 2014-01-25  Walter Lee  <walt@tilera.com>
4315         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
4316         config.h or system.h.
4317         (bool) Define.
4319 2014-01-25  Walter Lee  <walt@tilera.com>
4321         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4322         (post_atomic_barrier): Ditto.
4323         (__fetch_and_do): New macro.
4324         (__atomic_fetch_and_do): Use __fetch_and_do.
4325         (__sync_fetch_and_do): New macro.
4326         (__sync_fetch_and_add_4): New function.
4327         (__sync_fetch_and_sub_4): New function.
4328         (__sync_fetch_and_or_4): New function.
4329         (__sync_fetch_and_and_4): New function.
4330         (__sync_fetch_and_xor_4): New function.
4331         (__sync_fetch_and_nand_4): New function.
4332         (__sync_fetch_and_add_8): New function.
4333         (__sync_fetch_and_sub_8): New function.
4334         (__sync_fetch_and_or_8): New function.
4335         (__sync_fetch_and_and_8): New function.
4336         (__sync_fetch_and_xor_8): New function.
4337         (__sync_fetch_and_nand_8): New function.
4338         (__do_and_fetch): New macro.
4339         (__atomic_do_and_fetch): Use __do_and_fetch.
4340         (__sync_do_and_fetch): New macro.
4341         (__sync_add_and_fetch_4): New function.
4342         (__sync_sub_and_fetch_4): New function.
4343         (__sync_or_and_fetch_4): New function.
4344         (__sync_and_and_fetch_4): New function.
4345         (__sync_xor_and_fetch_4): New function.
4346         (__sync_nand_and_fetch_4): New function.
4347         (__sync_add_and_fetch_8): New function.
4348         (__sync_sub_and_fetch_8): New function.
4349         (__sync_or_and_fetch_8): New function.
4350         (__sync_and_and_fetch_8): New function.
4351         (__sync_xor_and_fetch_8): New function.
4352         (__sync_nand_and_fetch_8): New function.
4353         (__sync_exchange_methods): New macro.
4354         (__sync_val_compare_and_swap_4): New function.
4355         (__sync_bool_compare_and_swap_4): New function.
4356         (__sync_lock_test_and_test_4): New function.
4357         (__sync_val_compare_and_swap_8): New function.
4358         (__sync_bool_compare_and_swap_8): New function.
4359         (__sync_lock_test_and_test_8): New function.
4360         (__subword_cmpxchg_body): New macro.
4361         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4362         (__atomic_compare_exchange_2): Ditto.
4363         (__sync_subword_cmpxchg): New macro.
4364         (__sync_val_compare_and_swap_1): New function.
4365         (__sync_bool_compare_and_swap_1): New function.
4366         (__sync_val_compare_and_swap_2): New function.
4367         (__sync_bool_compare_and_swap_2): New function.
4368         (__atomic_subword): Rename to ...
4369         (__subword): ... New name.
4370         (__atomic_subword_fetch): Use __subword.
4371         (__sync_subword_fetch): New macro.
4372         (__sync_fetch_and_add_1): New function.
4373         (__sync_fetch_and_sub_1): New function.
4374         (__sync_fetch_and_or_1): New function.
4375         (__sync_fetch_and_and_1): New function.
4376         (__sync_fetch_and_xor_1): New function.
4377         (__sync_fetch_and_nand_1): New function.
4378         (__sync_fetch_and_add_2): New function.
4379         (__sync_fetch_and_sub_2): New function.
4380         (__sync_fetch_and_or_2): New function.
4381         (__sync_fetch_and_and_2): New function.
4382         (__sync_fetch_and_xor_2): New function.
4383         (__sync_fetch_and_nand_2): New function.
4384         (__sync_add_and_fetch_1): New function.
4385         (__sync_sub_and_fetch_1): New function.
4386         (__sync_or_and_fetch_1): New function.
4387         (__sync_and_and_fetch_1): New function.
4388         (__sync_xor_and_fetch_1): New function.
4389         (__sync_nand_and_fetch_1): New function.
4390         (__sync_add_and_fetch_2): New function.
4391         (__sync_sub_and_fetch_2): New function.
4392         (__sync_or_and_fetch_2): New function.
4393         (__sync_and_and_fetch_2): New function.
4394         (__sync_xor_and_fetch_2): New function.
4395         (__sync_nand_and_fetch_2): New function.
4396         (__atomic_subword_lock): Use __subword.
4397         (__sync_subword_lock): New macro.
4398         (__sync_lock_test_and_set_1): New function.
4399         (__sync_lock_test_and_set_2): New function.
4401 2014-01-25  Walter Lee  <walt@tilera.com>
4403         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4404         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4405         (__atomic_subword): Ditto.
4407 2014-01-25  Walter Lee  <walt@tilera.com>
4409         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4410         a prefix op argument.
4411         (__atomic_nand_fetch_4): Add prefix op.
4412         (__atomic_nand_fetch_8): Ditto.
4414 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4416         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4418 2014-01-09  Rong Xu  <xur@google.com>
4420         * libgcov-driver.c (this_prg): make it local to save
4421         bss space.
4422         (gcov_exit_compute_summary): Ditto.
4423         (gcov_exit_merge_gcda): Ditto.
4424         (gcov_exit_merge_summary): Ditto.
4425         (gcov_exit_dump_gcov): Ditto.
4427 2014-01-08  Rong Xu  <xur@google.com>
4429         * libgcov-driver.c: Use libgcov.h.
4430         (buffer_fn_data): Use xmalloc instead of malloc.
4431         (gcov_exit_merge_gcda): Ditto.
4432         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4433         * libgcov.h: New common header files for libgcov-*.h.
4434         * libgcov-interface.c: Use libgcov.h
4435         * libgcov-merge.c: Ditto.
4436         * libgcov-profiler.c: Ditto.
4437         * Makefile.in: Add dependence to libgcov.h
4439 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4441         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4442         case of small numerator and finite nonzero result.
4444 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4446         Update copyright years
4448 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4450         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4451         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4452         config/arc/dp-hack.h, config/arc/fp-hack.h,
4453         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4454         config/arc/ieee-754/arc600-dsp/divdf3.S,
4455         config/arc/ieee-754/arc600-dsp/divsf3.S,
4456         config/arc/ieee-754/arc600-dsp/muldf3.S,
4457         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4458         config/arc/ieee-754/arc600-mul64/divdf3.S,
4459         config/arc/ieee-754/arc600-mul64/divsf3.S,
4460         config/arc/ieee-754/arc600-mul64/muldf3.S,
4461         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4462         config/arc/ieee-754/arc600/divsf3.S,
4463         config/arc/ieee-754/arc600/mulsf3.S,
4464         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4465         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4466         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4467         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4468         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4469         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4470         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4471         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4472         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4473         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4474         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4475         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4476         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4477         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4478         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4479         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4480         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4481         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4482         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4483         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4484         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4485         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4486         vtv_start_preinit.c: Use the standard form for the copyright notice.
4488 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4489             Chung-Lin Tang  <cltang@codesourcery.com>
4490             Based on patches from Altera Corporation
4492         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4493         * config/nios2/lib2-nios2.h: New file.
4494         * config/nios2/lib2-divmod-hi.c: New file.
4495         * config/nios2/linux-unwind.h: New file.
4496         * config/nios2/lib2-divmod.c: New file.
4497         * config/nios2/linux-atomic.c: New file.
4498         * config/nios2/t-nios2: New file.
4499         * config/nios2/crti.asm: New file.
4500         * config/nios2/t-linux: New file.
4501         * config/nios2/lib2-divtable.c: New file.
4502         * config/nios2/lib2-mul.c: New file.
4503         * config/nios2/tramp.c: New file.
4504         * config/nios2/crtn.asm: New file.
4506 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4508         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4509         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4510         from cpuid.h to check vendor signatures.
4512 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4514         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4515         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4516         (get_amd_cpu): Likewise.
4518 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
4520         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4521         Haswell.
4523 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4524             H.J. Lu  <hongjiu.lu@intel.com>
4526         PR target/59422
4527         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
4528         and AMD_JAGUAR.
4529         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4530         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4531         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
4532         FEATURE_XOP and FEATURE_FMA.
4533         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4534         AMDFAM15H_BDVER3.
4535         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4536         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4537         FEATURE_FMA4 and FEATURE_XOP.
4539 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
4541         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4542         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4543         (get_intel_cpu): Updated.
4545 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
4547         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4549 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
4551         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4552         instructions when __SSE_MATH__ is defined.
4554 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
4556         * config.host (microblaze-*-rtems*): New.
4558 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
4560         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4561         architectures that do not have hardware divide instruction.
4562         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4564 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
4566         * longlong.h: Delete (moved to include/).
4568 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4570         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4571         of normal number and qNaN to not raise an inexact exception.
4573 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
4575         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4577 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
4579         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4580         for correct opcodes on BE.
4582 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
4584         * soft-fp/op-4.h: Update from glibc.
4586 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
4588         * libgcc2.c (__udivmoddi4): Define new implementation when
4589         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4590         divide instructions.
4592 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
4594         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4596 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4598         * config/t-softfp (soft-fp-objects-base): New variable.
4599         (soft-fp-objects): Use it.
4601 2013-11-23  David Edelson  <dje.gcc@gmail.com>
4602             Andrew Dixie  <andrewd@gentrack.com>
4604         PR target/33704
4605         * config/rs6000/aixinitfini.c: New file.
4606         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4607         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4608         symbols.
4610 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
4612         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4614 2013-11-18  Jan Hubicka  <jh@suse.cz>
4616         * libgcov-driver.c (run_accounted): Make global level static.
4617         (gcov_exit_merge_summary): Silence warning; do not clear
4618         run_accounted here.
4619         (gcov_exit): Clear it here.
4621         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4622         run_accounted.
4624         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4625         (all_prg, crc32): Remove static vars.
4626         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4627         all_prg.
4628         (gcov_exit_merge_gcda): Add crc32 parameter.
4629         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4630         do not account run if it was already accounted.
4631         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4632         (gcov_exit): Initialize all_prg; update.
4634 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
4636         * configure: Regenerate.
4638 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4639             Alan Modra  <amodra@gmail.com>
4641         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4642         (frob_update_context): Use it.
4644 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4645             Alan Modra  <amodra@gmail.com>
4647         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4648         (trampoline_initial): Provide ELFv2 variant.
4649         (__trampoline_setup): Likewise.
4651         * config/rs6000/linux-unwind.h (frob_update_context): Do not
4652         check for AIX indirect function call sequence if _CALL_ELF == 2.
4654 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4655             Alan Modra  <amodra@gmail.com>
4657         * config/rs6000/linux-unwind.h (get_regs): Do not support
4658         old kernel versions if _CALL_ELF == 2.
4659         (frob_update_context): Do not support PLT stub variants only
4660         generated by old linkers if _CALL_ELF == 2.
4662 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4663             Alan Modra  <amodra@gmail.com>
4665         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4666         location of CR save area for 64-bit little-endian systems.
4668 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
4670         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4671         in tmake_file.
4672         * config/arm/t-vxworks: Delete.
4674 2013-11-10  Kai Tietz  <ktietz@redhat.com>
4676         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4677         Increment load-count on use of LIBGCC_SONAME DLL.
4678         (hmod_libgcc): New static variable to hold handle of
4679         LIBGCC_SONAME DLL.
4680         (__gcc_deregister_frame): Decrement load-count of
4681         LIBGCC_SONAME DLL.
4683 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
4685         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4686         availability.
4687         * configure: Regenerate
4689 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
4691         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4692         FP_EX_DENORM.  Store result to volatile location after SSE division
4693         to close interrupt window.  Remove unneeded fwait after x87
4694         division since interrupt window will be closed by emitted fstp.
4695         Rewrite FP_EX_INEXACT handling.
4697 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
4699         * soft-fp/README: Update.
4700         * soft-fp/adddf3.c: Update from glibc.
4701         * soft-fp/addsf3.c: Likewise.
4702         * soft-fp/addtf3.c: Likewise.
4703         * soft-fp/divdf3.c: Likewise.
4704         * soft-fp/divsf3.c: Likewise.
4705         * soft-fp/divtf3.c: Likewise.
4706         * soft-fp/double.h: Likewise.
4707         * soft-fp/eqdf2.c: Likewise.
4708         * soft-fp/eqsf2.c: Likewise.
4709         * soft-fp/eqtf2.c: Likewise.
4710         * soft-fp/extenddftf2.c: Likewise.
4711         * soft-fp/extended.h: Likewise.
4712         * soft-fp/extendsfdf2.c: Likewise.
4713         * soft-fp/extendsftf2.c: Likewise.
4714         * soft-fp/extendxftf2.c: Likewise.
4715         * soft-fp/fixdfdi.c: Likewise.
4716         * soft-fp/fixdfsi.c: Likewise.
4717         * soft-fp/fixdfti.c: Likewise.
4718         * soft-fp/fixsfdi.c: Likewise.
4719         * soft-fp/fixsfsi.c: Likewise.
4720         * soft-fp/fixsfti.c: Likewise.
4721         * soft-fp/fixtfdi.c: Likewise.
4722         * soft-fp/fixtfsi.c: Likewise.
4723         * soft-fp/fixtfti.c: Likewise.
4724         * soft-fp/fixunsdfdi.c: Likewise.
4725         * soft-fp/fixunsdfsi.c: Likewise.
4726         * soft-fp/fixunsdfti.c: Likewise.
4727         * soft-fp/fixunssfdi.c: Likewise.
4728         * soft-fp/fixunssfsi.c: Likewise.
4729         * soft-fp/fixunssfti.c: Likewise.
4730         * soft-fp/fixunstfdi.c: Likewise.
4731         * soft-fp/fixunstfsi.c: Likewise.
4732         * soft-fp/fixunstfti.c: Likewise.
4733         * soft-fp/floatdidf.c: Likewise.
4734         * soft-fp/floatdisf.c: Likewise.
4735         * soft-fp/floatditf.c: Likewise.
4736         * soft-fp/floatsidf.c: Likewise.
4737         * soft-fp/floatsisf.c: Likewise.
4738         * soft-fp/floatsitf.c: Likewise.
4739         * soft-fp/floattidf.c: Likewise.
4740         * soft-fp/floattisf.c: Likewise.
4741         * soft-fp/floattitf.c: Likewise.
4742         * soft-fp/floatundidf.c: Likewise.
4743         * soft-fp/floatundisf.c: Likewise.
4744         * soft-fp/floatunditf.c: Likewise.
4745         * soft-fp/floatunsidf.c: Likewise.
4746         * soft-fp/floatunsisf.c: Likewise.
4747         * soft-fp/floatunsitf.c: Likewise.
4748         * soft-fp/floatuntidf.c: Likewise.
4749         * soft-fp/floatuntisf.c: Likewise.
4750         * soft-fp/floatuntitf.c: Likewise.
4751         * soft-fp/gedf2.c: Likewise.
4752         * soft-fp/gesf2.c: Likewise.
4753         * soft-fp/getf2.c: Likewise.
4754         * soft-fp/ledf2.c: Likewise.
4755         * soft-fp/lesf2.c: Likewise.
4756         * soft-fp/letf2.c: Likewise.
4757         * soft-fp/muldf3.c: Likewise.
4758         * soft-fp/mulsf3.c: Likewise.
4759         * soft-fp/multf3.c: Likewise.
4760         * soft-fp/negdf2.c: Likewise.
4761         * soft-fp/negsf2.c: Likewise.
4762         * soft-fp/negtf2.c: Likewise.
4763         * soft-fp/op-1.h: Likewise.
4764         * soft-fp/op-2.h: Likewise.
4765         * soft-fp/op-4.h: Likewise.
4766         * soft-fp/op-8.h: Likewise.
4767         * soft-fp/op-common.h: Likewise.
4768         * soft-fp/quad.h: Likewise.
4769         * soft-fp/single.h: Likewise.
4770         * soft-fp/soft-fp.h: Likewise.
4771         * soft-fp/subdf3.c: Likewise.
4772         * soft-fp/subsf3.c: Likewise.
4773         * soft-fp/subtf3.c: Likewise.
4774         * soft-fp/truncdfsf2.c: Likewise.
4775         * soft-fp/trunctfdf2.c: Likewise.
4776         * soft-fp/trunctfsf2.c: Likewise.
4777         * soft-fp/trunctfxf2.c: Likewise.
4778         * soft-fp/unorddf2.c: Likewise.
4779         * soft-fp/unordsf2.c: Likewise.
4780         * soft-fp/unordtf2.c: Likewise.
4782 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4784         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4785         (_FP_MUL_MEAT_D): Ditto.
4786         (_FP_DIV_MEAT_S): Ditto.
4787         (_FP_DIV_MEAT_D): Ditto.
4788         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4789         t-softfp-sfdf and t-softfp to tmake_file.
4791 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4793         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4794         * config/i386/crtprec.c: Ditto.
4796 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4797             Shiva Chen  <shiva0217@gmail.com>
4799         * config.host (nds32*-elf*): Add nds32 target.
4800         * config/nds32 : New directory and files.
4802 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4804         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4805         * config.host (cpu_type) <Setting default>: Add entry for
4806         crisv32-*-*.
4807         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4808         <crisv32-*-linux*>: Adjust.
4809         * longlong.h: Wrap the whole CRIS section in a single
4810         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4811         and sub_ddmmss.
4812         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4813         defined.
4814         [__CRIS__] (__umulsidi3): Define.
4815         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4816         * config/cris/sfp-machine.h: New file.
4817         * config/cris/umulsidi3.S: New file.
4818         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4819         * config/cris/arit.c (SIGNMULT): New macro.
4820         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4821         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4822         saving 3 out of originally 33 cycles from the fastest
4823         path, 3 out of 54 from the medium path and one from the longest
4824         path.  Improve comments.
4826 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4828         * sync.c: Remove static aliases and define each function directly
4829         under its real name.
4831 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4833         * config.host (hppa*64*-*-linux*): Define extra_parts.
4834         (hppa*-*-linux*): Likewise.
4836 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4838         * config/arc/crtgend.S: Add 2013 to Copyright years.
4839         * config/arc/gmon/atomic.h: Likewise.
4840         * config/arc/gmon/auxreg.h: Likewise.
4841         * config/arc/gmon/sys/gmon_out.h: Likewise.
4842         * config/arc/gmon/sys/gmon.h: Likewise.
4843         * config/arc/gmon/prof-freq.c: Likewise.
4844         * config/arc/gmon/mcount.c: Likewise.
4845         * config/arc/gmon/prof-freq-stub.S: Likewise.
4846         * config/arc/gmon/gmon.c: Likewise.
4847         * config/arc/gmon/machine-gmon.h: Likewise.
4848         * config/arc/gmon/profil.S: Likewise.
4849         * config/arc/gmon/dcache_linesz.S: Likewise.
4850         * config/arc/crtg.S: Likewise.
4851         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4852         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4853         * config/arc/ieee-754/adddf3.S: Likewise.
4854         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4855         * config/arc/ieee-754/fixsfsi.S: Likewise.
4856         * config/arc/ieee-754/gtsf2.S: Likewise.
4857         * config/arc/ieee-754/floatsisf.S: Likewise.
4858         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4859         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4860         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4861         * config/arc/ieee-754/fixdfsi.S: Likewise.
4862         * config/arc/ieee-754/addsf3.S: Likewise.
4863         * config/arc/ieee-754/gesf2.S: Likewise.
4864         * config/arc/ieee-754/floatsidf.S: Likewise.
4865         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4866         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4867         * config/arc/ieee-754/gtdf2.S: Likewise.
4868         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4869         * config/arc/ieee-754/uneqdf2.S: Likewise.
4870         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4871         * config/arc/ieee-754/uneqsf2.S: Likewise.
4872         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4873         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4874         * config/arc/ieee-754/eqdf2.S: Likewise.
4875         * config/arc/ieee-754/ordsf2.S: Likewise.
4876         * config/arc/ieee-754/divsf3.S: Likewise.
4877         * config/arc/ieee-754/divdf3.S: Likewise.
4878         * config/arc/ieee-754/floatunsidf.S: Likewise.
4879         * config/arc/ieee-754/orddf2.S: Likewise.
4880         * config/arc/ieee-754/eqsf2.S: Likewise.
4881         * config/arc/ieee-754/gedf2.S: Likewise.
4882         * config/arc/crtn.S: Likewise.
4883         * config/arc/crti.S: Likewise.
4884         * config/arc/t-arc700-uClibc: Likewise.
4885         * config/arc/asm.h: Likewise.
4886         * config/arc/libgcc-excl.ver: Likewise.
4887         * config/arc/t-arc-newlib: Likewise.
4888         * config/arc/divtab-arc700.c: Likewise.
4889         * config/arc/initfini.c: Likewise.
4890         * config/arc/fp-hack.h: Likewise.
4892 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4893             Diego Novillo  <dnovillo@google.com>
4895         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4896         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4897         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4898         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4900 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4901             Brendan Kehoe  <brendan@zen.org>
4902             Simon Cook  <simon.cook@embecosm.com>
4904         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4905         * config/arc: New directory.
4906         * longlong.h [__arc__] (umul_ppmm): Remove.
4907         [__arc__] (__umulsidi3): Define.
4908         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4909         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4911 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4913         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4914         CreateSemaphoreA.
4915         * config/i386/gthr-win32.h: Likewise.
4917 2013-09-16  DJ Delorie  <dj@redhat.com>
4919         * config/rl78/vregs.h: Add G10 register definitions.
4920         * config/rl78/lib2mul.c: Enable for RL78/G10.
4921         * config/rl78/lib2div.c: Likewise.
4922         * config/rl78/lshrsi3.S: Use vregs.h.
4923         * config/rl78/cmpsi2.S: Likewise.
4924         * config/rl78/trampoline.S: Likewise.
4925         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4927 2013-09-14  DJ Delorie  <dj@redhat.com>
4928             Nick Clifton  <nickc@redhat.com>
4930         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4931         * config/rl78/vregs.h: New.
4932         * config/rl78/signbit.S: New file.  Implements signbit function.
4933         * config/rl78/divmodsi.S: New.
4934         * config/rl78/divmodhi.S: New.
4935         * config/rl78/divmodqi.S: New.
4936         * config/rl78/t-rl78: Build them here...
4937         * config/rl78/lib2div.c: ...but not here.
4939 2013-09-12  DJ Delorie  <dj@redhat.com>
4941         * config.host (msp*-*-elf): New.
4942         * config/msp430/: New port.
4944 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4946         PR gcov-profile/58127
4947         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4948         __thread var for emulated TLS.
4949         (__gcov_indirect_call_counters): Likewise.
4951 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4952             Catherine Moore  <clm@codesourcery.com>
4953             Richard Sandiford  <rdsandiford@googlemail.com>
4955         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4956         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4957         (CALL_STUB_NO_RET): Likewise.
4958         (CALL_STUB_RET): Likewise.
4959         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4960         __mips16_ret call/return stub symbols.
4961         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4962         to tmake_file.
4964 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4966         * config.host <mips*-*-linux*>: Remove a stray comment.
4968 2013-08-10  Jan Hubicka  <jh@suse.cz>
4970         Work around binutils PR14342
4971         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4972         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4973         (L_gcov_indirect_call_profiler_v2): New.
4975 2013-08-06  Jan Hubicka  <jh@suse.cz>
4977         * libgcov.c (__gcov_indirect_call_callee,
4978         __gcov_indirect_call_counters): New global vars.
4979         (__gcov_indirect_call_profiler): replace by ...
4980         (__gcov_indirect_call_profiler_v2) ... this one.
4982 2013-08-06  Caroline Tice  <cmtice@google.com>
4984         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4985         vtv_start_preinit.o and vtv_end_preinit.o.
4986         * configure.ac: Add code to check/set enable_vtable_verify.
4987         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4988         true.
4989         * vtv_start_preinit.c: New file.
4990         * vtv_end_preinit.c: New file.
4991         * vtv_start.c: New file.
4992         * vtv_end.c: New file.
4993         * configure: Regenerated.
4995 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4997         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4998         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4999         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5000         GPL-3.0-with-GCC-exception.
5002 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
5004         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5005         ISA and up.
5007 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5009         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5010         mapping for FPRs when creating the fallback framestate.
5012 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
5014         PR target/57516
5015         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5016         (__round_s2_const, __round_u2_const)
5017         (__round_s4_const, __round_u4_const, __round_x8):
5018         Saturate result if addition result cannot be represented.
5020 2013-07-15  Matthias Klose  <doko@ubuntu.com>
5022         * libgcc2.c: Don't include <limits.h>.
5024 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
5026         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5028 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
5030         PR target/29776
5031         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5033 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
5035         PR middle-end/36041
5036         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5037         Define.
5038         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5039         instead of table lookups.
5040         (__popcountDI2): Likewise.
5042 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
5044         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5045         correctly.
5047 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5049         PR other/53317
5050         * soft-fp/adddf3.c: Update from glibc.
5051         * soft-fp/addsf3.c: Likewise.
5052         * soft-fp/addtf3.c: Likewise.
5053         * soft-fp/divdf3.c: Likewise.
5054         * soft-fp/divsf3.c: Likewise.
5055         * soft-fp/divtf3.c: Likewise.
5056         * soft-fp/double.h: Likewise.
5057         * soft-fp/eqdf2.c: Likewise.
5058         * soft-fp/eqsf2.c: Likewise.
5059         * soft-fp/eqtf2.c: Likewise.
5060         * soft-fp/extenddftf2.c: Likewise.
5061         * soft-fp/extended.h: Likewise.
5062         * soft-fp/extendsfdf2.c: Likewise.
5063         * soft-fp/extendsftf2.c: Likewise.
5064         * soft-fp/fixdfdi.c: Likewise.
5065         * soft-fp/fixdfsi.c: Likewise.
5066         * soft-fp/fixsfdi.c: Likewise.
5067         * soft-fp/fixsfsi.c: Likewise.
5068         * soft-fp/fixtfdi.c: Likewise.
5069         * soft-fp/fixtfsi.c: Likewise.
5070         * soft-fp/fixunsdfdi.c: Likewise.
5071         * soft-fp/fixunsdfsi.c: Likewise.
5072         * soft-fp/fixunssfdi.c: Likewise.
5073         * soft-fp/fixunssfsi.c: Likewise.
5074         * soft-fp/fixunstfdi.c: Likewise.
5075         * soft-fp/fixunstfsi.c: Likewise.
5076         * soft-fp/floatdidf.c: Likewise.
5077         * soft-fp/floatdisf.c: Likewise.
5078         * soft-fp/floatditf.c: Likewise.
5079         * soft-fp/floatsidf.c: Likewise.
5080         * soft-fp/floatsisf.c: Likewise.
5081         * soft-fp/floatsitf.c: Likewise.
5082         * soft-fp/floatundidf.c: Likewise.
5083         * soft-fp/floatundisf.c: Likewise.
5084         * soft-fp/floatunditf.c: Likewise.
5085         * soft-fp/floatunsidf.c: Likewise.
5086         * soft-fp/floatunsisf.c: Likewise.
5087         * soft-fp/floatunsitf.c: Likewise.
5088         * soft-fp/gedf2.c: Likewise.
5089         * soft-fp/gesf2.c: Likewise.
5090         * soft-fp/getf2.c: Likewise.
5091         * soft-fp/ledf2.c: Likewise.
5092         * soft-fp/lesf2.c: Likewise.
5093         * soft-fp/letf2.c: Likewise.
5094         * soft-fp/muldf3.c: Likewise.
5095         * soft-fp/mulsf3.c: Likewise.
5096         * soft-fp/multf3.c: Likewise.
5097         * soft-fp/negdf2.c: Likewise.
5098         * soft-fp/negsf2.c: Likewise.
5099         * soft-fp/negtf2.c: Likewise.
5100         * soft-fp/op-1.h: Likewise.
5101         * soft-fp/op-2.h: Likewise.
5102         * soft-fp/op-4.h: Likewise.
5103         * soft-fp/op-8.h: Likewise.
5104         * soft-fp/op-common.h: Likewise.
5105         * soft-fp/quad.h: Likewise.
5106         * soft-fp/single.h: Likewise.
5107         * soft-fp/soft-fp.h: Likewise.
5108         * soft-fp/subdf3.c: Likewise.
5109         * soft-fp/subsf3.c: Likewise.
5110         * soft-fp/subtf3.c: Likewise.
5111         * soft-fp/truncdfsf2.c: Likewise.
5112         * soft-fp/trunctfdf2.c: Likewise.
5113         * soft-fp/trunctfsf2.c: Likewise.
5114         * soft-fp/unorddf2.c: Likewise.
5115         * soft-fp/unordsf2.c: Likewise.
5116         * soft-fp/unordtf2.c: Likewise.
5117         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5118         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5119         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5120         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5121         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5122         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5123         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5124         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5125         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5126         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5127         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5128         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5130 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
5132         * config/mips/lib2funcs.c: New file.
5133         * config/mips/t-mips (LIB2ADD_ST): Add it.
5135 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
5137         PR target/6526
5138         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5139         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
5141 2013-06-08  Walter Lee  <walt@tilera.com>
5143         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5144         Replace int64_t with long long.  Add __extension__ where
5145         appropriate.
5146         * config/tilepro/atomic.c: Include config.h.
5148 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
5150         * config.host (arm-wrs-vxworks): Configure with other soft float.
5152 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
5154         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5155         (mips64r5900el-*-elf*): New configurations.
5157 2013-06-04  Alan Modra  <amodra@gmail.com>
5159         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5161 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
5163         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5165 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
5167         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5168         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5169         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5171 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5173         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5174         (powerpc-wrs-vxworks): Likewise.
5176 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
5178         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5179         signal frames as well.
5180         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5181         STACK_BIAS to the CFA offset.
5183 2013-05-17  Richard Henderson  <rth@redhat.com>
5185         PR target/49146
5186         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5187         (execute_cfa_program): Use it when storing to fs->regs.
5189 2013-05-08  Kai Tietz  <ktietz@redhat.com>
5191         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5192         (__deregister_frame_info): Likewise.
5194 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
5196         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5197         NaN's payload.
5199         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5201 2013-04-25  Alan Modra  <amodra@gmail.com>
5203         * config.host: Match little-endian powerpc-linux.
5205 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
5207         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5208         as 'unsigned long long' instead of 'unsigned long'.
5209         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5210         'signed long'.
5212 2013-04-10  Julian Brown  <julian@codesourcery.com>
5214         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5215         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5216         unsigned char/unsigned short.
5217         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5219 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5221         PR other/55274
5222         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5224 2013-04-04  Meador Inge  <meadori@codesourcery.com>
5226         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5227         computing the location of the link register.
5228         (aeabi_uldivmod): Ditto.
5230 2013-03-27  Kai Tietz  <ktietz@redhat.com>
5232         * config.host: Add support for cygwin x64 target.
5233         * configure: Regenerated.
5235 2013-03-26  Walter Lee  <walt@tilera.com>
5237         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5238         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5240 2013-03-25  Kai Tietz  <ktietz@redhat.com>
5242         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5244 2013-03-20  Robert Mason  <rbmj@verizon.net>
5246         * config/vxlib-tls.c (__gthread_get_tsd_data,)
5247         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5248         (__gthread_leave_tsd_dtor_context): Add prototypes.
5249         (tls_delete_hook): Update.
5251 2013-03-20  Catherine Moore  <clm@codesourcery.com>
5252             Joseph Myers  <joseph@codesourcery.com>
5253             Chao-ying Fu  <fu@mips.com>
5255         * config/mips/mips16.S:  Don't build for microMIPS.
5256         * config/mips/linux-unwind.h: Handle microMIPS frame.
5257         * config/mips/crtn.S (fini, init): New labels.
5259 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
5261         PR tree-optimization/53265
5262         * unwind-dw2.c (execute_cfa_program): Avoid
5263         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5264         on targets with DWARF_FRAME_REGISTERS < 32.
5266 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
5268         PR target/49880
5269         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5270         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5272 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
5274         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5275         sandybridge processors.
5277 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
5279         PR target/56529
5280         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5281         inclusion list.
5283 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5285         * config/microblaze/crti.S: Setup stack protection at entry
5287 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
5289         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5290         (__rotldi3): Shift bytewise if applicable.
5292 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
5294         * config/aarch64/sync-cache.c
5295         (__aarch64_sync_cache_range): Silence warnings.
5297 2013-02-25  Catherine Moore  <clm@codesourcery.com>
5299         Revert:
5300         2013-02-24  Catherine Moore  <clm@codesourcery.com>
5301             Joseph Myers  <joseph@codesourcery.com>
5302             Chao-ying Fu  <fu@mips.com>
5304         * config/mips/mips16.S:  Don't build for microMIPS.
5305         * config/mips/linux-unwind.h: Handle microMIPS frame.
5306         * config/mips/crtn.S (fini, init): New labels.
5308 2013-02-24  Catherine Moore  <clm@codesourcery.com>
5309             Joseph Myers  <joseph@codesourcery.com>
5310             Chao-ying Fu  <fu@mips.com>
5312         * config/mips/mips16.S:  Don't build for microMIPS.
5313         * config/mips/linux-unwind.h: Handle microMIPS frame.
5314         * config/mips/crtn.S (fini, init): New labels.
5316 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5317         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5318         as dividend.
5320 2013-02-16  Alan Modra  <amodra@gmail.com>
5322         PR target/55431
5323         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5324         (ppc_fallback_frame_state): Always set up save locations for fp
5325         and altivec.  Don't bother with non-callee-saved regs, r0-r13
5326         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5328 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
5330         PR target/54222
5331         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5332         _ssmulHA, _ssmulSA.
5333         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5334         _ssmulha3, _usmulusa3, _ssmulsa3.
5335         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5336         (__muldi3): XCALL __muldi3_6 instead of rcall.
5337         (__umulsidi3, __mulsidi3): New functions.
5338         (do_prologue_saves, do_epilogue_restores): New .macros.
5339         (__divdi3_moddi3): Use them.
5340         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5341         (__usmulusa3, __ssmulsa3): New functions.
5343 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
5344             Jack Howarth  <howarth@bromo.med.uc.edu>
5345             Patrick Marlier  <patrick.marlier@gmail.com>
5347         PR libitm/55693
5348         * config/darwin-crt-tm.c: Remove dummy functions hack.
5350 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
5352         PR target/54222
5353         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5354         * config/avr/lib2-object.mk: New iterator to build objects from it.
5355         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5356         lib2funcs.c.
5357         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5358         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5359         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5360         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5361         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5362         * config/avr/lib1funcs-fixed.S: Implement them.
5364 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
5366         Update copyright years.
5368 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
5370         PR target/54601
5371         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5372         Add crtcxa to extra_parts.
5373         * config/rs6000/exit.h: New file.
5374         * config/rs6000/cxa_atexit.c: New file.
5375         * config/rs6000/cxa_finalize.c: New file.
5376         * config/rs6000/crtcxa.c: New file.
5377         * config/rs6000/t-aix-cxa: New file.
5378         * config/rs6000/libgcc-aix-cxa.ver: New file.
5380 2013-01-31  Nick Clifton  <nickc@redhat.com>
5382         * config/v850/lib1funcs.S: Add support for e3v5 architecture
5383         variant.
5385 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5387         PR target/54222
5388         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5389         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5390         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5391         _divQQ,  _divHQ,  _divHA,  _divSA,
5392         _divUQQ, _divUHQ, _divUHA, _divUSA.
5394 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5396         * config.host(microblaze*-linux*): tmake_file: Remove
5397         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5398         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5399         to exclude functions from being built with libgcc.c and use
5400         the microblaze assembly.
5402 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5404         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5405         extra_parts.
5407 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5409         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5410         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5411         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5412         alignment operation.
5414 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5416         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5417         loop start address for cache clearing.
5419 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5421         * config/avr/lib1funcs.S: Remove trailing blanks.
5422         * config/avr/lib1funcs-fixed.S: Ditto.
5424 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5426         * config/avr/avr-lib.h: Add GPL copyright notice.
5428 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5430         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5431         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5432         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5433         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5435 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5437         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5438         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5440 2013-01-04  Nick Clifton  <nickc@redhat.com>
5442         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5443         the CALLT instruction is supported.
5445 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5447         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5448         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5450 2012-12-13  John Tytgat  <John@bass-software.com>
5452         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5453         is 25.
5455 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5457         PR libgcc/55451
5458         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5459         undefined signed overflows.
5461 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5463         PR target/55344
5464         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5466 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5468         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5469         (FP_TRAPPING_EXCEPTIONS): Define.
5470         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5471         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5473 2012-12-04  Richard Henderson  <rth@redhat.com>
5475         PR bootstrap/55571
5476         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5478 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5480         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5481         (FP_EX_SHIFT): Define.
5482         (FP_TRAPPING_EXCEPTIONS): Define.
5484 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5486         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5487         (FP_ROUNDMODE): Use FP_RND_MASK.
5488         * config/aarch64/sfp-exceptions.c: New.
5489         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5490         Use __sfp_handle_exceptions.
5492 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5494         * config.host: (arm*-*-freebsd*): Remove.
5495         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5496         (arm*-*-elf*): Remove.
5497         (arm*-*-wince-pe*): Remove.
5498         * arm/unwind-arm.c (struct fpa_reg): Delete.
5499         (struct fpa_regs): Delete.
5500         (phase1_vrs): Remove fpa element.
5501         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5502         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5503         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5504         * ieee754-sf.S (floatundisf): Remove FPA support.
5505         (floatdisf): Likewise.
5506         * ieee75f-df.S (floatundidf): Likewise.
5507         (floatdidf): Likewise.
5509 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5511         PR target/55445
5512         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5513         * unwind-generic.h: Likewise.
5514         * unwind-seh.c: Likewise.
5516 2012-11-28  Richard Henderson  <rth@redhat.com>
5518         PR libgcc/48076
5519         * emutls.c (__emutls_get_address): Avoid race condition between
5520         obj->loc.offset read and emutls_key initialization.
5522 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
5524         Adjust decimal point of signed accum mode to GCC default.
5526         PR target/54222
5527         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5528         _divqq_helper.
5529         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5530         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5531         (__mulha3, __mulsa3)
5532         (__divqq3, __divha3, __divsa3): Adjust to new position of
5533         decimal point of signed accum types.
5535         (__mulusa3_round): New function.
5536         (__mulusa3): Use it.
5537         (__divqq_helper): New function.
5538         (__udivuqq3): Use it.
5540 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
5542         PR bootstrap/55370
5543         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5545 2012-11-18  Teresa Johnson  <tejohnson@google.com>
5547         PR bootstrap/55051
5548         * libgcov.c (gcov_exit): Remove merged program summary
5549         comparison unless !GCOV_LOCKED.
5551 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5553         * soft-fp: Updated from glibc upstream.
5555 2012-11-06  Ian Lance Taylor  <iant@google.com>
5557         * generic-morestack.c (__generic_morestack): Align the returned
5558         stack pointer to a 32 byte boundary.
5559         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5560         increment the return address until we have decided that we don't
5561         have a varargs function.
5562         (__morestack) [32-bit]: Align stack correctly when calling C
5563         functions.
5564         (__morestack) [64-bit]: Likewise.
5566 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5568         * configure: Regenerate.
5570 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
5572         PR target/55175
5573         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5574         * config/i386/sfp-machine.h: Guard exception handling
5575         code with _SOFT_FLOAT.
5576         * config/i386/32/sfp-machine.h: Guard rounding handling
5577         code with _SOFT_FLOAT.
5578         * config/i386/64/sfp-machine.h: Ditto.
5580 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
5582         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5583         as extra_parts.
5585 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
5587         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5588         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
5589         when appropriate.  Correct structure element types.
5590         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5591         -minline-all-stringops from compile flags.
5593 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5595         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5597 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5599         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5601 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5603         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5604         tmake_file.
5606 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
5607             Jim MacArthur  <jim.macarthur@arm.com>
5608             Marcus Shawcroft  <marcus.shawcroft@arm.com>
5609             Nigel Stephens  <nigel.stephens@arm.com>
5610             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5611             Richard Earnshaw  <rearnsha@arm.com>
5612             Sofiane Naci  <sofiane.naci@arm.com>
5613             Stephen Thomas  <stephen.thomas@arm.com>
5614             Tejas Belagod  <tejas.belagod@arm.com>
5615             Yufeng Zhang  <yufeng.zhang@arm.com>
5617         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5618         * config/aarch64/crti.S: New file.
5619         * config/aarch64/crtn.S: New file.
5620         * config/aarch64/linux-unwind.h: New file.
5621         * config/aarch64/sfp-machine.h: New file.
5622         * config/aarch64/sync-cache.c: New file.
5623         * config/aarch64/t-aarch64: New file.
5624         * config/aarch64/t-softfp: New file.
5626 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
5628         * config/mmix/crti.S: Mark program and data addresses using PRELD.
5629         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
5630         no-longer-needed LDBU insns.
5632 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5634         * config.host
5635         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5636         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5638 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5640         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5642 2012-10-15  Matthias Klose  <doko@ubuntu.com>
5644         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5646 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
5648         * configure: Regenerate.
5649         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5651 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5653         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5654         instructions for 64bit targets only.
5656 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5658         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5659         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5660         * config/i386/32/sfp-machine.h: ... here.
5661         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5662         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5663         New defines.
5665 2012-10-07  Matthias Klose  <doko@ubuntu.com>
5667         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5668         as unused.
5669         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5671 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
5673         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5674         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5675         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5676         (ElfW): Likewise.
5678 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
5680         PR other/53889
5681         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5682         Fix parameter names.
5684 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
5686         PR target/33135
5687         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5688         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5689         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5691 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
5693         PR target/50457
5694         * config/sh/linux-atomic.S: Delete.
5695         * config/sh/linux-atomic.c: New.
5696         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5697         linux-atomic.c.  Add cflags to disable warnings.
5699 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5701         PR other/53889
5702         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5703         function.
5704         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5705         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5706         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5707         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5708         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5709         Likewise.
5710         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5711         Likewise.
5712         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5713         Likewise.
5714         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5715         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5717 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
5719         * config.host (hppa-*-openbsd*): New target.
5720         * config/pa/t-openbsd: New file.
5722 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
5724         PR target/54222
5725         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5726         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5727         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5728         (__divsa3): Use __negsi2 to negate r_quoL.
5729         * config/avr/lib1funcs.S (FALIAS): New macro.
5730         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5731         (__negsi2): ...this new function.
5732         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5733         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5734         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5735         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5736         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5737         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5739 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
5741         PR target/54089
5742         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5743         (lshrsi3): Reimplement as lshrsi3_r0.
5745 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
5747         PR target/46191
5748         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5749         of libgcc.a.
5751 2012-09-07  Teresa Johnson  <tejohnson@google.com>
5753         PR gcov-profile/54487
5754         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5755         differences.
5757 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
5759         PR target/54461
5760         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5761         not configured --with-avrlibc=no.
5762         * config/avr/t-avrlibc: New file.
5763         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5764         (DPBIT_FUNCS): Ditto.
5765         (TPBIT_FUNCS): Ditto.
5767 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5769         * libgcov.c (struct gcov_summary_buffer): New structure.
5770         (gcov_histogram_insert): New function.
5771         (gcov_compute_histogram): Ditto.
5772         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5773         histograms during summary merging.
5775 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5777         * config.host (x86_64-*-openbsd*): New target.
5779 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5781         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5782         attribute.
5784 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5786         PR target/54222
5787         * config/avr/t-avr (conv_X): Rename to func_X.
5789 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5791         PR target/54222
5792         * config/avr/lib1funcs-fixed.S: New file.
5793         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5794         after they are used.
5795         (neg2, neg4): New macros.
5796         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5797         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5798         (__umulhisi3): Speed up MUL variant if there is enough flash.
5799         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5800         avr-modes.def.
5801         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5802         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5803         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5804         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5805         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5806         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5807         (LIB2FUNCS_EXCLUDE): Add supported functions.
5809 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5811         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5812         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5813         libgcc-s-objects.
5814         * fixed-obj.mk: Only expand dependency if $o is not in
5815         LIB2FUNCS_EXCLUDE.
5817 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5819         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5821 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5823         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5824         depend on --enable-shared.
5825         ($(lib1asmfuncs-o)): Use %.vis files independent of
5826         --enable-shared.
5827         * static-object.mk ($(base)$(objext), $(base).vis)
5828         ($(base)_s$(objext)): Use same rules for visibility handling as in
5829         shared-object.mk.
5831 2012-08-21  Ian Lance Taylor  <iant@google.com>
5833         * config/i386/morestack.S (__morestack_non_split): Increase amount
5834         of space allocated for non-split code stack.
5836 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5838         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5839         even if inhibit_libc.
5841 2012-08-17  Julian Brown  <julian@codesourcery.com>
5843         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5844         -fexceptions -fnon-call-exceptions if not defined.
5845         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5846         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5848 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5850         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5851         type.
5853 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5855         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5856         rs6000/t-slibgcc-aix.
5858 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5860         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5862 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5864         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5866 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5868         PR driver/54171
5869         * Makefile.in (version): Replace top_srcdir with srcdir.
5871 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5873         * Makefile.in (version): set to BASE-VER file from gcc directory.
5875 2012-08-01  Nick Clifton  <nickc@redhat.com>
5877         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5878         Implements __clrsb for an HImode argument.
5880 2012-07-31  Nick Clifton  <nickc@redhat.com>
5882         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5883         Implements __clrsb for an HImode argument.
5884         * config/stormy16/clrsbhi2.c: New file:
5885         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5887 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5889         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5891 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5892             Richard Henderson  <rth@redhat.com>
5894         * unwind-seh.c: New file.
5895         * unwind-generic.h: Include windows.h for SEH.
5896         (_Unwind_Exception): Use 6 private fields for SEH.
5897         (_GCC_specific_handler): Declare.
5898         * unwind-c.c (__gcc_personality_seh0): New function.
5899         Adjust for SEH.
5900         * config/i386/libgcc-cygming.ver: New file.
5901         * config/i386/t-seh-eh: New file.
5902         * config.host (x86_64-*-mingw*): Default to seh.
5904 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5906         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5908 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5910         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5911         __builtin_expect when checking for exceptions.
5912         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5914 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5916         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5917         function declaration.
5918         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5919         (FP_RND_MASK): New.
5920         * config/ia64/sfp-exceptions.c: New.
5921         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5923 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5925         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5926         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5927         * config/i386/64/sfp-machine: ... (delete here) ...
5928         * config/i386/sfp-machine.h: ... to here.
5929         (FP_EX_MASK): Remove.
5930         (FP_RND_MASK): New.
5931         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5933 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5935         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5936         * config/i386/libgcc-sol2.ver: Ditto.
5937         * config/i386/libgcc-glibc.ver: Ditto.
5939 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5941         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5942         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5943         pthread_cancel.
5945 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5947         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5948         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5949         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5950         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5951         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5952         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5953         * config/i386/64/sfp-machine: ... (delete here) ...
5954         * config/i386/sfp-machine.h: ... to here.
5955         (FP_EX_MASK): New.
5956         (__sfp_handle_exceptions): New function declaration.
5957         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5958         * config/i386/sfp-exceptions.c: New.
5959         * config/i386/t-softfp: New.
5960         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5961         i386/t-softfp to tmake_file.
5963 2012-06-03  David S. Miller  <davem@davemloft.net>
5965         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5966         change.
5968 2012-05-31  David S. Miller  <davem@davemloft.net>
5970         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5971         multiply and divide instructions on 32-bit when V9.
5972         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5974 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5976         * config/arm/ieee754-df.S: Fix typos.
5977         * config/arm/ieee754-sf.S: Fix typos.
5978         * config/c6x/libunwind.S: Fix typos.
5979         * config/epiphany/udivsi3-float.c: Fix typos.
5980         * config/microblaze/muldi3_hard.S: Fix typos.
5981         * config/picochip/adddi3.S: Fix typos.
5982         * config/picochip/ashlsi3.S: Fix typos.
5983         * config/picochip/ashrsi3.S: Fix typos.
5984         * config/picochip/clzsi2.S: Fix typos.
5985         * config/picochip/cmpsi2.S: Fix typos.
5986         * config/picochip/divmod15.S: Fix typos.
5987         * config/picochip/divmodhi4.S: Fix typos.
5988         * config/picochip/divmodsi4.S: Fix typos.
5989         * config/picochip/longjmp.S: Fix typos.
5990         * config/picochip/lshrsi3.S: Fix typos.
5991         * config/picochip/parityhi2.S: Fix typos.
5992         * config/picochip/popcounthi2.S: Fix typos.
5993         * config/picochip/setjmp.S: Fix typos.
5994         * config/picochip/subdi3.S: Fix typos.
5995         * config/picochip/ucmpsi2.S: Fix typos.
5996         * config/picochip/udivmodhi4.S: Fix typos.
5997         * config/picochip/udivmodsi4.S: Fix typos.
5998         * config/spu/divv2df3.c: Fix typos.
5999         * config/spu/mfc_multi_tag_release.c: Fix typos.
6000         * config/spu/mfc_tag_release.c: Fix typos.
6001         * configure.ac: Fix typos.
6002         * configure: Regenerate.
6004 2012-05-25  Ian Lance Taylor  <iant@google.com>
6006         * config/i386/morestack.S (__morestack_non_split): Check whether
6007         caller is varargs and needs %bp to hold the stack frame on return.
6009 2012-05-25  Olivier Hainque  <hainque@adacore.com>
6011         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6012         sequence in the non pic case on VxWorks.
6014 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6016         * Makefile.in: Move dependency on install-unwind_h from
6017         "install-leaf" to "install".
6019 2012-05-24  Olivier Hainque  <hainque@adacore.com>
6021         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6022         Use a separate command for stamp removals.
6024 2012-05-21  Andrew Pinski  <apinski@cavium.com>
6026         PR bootstrap/53183
6027         * configure.ac: Define the default includes to being none.
6028         * configure: Regenerate.
6030 2012-05-16  Olivier Hainque  <hainque@adacore.com>
6032         * Makefile.in (install-unwind_h): Rename into ...
6033         (install-unwind_h-forbuild): New target.
6034         (all): Use it instead of the former install-unwind_h.
6035         (install-unwind_h): Reinstate, copy to user install destination
6036         for include files, not to the internal gcc object directory one.
6037         (install-leaf): Depend on it.
6039 2012-05-15  Olivier Hainque  <hainque@adacore.com>
6041         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6042         register numbers. LR_REGNO replaces R_LR.
6043         (ucontext_for): New, helper for ...
6044         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6045         and 5.3 of ...
6046         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6048 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6050         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6051         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6052         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6053         i386/t-cpuinfo ...
6054         (i[34567]86-*-*, x86_64-*-*): ... here.
6056         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6057         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6059         * config/i386/i386-cpuinfo.c: Rename to ...
6060         * config/i386/cpuinfo.c: ... this.
6061         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6063         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6064         (libgcc_cv_init_priority): New test.
6065         * configure: Regenerate.
6066         * config.in: New file.
6067         * Makefile.in (clean): Rename config.h to auto-target.h.
6068         (config.h): Likewise.
6069         (stamp-h): Likewise.
6071         * config/i386/cpuinfo.c (auto-target.h): Include.
6072         (CONSTRUCTOR_PRIORITY): Define.
6073         (__cpu_indicator_init): Use it.
6075 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
6077         * longlong.h: Use a URL instead of an FSF postal address.
6078         Replace spaces with tab.
6080 2012-05-08  Teresa Johnson  <tejohnson@google.com>
6082         * libgcov.c (gcov_clear, __gcov_reset): New functions.
6083         (__gcov_dump): Ditto.
6084         (gcov_dump_complete): New global variable.
6085         (gcov_exit): Export hidden to enable use in L_gcov_dump.
6086         (__gcov_flush): Outline functionality now in gcov_clear.
6087         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6089 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
6091         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6092         (mips*-*-linux*): Include mips/t-tpbit when long double is
6093         16 bytes long.
6095 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
6097         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6098         (get_available_features): New argument. Check for AVX2.
6099         (__cpu_indicator_init): Modify call to get_available_features.
6101 2012-04-25  Alan Modra  <amodra@gmail.com>
6103         * config/rs6000/crtsavevr.S: New file.
6104         * config/rs6000/crtrestvr.S: New file.
6105         * config/rs6000/t-savresfgpr: Build the above.
6106         * config/rs6000/t-netbsd: Likewise.
6108 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6110         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6112 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
6114         * libgcc/config/i386/i386-cpuinfo.c: New file.
6115         * libgcc/config/i386/t-cpuinfo: New file.
6116         * libgcc/config.host: Include t-cpuinfo.
6117         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6119 2012-04-24  Chao-ying Fu  <fu@mips.com>
6121         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6123 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
6125         struct siginfo vs. siginfo_t
6127         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6128         siginfo_t instead of struct siginfo.
6129         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6130         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6131         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6132         (ia64_handle_unwabi): Likewise.
6133         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6134         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6135         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6136         (sh_fallback_frame_state): Likewise.
6137         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6138         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6140 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
6142         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6143         system call number.
6145 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
6147         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6148         if it hasn't been previously saved.
6150 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
6152         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6153         only for glibc.
6155 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
6157         PR target/52737
6158         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6159         instead of __AVR_HAVE_8BIT_SP__.
6161 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6163         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6164         (unw_table_entry): Use unw_word instead of unsigned long.
6165         (_Unwind_FindTableEntry): Likewise.
6166         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6167         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6168         (_Unwind_FindTableEntry): Likewise.
6169         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6170         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6171         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6172         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6173         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6174         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6175         (uw_init_context_1, uw_install_context): Likewise.
6176         (unw_word): Move to unwind-ia64.h
6178 2012-03-26  Tristan Gingold  <gingold@adacore.com>
6180         * config/vms/vms-ucrt0.c: Update copyright years.
6181         Add a sanity check.
6182         (___gcc_main_flags): Declare.
6183         (__main): Check flags to remap argv and exit code.
6184         * config.host (*-*-*vms*): Adjust extra_parts.
6185         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6186         (crt0.o): Add.
6188 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
6190         * arm/lib1funcs.asm (ctzsi2): New function.
6191         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6192         * arm/t-linux (LIB1ASMFUNCS): Likewise.
6193         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6194         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6195         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6196         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6198 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
6200         * config.host: Add bits to support powerpc64-*-freebsd*.
6201         * config/rs6000/freebsd-unwind.h: New file.
6202         * config/rs6000/t-freebsd64: New file.
6204 2012-03-20  Richard Guenther  <rguenther@suse.de>
6206         PR gcov-profile/52627
6207         * libgcov.c (init_mx): Fix mutex name.
6209 2012-03-16  Tristan Gingold  <gingold@adacore.com>
6211         * config/ia64/vms-unwind.h: Remove ulong (and replace
6212         it by unw_reg where used).  Define unw_reg with __int64.
6214 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6216         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6217         Solaris 8 handling.
6218         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6219         Solaris 8 handling.
6220         (sparc_is_sighandler): Likewise.
6222 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
6224         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6225         <= saved reg size.
6227 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6229         * config/arm/crtn.S: Fix typo.
6231 2012-03-13  Richard Guenther  <rguenther@suse.de>
6233         * libgcov.c: Remove stdio.h include and NULL un-define.
6235 2012-03-13  Richard Guenther  <rguenther@suse.de>
6237         PR target/52569
6238         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6240 2012-03-13  Richard Guenther  <rguenther@suse.de>
6242         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6244 2012-03-13  Richard Guenther  <rguenther@suse.de>
6246         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6247         and __gthread_mutex_init_function definitions.
6249 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6251         * config.host (mips*-*-openbsd*): Remove.
6253 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6255         * config.host: Remove alpha*-dec-osf5.1* handling.
6256         * config/alpha/gthr-posix.c: Remove.
6257         * config/alpha/libgcc-osf5.ver: Remove.
6258         * config/alpha/osf5-unwind.h: Remove.
6259         * config/alpha/t-osf-pthread: Remove.
6260         * config/alpha/t-slibgcc-osf: Remove.
6261         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6262         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6263         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6264         * mkmap-flat.awk: Remove osf_export handling.
6266 2012-03-12  Richard Guenther  <rguenther@suse.de>
6268         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6269         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6270         (__gthread_mutex_init_function): New function.
6271         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6273         PR gcov/49484
6274         * libgcov.c: Include gthr.h.
6275         (__gcov_flush_mx): New global variable.
6276         (init_mx, init_mx_once): New functions.
6277         (__gcov_flush): Protect self with a mutex.
6278         (__gcov_fork): Re-initialize mutex after forking.
6279         * unwind-dw2-fde.c: Change condition under which to use
6280         __GTHREAD_MUTEX_INIT_FUNCTION.
6282 2012-03-12  Tristan Gingold  <gingold@adacore.com>
6284         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6285         * config/ia64/t-vms: Likewise.
6287 2012-03-11  Michael Hope  <michael.hope@linaro.org>
6289         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6290         for Thumb-2.
6292 2012-03-07  Walter Lee  <walt@tilera.com>
6294         * config/tilepro/atomic.c: Rename "atomic_" prefix to
6295         "arch_atomic_".
6296         (atomic_xor): Rename and move definition to
6297         config/tilepro/atomic.h.
6298         (atomic_nand): Ditto.
6299         * config/tilepro/atomic.h: Rename "atomic_" prefix to
6300         "arch_atomic_".
6301         (arch_atomic_xor): Move from config/tilepro/atomic.c.
6302         (arch_atomic_nand): Ditto.
6304 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6306         PR target/52507
6307         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6309 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6311         PR target/52505
6312         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6313         from RAM.
6315 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6317         PR target/52461
6318         PR target/52508
6319         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6320         if RAMPZ affects reading from RAM.
6321         (__tablejump_elpm__): Ditto.
6322         (.xload): Ditto.
6323         (__movmemx_hi): Ditto.
6324         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6325         (__do_global_dtors): Ditto.
6326         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6327         (__movmemx_hi): Ditto.
6329 2012-03-05  Richard Henderson  <rth@redhat.com>
6331         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6332         [ARM] (count_trailing_zeros): Use the builtin.
6334 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6336         * soft-fp: Imported from glibc upstream.
6338 2012-02-28  Kai Tietz  <ktietz@redhat.com>
6340         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6341         for mingw-targets as attribute gcc_struct.
6343 2012-02-28  Ian Lance Taylor  <iant@google.com>
6345         * generic-morestack.c (__splitstack_releasecontext): Correct call
6346         to __morestack_release_segments.
6348 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6350         PR target/52390
6351         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6352         for __linux__ when removing signals from __morestack_fullmask.
6354 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
6356         PR target/52261
6357         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6359 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6361         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6362         instead of HAVE_INITFINI_ARRAY.
6363         * config/ia64/crtend.S: Likewise.
6365 2012-02-20  Kai Tietz  <ktietz@redhat.com>
6367         PR libstdc++/52300
6368         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6370         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6371         to w32-unwind.h header.
6373 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6375         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6376         (mips*-*-linux*): Remove t-slibgcc-libgcc.
6377         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6378         * config/mips/mips16.S (__mips16_rdhwr): Delete.
6380 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6382         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6384 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6386         PR libitm/52220
6387         * config/darwin-crt-tm.c: Correct typo.
6389 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6390             Patrick Marlier  <patrick.marlier@gmail.com>
6392         PR libitm/52220
6393         * config/darwin-crt-tm.c: Generate dummy functions.
6395 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6396             Patrick Marlier  <patrick.marlier@gmail.com>
6398         PR libitm/52042
6399         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6400         (__doTMRegistrations): Call it.
6401         (__doTMdeRegistrations): Likewise.
6403 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6404             Anatoly Sokolov  <aesok@post.ru>
6405             Eric Weddington  <eric.weddington@atmel.com>
6407         PR target/52261
6408         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6409         (__epilogue_restores__): Ditto.
6411 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6413         PR target/51921
6414         PR target/52205
6415         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6416         Solaris 11 and slightly reformat.
6417         (sparc_is_sighandler): Likewise.
6419 2012-02-14  Walter Lee  <walt@tilera.com>
6421         * config.host: Handle tilegx and tilepro.
6422         * config/tilegx/sfp-machine.h: New file.
6423         * config/tilegx/sfp-machine32.h: New file.
6424         * config/tilegx/sfp-machine64.h: New file.
6425         * config/tilegx/t-crtstuff: New file.
6426         * config/tilegx/t-softfp: New file.
6427         * config/tilegx/t-tilegx: New file.
6428         * config/tilepro/atomic.c: New file.
6429         * config/tilepro/atomic.h: New file.
6430         * config/tilepro/linux-unwind.h: New file.
6431         * config/tilepro/sfp-machine.h: New file.
6432         * config/tilepro/softdivide.c: New file.
6433         * config/tilepro/softmpy.S: New file.
6434         * config/tilepro/t-crtstuff: New file.
6435         * config/tilepro/t-tilepro: New file.
6437 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6439         PR libstdc++/51296
6440         PR libstdc++/51906
6441         * gthr-posix.h: Allow static initializer macros to be disabled.
6442         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6444 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6446         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6447         Add t-slibgcc-libgcc to tmake_file.
6448         * config/mips/libgcc-mips16.ver: Revert previous patch.
6449         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6451 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6452             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6454         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6455         * config/cr16/crti.S: New file.
6456         * config/cr16/crtlibid.S: New file.
6457         * config/cr16/crtn.S: New file.
6458         * config/cr16/lib1funcs.S: New file.
6459         * config/cr16/t-cr16: New file.
6460         * config/cr16/t-crtlibid: New file.
6461         * config/cr16/unwind-dw2.h: New file.
6462         * config/cr16/unwind-cr16.c: New file.
6463         * config/cr16/divmodhi3.c: New file.
6465 2012-01-25  Alan Modra  <amodra@gmail.com>
6467         * config/rs6000/t-linux64: Delete.  Move..
6468         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6469         * config/rs6000/t-linux: ..and libgcc flags to here.
6471 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6473         * config.host (i[34567]86-*-interix3*):
6474         Change triplet to i[34567]86-*-interix[3-9]*.
6475         * configure: Regenerate.
6477 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6478             Richard Sandiford  <rdsandiford@googlemail.com>
6480         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6481         * config/mips/mips16.S (__mips16_rdhwr): New function.
6482         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6484 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6486         * libgcov.c (__gcov_init): Ignore objects with no functions.
6488 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6490         PR target/49868
6491         Extend __pgmx semantics to linearize memory.
6492         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6493         * config/avr/lib1funcs.S (__xload_1): New function.
6494         (__movmemx_qi, __movmemx_hi): New functions.
6495         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6496         semantics.
6498 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6500         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6501         purported sigacthandler address isn't null before dereferencing it.
6502         (sparc_is_sighandler): Likewise.
6504 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6506         PR ada/41929
6507         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6508         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6509         (sparc_is_sighandler): Likewise.
6510         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6512 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6514         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6515         compatibility thunks...
6516         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6517         (crtbeginS.o, crtendS.o): ... and these to ...
6518         * config/ia64/t-ia64-elf: ... this new file.
6519         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6520         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6522 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6524         * configure: Regenerate.
6525         * config/s390/t-crtstuff: Remove -fPIC.
6527 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6529         PR bootstrap/51006
6530         * enable-execute-stack-mprotect.c (getpagesize): Do not define
6531         for NetBSD.
6533 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6535         PR target/51345
6536         * config/avr/lib1funcs.S: Remove FIXME comments.
6537         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6539 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6541         Implement light-weight DImode support.
6542         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6543         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6544         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6545         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6547 2011-12-30  Nathan Sidwell  <nathan@acm.org>
6549         * libgcov.c (gcov_crc32): Remove global var.
6550         (free_fn_data): New function.
6551         (buffer_fn_data): Pass in filename, more robust error recovery.
6552         (crc32_unsigned): New function.
6553         (gcov_exit): More robust detection of new program. More robust
6554         error recovery.
6555         (__gcov_init): Do not update program's crc here.
6557 2011-12-21  Tristan Gingold  <gingold@adacore.com>
6559         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6561 2011-12-21  Ian Lance Taylor  <iant@google.com>
6563         * config/i386/morestack.S: Simplify CFI opcodes throughout.
6565 2011-12-20  Ian Lance Taylor  <iant@google.com>
6567         * config/i386/morestack.S (__morestack_non_split): If there is
6568         enough stack space already, don't split.  Ask for more stack space
6569         than we required.
6571 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
6573         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6574         `sys/sdt.h'.
6575         (_Unwind_DebugHook): New function.
6576         (uw_restore_core_regs): New define.
6577         (unwind_phase2): Use uw_restore_core_regs instead of
6578         restore_core_regs.
6579         (unwind_phase2_forced): Likewise.
6580         (__gnu_Unwind_Resume): Likewise.
6582 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
6584         * config/alpha/linux-unwind.h: Update copyright years.
6585         (MD_FROB_UPDATE_CONTEXT): New define.
6586         (alpha_frob_update_context): New function.
6588 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
6590         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6591         tmake_file rather replacing it.
6593 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
6595         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6596         function is not used for PPC64.
6597         (save_world): Amend comments.  Update the VRsave mask to reflect the
6598         saved regs.
6599         (rest_world): Update comments, do not  clobber r10, do not use r8.
6600         (eh_rest_world_r10): Amend comments, do not use r8.
6601         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6602         no longer used, move restore of CR and target address to the end of
6603         the routine.
6605 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
6607         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6608         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6610 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
6612         PR target/49313
6613         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6614         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6616 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
6618         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6620 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
6622         PR target/49313
6623         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6624         * config/avr/lib1funcs.S (__muldi3): New function.
6626 2011-12-06  Andrew Pinski  <apinski@cavium.com>
6628         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6629         size of func_ptr.
6630         (__frame_dummy_init_array_entry): Likewise.
6632 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
6634         Forward-port from gcc-4_6-branch r181936 2011-12-02.
6636         PR target/51345
6637         PR target/51002
6638         * config/avr/lib1funcs.S (__prologue_saves__,
6639         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6640         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
6642 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
6644         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6646 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6648         PR other/51272
6649         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6650         (_ITM_deregisterTMCloneTable): Likewise.
6651         (__register_frame_info): Fix unused warning.
6652         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6653         pthread_default_stacksize_np): Likewise.
6654         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6656 2011-11-29  DJ Delorie  <dj@redhat.com>
6658         * config.host (rl78-*-elf): New case.
6659         * config/rl78: New directory for the Renesas RL78.
6661 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
6663         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
6664         formatting.
6666 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6668         PR other/51022
6669         * config/rs6000/t-savresfgpr: New file.
6670         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6671         $(srcdir)/config/rs6000/eabi.S.
6672         * config/rs6000/t-ppccomm-ldbl: Remove.
6673         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6674         tmake_file.
6675         (powerpc-*-eabispe*): Likewise.
6676         (powerpc-*-eabi*): Likewise.
6677         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6678         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6679         to tmake_file, remove rs6000/t-ppccomm-ldbl.
6680         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6681         tmake_file.
6682         (powerpc-*-eabisim*): Likewise.
6683         (powerpc-*-elf*): Likewise.
6684         (powerpc-*-eabialtivec*): Likewise.
6685         (powerpc-xilinx-eabi*): Likewise.
6686         (powerpc-*-rtems*): Likewise.
6687         (powerpcle-*-elf*): Likewise.
6688         (powerpcle-*-eabisim*): Likewise.
6689         (powerpcle-*-eabi*): Likewise.
6691 2011-11-27  Ian Lance Taylor  <iant@google.com>
6693         * generic-morestack.c (__splitstack_find): Check for NULL old
6694         stack value.
6695         (__splitstack_resetcontext): New function.
6696         (__splitstack_releasecontext): New function.
6697         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6699 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6701         * config/darwin-crt-tm.c: Correct comments, use correct licence.
6703 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6705         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6707 2011-11-26  Richard Henderson  <rth@redhat.com>
6709         * config/m68k/linux-atomic.c: New file.
6710         * config/m68k/t-linux: New file.
6711         * config.host (m68k-uclinux, m68k-linux): Use it.
6713 2011-11-26  Richard Henderson  <rth@redhat.com>
6715         * crtstuff.c (__TMC_LIST__): Mark used not unused.
6716         (__TMC_END__): Only declare if hidden is available; in the definition,
6717         if hidden is unavailable add a null record.
6718         (deregister_tm_clones, register_tm_clones): New.
6719         (__do_global_dtors_aux, frame_dummy): Use them.
6720         (__do_global_dtors, __do_global_ctors_1): Likewise.
6722 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
6724         * config/darwin-crt-tm.c: New file.
6725         * config.host (darwin): Build crttms.o crttme.o to provide
6726         startup and shutdown for tm clones.
6727         * config/t-darwin (crttms.o): New build rule.
6728         (crttme.o): Likewise.
6730 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
6732         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6733         et al.
6735 2011-11-21  Richard Henderson  <rth@redhat.com>
6737         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6738         (__TMC_LIST__, __TMC_END__): New.
6739         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6740         (__do_global_dtors): Likewise.
6741         (frame_dummy): Call _ITM_registerTMCloneTable.
6742         (__do_global_ctors_1): Likewise.
6744 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6746         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6747         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6748         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6749         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6750         * config/i386/t-darwin64: Remove.
6751         * config/sh/t-netbsd (LIB2ADD): Remove.
6753 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
6755         PR target/49313
6756         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6757         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6758         * config/avr/lib1funcs.S (wmov): New assembler macro.
6759         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6760         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6761         (__udivmod64): New function.
6762         (__negdi2): New function.
6764 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
6766         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6767         *-*-freebsd*aout*): Remove.
6769 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6771         * static-object.mk (c_flags-$o): Save c_flags.
6772         ($(base)$(objext)): Use it.
6774 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6776         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6778 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6780         PR target/49868
6781         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6782         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6783         New functions.
6785 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6787         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6788         functions.
6789         (aeabi_uidivmod): Likewise.
6790         (umodsi3): Likewise.
6791         (divsi3): Likewise.
6792         (aeabi_idivmod): Likewise.
6793         (modsi3): Likewise.
6795 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6797         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6799 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6801         PR target/49868
6802         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6803         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6805 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6807         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6808         tmake_file list.
6809         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6810         * config/pa/t-stublib64: Delete.
6812 2011-11-12  Richard Henderson  <rth@redhat.com>
6814         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6815         cast the pointer argument to _Unwind_SetGRPtr.
6817 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6819         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6821 2011-11-09  Ian Lance Taylor  <iant@google.com>
6823         * generic-morestack.c: Include <string.h>.
6824         (uintptr_type): Define.
6825         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6826         extra array by 1.
6827         (allocate_segment): Set prev field to NULL.  Don't set
6828         __morestack_current_segment or __morestack_segments.
6829         (__generic_morestack): Update current->prev and *pp after calling
6830         allocate_segment.
6831         (__morestack_block_signals): Don't do anything if
6832         dont_block_signals is set.
6833         (__morestack_unblock_signals): Likewise.
6834         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6835         uintptr_type.
6836         (__splitstack_block_signals): New function.
6837         (enum __splitstack_content_offsets): Define.
6838         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6839         (__splitstack_makecontext): New function.
6840         (__splitstack_block_signals_context): New function.
6841         (__splitstack_find_context): New function.
6842         * config/i386/morestack.S (__morestack_get_guard): New function.
6843         (__morestack_set_guard, __morestack_make_guard): New functions.
6844         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6846 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6848         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6849         (i[34567]86-*-mingw*): ... here.
6850         (x86_64-*-mingw*): ... here.
6852 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6854         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6856 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6858         * libgcov.c (struct gcov_fn_buffer): New struct.
6859         (buffer_fn_data): New helper.
6860         (gcov_exit): Rework for new gcov data structures.
6862 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6864         PR target/49313
6865         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6867 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6869         * config.host (tmake_file): Correct comment.
6870         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6871         t-libgcc-pic.
6872         (bfin*-uclinux*): Likewise.
6873         (bfin*-linux-uclibc*): Likewise.
6874         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6876         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6877         assigning.
6878         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6879         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6880         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6881         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6882         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6883         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6884         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6885         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6886         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6887         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6888         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6889         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6890         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6892         * config/bfin/t-elf: Remove.
6893         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6895 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6897         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6898         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6899         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6900         (lm32-*-elf*): ... this.
6901         (lm32-*-rtems*): ... and this.
6902         Add to tmake_file.
6903         (m32r-*-rtems*): Add to tmake_file.
6904         (moxie-*-rtems*): Likewise.
6905         (sparc-*-rtems*): Likewise.
6906         Remove t-rtems from tmake_file.
6907         (sparc64-*-rtems*): Likewise.
6908         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6909         instead.
6911 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6913         PR bootstrap/50982
6914         * config/gthr-posix.h: Move ...
6915         * gthr-posix.h: ... here.
6916         * config/gthr-lynx.h: Reflect this.
6917         * config/gthr-vxworks.h: Likewise.
6918         * config/rs6000/gthr-aix.h: Likewise.
6919         * configure.ac (target_thread_file): Likewise.
6920         * configure: Regenerate.
6922 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6924         * config.host (arm*-*-rtemseabi*): New target.
6926 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6928         PR other/50991
6929         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6930         extra-parts.
6932 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6934         * config.host (epiphany-*-elf*): New configuration.
6935         * config/epiphany: New Directory.
6937 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6939         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6940         * config/avr/t-rtems: New.
6941         Filter out _exit from LIB1ASMFUNCS.
6943 2011-11-04  David S. Miller  <davem@davemloft.net>
6945         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6946         * configure: Rebuild.
6948 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6950         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6951         variable.
6953 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6955         PR target/50931
6956         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6957         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6959 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6961         PR target/50989
6962         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6964 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6966         * config/c6x/t-elf (LIB2ADDEH): Set.
6967         * config/c6x/t-c6x-elf: Remove.
6969 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6971         * config/i386/sol2-ci.S: Rename to ...
6972         * config/i386/crti.S: ... this.
6973         * config/i386/sol2-cn.S: Rename to ...
6974         * config/i386/crtn.S: ... this.
6975         * config/sparc/sol2-ci.S: Rename to ...
6976         * config/sparc/crti.S: ... this.
6977         * config/sparc/sol2-cn.S: Rename to ...
6978         * config/sparc/crtn.S: ... this.
6979         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6980         (crti.o, crtn.o): Remove.
6982 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6984         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6986 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6988         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6990 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6992         * config.host (crisv32-*-none, cris-*-none): Remove.
6993         (crisv32-*-elf): Append to tmake_file, don't just set it.
6994         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6996 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6998         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6999         (ecrtn$(objext)): Likewise.
7000         (ncrti$(objext)): Likewise.
7001         (ncrtn$(objext)): Likewise.
7003 2011-11-03  Andreas Schwab  <schwab@redhat.com>
7005         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7007 2011-11-02  David S. Miller  <davem@davemloft.net>
7009         * configure.ac: Set host_address on sparc too.
7010         * configure: Regenerate.
7011         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7012         based upon host_address.
7013         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7015 2011-11-02  Jason Merrill  <jason@redhat.com>
7017         * config/rs6000/t-ppccomm: Add missing \.
7019 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7021         * gthr-single.h, gthr.h: New files.
7022         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7023         config/gthr-vxworks.h, config/i386/gthr-win32.h,
7024         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7025         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7026         * config/i386/gthr-win32.c: Include "gthr-win32.h".
7027         * configure.ac (thread_header): New variable.
7028         Set it depending on target_thread_file.
7029         (gthr-default.h): Link from $thread_header.
7030         * configure: Regenerate.
7031         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7033 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7035         * configure.ac (tm_file_): New variable.
7036         Determine from tm_file.
7037         (tm_file, tm_defines): Substitute.
7038         * configure: Regenerate.
7039         * mkheader.sh: New file.
7040         * Makefile.in (clean): Remove libgcc_tm.h.
7041         ($(objects)): Depend on libgcc_tm.h.
7042         (libgcc_tm_defines, libgcc_tm_file): New variables.
7043         (libgcc_tm.h, libgcc_tm.stamp): New targets.
7044         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7045         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7046         ($(extra-parts)): Depend on libgcc_tm.h.
7047         * config.host (tm_defines, tm_file): New variable.
7048         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7049         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7050         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7051         (avr-*-rtems*): Likewise.
7052         (avr-*-*): Likewise.
7053         (frv-*-elf): Likewise.
7054         (frv-*-*linux*): Likewise.
7055         (h8300-*-rtems*): Likewise.
7056         (h8300-*-elf*): Likewise.
7057         (i[34567]86-*-darwin*): Likewise.
7058         (x86_64-*-darwin*): Likewise.
7059         (rx-*-elf): Likewise.
7060         (tic6x-*-uclinux): Likewise.
7061         (tic6x-*-elf): Likewise.
7062         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7063         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7064         * config/i386/cygming-crtbegin.c: Likewise.
7065         * config/i386/cygming-crtend.c: Likewise.
7066         * config/ia64/fde-vms.c: Likewise.
7067         * config/ia64/unwind-ia64.c: Likewise.
7068         * config/libbid/bid_gcc_intrinsics.h: Likewise.
7069         * config/rs6000/darwin-fallback.c: Likewise.
7070         * config/stormy16/lib2funcs.c: Likewise.
7071         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7072         * crtstuff.c: Likewise.
7073         * dfp-bit.h: Likewise.
7074         * emutls.c: Likewise.
7075         * fixed-bit.c: Likewise.
7076         * fp-bit.c: Likewise.
7077         * generic-morestack-thread.c: Likewise.
7078         * generic-morestack.c: Likewise.
7079         * libgcc2.c: Likewise.
7080         * libgcov.c: Likewise.
7081         * unwind-dw2-fde-dip.c: Likewise.
7082         * unwind-dw2-fde.c: Likewise.
7083         * unwind-dw2.c: Likewise.
7084         * unwind-sjlj.c: Likewise.
7086 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7088         * configure.ac: Include ../config/picflag.m4.
7089         (GCC_PICFLAG): Call it.
7090         Substitute.
7091         * configure: Regenerate.
7092         * Makefile.in (gcc_srcdir): Remove.
7093         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7094         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7095         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7096         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7097         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7098         Use $<.
7099         Remove comment.
7100         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7101         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7102         to refer to libgcc2.c.
7103         Use $<.
7104         * config/darwin-64.c: New file.
7105         * config/darwin-crt3.c: Remove comment.
7106         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7107         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7108         config/udivmodsi4.c: New files.
7109         * config/memcmp.c, config/memcpy.c, config/memmove.c,
7110         config/memset.c: New files.
7111         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7112         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7113         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7114         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7115         * config/t-openbsd-thread: New file.
7116         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7117         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7118         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7119         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7120         qrnnd.S.
7121         Adapt filename.
7122         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7123         to refer to gthr-posix.c.
7124         * config/alpha/t-vms (LIB2ADD): Set.
7125         * config/alpha/vms-gcc_shell_handler.c: New file.
7126         * config/arm/bpabi.c, config/arm/fp16.c,
7127         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7128         config/arm/unaligned-funcs.c: New files.
7129         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7130         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7131         * config/arm/t-linux: Likewise.
7132         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7133         * config/arm/t-netbsd: New file.
7134         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7135         * config/arm/t-symbian (LIB2ADD_ST): Set.
7136         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7137         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7138         * config/bfin/t-elf: New file.
7139         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7140         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7141         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7142         config/c6x/ltf.c: New files.
7143         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7144         (HOST_LIBGCC2_CFLAGS): Set.
7145         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7146         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7147         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7148         New files.
7149         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7150         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7151         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7152         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7153         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7154         files.
7155         * config/frv/t-frv (LIB2ADD): Set.
7156         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7157         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7158         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7159         config/h8300/popcounthi2.c: New files.
7160         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7161         * config/i386/gthr-win32.c: New file.
7162         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7163         * config/i386/t-cygwin: Likewise.
7164         * config/i386/t-darwin, config/i386/t-darwin64,
7165         config/i386/t-gthr-win32, config/i386/t-interix: New files.
7166         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7167         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7168         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7169         * config/ia64/quadlib.c: New file.
7170         * config/ia64/t-hpux (LIB2ADD): Set.
7171         * config/ia64/t-ia64: Add comment.
7172         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7173         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7174         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7175         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7176         * config/m32c/t-m32c (LIB2ADD): Set.
7177         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7178         * config/m32r/t-m32r: Likewise.
7179         * config/m68k/fpgnulib.c: New file.
7180         * config/m68k/t-floatlib (LIB2ADD): Set.
7181         (xfgnulib.c): New target.
7182         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7183         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7184         * config/mep/t-mep (LIB2ADD): Set.
7185         * config/microblaze/divsi3.asm: Rename to divsi3.S.
7186         * config/microblaze/moddi3.asm: Rename to moddi3.S.
7187         * config/microblaze/modsi3.asm: Rename to modsi3.S.
7188         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7189         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7190         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7191         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7192         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7193         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7194         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7195         New files.
7196         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7197         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7198         * config/pa/fptr.c, config/pa/lib2funcs.S,
7199         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7200         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7201         (LIB2ADD, LIB2ADD_ST): Set.
7202         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7203         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7204         Set.
7205         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7206         * config/pdp11/t-pdp11: New file.
7207         * config/picochip/libgccExtras/adddi3.S,
7208         config/picochip/libgccExtras/ashlsi3.S,
7209         config/picochip/libgccExtras/ashrsi3.S,
7210         config/picochip/libgccExtras/clzsi2.S,
7211         config/picochip/libgccExtras/cmpsi2.S,
7212         config/picochip/libgccExtras/divmod15.S,
7213         config/picochip/libgccExtras/divmodhi4.S,
7214         config/picochip/libgccExtras/divmodsi4.S,
7215         config/picochip/libgccExtras/lshrsi3.S,
7216         config/picochip/libgccExtras/parityhi2.S,
7217         config/picochip/libgccExtras/popcounthi2.S,
7218         config/picochip/libgccExtras/subdi3.S,
7219         config/picochip/libgccExtras/ucmpsi2.S,
7220         config/picochip/libgccExtras/udivmodhi4.S,
7221         config/picochip/libgccExtras/udivmodsi4.S: New files.
7222         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7223         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7224         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7225         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7226         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7227         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7228         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
7229         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7230         files.
7231         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7232         (HOST_LIBGCC2_CFLAGS): Set.
7233         * config/rs6000/t-darwin64: New file.
7234         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7235         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7236         * config/rs6000/t-ppccomm (LIB2ADD): Add
7237         $(srcdir)/config/rs6000/tramp.S.
7238         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7239         Add  $(srcdir)/config/rs6000/eabi.S.
7240         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7241         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7242         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7243         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7244         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7245         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7246         * config/rs6000/tramp.S: New file.
7247         * config/s390/t-tpf: Remove.
7248         * config/sh/linux-atomic.S: New file.
7249         * config/sh/t-linux (LIB2ADD): Set.
7250         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7251         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7252         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7253         to unwind-dw2.c.
7254         (HOST_LIBGCC2_CFLAGS): Set.
7255         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7256         * config/spu/divmodti4.c, config/spu/divv2df3.c,
7257         config/spu/float_disf.c, config/spu/float_unsdidf.c,
7258         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7259         config/spu/mfc_multi_tag_release.c,
7260         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7261         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7262         config/spu/multi3.c: New files.
7263         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7264         (HOST_LIBGCC2_CFLAGS): Set.
7265         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7266         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7267         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7268         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7269         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7270         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7271         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7272         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7273         config/stormy16/umodsi3.c: New files.
7274         * config/xtensa/lib2funcs.S: New file.
7275         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7276         * config/xtensa/t-xtensa (LIB2ADD): Set.
7277         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7278         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7279         Add t-freebsd-thread to tmake_file for posix threads.
7280         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7281         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7282         (*-*-lynxos*): Likewise.
7283         (*-*-netbsd*): Likewise.
7284         (*-*-openbsd*): Likewise.
7285         Add t-openbsd-thread to tmake_file for posix threads.
7286         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7287         (*-*-vxworks*): Set tmake_file.
7288         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7289         (alpha*-*-freebsd*): Likewise.
7290         (alpha*-*-netbsd*): Likewise.
7291         (alpha*-*-openbsd*): Likewise.
7292         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7293         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7294         (alpha*-dec-*vms*): Likewise.
7295         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7296         (bfin*-elf*): Add bfin/t-elf to tmake_file.
7297         (bfin*-uclinux*): Likewise.
7298         (bfin*-linux-uclibc*): Likewise.
7299         (crisv32-*-elf): Add cris/t-cris to tmake_file.
7300         (crisv32-*-none): Likewise.
7301         (cris-*-elf): Likewise.
7302         (cris-*-none): Likewise.
7303         (cris-*-linux*, crisv32-*-linux*): Likewise.
7304         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7305         tmake_file.
7306         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7307         tmake_file.
7308         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7309         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7310         (x86_64-*-elf*): Likewise.
7311         (i[34567]86-*-nto-qnx*): Likewise.
7312         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7313         win32 threads.
7314         (x86_64-*-mingw*): Likewise.
7315         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7316         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7317         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7318         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7319         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7320         tmake_file.
7321         (mipsisa64sr71k-*-elf*): Likewise.
7322         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7323         (mips-*-elf*, mipsel-*-elf*): Likewise.
7324         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7325         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7326         (mips*-*-rtems*): Likewise.
7327         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7328         to tmake_file.
7329         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7330         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7331         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7332         (spu-*-elf*): Likewise.
7333         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7335 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7337         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7338         $(srcdir) to refer to $(LIB1ASMSRC).
7339         Use $<.
7340         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7341         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7342         config/arm/lib1funcs.S: New files.
7343         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7344         * config/arm/t-arm: New file.
7345         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7346         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7347         config/arm/t-strongarm-elf: New files.
7348         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7349         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7350         * config/avr/lib1funcs.S: New file.
7351         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7352         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7353         * config/c6x/lib1funcs.S: New file.
7354         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7355         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7356         * config/frv/lib1funcs.S: New file.
7357         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7358         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7359         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7360         * config/ia64/__divxf3.asm: Rename to ...
7361         * config/ia64/__divxf3.S: ... this.
7362         Adapt lib1funcs.asm filename.
7363         * config/ia64/_fixtfdi.asm: Rename to ...
7364         * config/ia64/_fixtfdi.S: ... this.
7365         Adapt lib1funcs.asm filename.
7366         * config/ia64/_fixunstfdi.asm: Rename to ...
7367         * config/ia64/_fixunstfdi.S: ... this.
7368         Adapt lib1funcs.asm filename.
7369         * config/ia64/_floatditf.asm: Rename to ...
7370         * config/ia64/_floatditf.S: ... this.
7371         Adapt lib1funcs.asm filename.
7372         * config/ia64/lib1funcs.S: New file.
7373         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7374         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7375         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7376         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7377         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7378         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7379         * config/mep/lib1funcs.S: New file.
7380         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7381         * config/mips/mips16.S: New file.
7382         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7383         * config/pa/milli64.S: New file.
7384         * config/pa/t-linux, config/pa/t-linux64: New files.
7385         * config/picochip/lib1funcs.S: New file.
7386         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7387         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7388         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7389         * config/sh/t-netbsd: New file.
7390         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7391         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7392         * config/sh/t-sh64: New file.
7393         * config/sparc/lb1spc.S: New file.
7394         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7395         filename.
7396         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7397         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7398         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7399         config/xtensa/lib1funcs.S: New files.
7400         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7401         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7402         tmake_file.
7403         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7404         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7405         (arm*-*-linux*): Likewise.
7406         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7407         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7408         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7409         (arm*-*-ecos-elf): Likewise.
7410         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7411         (arm*-*-rtems*): Likewise.
7412         (arm*-*-elf): Likewise.
7413         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7414         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7415         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7416         (bfin*-uclinux*): Likewise.
7417         (bfin*-linux-uclibc*): Likewise.
7418         (bfin*-rtems*): Likewise.
7419         (bfin*-*): Likewise.
7420         (fido-*-elf): Merge into m68k-*-elf*.
7421         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7422         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7423         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7424         (h8300-*-elf*): Likewise.
7425         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7426         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7427         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7428         (i[34567]86-*-mingw*): Likewise.
7429         (x86_64-*-mingw*): Likewise.
7430         (i[34567]86-*-interix3*): Likewise.
7431         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7432         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7433         (m68k-*-elf*): Also handle fido-*-elf.
7434         Add m68k/t-floatlib to tmake_file.
7435         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7436         (m68k-*-linux*): Likewise.
7437         (m68k-*-rtems*): Likewise.
7438         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7439         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7440         sh64*-*-*.
7441         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7442         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7443         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7444         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7445         sh/t-netbsd to tmake_file.
7446         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7447         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7448         (sh-wrs-vxworks): Likewise.
7449         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7450         *-leon[3-9]*.
7451         (v850*-*-*): Add v850/t-v850 to tmake_file.
7452         (vax-*-linux*): Add vax/t-linux to tmake_file.
7453         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7455 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7457         * crtstuff.c: New file.
7458         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7459         (CRTSTUFF_T_CFLAGS): Define.
7460         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7461         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7462         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7463         crtstuff.c.
7464         Use $<.
7465         (crtbeginT.o): Use $(objext).
7466         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7467         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7468         (gcc-extra-parts): Remove.
7469         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7470         Set extra_parts.
7471         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7472         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7473         Add t-crtstuff-pic to tmake_file.
7474         (*-*-lynxos*): New case.
7475         Set tmake_file, extra_parts.
7476         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7477         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7478         *-*-netbsdelf[2-9]*.
7479         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7480         (*-*-rtems*): Set extra_parts.
7481         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7482         (*-*-uclinux*): New case.
7483         Set extra_parts.
7484         (*-*-vms*): New case.
7485         Set tmake_file, extra_parts.
7486         (*-*-elf): Set extra_parts.
7487         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7488         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7489         vms/t-vms64.
7490         Set extra_parts.
7491         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7492         Set extra_parts.
7493         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7494         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7495         (arm-wrs-vxworks): Append to tmake_file.
7496         Set extra_parts.
7497         (arm*-*-uclinux*): Set extra_parts.
7498         (arm*-*-ecos-elf): Likewise.
7499         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7500         arm*-*-eabi*.
7501         (arm*-*-rtems*): Set extra_parts.
7502         (arm*-*-elf): Likewise.
7503         (avr-*-rtems*): Clear extra_parts.
7504         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7505         Set extra_parts.
7506         (bfin*-uclinux*): Likewise.
7507         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7508         (bfin*-rtems*): Append to tmake_file.
7509         Set extra_parts.
7510         (bfin*-*): Likewise.
7511         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7512         (crisv32-*-elf): ... this.
7513         (crisv32-*-none): ... this.
7514         (cris-*-elf, cris-*-none): New cases.
7515         Add cris/t-elfmulti to tmake_file.
7516         (fr30-*-elf): Append to tmake_file.
7517         Set extra_parts.
7518         (frv-*-elf): Append to tmake_file, add frv/t-frv.
7519         Set extra_parts.
7520         (h8300-*-rtems*): Append to tmake_file.
7521         Set extra_parts.
7522         (h8300-*-elf*): Likewise.
7523         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7524         Set extra_parts.
7525         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7526         Set extra_parts.
7527         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7528         (x86_64-*-elf*): Likewise.
7529         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7530         (x86_64-*-freebsd*): Likewise.
7531         (x86_64-*-netbsd*): Likewise.
7532         (i[34567]86-*-linux*): Likewise.
7533         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7534         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7535         (x86_64-*-linux*): Likewise.
7536         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7537         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7538         tmake_file.
7539         Set extra_parts.
7540         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7541         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7542         Append to extra_parts, remove crtbegin.o, crtend.o.
7543         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7544         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7545         crtend.o, crtbeginS.o, crtendS.o.
7546         (ia64*-*-linux*): Comment extra_parts.
7547         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7548         Set extra_parts.
7549         (iq2000*-*-elf*): Clear extra_parts.
7550         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7551         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7552         (m32r-*-elf*, m32r-*-rtems*): Split off ...
7553         (m32r-*-rtems*): ... this.
7554         Add m32r/t-m32r to tmake_file.
7555         (m68k-*-elf*): Add t-crtin to tmake_file.
7556         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7557         (mcore-*-elf): Likewise.
7558         (microblaze*-*-*): Set extra_parts.
7559         (mips*-sde-elf*): New case.
7560         Set tmake_file, extra_parts.
7561         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7562         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7563         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7564         tmake_file.
7565         Set extra_parts.
7566         (mipsisa64sr71k-*-elf*): Likewise.
7567         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7568         (mips-*-elf*, mipsel-*-elf*): Likewise.
7569         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7570         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7571         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
7572         (mips*-*-rtems*): Likewise.
7573         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7574         (moxie-*-*): Split into ...
7575         (moxie-*-elf, moxie-*-uclinux*): ... this.
7576         Add to extra_parts, remove crtbegin.o, crtend.o.
7577         (moxie-*-rtems*): New case.
7578         Set tmake_file.
7579         Clear extra_parts.
7580         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7581         Set extra_parts.
7582         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7583         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7584         tmake_file.
7585         Set extra_parts.
7586         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7587         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7588         Set extra_parts.
7589         (powerpc-*-eabisim*): Likewise.
7590         (powerpc-*-elf*): Likewise.
7591         (powerpc-*-eabialtivec*): Likewise.
7592         (powerpc-xilinx-eabi*): Likewise.
7593         (powerpc-*-eabi*): Likewise.
7594         (powerpc-*-rtems*): Likewise.
7595         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7596         tmake_file.
7597         Set extra_parts.
7598         (powerpc-*-lynxos*): Add to tmake_file.
7599         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7600         rs6000/t-crtstuff, t-crtstuff-pic.
7601         Set extra_parts.
7602         (powerpcle-*-eabisim*): Likewise.
7603         (powerpcle-*-eabi*): Likewise.
7604         (rx-*-elf): Remove extra_parts.
7605         (s390x-ibm-tpf*): Set extra_parts.
7606         (score-*-elf): Set extra_parts.
7607         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7608         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7609         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7610         (sh64l*-*-netbsd*): Split into ...
7611         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7612         Add t-crtstuff-pic to tmake_file.
7613         Set extra_parts.
7614         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7615         Set extra_parts.
7616         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7617         (sparc-*-elf*): Remove t-crtin from tmake_file.
7618         Add to extra_parts, remove crtbegin.o, crtend.o.
7619         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7620         (sparc64-*-linux*): Likewise.
7621         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7622         Add to extra_parts, remove crtbegin.o, crtend.o.
7623         (sparc64-*-elf*): Remove t-crtin from tmake_file.
7624         Add to extra_parts, remove crtbegin.o, crtend.o.
7625         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7626         Add to extra_parts, remove crtbegin.o, crtend.o.
7627         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7628         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7629         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7630         Set extra_parts.
7631         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7632         Set extra_parts.
7633         (tic6x-*-*): Change to ...
7634         (tic6x-*-elf): ... this.
7635         Set extra_parts.
7636         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7637         Set extra_parts.
7638         (am33_2.0-*-linux*): Add comment.
7639         (mep*-*-*): Add mep/t-mep to tmake_file.
7640         Set extra_parts.
7641         * config/alpha/t-vms: New file.
7642         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7643         * config/arm/crti.S, config/arm/crtn.S: New files.
7644         * config/bfin/crti.S, config/bfin/crtn.S: New files.
7645         * config/bfin/crtlibid.S: New file.
7646         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7647         * config/c6x/crti.S, config/c6x/crtn.S: New files.
7648         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7649         (crti.o, crtin.o): New rules.
7650         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7651         * config/c6x/t-uclinux: New file.
7652         * config/cris/t-elfmulti: New file.
7653         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7654         * config/fr30/crti.S, config/fr30/crtn.S: New files.
7655         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7656         * config/frv/t-frv: New file.
7657         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7658         * config/h8300/crti.S, config/h8300/crtn.S: New files.
7659         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7660         New files.
7661         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7662         refer to cygming-crtbegin.c, cygming-crtend.c.
7663         Use $<.
7664         * config/i386/t-nto: New file.
7665         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7666         * config/ia64/crti.S, config/ia64/crtn.S: New files.
7667         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7668         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7669         Use .S extension.
7670         Use $<.
7671         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7672         (crtinitS.o): New rule.
7673         * config/ia64/vms-crtinit.S: New file.
7674         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7675         * config/m32r/initfini.c: New file.
7676         * config/m32r/t-linux, config/m32r/t-m32r: New files.
7677         * config/m68k/crti.S, config/m68k/crtn.S: New files.
7678         * config/mcore/crti.S, config/mcore/crtn.S: New files.
7679         * config/mep/t-mep: New file.
7680         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7681         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7682         * config/mips/crti.S, config/mips/crtn.S: New files.
7683         * config/mips/t-crtstuff: New file.
7684         * config/mmix/crti.S, config/mmix/crtn.S: New files.
7685         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7686         (CUSTOM_CRTIN): Set.
7687         ($(T)crti.o, $(T)crtn.o): Remove $(T),
7688         dependencies.
7689         Use $(srcdir) to refer to crti.S, crtn.S.
7690         Use .S extension, $<.
7691         * config/moxie/crti.asm: Rename to ...
7692         * config/moxie/crti.S: ... this.
7693         * config/moxie/crtn.asm: Rename to ...
7694         * config/moxie/crtn.S: ... this.
7695         * config/moxie/t-moxie: Remove.
7696         * config/pa/stublib.c: New file.
7697         * config/pa/t-stublib, config/pa/t-stublib64: New files.
7698         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7699         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7700         * config/rs6000/t-crtstuff: New file.
7701         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7702         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7703         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7704         Make output file explicit.
7705         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7706         Make output file explicit.
7707         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7708         Make output file explicit.
7709         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7710         Make output file explicit.
7711         * config/score/crti.S, config/score/crtn.S: New files.
7712         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7713         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7714         files.
7715         * config/sh/t-sh, config/sh/t-superh: New files.
7716         * config/sparc/t-linux64: New file.
7717         * config/spu/cache.S, config/spu/cachemgr.c: New files.
7718         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7719         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7720         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7721         * config/t-crtin: Remove.
7722         * config/t-crtstuff-pic: New file.
7723         * config/t-sol2 (CUSTOM_CRTIN): Set.
7724         (crti.o, crtn.o): New rules.
7725         * config/vms/t-vms: New file.
7726         * config/vms/vms-ucrt0.c: New file.
7727         * config/xtensa/t-elf: New file.
7729 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7731         * Makefile.in (SHLIB_NM_FLAGS): Set.
7732         * mkmap-flat.awk, mkmap-symver.awk: New files.
7733         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7734         exceptions.
7735         * configure: Regenerate.
7736         * config/libgcc-glibc.ver: New file.
7737         * config/libgcc-libsystem.ver: New file.
7738         * config/t-libunwind (SHLIB_LC): Set.
7739         * config/t-linux: New file.
7740         * config/t-slibgcc (INSTALL_SHLIB): New.
7741         (SHLIB_INSTALL): Use it.
7742         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7743         to mkmap-symver.awk.
7744         (SHLIB_MAPFILES): Don't append, adapt pathname.
7745         (SHLIB_VERPFX): Set.
7746         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7747         to mkmap-symver.awk.
7748         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7749         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7750         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7751         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7752         to mkmap-flat.awk.
7753         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7754         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7755         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7756         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7757         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7758         * config/i386/libgcc-darwin.10.4.ver,
7759         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7760         New files.
7761         * config/i386/t-darwin: Remove.
7762         * config/i386/t-darwin64: Likewise.
7763         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7764         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7765         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7766         * config/i386/t-linux: New file.
7767         * config/i386/t-mingw32: New file.
7768         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7769         * config/ia64/t-glibc: Rename to ...
7770         * config/ia64/t-linux: ... this.
7771         (SHLIB_MAPFILES): Set.
7772         * config/ia64/t-glibc-libunwind: Rename to ...
7773         * config/ia64/t-linux-libunwind: ... this.
7774         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7775         * config/ia64/t-slibgcc-hpux: New file.
7776         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7777         * config/m68k/t-slibgcc-elf-ver: New file.
7778         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7779         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7780         to mkmap-flat.awk.
7781         * config/pa/t-slibgcc-hpux: New file.
7782         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7783         files.
7784         * config/rs6000/libgcc-darwin.10.4.ver,
7785         config/rs6000/libgcc-darwin.10.5.ver: New files.
7786         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7787         config/rs6000/libgcc-glibc.ver.
7788         * config/rs6000/libgcc-ppc64.ver: Rename to
7789         config/rs6000/libgcc-ibm-ldouble.ver.
7790         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7791         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7792         * config/rs6000/t-ldbl128: Rename to ...
7793         * config/rs6000/t-linux: ... this.
7794         (SHLIB_MAPFILES): Adapt filename.
7795         * config/rs6000/t-slibgcc-aix: New file.
7796         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7797         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7798         libgcc-excl.ver, libgcc-glibc.ver.
7799         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7800         * config/sparc/libgcc-glibc.ver: New file.
7801         * config/sparc/t-linux: New file.
7802         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7803         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7804         t-slibgcc-elf-ver to tmake_file.
7805         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7806         *-*-freebsd[34].
7807         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7808         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7809         t-slibgcc-elf-ver, t-linux to tmake_file.
7810         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7811         tmake_file.
7812         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7813         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7814         (alpha*-dec-*vms*): Likewise.
7815         (arm*-*-freebsd*): Append to tmake_file.
7816         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7817         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7818         arm*-*-linux-*eabi.
7819         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7820         tmake_file for arm*-*-symbianelf*.
7821         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7822         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7823         cris/t-linux.
7824         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7825         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7826         pa/t-slibgcc-dwarf-ver to tmake_file.
7827         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7828         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7829         (hppa*64*-*-hpux11*): Likewise.
7830         (hppa[12]*-*-hpux11*): Likewise.
7831         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7832         i386/t-crtpc, i386/t-crtfm.
7833         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7834         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7835         to tmake_file.
7836         Add i386/t-cygwin to tmake_file.
7837         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7838         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7839         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7840         to tmake_file.
7841         Add i386/t-mingw32 to tmake_file.
7842         (x86_64-*-mingw*): Likewise.
7843         (ia64*-*-freebsd*): Append to tmake_file.
7844         (ia64*-*-linux*): Append to tmake_file.
7845         Replace ia64/t-glibc by ia64/t-linux.
7846         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7847         system libunwind.
7848         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7849         t-slibgcc-hpux to tmake_file.
7850         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7851         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7852         (m32rle-*-linux*): Likewise.
7853         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7854         sjlj exceptions.
7855         (microblaze*-linux*): New case.
7856         Append to tmake_file, add t-slibgcc-nolc-override.
7857         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7858         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7859         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7860         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7861         rs6000/t-slibgcc-aix to tmake_file.
7862         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7863         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7864         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7865         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7866         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7867         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7868         sh*-*-linux*.
7869         (sparc-*-linux*): Append to tmake_file for *-leon*.
7870         Add sparc/t-linux to tmake_file for non-Leon targets.
7871         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7872         (tic6x-*-uclinux): New case.
7873         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7874         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7875         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7876         (am33_2.0-*-linux*): Append to tmake_file.
7877         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7878         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7879         x86_64-*-kfreebsd*-gnu.
7880         Add i386/t-linux to tmake_file.
7882 2011-10-28  Ian Lance Taylor  <iant@google.com>
7884         * config/i386/morestack.S: Correct CFI information to do proper
7885         returns throughout function.  In 32-bit mode, save %ebx so that it
7886         is restored on unwind.
7888 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7890         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7891         case where B3 isn't the return register.
7893         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7894         logic for doubleword pops.
7896 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7898         * config/rs6000/t-freebsd: Add wildcard.
7900 2011-10-21  Paul Brook  <paul@codesourcery.com>
7902         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7904 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7905             Eric Botcazou  <ebotcazou@adacore.com>
7907         PR target/50737
7908         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7909         fs->signal_frame to 1.
7911 2011-10-07  Ian Lance Taylor  <iant@google.com>
7913         * generic-morestack-thread.c: #include <errno.h>.
7915 2011-10-07  Ian Lance Taylor  <iant@google.com>
7917         PR target/46093
7918         * generic-morestack.c (__generic_morestack): Make sure the segment
7919         is large enough for both the stack frame and the copied
7920         parameters.
7922 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7924         PR bootstrap/49804
7925         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7926         extra_parts.
7928 2011-09-28  Nick Clifton  <nickc@redhat.com>
7930         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7931         64-bit doubles are not enabled.
7932         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7933         and floatunsisf functions.
7935 2011-09-13  Paul Brook  <paul@codesourcery.com>
7937         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7938         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7939         * unwind-arm-common.inc: New file.
7940         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7941         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7942         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7943         * config/c6x/libunwind.S: New file.
7944         * config/c6x/pr-support.c: New file.
7945         * config/c6x/unwind-c6x.c: New file.
7946         * config/c6x/unwind-c6x.h: New file.
7947         * config/c6x/t-c6x-elf: New file.
7949 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7951         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7952         (ASM_DIVZERO): Ditto.
7953         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7955 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7957         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7959 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7961         PR target/50090
7962         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7963         instead of an assembly one.
7965 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7967         PR bootstrap/50047
7968         * Makefile.in (install-unwind_h): Create
7969         $(gcc_objdir)/include/unwind.h atomically.
7971 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7973         * Makefile.in (install-unwind_h): Remove destination file first.
7975 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7977         * sync.c: New file.
7978         * config/mips/t-mips16: New file.
7979         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7980         (mips*-*-linux*): Likewise.
7981         (mips*-sde-elf*): Likewise.
7982         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7983         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7984         Add mips/t-mips16 to tmake_file.
7985         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7986         (mips-*-elf*): Likewise.
7987         (mips64-*-elf*): Likewise.
7988         (mips64orion-*-elf*): Likewise.
7989         (mips*-*-rtems*): Likewise.
7990         (mipstx39-*-elf*): Likewise.
7991         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7992         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7993         LIBGCC_SYNC_CFLAGS.
7994         Use $(srcdir) to refer to sync.c.
7995         Use $<.
7996         ($(libgcc-sync-funcs-o)): Likewise.
7997         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7998         ($(libgcc-sync-funcs-s-o)): Likewise.
8000 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8002         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8003         t-libunwind.
8005 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
8007         PR other/48007
8008         * config/i386/value-unwind.h: New.
8010 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
8012         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8013         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8014         Add to tmake_file rather than overriding it.
8016 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8018         * config/t-softfp: Remove.
8019         * soft-fp: Moved from ../gcc/config.
8020         * soft-fp/README: Remove t-softfp reference.
8021         * soft-fp/t-softfp: Move to config/t-softfp.
8022         (softfp_machine_header): Remove.
8023         (softfp_file_list): Remove config subdir.
8024         (soft-fp-objects): New variable.
8025         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8026         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8027         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8028         * config/t-softfp-excl: New file.
8029         * config/t-softfp-sfdf: New file.
8030         * config/t-softfp-tf: New file.
8031         * config/no-sfp-machine.h: New file.
8032         * config/arm/sfp-machine.h: New file.
8033         * config/arm/t-softfp: New file.
8034         * config/c6x/sfp-machine.h: New file.
8035         * config/i386/32/t-fprules-softfp: Rename to ...
8036         * config/i386/32/t-softfp: ... this.
8037         (tifunctions, LIB2ADD): Remove.
8038         (softfp_int_modes): Override.
8039         * config/i386/64/t-softfp-compat (tf-functions): Remove config
8040         subdir.
8041         * config/i386/64/eqtf2.c: Likewise.
8042         * config/i386/64/getf2.c: Likewise.
8043         * config/i386/64/letf2.c: Likewise.
8044         * config/ia64/sft-machine.h: New file.
8045         * config/ia64/t-fprules-softfp: Rename to ...
8046         * config/ia64/t-softfp: ... this.
8047         * config/lm32/sfp-machine.h: New file.
8048         * config/moxie/t-moxie-softfp: Remove.
8049         * config/rs6000/ibm-ldouble-format: New file.
8050         * config/rs6000/ibm-ldouble.c: New file.
8051         * config/rs6000/libgcc-ppc-glibc.ver: New file
8052         * config/rs6000/libgcc-ppc64.ver: New file
8053         * config/rs6000/sfp-machine.h: New file.
8054         * config/rs6000/t-freebsd: New file.
8055         * config/rs6000/t-ibm-ldouble: New file.
8056         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8057         libgcc-ppc-glibc.ver.
8058         * config/rs6000/t-linux64: New file.
8059         * config/rs6000/t-ppccomm (LIB2ADD): Add
8060         $(srcdir)/config/rs6000/ibm-ldouble.c.
8061         * config/rs6000/t-ppccomm-ldbl: New file.
8062         * config/score/sfp-machine.h: New file.
8063         * config.host (sfp_machine_header): Explain.
8064         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8065         t-softfp to tmake_file.
8066         (arm*-*-uclinux*): Likewise.
8067         (arm*-*-ecos-elf): Likewise.
8068         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8069         (arm*-*-rtems*): Likewise.
8070         (arm*-*-elf): Likewise.
8071         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8072         in tmake_file.
8073         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8074         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8075         (lm32-*-uclinux*): Likewise.
8076         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8077         t-softfp-excl, t-softfp.
8078         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8079         (powerpc64-*-darwin*): Likewise.
8080         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8081         to tmake_file.
8082         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8083         tmake_file.
8084         (powerpc-*-eabisim*): Likewise.
8085         (powerpc-*-elf*): Likewise.
8086         (powerpc-*-eabialtivec*): Likewise.
8087         (powerpc-xilinx-eabi*): Likewise.
8088         (powerpc-*-rtems*): Likewise.
8089         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8090         t-softfp-excl, t-softfp to tmake_file.
8091         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8092         rs6000/t-ppccomm-ldbl to tmake_file.
8093         (powerpcle-*-elf*): Likewise.
8094         (powerpcle-*-eabisim*): Likewise.
8095         (powerpcle-*-eabi*): Likewise.
8096         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8097         rs6000/t-ibm-ldouble to tmake_file.
8098         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8099         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8100         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8101         (tic6x-*-*): Likewise.
8102         (i[34567]86-*-darwin*, x86_64-*-darwin*,
8103         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8104         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8105         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8106         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8107         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8108         t-softfp to tmake_file.
8109         * configure.ac (sfp_machine_header): Provide default if unset.
8110         Substitute.
8111         Link sfp-machine.h to config/$sfp_machine_header.
8112         * configure: Regenerate.
8114 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8116         * Makefile.in (double_type_size, long_double_type_size): Set.
8117         Remove $(fpbit-in-libgcc) support.
8118         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8119         (fpbit-src): New variable.
8120         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8121         Compile with -DFLOAT $(FPBIT_CFLAGS).
8122         Use $<.
8123         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8124         Compile with $(FPBIT_CFLAGS).
8125         Use $<.
8126         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8127         Compile with -DFLOAT $(TPBIT_CFLAGS).
8128         Use $<.
8129         * configure.ac (double_type_size, long_double_type_size):
8130         Determine and substitute.
8131         * configure: Regenerate.
8132         * fp-bit.c, fp-bit.h: New files.
8133         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8134         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8135         * config/mips/t-mips: New file.
8136         * config/mips/t-sdemtk: New file.
8137         * config/rs6000/ppc64-fp.c: New file.
8138         * config/rs6000/t-darwin (LIB2ADD): Add
8139         $(srcdir)/config/rs6000/ppc64-fp.c.
8140         * config/rs6000/t-ppc64-fp: New file.
8141         * config/rx/rx-lib.h: New file.
8142         * config/rx/t-rx (FPBIT): Set to true.
8143         ($(gcc_objdir)/fp-bit.c): Remove.
8144         (DPBIT): Set to true only with -m64bit-doubles.
8145         ($(gcc_objdir)/dp-bit.c): Remove.
8146         * config/sparc/t-softfp: Remove.
8147         * config/spu/t-elf: New file.
8148         * config/t-fdpbit, config/t-fpbit: New files.
8149         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8150         (mips*-*-*): Likewise.
8151         (arm-wrs-vxworks): Likewise.
8152         (arm*-*-freebsd*): Likewise.
8153         (avr-*-rtems*): Add t-fpbit to tmake_file.
8154         (avr-*-*): Likewise.
8155         (bfin*-elf*): Add t-fdpbit to tmake_file.
8156         (bfin*-uclinux*): Likewise.
8157         (bfin*-linux-uclibc*): Likewise.
8158         (bfin*-rtems*): New case.
8159         Add t-fdpbit to tmake_file.
8160         (bfin*-*): Add t-fdpbit to tmake_file.
8161         (crisv32-*-elf): Likewise.
8162         (cris-*-linux*): Likewise.
8163         (fr30-*-elf): Likewise.
8164         (frv-*-elf, frv-*-*linux*): Likewise.
8165         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8166         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8167         (m32r-*-elf*): Likewise.
8168         (m32rle-*-elf*): Likewise.
8169         (m32r-*-linux*): Likewise.
8170         (m32rle-*-linux*): Likewise.
8171         (mcore-*-elf): Add t-fdpbit to tmake_file.
8172         (microblaze*-*-*): Likewise.
8173         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8174         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8175         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8176         Fix typo.
8177         Add mips/t-tpbit to tmake-file.
8178         (mips*-*-linux*): Fix typo.
8179         (mips*-sde-elf*): New case
8180         Add mips/t-sdemtk unless using newlib.
8181         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8182         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8183         (mn10300-*-*): Likewise.
8184         (pdp11-*-*): Likewise.
8185         (picochip-*-*): Add t-fpbit to tmake_file.
8186         (powerpc-*-eabisimaltivec*): Likewise.
8187         (powerpc-*-eabisim*): Likewise.
8188         (powerpc-*-elf*): Likewise.
8189         (powerpc-*-eabialtivec*): Likewise.
8190         (powerpc-xilinx-eabi*): New case.
8191         Add t-fdpbit to tmake_file.
8192         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
8193         (powerpc-*-rtems*): Likewise.
8194         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8195         tmake_file.
8196         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8197         tmake_file.
8198         (powerpc-*-lynxos*): Likewise.
8199         (powerpcle-*-elf*): Likewise.
8200         (powerpcle-*-eabisim*): Likewise.
8201         (powerpcle-*-eabi*): Likewise.
8202         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8203         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8204         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8205         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8206         (rx-*-elf): Add t-fdpbit to tmake_file.
8207         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8208         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8209         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8210         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8211         sh*-*-netbsd*.
8212         (sh-*-rtems*): Add t-fdpbit to tmake_file.
8213         (sh-wrs-vxworks): Likewise.
8214         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8215         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8216         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8217         (sparc64-*-rtems*): ... new case.
8218         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8219         (spu-*-elf*): Likewise.
8220         Add spu/t-elf to tmake_file.
8221         (v850*-*-*): Add t-fdpbit to tmake_file.
8222         (xstormy16-*-elf): Likewise.
8223         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8224         (mep*-*-*): Likewise.
8226 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8228         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8229         variables.
8230         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8231         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8232         (install-unwind_h): New target.
8233         (all): Depend on it.
8234         * config.host (unwind_header): New variable.
8235         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8236         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8237         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8238         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8239         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8240         Set unwind_header.
8241         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8242         Set unwind_header.
8243         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8244         arm*-*-eabi*.
8245         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8246         Set unwind_header.
8247         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8248         (ia64*-*-freebsd*): Likewise.
8249         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8250         tmake_file.
8251         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8252         $with_system_libunwind.
8253         (ia64*-*-hpux*): Set tmake_file.
8254         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8255         (picochip-*-*): Set tmake_file.
8256         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8257         md_unwind_header.
8258         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8259         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8260         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8261         (xtensa*-*-elf*): Set tmake_file.
8262         (xtensa*-*-linux*): Likewise.
8263         * configure.ac: Include ../config/unwind_ipinfo.m4.
8264         Call GCC_CHECK_UNWIND_GETIPINFO.
8265         Link unwind.h to $unwind_header.
8266         * configure: Regenerate.
8267         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8268         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8269         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8270         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8271         * config/unwind-dw2-fde-darwin.c: New file.
8272         * config/arm/libunwind.S, config/arm/pr-support.c,
8273         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8274         config/arm/unwind-arm.h,: New files.
8275         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8276         config/ia64/t-eh-ia64, config/ia64/t-glibc,
8277         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8278         config/ia64/t-vms, config/ia64/unwind-ia64.c,
8279         config/ia64/unwind-ia64.h: New files.
8280         * config/picochip/t-picochip: New file.
8281         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8282         files.
8283         * config/rs6000/t-darwin (LIB2ADDEH): Set.
8284         * config/s390/t-tpf (LIB2ADDEH): Remove.
8285         * config/t-darwin (LIB2ADDEH): Set.
8286         * config/t-eh-dw2-dip: New file.
8287         * config/t-libunwind, config/t-libunwind-elf: New files.
8288         * config/t-sol2 (LIB2ADDEH): Remove.
8289         * config/xtensa/t-xtensa: New file.
8291 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
8293         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8294         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8295         long long to check rt_sigreturn syscall.
8297 2011-08-02  Alan Modra  <amodra@gmail.com>
8299         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8300         Restore for indirect call bcrtl from correct stack slot, and only
8301         if cfa+40 isn't valid.
8303 2011-08-01  Julian Brown  <julian@codesourcery.com>
8305         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8306         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8307         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8309 2011-08-01  Julian Brown  <julian@codesourcery.com>
8311         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8312         (libgcc-std.ver.in): Use above.
8313         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8314         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
8315         throughout file.
8316         * config/t-fixedpoint-gnu-prefix: New file.
8317         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8318         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8319         instead of __PFX__.
8321 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8323         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8324         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8325         for x86-64.  Properly check __x86_64__ and __LP64__.
8327 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8329         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8330         version.
8331         (_FP_WS_TYPE): Likewise.
8332         (_FP_I_TYPE): Likewise.
8334 2011-07-28  Alan Modra  <amodra@gmail.com>
8336         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8337         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8338         in a plt call stub.  Do restore r2 if stopped on bctrl.
8340 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8342         * config.host (i[3456x]86-*-netware*): Remove.
8343         * config/i386/netware-crt0.c, config/i386/t-nwld,
8344         config/i386/t-slibgcc-nwld: Remove.
8346 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
8348         * config.host: Handle tic6x-*-*.
8349         * config/c6x/c6x-abi.h: New file.
8351 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8353         * config/i386/crtprec.c: New file.
8354         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8355         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8356         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8357         (x86_64-*-darwin*): Likewise.
8358         (i[34567]86-*-solaris2*: Likewise.
8360 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8362         * config/alpha/crtfastmath.c: New file.
8363         * config/i386/crtfastmath.c: New file.
8364         * config/ia64/crtfastmath.c: New file.
8365         * config/mips/crtfastmath.c: New file.
8366         * config/sparc/crtfastmath.c: New file.
8368         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8369         crtfastmath.c.
8370         Add -frandom-seed=gcc-crtfastmath.
8371         * config/alpha/t-crtfm: Remove.
8372         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8373         * config/ia64/t-ia64 (crtfastmath.o): Remove.
8375         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8376         (alpha*-dec-osf5.1*): Likewise.
8377         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8378         Add crtfastmath.o to extra_parts.
8379         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8380         Add crtfastmath.o to extra_parts.
8381         (x86_64-*-darwin*): Likewise.
8382         (x86_64-*-mingw*): Likewise.
8383         (ia64*-*-elf*): Add t-crtfm to tmake_file.
8384         (ia64*-*-freebsd*): Likewise.
8385         (ia64*-*-linux*): Likewise.
8386         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8387         Add crtfastmath.o to extra_parts.
8389 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8391         * config/darwin-crt3.o: New file.
8392         * config/rs6000/darwin-crt2.c: New file.
8393         * config/t-darwin: New file.
8394         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8395         (crt2.o): New rule.
8396         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8397         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8398         (powerpc64-*-darwin*): Likewise.
8400 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8402         * config/i386/netware-crt0.c: New file.
8403         * config/i386/t-nwld: Rename to ...
8404         * config/i386/t-slibgcc-nwld: ... this.
8405         * config/i386/t-nwld: New file.
8406         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8407         tmake_file.
8408         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8409         extra_parts.
8411 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8413         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8414         i386/t-crtstuff.
8415         * configure: Regenerate.
8417 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8419         * dfp-bit.c, dfp-bit.h: New files.
8420         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8421         variables.
8422         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8423         ($(d64pbit-o)): Likewise.
8424         ($(d128pbit-o)): Likewise.
8425         * config/t-dfprules: New file.
8426         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8427         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8428         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8429         (x86_64-*-linux*): Likewise.
8430         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8431         (i[34567]86-*-cygwin*): Likewise.
8432         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8433         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8435 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8437         * Makfile.in (LIBGCOV): New variable.
8438         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8439         * libgcov.c: New file.
8441 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8443         * fixed-bit.c, fixed-bit.h: New files.
8444         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8445         refer to fixed-bit.c.
8447 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8449         * config.host (*local*): Remove.
8451 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8453         PR target/39150
8454         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8455         like i?86-*-solaris2.1[0-9]*.
8456         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8457         * configure.ac (i?86-*-solaris2*): Likewise.
8458         * configure: Regenerate.
8460 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8462         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8463         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8464         md_unwind_header by splitting out of...
8465         (i[34567]86-*-linux*): ... this.
8466         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8467         Remove md_unwind_header by splitting out of...
8468         (x86_64-*-linux*): ... this.
8470 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8472         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8474 2011-06-28  Nick Clifton  <nickc@redhat.com>
8476         * config.host: Recognize all V850 variants.
8478 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8480         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8482 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8484         * shared-object.mk (c_flags-$o): Save c_flags.
8485         ($(base)$(objext)): Use it.
8486         ($(base)_s$(objext)): Likewise.
8488 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8490         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8491         * libgcc-std.ver.in (GCC_4.7.0): New section.
8493 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8495         PR target/49313
8496         PR target/29524
8497         * config/avr/t-avr: Fix line endings.
8498         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8499         _parityXX2.
8501 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8502             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8504         * config/mips/irix6-unwind.h: New file.
8505         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8507 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8509         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8510         (sparc64_fallback_frame_state): Use it.
8511         (sparc64_frob_update_context): Further adjust context.
8512         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8513         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8514         * config/sparc/sol2-cn.S: Likewise.
8516 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8518         * enable-execute-stack-empty.c: New file.
8519         * enable-execute-stack-mprotect.c: New file.
8520         * config/i386/enable-execute-stack-mingw32.c: New file.
8521         * config.host (enable_execute_stack): New variable.
8522         Select appropriate variants.
8523         * configure.ac: Link enable-execute-stack.c to
8524         $enable_execute_stack.
8525         * configure: Regenerate.
8526         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8527         (lib2funcs): Remove _enable_execute_stack.
8529 2011-06-09  David S. Miller  <davem@davemloft.net>
8530             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8532         * config.host (sparc-*-linux*): Correct md_unwind_header
8533         filename.
8534         (s390x-ibm-tpf*): Fix typo.
8536 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8538         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8539         Add crtfastmath.o to extra_parts.
8540         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8541         mips/t-crtfm.
8542         * config/mips/t-crtfm: Remove.
8544 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8546         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8548 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8550         * config.host (sh*-*-linux*): Fix typo.
8552 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8554         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8555         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8556         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8557         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8558         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8559         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8560         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8561         Wrap in !__MINGW64__.
8562         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8563         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8564         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8565         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8566         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8567         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8568         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8569         Wrap in !__LP64__.
8570         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8571         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8572         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8573         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8574         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8575         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8576         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8577         * config/no-unwind.h: New file.
8578         * config.host (md_unwind_header): Document.
8579         Define.
8580         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8581         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8582         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8583         hppa[12]*-*-hpux11*): Set md_unwind_header.
8584         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8585         Set md_unwind_header.
8586         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8587         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8588         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8589         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8590         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8591         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8592         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8593         md_unwind_header.
8594         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8595         * configure: Regenerate.
8597 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8599         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8600         Set tmake_file, extra_parts.
8601         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8602         Remove O32 support.
8603         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8604         Remove O32 support.
8605         * config/mips/t-irix6: New file.
8606         * config/mips/t-slibgcc-irix: New file.
8608 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8610         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8611         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8613 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8615         * configure.ac (target_thread_file): Determine thread model.
8616         * configure: Regenerate.
8617         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8618         * config/alpha/t-alpha: New file.
8619         * config/alpha/t-crtfm: Use $<.
8620         * config/alpha/t-ieee: New file.
8621         * config/alpha/t-osf-pthread: New file.
8622         * config/alpha/t-slibgcc-osf: New file.
8623         * config/alpha/libgcc-osf5.ver: New file.
8625 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8627         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8628         tmake_file.
8629         Add crtfastmath.o to extra_parts.
8631 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8633         * config/gmon-sol2.c: Reindent.
8634         Cleanup comments.
8635         Remove, correct casts.
8636         Use STDERR_FILENO, NULL.
8637         (BASEADDRESS): Remove.
8638         (minbrk): Remove.
8639         (errno, sbrk): Remove declarations.
8640         (monstartup) [hp300]: Remove.
8641         (mcount): Remove.
8643 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8645         * Makefile.in (cpu_type): Define.
8646         * config.host (i[34567]86-*-rtems*): Handle it.
8647         (i[34567]86-*-solaris2*): Move body ...
8648         (*-*-solaris2*): ... here.
8649         New case, generalize.
8650         (sparc-*-elf*): Handle it.
8651         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8652         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8653         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8654         Fold into ...
8655         (sparc*-*-solaris2*): ... this.
8656         New case.
8657         (sparc64-*-elf*): Handle it.
8658         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8659         Merge ../gcc/config/i386/gmon-sol2.c.
8660         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8661         Use C comments.
8662         Merge ../gcc/config/i386/sol2-gc1.asm.
8663         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8664         Use C comments.
8665         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8666         Use C comments.
8667         * config/i386/t-crtfm (crtfastmath.o): Use $<.
8668         * config/i386/t-crtstuff: New file.
8669         * config/i386/t-softfp: New file.
8670         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8671         $(T)crti.o, $(T)crtn.o): Remove.
8672         (gcrt1.o): New rule.
8673         (TARGET_LIBGCC2_CFLAGS): Remove.
8674         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8675         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8676         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8677         * config/sparc/t-sol2: New file.
8678         * config/sparc/t-crtfm: Move to ...
8679         * config/t-crtfm: ... this.
8680         Use $(cpu_type), $<.
8681         * config/t-crtin: New file.
8682         * config/sparc/t-softfp: New file.
8683         * config/sparc/t-softmul: New file.
8684         * config/t-rtems: New file.
8685         * config/t-slibgcc: New file.
8686         * config/t-slibgcc-elf-ver: New file.
8687         * config/t-slibgcc-gld: New file.
8688         * config/t-slibgcc-sld: New file.
8689         * config/t-sol2: New file.
8690         * configure.ac: Include ../config/lib-ld.m4.
8691         Call AC_LIB_PROG_LD_GNU.
8692         Substitute cpu_type.
8693         * configure: Regenerate.
8695 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
8697         PR bootstrap/49173
8698         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8699         libgcc-std.ver in the build directory.
8700         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8701         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8703 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
8705         * libgcc-std.ver.in: New file.
8706         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8707         variables.
8708         (libgcc-std.ver): New rule.
8709         * config/t-gnu-prefix: New file.
8711 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8713         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8715 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8717         * config/i386/darwin-lib.h: New file.
8719 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8721         * config/arm/symbian-lib.h: New.
8723 2011-05-04  Chris Demetriou  <cgd@google.com>
8725         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8726         (__x86.get_pc_thunk.bx): ...this.
8727         (__morestack): Adjust for rename, remove undef of __i686.
8729 2011-05-03  Chris Demetriou  <cgd@google.com>
8731         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8733 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
8735         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8736         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8737         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8738         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8739         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8740         Remove cases.
8742 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
8744         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8745         Adjust copyright year.
8747 2011-03-07  Ian Lance Taylor  <iant@google.com>
8749         * generic-morestack.c (__splitstack_find): Adjust returned stack
8750         pointer to include all registers pushed by __morestack.
8752 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
8754         PR target/40125
8755         * configure.ac: Call ACX_NONCANONICAL_TARGET.
8756         (toolexecdir): Calculate and AC_SUBST.
8757         (toolexeclibdir): Likewise.
8758         * Makefile.in (target_noncanonical): Import.
8759         (toolexecdir): Likewise.
8760         (toolexeclibdir): Likewise.
8761         * configure: Regenerate.
8763 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
8765         PR target/46040
8766         * config/arm/bpabi.h: Rename to...
8767         * config/arm/bpabi-lib.h: ...this.
8769 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8771         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8772         appropriate.
8773         * configure: Regenerate.
8775 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8777         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8778         __FLOAT_WORD_ORDER__.
8779         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8780         Delete.
8782 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8784         PR other/46202
8785         * Makefile.in (install-strip): New phony target.
8787 2010-11-07  Ian Lance Taylor  <iant@google.com>
8789         PR target/46089
8790         * config/i386/morestack.S (__morestack_large_model): New
8791         function.
8793 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8795         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8796         Delete.
8797         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8799 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8801         * config/arm/bpabi.h: New file.
8802         * config/frv/frv-abi.h: New file.
8804 2010-10-01  Ian Lance Taylor  <iant@google.com>
8806         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8807         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8809 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8811         PR target/45858
8812         * config.host: Add the missing `$'.
8814 2010-09-30  Michael Eager  <eager@eagercon.com>
8816         * config.host: Add microblaze*-*-*.
8817         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8818         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8819         udivsi3.asm,umodsi3.asm}:  New.
8821 2010-09-28  Ian Lance Taylor  <iant@google.com>
8823         * configure.ac: Adjust CFI test to test assembler directly rather
8824         than checking gcc preprocessor macro.
8825         * configure: Rebuild.
8827 2010-09-27  Ian Lance Taylor  <iant@google.com>
8829         * configure.ac: Test whether assembler supports CFI directives.
8830         * config.host: Only add t-stack and i386/t-stack-i386 to
8831         tmake_file if libgcc_cv_cfi is "yes".
8832         * configure: Rebuild.
8834 2010-09-27  Ian Lance Taylor  <iant@google.com>
8836         * generic-morestack.h: New file.
8837         * generic-morestack.c: New file.
8838         * generic-morestack-thread.c: New file.
8839         * config/i386/morestack.S: New file.
8840         * config/t-stack: New file.
8841         * config/i386/t-stack-i386: New file.
8842         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8843         i386/t-stack-i386 to tmake_file.
8845 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8847         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8848         invoke ranlib after installing them.
8849         (gcc-extra-parts): Likewise.
8850         (install-leaf): Likewise.
8852 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8854         * configure: Regenerated.
8856 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8858         * configure: Regenerated.
8860 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8861             Andrew Pinski  <pinskia@gmail.com>
8863         PR target/40959
8864         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8866 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8868         PR target/45524
8869         * configure: Regenerated.
8871 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8873         * configure: Regenerate.
8875 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8877         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8878         64bit targets.
8879         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8880         for 64bit targets.
8882 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8883             Iain Sandoe  <iains@gcc.gnu.org>
8885         PR target/45476
8886         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8887         LIB2FUNCS_EXCLUDE functions.
8889 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8891         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8892         Include dfp.m4.
8893         * configure: Regenerate.
8895 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8897         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8898         i386/t-freebsd to tmake_file.
8899         * config/i386/t-freebsd: New file.
8900         * config/i386/libgcc-bsd.ver: New file.
8902 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8904         * config.host (powerpc*-eabispe*): Set tmake_file.
8905         (powerpc*-eabi*): Likewise.
8906         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8907         crtbeginS, crtendS, crtbeginT.
8909 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8911         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8912         to tmake_file.  Add crtfastmath.o to extra_parts.
8913         * config/mips/t-crtfm: New.
8915 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8917         * config.host (sparc64-*-rtems*): New target.
8919 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8921         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8922         assembler syntax.
8924 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8926         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8928 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8930         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8931         alpha-dec-osf5.0* support.
8933 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8935         * config.host: Add lm32-*-rtems*.
8937 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8938             Uros Bizjak  <ubizjak@gmail.com>
8940         PR target/39048
8941         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8942         like other remaining 32-bit x86 OSes.
8943         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8944         assembler syntax.
8945         * config/i386/libgcc-sol2.ver: New file.
8946         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8948 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8950         PR c/43553
8951         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8952         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8953         is used and substitute set_use_emutls.
8954         * configure: Regenerated.
8956 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8958         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8960 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8962         PR target/38085
8963         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8964         MULTILIB_CFLAGS.
8965         ($(T)gcrt1.o): Likewise.
8966         ($(T)crt1.o): Likewise.
8967         ($(T)crti.o): Likewise.
8968         ($(T)crtn.o): Likewise.
8970 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8972         PR other/42980
8973         * Makefile.in (install): Use $(MAKE) string in rule, for
8974         parallel make.
8976 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8978         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8979         * config/mmix/t-mmix: New file.
8980         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8982 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8984         PR java/41991
8985         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8986         SHLIB_MAPFILES.
8988 2010-01-04  Anthony Green  <green@moxielogic.com>
8990         * config/moxie/crti.asm, config/moxie/crtn.asm,
8991         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8992         config/moxie/t-moxie: New files.
8993         * config.host: Add t-moxie-softfp reference.
8995 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8997         PR other/39888
8998         * config/t-slibgcc-darwin: Fix embedded rpaths for
8999         --enable-version-specific-runtime-libs, build extension stub
9000         libs exposing features available from current libgcc_s.
9002 2009-11-11  Jon Beniston  <jon@beniston.com>
9004         * config.host: Add lm32 targets.
9005         * config/lm32: New directory.
9006         * config/lm32/libgcc_lm32.h: New file.
9007         * config/lm32/_mulsi3.c: New file.
9008         * config/lm32/_udivmodsi4.c: New file.
9009         * config/lm32/_divsi3.c: New file.
9010         * config/lm32/_modsi3.c: New file.
9011         * config/lm32/_udivsi3.c: New file.
9012         * config/lm32/_umodsi3.c: New file.
9013         * config/lm32/_lshrsi3.S: New file.
9014         * config/lm32/_ashrsi3.S: New file.
9015         * config/lm32/_ashlsi3.S: New file.
9016         * config/lm32/crti.S: New file.
9017         * config/lm32/crtn.S: New file.
9018         * config/lm32/t-lm32: New file.
9019         * config/lm32/t-elf: New file.
9020         * config/lm32/t-uclinux: New file.
9022 2009-10-26  Nick Clifton  <nickc@redhat.com>
9024         * config.host: Add support for RX target.
9025         * config/rx: New directory.
9026         * config/rx/rx-abi-functions.c: New file. Supplementary
9027         functions for libgcc to support the RX ABI.
9028         * config/rx/rx-abi.h: New file.  Supplementary header file for
9029         libgcc RX ABI functions.
9030         * config/rx/t-rx: New file: Makefile fragment for building
9031         libgcc for the RX.
9033 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
9035         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9036         constraint of y0 to "g".
9038 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9040         * config.host: Include the s390 makefile fragments.
9041         * config/s390/32/_fixdfdi.c: New file.
9042         * config/s390/32/_fixsfdi.c: New file.
9043         * config/s390/32/_fixtfdi.c: New file.
9044         * config/s390/32/_fixunsdfdi.c: New file.
9045         * config/s390/32/_fixunssfdi.c: New file.
9046         * config/s390/32/_fixunstfdi.c: New file.
9047         * config/s390/32/t-floattodi: New file.
9048         * config/s390/libgcc-glibc.ver: New file.
9049         * config/s390/t-crtstuff: New file.
9050         * config/s390/t-linux: New file.
9051         * config/s390/t-tpf: New file.
9053 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9055         * configure.ac (AC_PREREQ): Bump to 2.64.
9057 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
9059         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9061 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9063         * configure: Regenerate.
9065 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
9067         * config.host (ia64-hp-*vms*): New target.
9068         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9069         with ia64-hp-*vms*.
9071 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9073         * configure.ac: Add snippet for maintainer-mode.
9074         * configure: Regenerate.
9075         * Makefile.in (AUTOCONF, configure_deps): New variables.
9076         ($(srcdir)/configure)): New rule, active only with maintainer
9077         mode turned on.
9079 2009-06-23  DJ Delorie  <dj@redhat.com>
9081         Add MeP port.
9082         * config.host: Add mep support.
9084 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
9086         * config.host: Add i386/${host_address}/t-fprules-softfp and
9087         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
9089         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9090         for mingw targets.
9091         * config/i386/64/_multc3.c: Likewise.
9092         * config/i386/64/_powitf2.c: Likewise.
9093         * config/i386/64/eqtf2.c: Likewise.
9094         * config/i386/64/getf2.c: Likewise.
9095         * config/i386/64/letf2.c: Likewise.
9096         * config/i386/64/letf2.c: Likewise.
9097         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9098         unsigned long long for x64 mingw targets.
9099         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9100         (_FP_I_TYPE): Define as long long for x64 mingw target.
9102 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
9104         * config.host (vax-*-linux*): New.
9106 2009-05-31  Anthony Green  <green@moxielogic.com>
9108         * config.host: Add moxie support.
9109         * config/moxie/t-moxie: New file.
9111 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
9113         * config.host: Add i386/${host_address}/t-fprules-softfp and
9114         t-softfp to tmake_file for i[34567]86-*-cygwin*.
9116 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
9118         * config.host: Add i386/${host_address}/t-fprules-softfp to
9119         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9121 2009-04-09  Nick Clifton  <nickc@redhat.com>
9123         * config/ia64/tf-signs.c: Change copyright header to refer to
9124         version 3 of the GNU General Public License with version 3.1
9125         of the GCC Runtime Library Exception and to point readers at
9126         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9127         web page.
9128         * config/i386/32/tf-signs.c: Likewise.
9129         * config/libbid/_addsub_dd.c: Likewise.
9130         * config/libbid/_addsub_sd.c: Likewise.
9131         * config/libbid/_addsub_td.c: Likewise.
9132         * config/libbid/_dd_to_df.c: Likewise.
9133         * config/libbid/_dd_to_di.c: Likewise.
9134         * config/libbid/_dd_to_sd.c: Likewise.
9135         * config/libbid/_dd_to_sf.c: Likewise.
9136         * config/libbid/_dd_to_si.c: Likewise.
9137         * config/libbid/_dd_to_td.c: Likewise.
9138         * config/libbid/_dd_to_tf.c: Likewise.
9139         * config/libbid/_dd_to_udi.c: Likewise.
9140         * config/libbid/_dd_to_usi.c: Likewise.
9141         * config/libbid/_dd_to_xf.c: Likewise.
9142         * config/libbid/_df_to_dd.c: Likewise.
9143         * config/libbid/_df_to_sd.c: Likewise.
9144         * config/libbid/_df_to_td.c: Likewise.
9145         * config/libbid/_di_to_dd.c: Likewise.
9146         * config/libbid/_di_to_sd.c: Likewise.
9147         * config/libbid/_di_to_td.c: Likewise.
9148         * config/libbid/_div_dd.c: Likewise.
9149         * config/libbid/_div_sd.c: Likewise.
9150         * config/libbid/_div_td.c: Likewise.
9151         * config/libbid/_eq_dd.c: Likewise.
9152         * config/libbid/_eq_sd.c: Likewise.
9153         * config/libbid/_eq_td.c: Likewise.
9154         * config/libbid/_ge_dd.c: Likewise.
9155         * config/libbid/_ge_sd.c: Likewise.
9156         * config/libbid/_ge_td.c: Likewise.
9157         * config/libbid/_gt_dd.c: Likewise.
9158         * config/libbid/_gt_sd.c: Likewise.
9159         * config/libbid/_gt_td.c: Likewise.
9160         * config/libbid/_isinfd128.c: Likewise.
9161         * config/libbid/_isinfd32.c: Likewise.
9162         * config/libbid/_isinfd64.c: Likewise.
9163         * config/libbid/_le_dd.c: Likewise.
9164         * config/libbid/_le_sd.c: Likewise.
9165         * config/libbid/_le_td.c: Likewise.
9166         * config/libbid/_lt_dd.c: Likewise.
9167         * config/libbid/_lt_sd.c: Likewise.
9168         * config/libbid/_lt_td.c: Likewise.
9169         * config/libbid/_mul_dd.c: Likewise.
9170         * config/libbid/_mul_sd.c: Likewise.
9171         * config/libbid/_mul_td.c: Likewise.
9172         * config/libbid/_ne_dd.c: Likewise.
9173         * config/libbid/_ne_sd.c: Likewise.
9174         * config/libbid/_ne_td.c: Likewise.
9175         * config/libbid/_sd_to_dd.c: Likewise.
9176         * config/libbid/_sd_to_df.c: Likewise.
9177         * config/libbid/_sd_to_di.c: Likewise.
9178         * config/libbid/_sd_to_sf.c: Likewise.
9179         * config/libbid/_sd_to_si.c: Likewise.
9180         * config/libbid/_sd_to_td.c: Likewise.
9181         * config/libbid/_sd_to_tf.c: Likewise.
9182         * config/libbid/_sd_to_udi.c: Likewise.
9183         * config/libbid/_sd_to_usi.c: Likewise.
9184         * config/libbid/_sd_to_xf.c: Likewise.
9185         * config/libbid/_sf_to_dd.c: Likewise.
9186         * config/libbid/_sf_to_sd.c: Likewise.
9187         * config/libbid/_sf_to_td.c: Likewise.
9188         * config/libbid/_si_to_dd.c: Likewise.
9189         * config/libbid/_si_to_sd.c: Likewise.
9190         * config/libbid/_si_to_td.c: Likewise.
9191         * config/libbid/_td_to_dd.c: Likewise.
9192         * config/libbid/_td_to_df.c: Likewise.
9193         * config/libbid/_td_to_di.c: Likewise.
9194         * config/libbid/_td_to_sd.c: Likewise.
9195         * config/libbid/_td_to_sf.c: Likewise.
9196         * config/libbid/_td_to_si.c: Likewise.
9197         * config/libbid/_td_to_tf.c: Likewise.
9198         * config/libbid/_td_to_udi.c: Likewise.
9199         * config/libbid/_td_to_usi.c: Likewise.
9200         * config/libbid/_td_to_xf.c: Likewise.
9201         * config/libbid/_tf_to_dd.c: Likewise.
9202         * config/libbid/_tf_to_sd.c: Likewise.
9203         * config/libbid/_tf_to_td.c: Likewise.
9204         * config/libbid/_udi_to_dd.c: Likewise.
9205         * config/libbid/_udi_to_sd.c: Likewise.
9206         * config/libbid/_udi_to_td.c: Likewise.
9207         * config/libbid/_unord_dd.c: Likewise.
9208         * config/libbid/_unord_sd.c: Likewise.
9209         * config/libbid/_unord_td.c: Likewise.
9210         * config/libbid/_usi_to_dd.c: Likewise.
9211         * config/libbid/_usi_to_sd.c: Likewise.
9212         * config/libbid/_usi_to_td.c: Likewise.
9213         * config/libbid/_xf_to_dd.c: Likewise.
9214         * config/libbid/_xf_to_sd.c: Likewise.
9215         * config/libbid/_xf_to_td.c: Likewise.
9216         * config/libbid/bid128.c: Likewise.
9217         * config/libbid/bid128_2_str.h: Likewise.
9218         * config/libbid/bid128_2_str_macros.h: Likewise.
9219         * config/libbid/bid128_2_str_tables.c: Likewise.
9220         * config/libbid/bid128_add.c: Likewise.
9221         * config/libbid/bid128_compare.c: Likewise.
9222         * config/libbid/bid128_div.c: Likewise.
9223         * config/libbid/bid128_fma.c: Likewise.
9224         * config/libbid/bid128_logb.c: Likewise.
9225         * config/libbid/bid128_minmax.c: Likewise.
9226         * config/libbid/bid128_mul.c: Likewise.
9227         * config/libbid/bid128_next.c: Likewise.
9228         * config/libbid/bid128_noncomp.c: Likewise.
9229         * config/libbid/bid128_quantize.c: Likewise.
9230         * config/libbid/bid128_rem.c: Likewise.
9231         * config/libbid/bid128_round_integral.c: Likewise.
9232         * config/libbid/bid128_scalb.c: Likewise.
9233         * config/libbid/bid128_sqrt.c: Likewise.
9234         * config/libbid/bid128_string.c: Likewise.
9235         * config/libbid/bid128_to_int16.c: Likewise.
9236         * config/libbid/bid128_to_int32.c: Likewise.
9237         * config/libbid/bid128_to_int64.c: Likewise.
9238         * config/libbid/bid128_to_int8.c: Likewise.
9239         * config/libbid/bid128_to_uint16.c: Likewise.
9240         * config/libbid/bid128_to_uint32.c: Likewise.
9241         * config/libbid/bid128_to_uint64.c: Likewise.
9242         * config/libbid/bid128_to_uint8.c: Likewise.
9243         * config/libbid/bid32_to_bid128.c: Likewise.
9244         * config/libbid/bid32_to_bid64.c: Likewise.
9245         * config/libbid/bid64_add.c: Likewise.
9246         * config/libbid/bid64_compare.c: Likewise.
9247         * config/libbid/bid64_div.c: Likewise.
9248         * config/libbid/bid64_fma.c: Likewise.
9249         * config/libbid/bid64_logb.c: Likewise.
9250         * config/libbid/bid64_minmax.c: Likewise.
9251         * config/libbid/bid64_mul.c: Likewise.
9252         * config/libbid/bid64_next.c: Likewise.
9253         * config/libbid/bid64_noncomp.c: Likewise.
9254         * config/libbid/bid64_quantize.c: Likewise.
9255         * config/libbid/bid64_rem.c: Likewise.
9256         * config/libbid/bid64_round_integral.c: Likewise.
9257         * config/libbid/bid64_scalb.c: Likewise.
9258         * config/libbid/bid64_sqrt.c: Likewise.
9259         * config/libbid/bid64_string.c: Likewise.
9260         * config/libbid/bid64_to_bid128.c: Likewise.
9261         * config/libbid/bid64_to_int16.c: Likewise.
9262         * config/libbid/bid64_to_int32.c: Likewise.
9263         * config/libbid/bid64_to_int64.c: Likewise.
9264         * config/libbid/bid64_to_int8.c: Likewise.
9265         * config/libbid/bid64_to_uint16.c: Likewise.
9266         * config/libbid/bid64_to_uint32.c: Likewise.
9267         * config/libbid/bid64_to_uint64.c: Likewise.
9268         * config/libbid/bid64_to_uint8.c: Likewise.
9269         * config/libbid/bid_b2d.h: Likewise.
9270         * config/libbid/bid_binarydecimal.c: Likewise.
9271         * config/libbid/bid_conf.h: Likewise.
9272         * config/libbid/bid_convert_data.c: Likewise.
9273         * config/libbid/bid_decimal_data.c: Likewise.
9274         * config/libbid/bid_decimal_globals.c: Likewise.
9275         * config/libbid/bid_div_macros.h: Likewise.
9276         * config/libbid/bid_dpd.c: Likewise.
9277         * config/libbid/bid_flag_operations.c: Likewise.
9278         * config/libbid/bid_from_int.c: Likewise.
9279         * config/libbid/bid_functions.h: Likewise.
9280         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9281         * config/libbid/bid_inline_add.h: Likewise.
9282         * config/libbid/bid_internal.h: Likewise.
9283         * config/libbid/bid_round.c: Likewise.
9284         * config/libbid/bid_sqrt_macros.h: Likewise.
9286 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
9288         * Makefile.in: Change copyright header to refer to version
9289         3 of the GNU General Public License and to point readers at the
9290         COPYING3 file and the FSF's license web page.
9291         * config.host: Likewise.
9293 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
9295         * config.host: Reorder and merge to match config.gcc change.
9297 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
9299         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9301 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
9303         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9304         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9305         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9306         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9308 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
9310         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9311         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9313 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
9315         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9316         ia64/t-softfp-compat to tmake_file.
9318         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9320         * config/ia64/__divxf3.asm: New.
9321         * config/ia64/_fixtfdi.asm: Likewise.
9322         * config/ia64/_fixunstfdi.asm: Likewise.
9323         * config/ia64/_floatditf.asm: Likewise.
9324         * config/ia64/t-fprules-softfp: Likewise.
9325         * config/ia64/t-softfp-compat: Likewise.
9326         * config/ia64/tf-signs.c: Likewise.
9328 2009-01-18  Ben Elliston  <bje@au.ibm.com>
9330         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9332 2009-01-16  Ben Elliston  <bje@au.ibm.com>
9334         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9335         to tmake_file.
9337 2009-01-13  Ben Elliston  <bje@au.ibm.com>
9339         * config/t-softfp: New file.
9340         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9341         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9343 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
9345         * config.host: Add m32r*-*-rtems*.
9347 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
9349         * config.host: Add m32c*-*-rtems*.
9351 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9353         PR bootstrap/33100
9354         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9355         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9356         * configure: Regenerate.
9357         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9358         tmake_file here from gcc/config.gcc.
9359         Move extra_parts here from gcc/config.gcc.
9360         * config/i386/t-sol2: Move here from gcc/config/i386.
9361         Use gcc_srcdir instead of srcdir.
9363 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
9365         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9366         case.
9368 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
9370         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9372 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
9374         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9376 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
9378         Add picoChip port.
9379         * config.host: Add picochip-*-*.
9381 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
9383         * config.host: Match more processor names for Xtensa.
9385 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9387         * config/i386/64/t-softfp-compat: Update comments.
9389 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9391         * config/i386/64/_divtc3-compat.c: Moved to ...
9392         * config/i386/64/_divtc3.c: Here.
9394         * config/i386/64/_multc3-compat.c: Moved to ...
9395         * config/i386/64/_multc3.c: Here.
9397         * config/i386/64/_powitf2-compat.c: Moved to ...
9398         * config/i386/64/_powitf2.c: Here.
9400         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9401         .c suffix instead of -compat.c.
9403 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9405         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9406         (_FP_MUL_MEAT_D): Ditto.
9407         (_FP_DIV_MEAT_S): Ditto.
9408         (_FP_DIV_MEAT_D): Ditto.
9410 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9412         * Makefile.in: Add support for __sync_* libgcc functions.
9414 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9416         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9418 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9420         PR boostrap/36702
9421         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9422         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9424         * config/i386/64/t-fprules-softfp: Moved to ...
9425         * config/i386/64/t-softfp-compat: This.  New.
9427 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9429         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9430         Initialize f with 0.0.
9432 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9434         PR target/36669
9435         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9437         * config/i386/64/_divtc3-compat.c: New.
9438         * config/i386/64/_multc3-compat.c: Likewise.
9439         * config/i386/64/_powitf2-compat.c: Likewise.
9440         * config/i386/64/eqtf2.c: Likewise.
9441         * config/i386/64/getf2.c: Likewise.
9442         * config/i386/64/letf2.c: Likewise.
9443         * config/i386/64/t-fprules-softfp: Likewise.
9445 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9447         * config.host: Add i386/${host_address}/t-fprules-softfp to
9448         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9449         i[34567]86-*-linux*, x86_64-*-linux*.
9451         * configure.ac: Set host_address to 64 or 32 for x86.
9452         * configure: Regenerated.
9454         * Makefile.in (config.status): Also depend on
9455         $(srcdir)/config.host.
9457         * config/i386/32/t-fprules-softfp: New.
9458         * config/i386/32/tf-signs.c: Likewise.
9460         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9462 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9463             Uros Bizjak  <ubizjak@gmail.com>
9465         * config/i386/32/sfp-machine.h: New.
9467 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9469         * config/rs6000/t-ppccomm: Remove rules that conflict with
9470         auto-generated rules.
9472 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9474         * configure.ac: sinclude override.m4.
9475         * configure: Regenerate.
9477 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9479         * configure: Regenerate.
9481 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9483         * Makefile.in (DECNUMINC): Remove
9484         -I$(MULTIBUILDTOP)../../libdecnumber.
9485         * gstdint.h: New.
9487 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9489         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9490         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9491         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9492         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9493         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9494         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9495         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9496         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9497         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9498         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9499         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9500         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9501         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9502         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9504 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9506         * config.host (sh2[lbe]*-*-linux*): Allow target.
9508 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9510         * config/rs6000/t-ppccomm: Add build rules for new files.
9511         (LIB2ADD_ST): New variable.
9513 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9515         PR target/34210
9516         PR target/35508
9517         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9518         * config/t-avr: New file. Build 16bit libgcc functions.
9520 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
9522         PR target/35401
9523         * config/t-slibgcc-darwin: Make install-leaf dependent on
9524         install-darwin-libgcc-stubs instead of install.
9526 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9528         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9529         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9530         sh-*-rtemscoff*): Remove cases.
9532 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
9534         * Makefile.in (all): Use install-leaf rather than install.
9535         (install): Split most of the rule into...
9536         (install-leaf): ...this new one.
9538 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
9539             Paolo Bonzini  <bonzini@gnu.org>
9541         PR target/30572
9542         * Makefile.in: Use @shlib_slibdir@ substitution to get
9543         correct install name on darwin.
9544         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9546 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
9548         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9549         cris-*-elf and cris-*-none.
9550         (crisv32-*-linux*): Similar, as cris-*-linux*.
9552 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
9554         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9556 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
9558         PR regression/33926
9559         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9560         * configure: Regenerated.
9562 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9564         * Makefile.in (dfp-filenames): Replace decimal_globals,
9565         decimal_data, binarydecimal and convert_data with
9566         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9567         and bid_convert_data, respectively.
9569 2007-09-17  Chao-ying Fu  <fu@mips.com>
9570             Nigel Stephens  <nigel@mips.com>
9572         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9573         * Makefile.in (fixed_point): Define.
9574         Check if fixed_point is yes to build support functions.
9575         * configure.ac: Check for fixed_point support.
9576         * configure: Regenerated.
9577         * gen-fixed.sh: New file to generate lists of fixed-point labels,
9578         funcs, modes, from, to.
9580 2007-09-11  Janis Johnson  <janis187@us.ibm.com
9582         * Makefile.in (dfp-filenames): Add bid128_noncomp.
9584 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
9586         * Makefile.in (dfp-filenames): Remove decUtility, add
9587         decDouble, decPacked, decQuad, decSingle.
9589 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
9591         * config.host : Add x86_64-elf target.
9593 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9595         * configure.ac (set_have_cc_tls): Add a missing =.
9596         * configure: Regenerated.
9598 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9600         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9601         and x86_64-*-linux*.
9603         * config/t-tls: New file.
9605         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9607         * configure.ac: Include ../config/enable.m4 and
9608         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
9609         supports TLS and substitute set_have_cc_tls.
9610         * configure: Regenerated.
9612 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9614         * Makefile.in: Use libbid for DFP when BID is enabled.
9616 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
9618         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9619         extra_parts. Add config/i386/t-cygming to tmake_file.
9620         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9622 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
9623             Danny Smith  <dannysmith@users.sourceforge.net>
9625         PR target/29498
9626         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9627         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
9628         * config/i386/t-crtfm: Compile crtfastmath.o with
9629         -minline-all-stringops.
9631 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
9633         * config.host (sparc-wrs-vxworks): New target.
9635 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
9637         * config.host: Recognize fido.
9639 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
9641         * configure: Check host, not target, for decimal float support.
9643 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
9645         * config/i386/t-crtpc: New file.
9646         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9647         (x86_64-*-linux*): Ditto.
9649 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
9651         * config.host (x86_64-*-mingw*): New target.
9653 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
9654             H.J. Lu  <hongjiu.lu@intel.com>
9656         * Makefile.in (enable_decimal_float): New.
9657         (DECNUMINC): Add
9658         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9659         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9660         (decbits-filenames): This.
9661         (decbits-objects): New.
9662         (libgcc-objects): Add $(decbits-objects).
9664         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9665         Substitute enable_decimal_float.
9666         * configure: Regenerated.
9668 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
9670         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9672 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
9674         * Makefile.in (install-info): New dummy target.
9676 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
9678         * config.host (bfin*-linux-uclibc*): Set extra_parts.
9680 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
9682         * Makefile.in: Add install-html and install-pdf dummy
9683         targets.
9685 2007-02-05  Roger Sayle  <roger@eyesopen.com>
9686             Daniel Jacobowitz  <dan@codesourcery.com>
9688         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9689         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9690         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9692 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
9694         * Makefile.in (dec-filenames): Add decExcept.
9696 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
9698         PR bootstrap/30469
9699         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9700         -fprofile-use.
9702 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
9704         * configure.ac: Add --enable-version-specific-runtime-libs.
9705         Correct $slibdir default.
9706         * configure: Regenerated.
9708 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
9710         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9712 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
9714         PR target/30519
9715         * config.host (alpha*-*-linux*): Set extra_parts.
9717 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
9719         * config/sh/t-linux: New.
9720         * config.host (sh*-*-linux*): Set tmake_file.
9722 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
9724         * Makefile.in (install): Handle multilibs.
9726 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9728         * Makefile.in: Added .PHONY entry for documentation targets.
9730 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9732         * Makefile.in: Add empty info, html, dvi, pdf targets.
9734 2007-01-04  Mike Stump  <mrs@apple.com>
9736         * Makefile.in (MAKEINFO): Remove.
9737         (PERL): Likewise.
9739 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
9741         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9742         * configure: Regenerate.
9743         * Makefile.in (host_subdir): Substitute it.
9744         (gcc_objdir): Use it.
9746 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9748         * config.host (ia64*-*-linux*): Set tmake_file.
9750 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9752         * Makefile.in (version): Define.
9754 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
9755             Paolo Bonzini  <bonzini@gnu.org>
9757         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9758         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9759         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9760         config/sparc/t-crtfm, config/t-slibgcc-darwin,
9761         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9762         shared-object.mk, siditi-object.mk, static-object.mk: New files.
9763         * configure: Generated.
9765 Copyright (C) 2007-2019 Free Software Foundation, Inc.
9767 Copying and distribution of this file, with or without modification,
9768 are permitted in any medium without royalty provided the copyright
9769 notice and this notice are preserved.