[ARC] Remove non standard funcions calls.
[official-gcc.git] / libgcc / ChangeLog
blobd3edd5c5402624b55f2dc700855a9db2c41608a8
1 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
3         * config/arc/lib1funcs.S (_muldi3): New function.
4         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
6 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
10 2018-10-25  Martin Liska  <mliska@suse.cz>
12         PR other/87735
13         * libgcov-profiler.c: Revert.
15 2018-10-24  Martin Liska  <mliska@suse.cz>
17         * libgcov-profiler.c: Start from 1 in order to distinguish
18         functions which were seen and these that were not.
20 2018-10-18  Paul Koning  <ni1d@arrl.net>
22         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
23         standard.
24         * divmod.c: Update references to __udivmodsi4.
25         * udivmod.c: Ditto.
26         * udivhi3.c: New file.
27         * udivmodhi4.c: New file.
28         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
30 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
34 2018-10-12  Olivier Hainque  <hainque@adacore.com>
36         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
37         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
39 2018-10-08  Paul Koning  <ni1d@arrl.net>
41         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
43 2018-10-04  Martin Liska  <mliska@suse.cz>
45         PR gcov-profile/84107
46         * libgcov-profiler.c (__gcov_indirect_call):
47         Change type to indirect_call_tuple.
48         (struct indirect_call_tuple): New struct.
49         (__gcov_indirect_call_topn_profiler): Change type.
50         (__gcov_indirect_call_profiler_v2): Use the new
51         variables.
52         * libgcov.h (struct indirect_call_tuple): New struct
53         definition.
55 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
57         * libgcc2.c (isnan): Use __builtin_isnan.
58         (isfinite): Use __builtin_isfinite.
59         (isinf): Use __builtin_isinf.
61 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
63         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
65 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
67         * config/vxcache.c: New file.  Provide __clear_cache, based on
68         the cacheTextUpdate VxWorks service.
69         * config/t-vxworks (LIB2ADD): Add vxcache.c.
70         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
71         * config/t-vxwoks7: Likewise.
73 2018-09-21  Martin Liska  <mliska@suse.cz>
75         * libgcov-driver.c (crc32_unsigned): Remove.
76         (gcov_histogram_insert): Likewise.
77         (gcov_compute_histogram): Likewise.
78         (compute_summary): Simplify rapidly.
79         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
80         (merge_summary): Rapidly simplify.
81         (dump_one_gcov): Ignore gcov_summary.
82         (gcov_do_dump): Do not handle program summary, it's not
83         used.
84         * libgcov-util.c (tag_summary): Remove.
85         (read_gcda_finalize): Fix coding style.
86         (read_gcda_file): Initialize curr_object_summary.
87         (compute_summary): Remove.
88         (calculate_overlap): Remove settings of run_max.
90 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
92         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
93         ucontext_t type instead.
94         (nds32_fallback_frame_state): Remove struct _sigframe statement.
96 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
98         * config/nds32/t-nds32-glibc: New file.
100 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
102         * configure.ac (solaris_ld_v2_maps): New test.
103         * configure: Regenerate.
104         * Makefile.in (solaris_ld_v2_maps): New variable.
105         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
106         if supported.
108 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
110         PR target/86951
111         * config/arm/lib1funcs.asm (speculation_barrier): New function.
112         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
113         to build.
115 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
117         * config/unwind-dw2-fde-darwin.c 
118         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
119         * config/darwin10-unwind-find-enc-func.c: … to here.
120         * config/t-darwin: Build Darwin10 unwinder shim crt.
121         * libgcc/config.host: Add the Darwin10 unwinder shim.
123 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
125         * config.host: Add crtbegin.o and crtend.o for
126         powerpc-wrs-vxworks target.
128 2018-08-17  Jojo  <jijie_rong@c-sky.com>
129             Huibin Wang  <huibin_wang@c-sky.com>
130             Sandra Loosemore  <sandra@codesourcery.com>
131             Chung-Lin Tang  <cltang@codesourcery.com>
133         C-SKY port: libgcc
135         * config.host: Add C-SKY support.
136         * config/csky/*: New.
138 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
140         * config/nds32/t-nds32-isr: Rearrange object dependency.
141         * config/nds32/initfini.c: Add dwarf2 unwinding support.
142         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
143         and registers usage.
144         * config/nds32/isr-library/excp_isr.S: Ditto.
145         * config/nds32/isr-library/intr_isr.S: Ditto.
146         * config/nds32/isr-library/reset.S: Ditto.
147         * config/nds32/isr-library/restore_all.inc: Ditto.
148         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
149         * config/nds32/isr-library/restore_partial.inc: Ditto.
150         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
151         * config/nds32/isr-library/save_all.inc: Ditto.
152         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
153         * config/nds32/isr-library/save_partial.inc: Ditto.
154         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
155         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
157 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
159         * config/pa/linux-atomic.c: Update comment.
160         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
161         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
162         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
163         __ATOMIC_RELAXED for atomic loads.
164         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
165         unordered store to release lock.
166         (__sync_lock_release_8): Likewise.
167         (SYNC_LOCK_RELEASE_2): Remove define.
169 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
171         PR libgcc/86512
172         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
173         exponent goes negative. Update my email address.
174         * config/arm/ieee754-sf.S: Likewise.
176 2018-08-01  Martin Liska  <mliska@suse.cz>
178         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
179         check that  __gcov_indirect_call_callee is non-null.
181 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
183         * config/arm/ieee754-df.S: Fix comment for code working on
184         architectures >= 4.
185         * config/arm/ieee754-sf.S: Likewise.
187 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
189         PR libgcc/85334
190         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
191         Removed.
193 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
195         * configure: Regenerated.
197 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
199         * Makefile.in (install_leaf): Use enable_gcov instead of
200         enable_libgcov.
202 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
204         * configure.ac: Add --disable-gcov option.
205         * configure: Regenerate.
206         * Makefile.in: Honour @enable_gcov@.
208 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
210         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
211         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
212         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
213         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
214         __ARM_ARCH__.
215         * config/arm/ieee754-sf.S: Likewise.
216         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
218 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
220         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
221         longer supported.
222         * config/arm/ieee754-sf.S: Likewise.
224 2018-06-20  Than McIntosh  <thanm@google.com>
226         PR libgcc/86213
227         * generic-morestack.c (allocate_segment): Move calls to getenv and
228         getpagesize to __morestack_load_mmap.
229         (__morestack_load_mmap) Initialize static_pagesize and
230         use_guard_page here so as to avoid clobbering SSE regs during a
231         __morestack call.
233 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
235         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
236         support modules with -mno-gnu-attribute.
237         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
239 2018-06-07  Olivier Hainque  <hainque@adacore.com>
241         * config/t-vxworks (LIBGCC_INCLUDES): Add
242         -I$(MULTIBUILDTOP)../../gcc/include.
243         * config/t-vxworks7: Likewise. Reformat a bit to match
244         the t-vxworks layout.
246 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
248         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
250 2018-06-07  Martin Liska  <mliska@suse.cz>
252         * libgcov-driver.c: Rename cs_all to all and assign it from
253         all_prg.
255 2018-06-07  Martin Liska  <mliska@suse.cz>
257         PR bootstrap/86057
258         * libgcov-driver-system.c (replace_filename_variables): Use
259         memcpy instead of mempcpy.
260         (allocate_filename_struct): Do not allocate filename, allocate
261         prefix and set it.
262         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
263         here and properly copy content into it.
264         * libgcov-driver.c (struct gcov_filename): Remove max_length
265         field, change prefix from size_t into char *.
266         (compute_summary): Do not calculate longest filename.
267         (gcov_do_dump): Release memory of gf.filename after each file.
268         * libgcov-util.c (compute_summary): Use new signature of
269         compute_summary.
270         (calculate_overlap): Likewise.
272 2018-06-05  Martin Liska  <mliska@suse.cz>
274         PR gcov-profile/47618
275         * libgcov-driver-system.c (replace_filename_variables): New
276         function.
277         (gcov_exit_open_gcda_file): Use it.
279 2018-06-05  Martin Liska  <mliska@suse.cz>
281         * libgcov-driver.c (gcov_compute_histogram): Remove usage
282         of gcov_ctr_summary.
283         (compute_summary): Do it just for a single summary.
284         (merge_one_data): Likewise.
285         (merge_summary): Simplify as we read just single summary.
286         (dump_one_gcov): Pass proper argument.
287         * libgcov-util.c (compute_one_gcov): Simplify as we have just
288         single summary.
289         (gcov_info_count_all_cold): Likewise.
290         (calculate_overlap): Likewise.
292 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
293             Monk Chiang  <sh.chiang04@gmail.com>
295         * config.host (nds32*-linux*): New.
296         * config/nds32/linux-atomic.c: New file.
297         * config/nds32/linux-unwind.h: New file.
299 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
301         PR target/85591
302         * config/i386/cpuinfo.c (get_amd_cpu): Return
303         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
305 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
307         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
309 2018-05-29  Martin Liska  <mliska@suse.cz>
311         PR gcov-profile/85759
312         * libgcov-driver-system.c (gcov_error): Introduce usage of
313         GCOV_EXIT_AT_ERROR env. variable.
314         * libgcov-driver.c (merge_one_data): Print error that we
315         overwrite a gcov file with a different timestamp.
317 2018-05-23  Kalamatee  <kalamatee@gmail.com>
319         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
320         path to Lf$finfty.
322 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
323             Monk Chiang  <sh.chiang04@gmail.com>
324             Jim Wilson <jimw@sifive.com>
326         * config/riscv/save-restore.S: Add support for rv32e.
328 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
330         * config/arm/libunwind.S: Update comment relating to armv5.
332 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
334         * config/arm/cmse.c (cmse_check_address_range): Replace
335         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
337 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
339         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
340         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
342 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
344         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
345         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
347 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
349         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
351 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
352             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
354         PR libgcc/84292
355         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
356         op_and_fetch to return the right result.
358 2018-04-27  Alan Modra  <amodra@gmail.com>
360         PR libgcc/85532
361         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
362         -fno-asynchronous-unwind-tables.
364 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
366         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
367         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
369 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
371         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
372         when including "config/i386/shadow-stack-unwind.h".
374 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
376         * configure: Regenerated.
378 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
380         PR target/85456
381         * config/rs6000/_powikf2.c: New file.  Add support for the
382         __builtin_powil function when long double is IEEE 128-bit floating
383         point.
384         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
385         __powikf2 support.
386         (__powikf2): Likewise.
387         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
388         (__powikf2_hw): Likewise.
389         (__powikf2): Likewise.
390         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
391         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
392         (_powikf2-hw.c): Likewise.
394 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
396         PR libgcc/85334
397         * unwind-generic.h (_Unwind_Frames_Increment): New.
398         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
399         Likewise.
400         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
401         count with _Unwind_Frames_Increment.
402         (_Unwind_ForcedUnwind_Phase2): Likewise.
404 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
406         PR libgcc/85379
407         * config/i386/morestack.S (__stack_split_initialize): Add
408         _CET_ENDBR.
410 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
412         * configure: Regenerated.
414 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
416         PR jit/85384
417         * configure: Regenerate.
419 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
421         PR target/84945
422         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
423         -Wdangling-else warnings.  Mask shift counts to avoid
424         -Wshift-count-negative and -Wshift-count-overflow false positives.
426 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
428         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
430 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
432         PR target/85100
433         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
434         (XSTATE_FP): Likewise.
435         (XSTATE_SSE): Likewise.
436         (XSTATE_YMM): Likewise.
437         (XSTATE_OPMASK): Likewise.
438         (XSTATE_ZMM): Likewise.
439         (XSTATE_HI_ZMM): Likewise.
440         (XCR_AVX_ENABLED_MASK): Likewise.
441         (XCR_AVX512F_ENABLED_MASK): Likewise.
442         (get_available_features): Enable AVX and AVX512 features only
443         if their states are supported by OSXSAVE.
445 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
447         PR target/85025
448         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
449         Fix a typo, tmp => 255.
451 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
453         PR target/84945
454         * config/i386/cpuinfo.h (__cpu_features2): Declare.
455         * config/i386/cpuinfo.c (__cpu_features2): New variable for
456         ifndef SHARED only.
457         (set_feature): Define.
458         (get_available_features): Use set_feature macro.  Set __cpu_features2
459         to the second word of features ifndef SHARED.
461 2018-03-15  Julia Koval  <julia.koval@intel.com>
463         * config/i386/cpuinfo.c (get_available_features): Add
464         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
465         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
466         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
467         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
468         FEATURE_AVX512BITALG.
470 2018-03-14  Julia Koval  <julia.koval@intel.com>
472         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
473         icelake client and icelake server.
475 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
477         * config/pa/fptr.c (_dl_read_access_allowed): New.
478         (__canonicalize_funcptr_for_compare): Use it.
480 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
482         PR debug/83917
483         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
484         $asm_hidden_op if visibility ("hidden") attribute works.
485         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
486         * config/i386/i386-asm.h: Don't include auto-host.h.
487         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
488         PACKAGE_URL): Don't undefine.
489         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
490         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
491         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
492         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
493         definition instead of hardcoded .hidden.
494         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
495         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
496         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
497         (USE_GAS_CFI_DIRECTIVES): Don't define.
498         * configure: Regenerated.
499         * config.in: Likewise.
501 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
503         PR debug/83917
504         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
505         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
506         inclusion of auto-target.h and auto-host.h.
507         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
508         __GCC_HAVE_DWARF2_CFI_ASM.
509         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
510         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
511         cfi_pop): Define.
512         * config/i386/cygwin.S: Don't include auto-host.h here, just
513         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
514         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
515         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
516         * config/i386/resms64fx.h: Add cfi_* directives.
517         * config/i386/resms64x.h: Likewise.
519 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
521         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
522         .literal_position directive.
523         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
525 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
527         PR target/84148
528         * configure: Regenerate.
530 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
532         PR target/84239
533         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
534         Include cetintrin.h not x86intrin.h.
536 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
538         PR target/84239
539         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
540         Use new _get_ssp and _inc_ssp intrinsics.
542 2018-02-02  Julia Koval  <julia.koval@intel.com>
544         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
546 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
548         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
549         option.
550         (__divsi3): Use RF16 safe registers.
551         (__modsi3): Likewise.
553 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
555         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
556         (__divsf3): Make NaN return value quiet.
557         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
558         (__divdf3): Make NaN return value quiet.
560 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
562         * config/rl78/anddi3.S: New assembly file.
563         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
565 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
567         * config/rl78/umindi3.S: New assembly file.
568         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
570 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
572         * config/rl78/smindi3.S: New assembly file.
573         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
575 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
577         * config/rl78/smaxdi3.S: New assembly file.
578         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
580 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
582         * config/rl78/umaxdi3.S: New assembly file.
583         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
585 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
587         PR lto/83452
588         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
589         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
591 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
593         * config/aarch64/value-unwind.h (aarch64_vg): New function.
594         (DWARF_LAZY_REGISTER_VALUE): Define.
595         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
596         to provide a fallback register value.
598 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
600         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
601         __ibm128, instead of trying to use long double.
602         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
603         accomidate -mabi=ieeelongdouble multilibs.
604         (CVT_IBM128_TO_FLOAT128): Likewise.
605         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
606         the appropriate IBM extended double type.
607         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
608         (__gcc_qsub): Likewise.
609         (__gcc_qmul): Likewise.
610         (__gcc_qdiv): Likewise.
611         (pack_ldouble): Likewise.
612         (__gcc_qneg): Likewise.
613         (__gcc_qeq): Likewise.
614         (__gcc_qne): Likewise.
615         (__gcc_qge): Likewise.
616         (__gcc_qle): Likewise.
617         (__gcc_stoq): Likewise.
618         (__gcc_dtoq): Likewise.
619         (__gcc_itoq): Likewise.
620         (__gcc_utoq): Likewise.
621         (__gcc_qunord): Likewise.
622         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
623         quad-float128.h for the definitions.
624         (COPYSIGN): Use the f128 version instead of the q version.
625         (INFINITY): Likewise.
626         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
627         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
628         quad-float128.h for the definitions.
629         (COPYSIGN): Use the f128 version instead of the q version.
630         (INFINITY): Likewise.
631         (FABS): Likewise.
632         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
633         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
634         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
636 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
638         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
639         configuration.
641 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
643         Update copyright years.
645 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
647         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
648         * config/riscv/multi3.c: New file.
649         * config/riscv/multi3.S: Remove.
651 2017-12-08  Jim Wilson  <jimw@sifive.com>
653         * config/riscv/div.S: Use FUNC_* macros.
654         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
655         * config/riscv/save-restore.S: Likewise.
656         * config/riscv/riscv-asm.h: New.
658 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
660         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
661         * config/rs6000/_divkc3.c (__divkc3): Likewise.
663         PR libgcc/83112
664         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
665         correct type for all ifunc resolvers to silence -Wattribute-alias
666         warnings.  Eliminate the forward declaration of the resolver
667         functions which is no longer needed.
668         (__subkf3_resolve): Likewise.
669         (__mulkf3_resolve): Likewise.
670         (__divkf3_resolve): Likewise.
671         (__negkf2_resolve): Likewise.
672         (__eqkf2_resolve): Likewise.
673         (__nekf2_resolve): Likewise.
674         (__gekf2_resolve): Likewise.
675         (__gtkf2_resolve): Likewise.
676         (__lekf2_resolve): Likewise.
677         (__ltkf2_resolve): Likewise.
678         (__unordkf2_resolve): Likewise.
679         (__extendsfkf2_resolve): Likewise.
680         (__extenddfkf2_resolve): Likewise.
681         (__trunckfsf2_resolve): Likewise.
682         (__trunckfdf2_resolve): Likewise.
683         (__fixkfsi_resolve): Likewise.
684         (__fixkfdi_resolve): Likewise.
685         (__fixunskfsi_resolve): Likewise.
686         (__fixunskfdi_resolve): Likewise.
687         (__floatsikf_resolve): Likewise.
688         (__floatdikf_resolve): Likewise.
689         (__floatunsikf_resolve): Likewise.
690         (__floatundikf_resolve): Likewise.
691         (__extendkftf2_resolve): Likewise.
692         (__trunctfkf2_resolve): Likewise.
694         PR libgcc/83103
695         * config/rs6000/quad-float128.h (TF): Don't define if long double
696         is IEEE 128-bit floating point.
697         (TCtype): Define as either TCmode or KCmode, depending on whether
698         long double is IEEE 128-bit floating point.
699         (__mulkc3_sw): Add declarations for software/hardware versions of
700         complex multiply/divide.
701         (__divkc3_sw): Likewise.
702         (__mulkc3_hw): Likewise.
703         (__divkc3_hw): Likewise.
704         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
705         handlers to switch between using software emulation and hardware
706         float128 instructions, build the complex multiply/divide functions
707         for both software and hardware support.
708         * config/rs6000/_divkc3.c (_divkc3): Likewise.
709         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
710         (__divkc3_resolve): Likewise.
711         (__mulkc3): Likewise.
712         (__divkc3): Likewise.
713         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
714         (fp128_hw_src): Likewise.
715         (fp128_hw_static_obj): Likewise.
716         (fp128_hw_shared_obj): Likewise.
717         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
718         _mulkc3.c and _divkc3.c, changing the function name.
719         (_divkc3-hw.c): Likewise.
720         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
721         and _divkc3-hw.c.
723 2017-11-26  Julia Koval  <julia.koval@intel.com>
725         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
726         * config/i386/cpuinfo.h (processor_subtypes): Add
727         INTEL_COREI7_CANNONLAKE.
729 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
731         PR bootstrap/83015
732         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
733         parameter.
734         * config/xtensa/unwind-dw2-xtensa.c: Likewise
735         * config/ia64/unwind-ia64.c: Add frames parameter.
736         * unwind-sjlj.c: Likewise.
738 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
740         * config/i386/linux-unwind.h: Include
741         config/i386/shadow-stack-unwind.h.
742         * config/i386/shadow-stack-unwind.h: New file.
743         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
744         pass it to _Unwind_Frames_Extra.
745         * unwind-generic.h (_Unwind_Frames_Extra): New.
746         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
747         parameter. Add local variable frames to count number of frames.
748         (_Unwind_ForcedUnwind_Phase2): Likewise.
749         (_Unwind_RaiseException): Add local variable frames to count
750         number of frames, pass it to _Unwind_RaiseException_Phase2 and
751         uw_install_context.
752         (_Unwind_ForcedUnwind): Likewise.
753         (_Unwind_Resume): Likewise.
754         (_Unwind_Resume_or_Rethrow): Likewise.
756 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
758         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
759         (CET_FLAGS): New.
760         * config/i386/morestack.S: Include <cet.h>.
761         (__morestack_large_model): Add _CET_ENDBR at function entrance.
762         * config/i386/resms64.h: Include <cet.h>.
763         * config/i386/resms64f.h: Likewise.
764         * config/i386/resms64fx.h: Likewise.
765         * config/i386/resms64x.h: Likewise.
766         * config/i386/savms64.h: Likewise.
767         * config/i386/savms64f.h: Likewise.
768         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
769         (CRTSTUFF_T_CFLAGS): Likewise.
770         * configure.ac: Include ../config/cet.m4.
771         Set and substitute CET_FLAGS.
772         * configure: Regenerated.
774 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
776         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
777         renaming.
778         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
779         * configure.ac (libgcc_cv_solaris_crts): Likewise.
780         * configure: Regenerate.
782 2017-11-07  Tom de Vries  <tom@codesourcery.com>
784         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
785         after "do {} while (0)".
787 2017-11-07  Tom de Vries  <tom@codesourcery.com>
789         PR other/82784
790         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
791         semicolon after "do {} while (0)".
792         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
793         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
794         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
795         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
797 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
799         PR libgcc/82635
800         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
801         sysctl to determine whether we're in a trampoline.
802         Keep the pattern matching method for systems without
803         KERN_PROC_SIGTRAMP sysctl.
805 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
806             Vineet Gupta <vgupta@synopsys.com>
808         * config.host (arc*-*-linux*): Set md_unwind_header variable.
809         * config/arc/linux-unwind-reg.def: New file.
810         * config/arc/linux-unwind-reg.h: Likewise.
812 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
814         * config/rl78/subdi3.S: New assembly file.
815         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
817 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
819         * config/rl78/adddi3.S: New assembly file.
820         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
822 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
824         PR target/82274
825         * libgcc2.c (__mulvDI3): If both operands have
826         the same highpart of -1 and the topmost bit of lowpart is 0,
827         multiplication overflows even if both lowparts are 0.
829 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
831         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
833 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
835         * config/microblaze/crti.S, config/microblaze/crtn.S,
836         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
837         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
838         config/microblaze/mulsi3.S,
839         config/microblaze/stack_overflow_exit.S,
840         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
841         config/pa/milli64.S: Add .note.GNU-stack section.
843 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
845         * configure.ac: Add Check for HAVE_AS_AVX.
846         * config.in: Regenerate.
847         * configure: Likewise.
848         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
849         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
850         Correct out-of-date comments.
852 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
854         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
855         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
857 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
859         * config/i386/i386-asm.h (PASTE2): New macro.
860         (ASMNAME): Modify to use PASTE2.
861         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
862         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
863         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
864         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
865         * config/i386/resms64f.S: Likewise.
866         * config/i386/resms64fx.S: Likewise.
867         * config/i386/resms64x.S: Likewise.
868         * config/i386/savms64.S: Likewise.
869         * config/i386/savms64f.S: Likewise.
870         * config/i386/avx_resms64.S: New file that only defines a macro and
871         includes it's corresponding header file.
872         * config/i386/avx_resms64f.S: Likewise.
873         * config/i386/avx_resms64fx.S: Likewise.
874         * config/i386/avx_resms64x.S: Likewise.
875         * config/i386/avx_savms64.S: Likewise.
876         * config/i386/avx_savms64f.S: Likewise.
877         * config/i386/sse_resms64.S: Likewise.
878         * config/i386/sse_resms64f.S: Likewise.
879         * config/i386/sse_resms64fx.S: Likewise.
880         * config/i386/sse_resms64x.S: Likewise.
881         * config/i386/sse_savms64.S: Likewise.
882         * config/i386/sse_savms64f.S: Likewise.
883         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
885 2017-09-01  Olivier Hainque  <hainque@adacore.com>
886         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
888 2017-08-31  Olivier Hainque  <hainque@adacore.com>
890         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
891         match as powerpc-wrs-vxworks*.
893 2017-08-07  Jonathan Yong  <10walls@gmail.com>
895         * config.host (*-cygwin): Include file from mingw
896         config/i386/enable-execute-stack-mingw32.c
898 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
899             Doug Rupp  <rupp@adacore.com>
900             Olivier Hainque  <hainque@adacore.com>
902         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
903         as well as arm-wrs-vxworks.
904         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
905         LIB2ADDEH.
906         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
907         __exidx_start and __exidx_end for downloadable modules.
909 2017-08-01  Olivier Hainque  <hainque@adacore.com>
911         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
912         * config/t-vxworks7: Likewise.
914 2017-08-01  Olivier Hainque  <hainque@adacore.com>
916         * config/t-vxworks: Instead of redefining LIB2ADD,
917         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
919 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
921         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
923 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
925         PR testsuite/80759
926         * config.host: include i386/t-msabi for darwin and solaris.
927         * config/i386/i386-asm.h
928         (ELFFN): Rename to FN_TYPE.
929         (FN_SIZE): New macro.
930         (FN_HIDDEN): Likewise.
931         (ASMNAME): Likewise.
932         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
933         .globl.
934         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
935         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
936         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
937         .macro.
938         * config/i386/resms64f.S: Likewise.
939         * config/i386/resms64fx.S: Likewise.
940         * config/i386/resms64x.S: Likewise.
941         * config/i386/savms64.S: Likewise.
942         * config/i386/savms64f.S: Likewise.
944 2017-07-19  John Marino  <gnugcc@marino.st>
946         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
948 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
950         PR target/81193
951         * configure.ac (PowerPC float128 hardware support): Test whether
952         we can use __builtin_cpu_supports before enabling the ifunc
953         handler.
954         * configure: Regenerate.
956 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
958         * config.host: Remove uclibc from arc target spec.
960 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
962         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
964 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
966         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
967         (have_ieee_hw_p): Delete function.
968         (SW_OR_HW) Use __builtin_cpu_supports().
970 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
972         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
974 2017-07-03  Olivier Hainque  <hainque@adacore.com>
976         * config/t-vxworks7: New file, really.
978 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
980         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
981         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
982         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
983         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
984         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
985         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
986         config/pa/linux-unwind.h (pa32_fallback_frame_state),
987         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
988         config/sh/linux-unwind.h (sh_fallback_frame_state),
989         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
990         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
991         ucontext_t instead of struct ucontext.
993 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
995         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
996         (x86_64-wrs-vxworks7): Likewise.
998 2017-06-27  Olivier Hainque  <hainque@adacore.com>
1000         * config/t-vxworks7: New file.
1001         * config.host (*-*-vxworks7): Use it.
1003 2017-06-22  Matt Turner  <mattst88@gmail.com>
1005         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1006         skylake case.
1008 2017-06-21  Richard Biener  <rguenther@suse.de>
1010         PR gcov-profile/81080
1011         * configure.ac: Add AC_SYS_LARGEFILE.
1012         * libgcov.h: Include auto-target.h before tsystem.h to pick
1013         up _FILE_OFFSET_BITS which might differ for multilibs.
1014         * config.in: Regenerate.
1015         * configure: Likewise.
1017 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
1019         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1021 2017-06-09  Martin Liska  <mliska@suse.cz>
1023         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1024         Reset __gcov_indirect_call_callee to NULL.
1026 2017-06-08  Olivier Hainque  <hainque@adacore.com>
1028         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1029         the set of -I options, support for direct inclusions of net/uio.h
1030         by VxWorks header files via ioLib.h.
1032 2017-06-07  Tony Reix  <tony.reix@atos.net>
1033             Matthieu Sarter  <matthieu.sarter.external@atos.net>
1034             David Edelsohn  <dje.gcc@gmail.com>
1036         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1037         unconditionally.
1038         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
1039         AIX 7.2 support.
1041 2017-06-02  Olivier Hainque  <hainque@adacore.com>
1043         * config/vxlib.c (__gthread_once): Add missing value to
1044         return statement.
1046 2017-05-30  Olivier Hainque  <hainque@adacore.com>
1048         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1049         dollar sign before $(MULTIDIR).
1051 2017-05-26  Richard Henderson  <rth@redhat.com>
1053         PR libgcc/80037
1054         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1056 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
1058         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1059         _Unwind_SetIP available as functions for arm*-*-freebsd*.
1060         * config/arm/unwind-arm.c: Implement the above.
1062 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1064         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1065         section for a non-executable stack.
1067 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
1069         PR target/80600
1070         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1072 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
1074         * config.host: Add i386/t-msabi to i386/t-linux file list.
1075         * config/i386/i386-asm.h: New file.
1076         * config/i386/resms64.S: New file.
1077         * config/i386/resms64f.S: New file.
1078         * config/i386/resms64fx.S: New file.
1079         * config/i386/resms64x.S: New file.
1080         * config/i386/savms64.S: New file.
1081         * config/i386/savms64f.S: New file.
1082         * config/i386/t-msabi: New file.
1084 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
1086         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1087         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1089 2017-05-05  Joshua Conner  <joshconner@google.com>
1091         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1092         pc-relative indirect handling for fuchsia.
1093         * config/t-slibgcc-fuchsia: New file.
1094         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1095         x86_64-*-fuchsia*): Add definitions.
1097 2017-04-19  Martin Liska  <mliska@suse.cz>
1099         PR gcov-profile/80435
1100         * Makefile.in: Install gcov.h.
1101         * gcov.h: New file.
1102         * libgcov.h: Use the header and make __gcov_flush publicly
1103         visible.
1105 2017-04-18  Martin Liska  <mliska@suse.cz>
1107         PR gcov-profile/78783
1108         * libgcov-driver.c (gcov_get_filename): New function.
1110 2017-04-07  Jeff Law  <law@redhat.com>
1112         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1113         target makefile fragment.
1114         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1116 2017-04-07  Alan Modra  <amodra@gmail.com>
1118         PR target/45053
1119         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1121 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
1123         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1125 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
1127         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1129 2017-03-10  John Marino  <gnugcc@marino.st>
1131         * config/aarch64/freebsd-unwind.h: New file.
1132         * config.host: Add aarch64-*-freebsd unwinder.
1134 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1136         * config/rs6000/crtrestvr.s: Use .machine altivec.
1137         * config/rs6000/crtsavevr.s: Ditto.
1139 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
1141         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1142         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
1143         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1144         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
1145         * configure: Regenerate.
1146         * config.in: Regenerate.
1148 2017-03-02  Jonathan Yong <10walls@gmail.com>
1150         * config/i386/gthr-win32.h: Define NOGDI before
1151         windows.h include to prevent w32api CC_NONE macro
1152         clash with libgfortran.
1154 2017-03-02  Jonathan Yong <10walls@gmail.com>
1156         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1158 2017-02-16  Andrew Pinski  <apinski@cavium.com>
1160         * config/aarch64/value-unwind.h: New file.
1161         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1162         to tm_file.
1164 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
1166         * config.host: Add RISC-V tuples.
1167         * config/riscv/atomic.c: New file.
1168         * config/riscv/crti.S: Likewise.
1169         * config/riscv/crtn.S: Likewise.
1170         * config/riscv/div.S: Likewise.
1171         * config/riscv/linux-unwind.h: Likewise.
1172         * config/riscv/muldi3.S: Likewise.
1173         * config/riscv/multi3.S: Likewise.
1174         * config/riscv/save-restore.S: Likewise.
1175         * config/riscv/sfp-machine.h: Likewise.
1176         * config/riscv/t-elf: Likewise.
1177         * config/riscv/t-elf32: Likewise.
1178         * config/riscv/t-elf64: Likewise.
1179         * config/riscv/t-softfp32: Likewise.
1180         * config/riscv/t-softfp64: Likewise.
1182 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
1184         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1185         /* FALLTHRU */ comments.
1187 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
1189         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1191 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1193         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1194         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
1195         DW_CFA_GNU_window_save for AArch64 and LP64.
1197 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
1199         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1201 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
1203         * config/aarch64/aarch64-unwind.h: New file.
1204         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1205         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1206         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1207         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1208         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1209         (aarch64_post_extract_frame_addr): New function.
1210         (aarch64_post_frob_eh_handler_addr): New function.
1211         (aarch64_frob_update_context): New function.
1212         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1213         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1214         aarch64*-*-freebsd*):
1215         Initialize md_unwind_header to include aarch64-unwind.h.
1216         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1217         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1218         __aarch64__.
1219         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1220         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1221         (uw_frob_return_addr): New function.
1222         (uw_install_context): Use uw_frob_return_addr.
1224 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
1226         PR other/79046
1227         * configure.ac: Add GCC_BASE_VER.
1228         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1229         version from BASE-VER file.
1230         * configure: Regenerated.
1232 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
1234         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1235         libmul_f5.a): Filter archived prerequisites.
1237 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
1239         * config/i386/cpuinfo.h (processor_features): Add
1240         FEATURE_AVX512VPOPCNTDQ.
1241         * config/i386/cpuinfo.c (get_available_features): Habdle new
1242         feature.
1244 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1246         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1247         payload if [__mips_nan2008].
1249 2017-01-04  Alan Modra  <amodra@gmail.com>
1251         * Makefile.in (configure_deps): Update.
1252         * configure: Regenerate.
1254 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
1256         Update copyright years.
1258 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
1260         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1261         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1262         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1264 2016-12-17  Matthias Klose  <doko@ubuntu.com>
1266         * config/arc/gmon: Remove empty directory.
1268 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
1270         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1271         crtgend.
1272         (arc*-*-elf*): Likewise.
1273         * config/arc/t-arc: Remove old gmon lib targets.
1274         * config/arc/crtg.S: Remove.
1275         * config/arc/crtgend.S: Likewise.
1276         * config/arc/gmon/atomic.h: Likewise.
1277         * config/arc/gmon/auxreg.h: Likewise.
1278         * config/arc/gmon/dcache_linesz.S: Likewise.
1279         * config/arc/gmon/gmon.c: Likewise.
1280         * config/arc/gmon/machine-gmon.h: Likewise.
1281         * config/arc/gmon/mcount.c: Likewise.
1282         * config/arc/gmon/prof-freq-stub.S: Likewise.
1283         * config/arc/gmon/prof-freq.c: Likewise.
1284         * config/arc/gmon/profil.S: Likewise.
1285         * config/arc/gmon/sys/gmon.h: Likewise.
1286         * config/arc/gmon/sys/gmon_out.h: Likewise.
1287         * config/arc/t-arc-newlib: Likewise.
1288         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1290 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1292         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1294 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
1296         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1297         R16 instead of push + pop.
1298         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1300 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
1302         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1303         tmake_file.
1305 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
1307         * config.host (arc*-*-linux-uclibc*): Use default extra
1308         objects. Include linux-android header.
1309         * config/arc/crti.S (_init): Declare symbol as function.
1310         (_fini): Likewise.
1312 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
1314         PR fortran/78379
1315         * config/i386/cpuinfo.c:  Move denums for processor vendors,
1316         processor type, processor subtypes and declaration of
1317         struct __processor_model into
1318         * config/i386/cpuinfo.h:  New header file.
1320 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1321             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1323         * config/arm/cmse_nonsecure_call.S: New.
1324         * config/arm/t-arm: Compile cmse_nonsecure_call.S
1326 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
1327             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1329         * config/arm/t-arm (HAVE_CMSE): New.
1330         * config/arm/cmse.c: New.
1332 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1334         PR gcc/74748
1335         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1336         use generic linker version information on Blackfin.
1338         PR gcc/74748
1339         * libgcc/mkmap-symver.awk: add support for skip_underscore
1341 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
1342             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1344         PR target/67710
1345         *  config/t-darwin: Default builds to 10.5 codegen.
1347 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
1349         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1350         (_FP_NANSIGN_H): Likewise.
1351         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1352         (softfp_truncations): Add tfhf.
1353         (softfp_extras): Add required conversion functions.
1355 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1356             Matthew Wahab  <matthew.wahab@arm.com>
1358         * config/arm/fp16.c (binary64): New.
1359         (__gnu_d2h_internal): New.
1360         (__gnu_d2h_ieee): New.
1361         (__gnu_d2h_alternative): New.
1363 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1364             Matthew Wahab  <matthew.wahab@arm.com>
1366         * config/arm/fp16.c (struct format): New.
1367         (binary32): New.
1368         (__gnu_float2h_internal): New.  Body moved from
1369         __gnu_f2h_internal and generalize.
1370         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1371         Call it with binary32.
1373 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
1375         * soft-fp/extendhftf2.c: Update from glibc.
1376         * soft-fp/fixhfti.c: Likewise.
1377         * soft-fp/fixunshfti.c: Likewise.
1378         * soft-fp/floattihf.c: Likewise.
1379         * soft-fp/floatuntihf.c: Likewise.
1380         * soft-fp/half.h: Likewise.
1381         * soft-fp/trunctfhf2.c: Likewise.
1383 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
1385         PR libgcc/77813
1386         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1387         __TMC_END__ behind a passthrough asm.
1389 2016-11-18  Walter Lee  <walt@tilera.com>
1391         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1393 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
1395         * config/i386/cpuinfo.c (processor_features): Add
1396         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1398 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
1400         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1401         (__ARC_NORM__): Use instead ARC_OPTFPE.
1402         * config/arc/fp-hack.h: Likewise.
1403         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1404         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1406 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
1408         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1409         * config/nvptx/mgomp.c: New file.
1410         * config/nvptx/t-nvptx: Add mgomp.c
1412 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
1414         PR libgcc/68468
1415         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1417 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
1419         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1420         of checking for cpus.
1421         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1422         (__modsi3, __clzsi2): Likewise.
1424 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1426         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1427         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1428         * config/i386/t-cpuinfo-static: New.
1430 2016-11-03  Martin Liska  <mliska@suse.cz>
1432         * libgcov-profiler.c (__gcov_time_profiler): Remove.
1433         (__gcov_time_profiler_atomic): Likewise.
1435 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1437         PR libgcc/78067
1438         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1439         count_leading_zeros.
1441 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
1443         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1444         * libgcc2.c (__divmoddi4): New function.
1445         * libgcc2.h (__divmoddi4): Declare.
1446         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1447         and __PFX_divmodti4.
1449 2016-10-24  Florian Weimer  <fweimer@redhat.com>
1451         PR libgcc/78064
1452         * unwind-c.c: Include auto-target.h.
1454 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
1456         * config/pa/pa64-hpux-lib.h: New file.
1457         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1458         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1459         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1460         hppa*64*-*-hpux11*.
1462 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
1464         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1465         definition.
1466         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1467         definition.
1468         * config/xtensa/t-windowed (LIB2ADDEH): Use
1469         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1470         or xtensa/t-linux.
1472 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
1474         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1475         __ieee754_sqrt): New functions.
1476         (__divdf3): Add implementation with new FPU instructions under
1477         #if XCHAL_HAVE_DFP_DIV.
1478         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1479         __ieee754_sqrtf): New functions.
1480         (__divsf3): Add implementation with new FPU instructions under
1481         #if XCHAL_HAVE_FP_DIV.
1482         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1483         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1485 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1487         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1488         equivalent.
1489         * config/tilepro/atomic.c: Likewise and stop casting model to
1490         enum memmodel.
1492 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
1494         PR target/77586
1495         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1496         soft-fp.
1498 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
1500         * config.host: Add support for aarch64-*-freebsd*.
1502 2016-10-05  Andreas Schwab  <schwab@suse.de>
1504         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1505         (.section .init_array): Don't call __do_jv_register_classes.
1506         (.section .init): Likewise.
1508 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
1510         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1511         (__JCR_LIST__): Remove.
1512         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1513         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1514         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1515         * config/ia64/crtend.S (__JCR_END__): Remove.
1516         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1517         conditionals.
1518         (__JCR_LIST__, __JCR_END__): Remove.
1519         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1520         (__do_global_ctors_1): Likewise.
1522 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
1524         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1525         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1527 2016-09-27  Martin Liska  <mliska@suse.cz>
1529         PR gcov-profile/7970
1530         PR gcov-profile/16855
1531         PR gcov-profile/44779
1532         * libgcov-driver.c (__gcov_init): Do not register a atexit
1533         handler.
1534         (__gcov_exit): Rename from gcov_exit.
1535         * libgcov.h (__gcov_exit): Declare.
1537 2016-09-27  Martin Liska  <mliska@suse.cz>
1539         PR bootstrap/77749
1540         * Makefile.in: Remove _gcov_merge_delta.
1541         * libgcov-merge.c (void __gcov_merge_delta): Remove.
1542         * libgcov-util.c (__gcov_delta_counter_op): Remove.
1543         * libgcov.h: Remove declaration of __gcov_merge_delta.
1545 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
1547         * configure.ac: Do not create links, only substitute the filenames.
1548         * configure: Regenerate.
1549         * Makefile.in: Assign the substitution results to variables.
1550         (LIBGCC_LINKS): Define.
1551         (enable-execute-stack.c): New rule.
1552         (unwind.h): Likewise.
1553         (md-unwind-support.h): Likewise.
1554         (sfp-machine.h): Likewise.
1555         (gthr-default.h): Likewise.
1556         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1557         unwind.h as prerequisite of install-unwind_h-forbuild.
1559 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
1561         PR libgcc/71744
1562         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1563         is not the primary registry and atomics are available.
1564         (any_objects_registered): New variable.
1565         (__register_frame_info_bases, __register_frame_info_table_bases):
1566         Atomically store 1 to any_objects_registered after registering first
1567         unwind info.
1568         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1570 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
1572         PR target/63250
1573         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1574         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1575         (HFtype): Likewise.
1576         (HCtype): Likewise.
1577         (__divhc3): Likewise.
1578         (__mulhc3): Likewise.
1579         * libgcc2.c: Support _mulhc3 and _divhc3.
1581 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1583         PR libgcc/77519
1584         * libgcc2.c (NOTRUNC): Invert settings.
1586 2016-09-06  Martin Liska  <mliska@suse.cz>
1588         PR gcov-profile/77378
1589         PR gcov-profile/77466
1590         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1591         conditionaly enable/disable *_atomic functions.
1593 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
1595         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1596         where not already enabled.
1598 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1600         * config/mips/linux-unwind.h: Use sys/syscall.h.
1602 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1604         PR libgcc/77265
1605         * soft-fp/adddf3.c: Update from glibc.
1606         * soft-fp/addsf3.c: Likewise.
1607         * soft-fp/addtf3.c: Likewise.
1608         * soft-fp/divdf3.c: Likewise.
1609         * soft-fp/divsf3.c: Likewise.
1610         * soft-fp/divtf3.c: Likewise.
1611         * soft-fp/double.h: Likewise.
1612         * soft-fp/eqdf2.c: Likewise.
1613         * soft-fp/eqsf2.c: Likewise.
1614         * soft-fp/eqtf2.c: Likewise.
1615         * soft-fp/extenddftf2.c: Likewise.
1616         * soft-fp/extended.h: Likewise.
1617         * soft-fp/extendsfdf2.c: Likewise.
1618         * soft-fp/extendsftf2.c: Likewise.
1619         * soft-fp/extendxftf2.c: Likewise.
1620         * soft-fp/fixdfdi.c: Likewise.
1621         * soft-fp/fixdfsi.c: Likewise.
1622         * soft-fp/fixdfti.c: Likewise.
1623         * soft-fp/fixsfdi.c: Likewise.
1624         * soft-fp/fixsfsi.c: Likewise.
1625         * soft-fp/fixsfti.c: Likewise.
1626         * soft-fp/fixtfdi.c: Likewise.
1627         * soft-fp/fixtfsi.c: Likewise.
1628         * soft-fp/fixtfti.c: Likewise.
1629         * soft-fp/fixunsdfdi.c: Likewise.
1630         * soft-fp/fixunsdfsi.c: Likewise.
1631         * soft-fp/fixunsdfti.c: Likewise.
1632         * soft-fp/fixunssfdi.c: Likewise.
1633         * soft-fp/fixunssfsi.c: Likewise.
1634         * soft-fp/fixunssfti.c: Likewise.
1635         * soft-fp/fixunstfdi.c: Likewise.
1636         * soft-fp/fixunstfsi.c: Likewise.
1637         * soft-fp/fixunstfti.c: Likewise.
1638         * soft-fp/floatdidf.c: Likewise.
1639         * soft-fp/floatdisf.c: Likewise.
1640         * soft-fp/floatditf.c: Likewise.
1641         * soft-fp/floatsidf.c: Likewise.
1642         * soft-fp/floatsisf.c: Likewise.
1643         * soft-fp/floatsitf.c: Likewise.
1644         * soft-fp/floattidf.c: Likewise.
1645         * soft-fp/floattisf.c: Likewise.
1646         * soft-fp/floattitf.c: Likewise.
1647         * soft-fp/floatundidf.c: Likewise.
1648         * soft-fp/floatundisf.c: Likewise.
1649         * soft-fp/floatunditf.c: Likewise.
1650         * soft-fp/floatunsidf.c: Likewise.
1651         * soft-fp/floatunsisf.c: Likewise.
1652         * soft-fp/floatunsitf.c: Likewise.
1653         * soft-fp/floatuntidf.c: Likewise.
1654         * soft-fp/floatuntisf.c: Likewise.
1655         * soft-fp/floatuntitf.c: Likewise.
1656         * soft-fp/gedf2.c: Likewise.
1657         * soft-fp/gesf2.c: Likewise.
1658         * soft-fp/getf2.c: Likewise.
1659         * soft-fp/ledf2.c: Likewise.
1660         * soft-fp/lesf2.c: Likewise.
1661         * soft-fp/letf2.c: Likewise.
1662         * soft-fp/muldf3.c: Likewise.
1663         * soft-fp/mulsf3.c: Likewise.
1664         * soft-fp/multf3.c: Likewise.
1665         * soft-fp/negdf2.c: Likewise.
1666         * soft-fp/negsf2.c: Likewise.
1667         * soft-fp/negtf2.c: Likewise.
1668         * soft-fp/op-1.h: Likewise.
1669         * soft-fp/op-2.h: Likewise.
1670         * soft-fp/op-4.h: Likewise.
1671         * soft-fp/op-8.h: Likewise.
1672         * soft-fp/op-common.h: Likewise.
1673         * soft-fp/quad.h: Likewise.
1674         * soft-fp/single.h: Likewise.
1675         * soft-fp/soft-fp.h: Likewise.
1676         * soft-fp/subdf3.c: Likewise.
1677         * soft-fp/subsf3.c: Likewise.
1678         * soft-fp/subtf3.c: Likewise.
1679         * soft-fp/truncdfsf2.c: Likewise.
1680         * soft-fp/trunctfdf2.c: Likewise.
1681         * soft-fp/trunctfsf2.c: Likewise.
1682         * soft-fp/trunctfxf2.c: Likewise.
1683         * soft-fp/unorddf2.c: Likewise.
1684         * soft-fp/unordsf2.c: Likewise.
1685         * soft-fp/unordtf2.c: Likewise.
1687 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
1689         PR gcov-profile/67097
1690         * libgcov-util.c (gcov_profile_merge): Skip missing files.
1692 2016-08-10  Martin Liska  <mliska@suse.cz>
1694         PR gcov-profile/58306
1695         * Makefile.in: New functions (modules) are added.
1696         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1697         function.
1698         (__gcov_pow2_profiler_atomic): New function.
1699         (__gcov_one_value_profiler_body): New argument is instroduced.
1700         (__gcov_one_value_profiler): Call with the new argument.
1701         (__gcov_one_value_profiler_atomic): Likewise.
1702         (__gcov_indirect_call_profiler_v2): Likewise.
1703         (__gcov_time_profiler_atomic): New function.
1704         (__gcov_average_profiler_atomic): Likewise.
1705         (__gcov_ior_profiler_atomic): Likewise.
1706         * libgcov.h: Declare the aforementioned functions.
1708 2016-08-09  Martin Liska  <mliska@suse.cz>
1710         * libgcov-util.c: Fix typo and GNU coding style.
1712 2016-08-09  Martin Liska  <mliska@suse.cz>
1714         * Makefile.in: Remove __gcov_indirect_call_profiler.
1715         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1716         function.
1717         * libgcov.h: And the declaration of the function.
1719 2016-08-09  Martin Liska  <mliska@suse.cz>
1721         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1722         power of two.
1724 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1726         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1727         * config/rs6000/_mulkc3.c: Likewise.
1729 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
1731         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1732         zero_reg as previous call to __umulhisi3 already cleared it.
1734 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
1736         PR target/59833
1737         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1739 2016-07-19  Nick Clifton  <nickc@redhat.com>
1741         * config.host (m32r): Add m32r/t-m32r to tmake_file.
1742         Add crtinit.o and crtfini.o to extra_parts.
1744 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1746         * config/rs6000/_divkc3.c: New.
1747         * config/rs6000/_mulkc3.c: New.
1748         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1749         and _divkc3.
1750         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1751         fp128_ppc_funcs.
1753 2016-07-11  Hale Wang  <hale.wang@arm.com>
1754             Andre Vieira  <andre.simoesdiasvieira@arm.com>
1756         * config/arm/lib1funcs.S: Add new wrapper.
1758 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1760         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1762 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1764         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1765         and ARMv5t* rather than for a fixed list of architectures.
1767 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1769         * config/arm/bpabi-v6m.S: Clarify what architectures is the
1770         implementation suitable for.
1771         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1772         for all Thumb-1 only targets.
1773         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1774         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1775         __ARM_ARCH_6M__.
1776         (EQUIV): Likewise.
1777         (ARM_FUNC_ALIAS): Likewise.
1778         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1779         version.
1780         (modsi3): Likewise.
1781         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1782         (clzdi2): Likewise.
1783         (ctzsi2): Likewise.
1784         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1785         __ARM_ARCH_6M__ in guard for checking whether it is defined.
1786         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1787         __ARM_ARCH_6M__ and add comment to indicate the connection between
1788         this condition and the one in gcc/config/arm/elf.h.
1789         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1790         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1791         * config/arm/t-softfp: Likewise.
1793 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1795         * libgcc2.c (SYMBOL__MAIN): Remove checks for
1796         CTOR_LISTS_DEFINED_EXTERNALLY.
1798 2016-06-28  Walter Lee  <walt@tilera.com>
1800         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1801         asm/unistd.h.
1802         (SPR_CMPEXCH_VALUE): Define for tilegx.
1803         (__NR_FAST_cmpxchg): Define for tilepro.
1804         (__NR_FAST_atomic_update): Define for tilepro.
1805         (__NR_FAST_cmpxchg64): Define for tilepro.
1807 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
1809         * config.host: Add suport for arm*-*-phoenix* targets.
1811 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1813         * config.host: Remove support for mep-*.
1814         * config/mep/lib1funcs.S: Remove.
1815         * config/mep/lib2funcs.c: Remove.
1816         * config/mep/t-mep: Remove.
1817         * config/mep/tramp.c: Remove.
1819 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1821         * config.host: Remove support for avr-rtems.
1822         * config/avr/t-rtems: Remove.
1824 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1826         * config.host: Remove m32r-rtems support.
1828 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1830         * config.host: Remove h8300-rtems support.
1832 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1834         * config.host: Remove support for knetbsd.
1836 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1838         * config.host: Remove support for openbsd 2 and 3.
1840 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
1842         * config.host: Remove interix support.
1843         * config/i386/t-interix: Remove.
1845 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
1847         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1848         least-significant bit in function pointer for fixup.
1850 2016-06-05  Aaron Conole  <aconole@redhat.com>
1851             Nathan Sidwell  <nathan@acm.org>
1853         PR libgcc/71400
1854         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1855         (get_gcov_error_file): Check __gcov_error_file before trying to
1856         initialize it.
1857         (gcov_error): Always use get_gcov_error_file.
1859 2016-06-02  Aaron Conole  <aconole@redhat.com>
1861         * libgcov-driver-system.c (__gcov_error_file): New.
1862         (get_gcov_error_file): New.
1863         (gcov_error): Use and set __gcov_error_file.
1864         (gcov_error_exit): New.
1865         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1867 2016-05-26  Nathan Sidwell  <nathan@acm.org>
1869         * config/nvptx/free.asm: Delete.
1870         * config/nvptx/malloc.asm: Delete.
1871         * config/nvptx/realloc.c: Delete.
1872         * t-nvptx: Update.
1874 2016-05-25  Nathan Sidwell  <nathan@acm.org>
1876         * config/nvptx/crt0.s: Delete.
1877         * config/nvptx/crt0.c: New.
1878         * t-nvptx: Update.
1880 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
1882         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1883         dw2/seh configuration.
1884         [x86_64-*-mingw*]: Likewise.
1886 2016-05-10  Joel Sherrill <joel@rtems.org>
1888         PR libgcc/70720
1889         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1890         targets so the same extra_parts are built.  Also have tmake_file add
1891         on to its value rather than override.
1893 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
1895         * config.host: Remove SH5 support.
1896         * configure: Likewise.
1898 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
1900         * config/sh/crt1.S: Remove SH5 support.
1901         * config/sh/crti.S: Likewise.
1902         * config/sh/crtn.S: Likewise.
1903         * config/sh/lib1funcs-4-300.S: Likewise.
1904         * config/sh/lib1funcs-Os-4-200.S: Likewise.
1905         * config/sh/lib1funcs.S: Likewise.
1906         * config/sh/linux-unwind.h: Likewise.
1907         * config/sh/t-sh64: Delete.
1909 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
1911         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1913 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
1914             Joern Rennecke  <joern.rennecke@embecosm.com>
1916         * config/arc/crttls.S: New file.
1917         * config/arc/t-arc: New rule.
1918         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1920 2016-04-25  Nick Clifton  <nickc@redhat.com>
1922         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1923         (__mspabi_cmpd): Likewise.
1924         * config/msp430/floathidf.c (__floathidf): Likewise.
1925         * config/msp430/floathisf.c (__floathisf): Likewise
1926         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1927         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1928         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1929         second parameter.
1930         (__ashrsi3): Likewise.
1932 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
1934         * config/m68k/linux-atomic.c: Do not include unistd.h
1936 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
1938         * config/arm/ieee754-df.S: Fix typos in comments.
1940 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1942         PR target/70381
1943         * configure.ac (powerpc*-*-linux*): Rework tests to build
1944         __float128 emulation routines to not depend on using #pragma GCC
1945         target to enable -mfloat128.
1946         * configure: Regnerate.
1948 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1950         PR target/67172
1951         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1952         __MINGW32__ is defined.
1954 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
1956         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1958 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
1960         PR libgcc/70363
1961         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1962         built with an assembler that does not support ISA 3.0
1963         instructions, rename __extendkftf2_sw to __extendkftf2.
1965 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1967         PR target/38239
1968         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1969         call-clobbered registers.
1970         (internal_mcount): Remove __i386__ handling.
1972 2016-02-26  Joel Sherrill <joel@rtems.org>
1974         * config.host: Add x86_64-*-rtems*.
1976 2016-02-26  Joel Sherrill <joel@rtems.org>
1978         * libgcc/config.host: Add aarch64-*-rtems*.
1980 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1981             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1983         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1984         union of u64 and double.
1985         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1986         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1987         value.
1988         (FP_ROUNDMODE): Update the usage of _fpscr.
1990 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
1992         PR driver/68463
1993         * Makefile.in (crtoffloadtable$(objext)): New rule.
1994         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1995         enable_offload_targets is not empty.
1996         * configure: Regenerate.
1997         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1998         crtoffloadtable.
2000 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
2002         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2003         .literal_position before the function.
2004         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2005         Likewise.
2007 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
2009         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2010         * config/s390/morestack.S: New file.
2011         * config/s390/t-stack-s390: New file.
2012         * generic-morestack.c (__splitstack_find): Add s390-specific code.
2014 2016-02-12  Walter Lee  <walt@tilera.com>
2016         * config.host (tilegx*-*-linux*): remove ti from
2017         softfp_int_modes for 32-bit configs.
2019 2016-02-10  Ian Lance Taylor  <iant@google.com>
2021         PR go/68562
2022         * config/i386/morestack.S (__stack_split_initialize): Align
2023         stack.
2025 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
2027         PR bootstrap/69611
2028         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2029         __FLOAT128__ to compile only for __float128 capable targets.
2031 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
2033         PR target/69444
2034         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2035         instead of ___NO_FPRS__.
2037 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
2038             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2039             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2041         * config/rs6000/float128-sed: New files to convert TF names to KF
2042         names for PowerPC IEEE 128-bit floating point support.
2043         * config/rs6000/float128-sed-hw: Likewise.
2045         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2046         floating point hardware support.
2048         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2049         128-bit floating point software emulation or use ISA 3.0 hardware
2050         support if it is available.
2052         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2053         floating point.
2055         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2056         floating point to IBM extended double.
2058         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2059         double to IEEE 128-bit floating point.
2061         * config/rs6000/t-float128: New Makefile fragments to enable
2062         building __float128 emulation support.
2063         * config/rs6000/t-float128-hw: Likewise.
2065         * config/rs6000/sfp-exceptions.c: New file to provide exception
2066         support for IEEE 128-bit floating point.
2068         * config/rs6000/floattikf.c: New files for converting between IEEE
2069         128-bit floating point and signed/unsigned 128-bit integers.
2070         * config/rs6000/fixunskfti.c: Likewise.
2071         * config/rs6000/fixkfti.c: Likewise.
2072         * config/rs6000/floatuntikf.c: Likewise.
2074         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2075         when building on 64-bit systems, or when VSX is enabled.
2076         (_FP_W_TYPE): Likewise.
2077         (_FP_WS_TYPE): Likewise.
2078         (_FP_I_TYPE): Likewise.
2079         (TItype): Define on 64-bit systems.
2080         (UTItype): Likewise.
2081         (TI_BITS): Likewise.
2082         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2083         (_FP_MUL_MEAT_Q): Likewise.
2084         (_FP_DIV_MEAT_D): Likewise.
2085         (_FP_DIV_MEAT_Q): Likewise.
2086         (_FP_NANFRAC_D): Likewise.
2087         (_FP_NANFRAC_Q): Likewise.
2088         (ISA_BIT): Add exception support if we are being compiled on a
2089         machine with hardware floating point support to build the IEEE
2090         128-bit emulation functions.
2091         (FP_EX_INVALID): Likewise.
2092         (FP_EX_OVERFLOW): Likewise.
2093         (FP_EX_UNDERFLOW): Likewise.
2094         (FP_EX_DIVZERO): Likewise.
2095         (FP_EX_INEXACT): Likewise.
2096         (FP_EX_ALL): Likewise.
2097         (__sfp_handle_exceptions): Likewise.
2098         (FP_HANDLE_EXCEPTIONS): Likewise.
2099         (FP_RND_NEAREST): Likewise.
2100         (FP_RND_ZERO): Likewise.
2101         (FP_RND_PINF): Likewise.
2102         (FP_RND_MINF): Likewise.
2103         (FP_RND_MASK): Likewise.
2104         (_FP_DECL_EX): Likewise.
2105         (FP_INIT_ROUNDMODE): Likewise.
2106         (FP_ROUNDMODE): Likewise.
2108         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2109         VSX code, enable IEEE 128-bit floating point.  If the compiler can
2110         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2111         floating point hardware instructions and it supports declaring
2112         functions with the ifunc attribute, enable ifunc functions to
2113         switch between software and hardware support.
2114         * configure.ac (powerpc*-*-linux*): Likewise.
2115         * configure: Regenerate.
2117 2016-01-15  Nick Clifton  <nickc@redhat.com>
2119         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2120         dependency as the source file to be compiled.
2121         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2122         (lib2hw_mul_f5.o): Likewise.
2124 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2126         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2127         * libgcc/config/rs6000/fixkfti.c: Likewise.
2128         * libgcc/config/rs6000/fixunskfti.c: Likewise.
2129         * libgcc/config/rs6000/float128-hw.c: Likewise.
2130         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2131         * libgcc/config/rs6000/float128-sed: Likewise.
2132         * libgcc/config/rs6000/floattikf.c: Likewise.
2133         * libgcc/config/rs6000/floatuntikf.c: Likewise.
2134         * libgcc/config/rs6000/quad-float128.h: Likewise.
2135         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2136         * libgcc/config/rs6000/sfp-machine.h: Likewise.
2137         * libgcc/config/rs6000/t-float128: Likewise.
2138         * libgcc/config/rs6000/t-float128-hw: Likewise.
2139         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2140         * libgcc/config.host: Likewise.
2141         * libgcc/configure: Likewise.
2142         * libgcc/configure.ac: Likewise.
2144 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
2145             Steven Munroe  <munroesj@linux.vnet.ibm.com>
2146             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
2148         * config/rs6000/sfp-exceptions.c: New file to provide exception
2149         support for IEEE 128-bit floating point.
2151         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2152         floating point hardware support.
2154         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2155         point conversions.
2156         * config/rs6000/fixunskfti.c: Likewise.
2157         * config/rs6000/fixkfti.c: Likewise.
2158         * config/rs6000/floatuntikf.c: Likewise.
2159         * config/rs6000/extendkftf2-sw.c: Likewise.
2160         * config/rs6000/trunctfkf2-sw.c: Likewise.
2162         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2163         128-bit floating point software emulation or use ISA 3.0 hardware
2164         support if it is available.
2166         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2167         floating point.
2169         * config/rs6000/t-float128: New Makefile fragments to enable
2170         building __float128 emulation support.
2171         * config/rs6000/t-float128-hw: Likewise.
2173         * config/rs6000/float128-sed: New file to convert TF names to KF
2174         names for PowerPC IEEE 128-bit floating point support.
2176         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2177         when building on 64-bit systems, or when VSX is enabled.
2178         (_FP_W_TYPE): Likewise.
2179         (_FP_WS_TYPE): Likewise.
2180         (_FP_I_TYPE): Likewise.
2181         (TItype): Define on 64-bit systems.
2182         (UTItype): Likewise.
2183         (TI_BITS): Likewise.
2184         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2185         (_FP_MUL_MEAT_Q): Likewise.
2186         (_FP_DIV_MEAT_D): Likewise.
2187         (_FP_DIV_MEAT_Q): Likewise.
2188         (_FP_NANFRAC_D): Likewise.
2189         (_FP_NANFRAC_Q): Likewise.
2190         (ISA_BIT): Add exception support if we are being compiled on a
2191         machine with hardware floating point support to build the IEEE
2192         128-bit emulation functions.
2193         (FP_EX_INVALID): Likewise.
2194         (FP_EX_OVERFLOW): Likewise.
2195         (FP_EX_UNDERFLOW): Likewise.
2196         (FP_EX_DIVZERO): Likewise.
2197         (FP_EX_INEXACT): Likewise.
2198         (FP_EX_ALL): Likewise.
2199         (__sfp_handle_exceptions): Likewise.
2200         (FP_HANDLE_EXCEPTIONS): Likewise.
2201         (FP_RND_NEAREST): Likewise.
2202         (FP_RND_ZERO): Likewise.
2203         (FP_RND_PINF): Likewise.
2204         (FP_RND_MINF): Likewise.
2205         (FP_RND_MASK): Likewise.
2206         (_FP_DECL_EX): Likewise.
2207         (FP_INIT_ROUNDMODE): Likewise.
2208         (FP_ROUNDMODE): Likewise.
2210         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2211         compiler can do __float128.
2212         * configure: Regenerate.
2214         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2215         VSX code, enable IEEE 128-bit floating point.
2217 2016-01-05  Olivier Hainque  <hainque@adacore.com>
2219         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2220         specificities.
2222 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
2224         Update copyright years.
2226 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
2228         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2229         soft-fp targets.
2231 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2233         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2234         instead of abort to avoid dependency on stdlib.h.
2236 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
2238         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2239         to initialize call to __dl_fixup once.
2241 2015-12-04  Nick Clifton  <nickc@redhat.com>
2243         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2244         Allow for the second argument being negative.
2245         * config.host (extra_parts): Define for MSP430.  Create separate
2246         libraries for each of the hardware multiply formats.
2247         * config/msp430/lib2hw_mul.S: Build only the multiply routines
2248         that are needed.
2249         * config/msp430/lib2mul.c: Likewise.
2250         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2251         Add rules to build hardware multiply libraries.
2252         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2253         __mspabi_divul function.
2254         (__mspabi_divllu): New stub function.
2256 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
2258         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2259         fixup values if saved GOT address doesn't match runtime address.
2260         (fixup_branch_offset): Reorder list.
2262 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2264         * Makefile.in (VTV_CFLAGS): New variable.
2265         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2266         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2267         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2268         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2269         to extra_parts if $enable_vtable_verify = yes.
2271 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2273         PR target/68059
2274         * config/arm/linux-atomic-64bit.c (__write): Rename to...
2275         (write): ...this and fix the return type.
2277 2015-11-19  DJ Delorie  <dj@redhat.com>
2279         * config/msp430/lib2hw_mul.S: Fix alignment.
2281 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
2283         * config/nvptx/reduction.c: New.
2284         * config/nvptx/t-nvptx (LIB2ADD): Add it.
2286 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
2288         * config/rs6000/on_exit.c: New file.
2289         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2290         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2292 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
2294         * config/arc/dp-hack.h: Add support for ARCHS.
2295         * config/arc/ieee-754/divdf3.S: Likewise.
2296         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2297         * config/arc/ieee-754/muldf3.S: Likewise.
2298         * config/arc/ieee-754/mulsf3.S: Likewise
2299         * config/arc/lib1funcs.S: Likewise
2300         * config/arc/gmon/dcache_linesz.S: Don't read the build register
2301         for ARCv2 cores.
2302         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2303         for ARCv2 cores.
2304         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2305         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2306         cores.
2308 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2310         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2311         value.
2312         * config/ia64/crtend.S: Likewise.
2314 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
2316         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2317         __CHAR_BIT__ instead of BITS_PER_UNIT.
2318         * fixed-bit.h: Likewise.
2319         * fp-bit.h: Likewise.
2320         * libgcc2.c (__popcountSI2): Likewise.
2321         (__popcountDI2): Likewise.
2322         * libgcc2.h: Likewise.
2323         * libgcov.h: Likewise.
2325 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
2327         * config/rs6000/atexit.c: New file.
2328         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2329         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2330         * config/rs6000/cxa_finalize.c
2331         (catomic_compare_and_exchange_bool_acq): Negate return value.
2333 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2335         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2336         (processor_subtypes): Add znver1.
2337         (get_amd_cpu): Detect znver1.
2339 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
2341         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2342         Include crtfastmath.o.
2344 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
2346         PR libgcc/66883
2347         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2349 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
2351         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2352         * config/rl78/divmodsi.S: Update return register to r8.
2353         * config/rl78/divmodhi.S: Update return register to r8,r9.
2354         Branch to main_loop_done_himode to pop registers before return.
2356 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
2358         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2359         (__cpu_indicator_init): Fix model selection for AMD CPUs.
2361 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
2363         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2365 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
2367         * config.host (xtensa*-*-uclinux*): New configuration.
2369 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
2371         * config/i386/cpuinfo.c (processor_features): Add
2372         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2374 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
2376         * soft-fp/adddf3.c: Update from glibc.
2377         * soft-fp/addsf3.c: Likewise.
2378         * soft-fp/addtf3.c: Likewise.
2379         * soft-fp/divdf3.c: Likewise.
2380         * soft-fp/divsf3.c: Likewise.
2381         * soft-fp/divtf3.c: Likewise.
2382         * soft-fp/double.h: Likewise.
2383         * soft-fp/eqdf2.c: Likewise.
2384         * soft-fp/eqsf2.c: Likewise.
2385         * soft-fp/eqtf2.c: Likewise.
2386         * soft-fp/extenddftf2.c: Likewise.
2387         * soft-fp/extended.h: Likewise.
2388         * soft-fp/extendsfdf2.c: Likewise.
2389         * soft-fp/extendsftf2.c: Likewise.
2390         * soft-fp/extendxftf2.c: Likewise.
2391         * soft-fp/fixdfdi.c: Likewise.
2392         * soft-fp/fixdfsi.c: Likewise.
2393         * soft-fp/fixdfti.c: Likewise.
2394         * soft-fp/fixsfdi.c: Likewise.
2395         * soft-fp/fixsfsi.c: Likewise.
2396         * soft-fp/fixsfti.c: Likewise.
2397         * soft-fp/fixtfdi.c: Likewise.
2398         * soft-fp/fixtfsi.c: Likewise.
2399         * soft-fp/fixtfti.c: Likewise.
2400         * soft-fp/fixunsdfdi.c: Likewise.
2401         * soft-fp/fixunsdfsi.c: Likewise.
2402         * soft-fp/fixunsdfti.c: Likewise.
2403         * soft-fp/fixunssfdi.c: Likewise.
2404         * soft-fp/fixunssfsi.c: Likewise.
2405         * soft-fp/fixunssfti.c: Likewise.
2406         * soft-fp/fixunstfdi.c: Likewise.
2407         * soft-fp/fixunstfsi.c: Likewise.
2408         * soft-fp/fixunstfti.c: Likewise.
2409         * soft-fp/floatdidf.c: Likewise.
2410         * soft-fp/floatdisf.c: Likewise.
2411         * soft-fp/floatditf.c: Likewise.
2412         * soft-fp/floatsidf.c: Likewise.
2413         * soft-fp/floatsisf.c: Likewise.
2414         * soft-fp/floatsitf.c: Likewise.
2415         * soft-fp/floattidf.c: Likewise.
2416         * soft-fp/floattisf.c: Likewise.
2417         * soft-fp/floattitf.c: Likewise.
2418         * soft-fp/floatundidf.c: Likewise.
2419         * soft-fp/floatundisf.c: Likewise.
2420         * soft-fp/floatunditf.c: Likewise.
2421         * soft-fp/floatunsidf.c: Likewise.
2422         * soft-fp/floatunsisf.c: Likewise.
2423         * soft-fp/floatunsitf.c: Likewise.
2424         * soft-fp/floatuntidf.c: Likewise.
2425         * soft-fp/floatuntisf.c: Likewise.
2426         * soft-fp/floatuntitf.c: Likewise.
2427         * soft-fp/gedf2.c: Likewise.
2428         * soft-fp/gesf2.c: Likewise.
2429         * soft-fp/getf2.c: Likewise.
2430         * soft-fp/ledf2.c: Likewise.
2431         * soft-fp/lesf2.c: Likewise.
2432         * soft-fp/letf2.c: Likewise.
2433         * soft-fp/muldf3.c: Likewise.
2434         * soft-fp/mulsf3.c: Likewise.
2435         * soft-fp/multf3.c: Likewise.
2436         * soft-fp/negdf2.c: Likewise.
2437         * soft-fp/negsf2.c: Likewise.
2438         * soft-fp/negtf2.c: Likewise.
2439         * soft-fp/op-1.h: Likewise.
2440         * soft-fp/op-2.h: Likewise.
2441         * soft-fp/op-4.h: Likewise.
2442         * soft-fp/op-8.h: Likewise.
2443         * soft-fp/op-common.h: Likewise.
2444         * soft-fp/quad.h: Likewise.
2445         * soft-fp/single.h: Likewise.
2446         * soft-fp/soft-fp.h: Likewise.
2447         * soft-fp/subdf3.c: Likewise.
2448         * soft-fp/subsf3.c: Likewise.
2449         * soft-fp/subtf3.c: Likewise.
2450         * soft-fp/truncdfsf2.c: Likewise.
2451         * soft-fp/trunctfdf2.c: Likewise.
2452         * soft-fp/trunctfsf2.c: Likewise.
2453         * soft-fp/trunctfxf2.c: Likewise.
2454         * soft-fp/unorddf2.c: Likewise.
2455         * soft-fp/unordsf2.c: Likewise.
2456         * soft-fp/unordtf2.c: Likewise.
2458 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
2460         PR libgcc/67624
2461         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2463 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2465         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2466         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2467         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2468         messages.
2469         (internal_mcount): Likewise.
2470         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2471         crt_compile, add CRTSTUFF_T_CFLAGS_S.
2473 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2475         * configure.ac (libgcc_cv_solaris_crts): New test.
2476         * configure: Regenerate.
2477         * config.in: Regenerate.
2478         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2479         * config/gmon-sol2.c: Rename to ...
2480         * config/sol2/gmon.c: ... this.
2481         Include auto-target.h.
2482         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2483         * config/t-sol2: Rename to ...
2484         * config/sol2/t-sol2: ... this.
2485         (gmon.o): Reflect renaming.
2486         (crtp.o, crtpg.o): New rules.
2487         * config.host (*-*-solaris2*): Reflect renaming.
2488         Use system CRTs if present.
2489         Remove default CRT case.
2491 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
2493         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2494         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2495         __kernel_cmpxchg2.
2496         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2497         (__sync_val_compare_and_swap_##WIDTH): Likewise.
2498         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2499         (__sync_lock_test_and_set_##WIDTH): Likewise.
2500         (__sync_lock_release_##WIDTH): Likewise.
2501         (__sync_fetch_and_##OP##_4): Change result to match type of
2502         __kernel_cmpxchg.
2503         (__sync_##OP##_and_fetch_4): Likewise.
2504         (__sync_val_compare_and_swap_4): Likewise.
2505         (__sync_bool_compare_and_swap_4): likewise.
2506         (__sync_lock_test_and_set_4): Likewise.
2507         (__sync_lock_release_4): Likewise.
2508         (FETCH_AND_OP_2): Add long long variants.
2509         (OP_AND_FETCH_2): Likewise.
2510         (COMPARE_AND_SWAP_2 ): Likewise.
2511         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2512         (SYNC_LOCK_RELEASE_2): Likewise.
2513         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2515 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
2517         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2518         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2519         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2520         (get_available_features): Habdle new features.
2522 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
2524         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2525         memory layout. Deal correctly with BSS region larger than 32K.
2526         Handle a watchdog reset like a power-on reset. Clean up unused
2527         code.
2529 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
2530             David Edelsohn  <dje.gcc@gmail.com>
2532         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2533         * config/rs6000/crtdbase.S: New file.
2534         * config/rs6000/t-aix-cxa: Build crtdbase.o.
2536 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
2538         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2539         Add support for call0 ABI.
2541 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
2543         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2545 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2547         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2548         (__GTHREAD_HAS_COND): Likewise.
2549         (__gthread_t): Likewise.
2550         (__gthread_cond_t): Likewise.
2551         (__gthread_time_t): Likewise.
2552         (__GTHREAD_MUTEX_INIT): Likewise.
2553         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2554         (__GTHREAD_COND_INIT): Likewise.
2555         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2556         (__GTHREAD_TIME_INIT): Likewise.
2557         (__gthread_create): Likewise.
2558         (__gthread_join): Likewise.
2559         (__gthread_detach): Likewise.
2560         (__gthread_equal): Likewise.
2561         (__gthread_self): Likewise.
2562         (__gthread_yield): Likewise.
2563         (__gthread_cond_broadcast): Likewise.
2564         (__gthread_cond_signal): Likewise.
2565         (__gthread_cond_wait): Likewise.
2566         (__gthread_cond_timedwait): Likewise.
2567         (__gthread_cond_wait_recursive): Likewise.
2568         (__gthread_cond_destroy): Likewise.
2569         (rtems_gxx_once): Delete.
2570         (rtems_gxx_key_create): Likewise.
2571         (rtems_gxx_key_delete): Likewise.
2572         (rtems_gxx_getspecific): Likewise.
2573         (rtems_gxx_setspecific): Likewise.
2574         (rtems_gxx_mutex_init): Likewise.
2575         (rtems_gxx_mutex_destroy): Likewise.
2576         (rtems_gxx_mutex_lock): Likewise.
2577         (rtems_gxx_mutex_trylock): Likewise.
2578         (rtems_gxx_mutex_unlock): Likewise.
2579         (rtems_gxx_recursive_mutex_init): Likewise.
2580         (rtems_gxx_recursive_mutex_lock): Likewise.
2581         (rtems_gxx_recursive_mutex_trylock): Likewise.
2582         (rtems_gxx_recursive_mutex_unlock): Likewise.
2583         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2584         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2585         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2586         (__gthread_once): Likewise.
2587         (__gthread_key_create): Likewise.
2588         (__gthread_key_delete): Likewise.
2589         (__gthread_getspecific): Likewise.
2590         (__gthread_setspecific): Likewise.
2591         (__gthread_key_t): Use <pthread.h> type.
2592         (__gthread_once_t): Likewise
2593         (__gthread_mutex_t): Use <sys/lock.h> type.
2594         (__gthread_recursive_mutex_t): Likewise
2595         (__gthread_mutex_lock): Use <sys/lock.h> function.
2596         (__gthread_mutex_trylock): Likewise.
2597         (__gthread_mutex_timedlock): Likewise.
2598         (__gthread_mutex_unlock): Likewise.
2599         (__gthread_mutex_destroy): Likewise.
2600         (__gthread_recursive_mutex_lock): Likewise.
2601         (__gthread_recursive_mutex_trylock): Likewise.
2602         (__gthread_recursive_mutex_timedlock): Likewise.
2603         (__gthread_recursive_mutex_unlock): Likewise.
2604         (__gthread_recursive_mutex_destroy): Likewise.
2606 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2608         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2609         context->sp instead of context->cfa.
2611 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2613         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2614         with unwind-dw2-fde-dip.
2616 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
2618         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2619         CALL12 followed by series of ENTRY to spill windowed registers.
2620         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2621         instead of making linux spill syscall.
2623 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
2625         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2626         (get_intel_cpu): Likewise.
2628 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2630         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2631         (get_intel_cpu): Add Knights Landing support.
2633 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
2635         PR target/66954
2636         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2637         (get_available_features): Handle FEATURE_PCLMUL.
2639 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
2641         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2642         Broadwell.
2644 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
2646         PR target/66954
2647         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2648         (get_available_features): Handle FEATURE_AES.
2650 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
2652         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2653         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2655 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
2657         * offloadstuff.c: Constify host data.
2659 2015-07-17  Jan Beulich  <jbeulich@suse.com>
2661         * config/t-softfp: Split up "else ifneq".
2663 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
2664             Cesar Philippidis  <cesar@codesourcery.com>
2665             Chung-Lin Tang  <cltang@codesourcery.com>
2667         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2668         for __nios2_arch__ level.
2670 2015-07-13  John Marino  <gnugcc@marino.st>
2672         * config/i386/t-dragonfly: New.
2674 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
2676         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2677         better match light-weight syscall argument order.
2678         (__kernel_cmpxchg2): Likewise.
2679         Adjust callers.
2681 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2683         * config.host: Support i[34567]86-*-elfiamcu target.
2684         * config/t-softfp-sfdftf: New file.
2685         * config/i386/32/t-iamcu: Likewise.
2686         * configure: Regenerated.
2688 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
2690         libgcc/config/arm/
2691         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2693 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2695         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2697 2015-05-27  John Marino  <gnugcc@marino.st>
2699         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2700         md_unwind_header
2701         * config/i386/freebsd-unwind.h: New.
2703 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
2705         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2706         i386/t-crtfm to tmake_file.
2707         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2708         (set_fast_math): Use set_fast_math_sse for SSE targets.
2709         * config/i386/t-crtfm: Remove.
2711 2015-05-21  Alan Modra  <amodra@gmail.com>
2713         PR libgcc/66225
2714         * config/rs6000/morestack.S: Remove ".abiversion 1".
2716 2015-05-20  Alan Modra  <amodra@gmail.com>
2718         * config/rs6000/morestack.S: New.
2719         * config/rs6000/t-stack-rs6000: New.
2720         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2721         to tmake_file.
2722         * generic-morestack.c: Don't build for powerpc 32-bit.
2724 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
2726         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2727         Remove useless endif/ifneq ($(enable_shared),yes) pair.
2729 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
2731         * config.host: FT32 target added.
2732         * config/ft32/*: New files for FT32 target.
2734 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
2736         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2737         New macros.
2738         * config/arm/ieee754-df.S: Add CFI directives.
2739         * config/arm/ieee754-sf.S: Add CFI directives.
2741 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
2743         * configure.ac: Include config/sjlj.m4.
2744         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2745         * config.in: Regenerate.
2746         * configure: Likewise.
2747         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2749 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
2751         * libgcov-util.c: Add space between string literal and macro name.
2753 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
2754             Chris Jones  <chrisj@nvidia.com>
2755             Joshua Conner  <jconner@nvidia.com>
2757         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2758         (arm*-*-uclinux*): Likewise.
2759         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2760         * config/arm/crtfastmath.c: New file.
2762 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
2764         * Makefile.in (real_host_noncanonical): New variable.
2765         (libsubdir): Use it.
2766         * configure.ac (real_host_noncanonical): Compute.  Remove special
2767         case for intelmicemul.
2768         * configure: Regenerate.
2770 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2772         * config/frv/elf-lib.h: New file.
2773         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2774         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2775         to tm_file.
2777 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
2779         * config/frv/frvbengin.c: Do not include defaults.h
2780         * config/frv/frvend.c: Ditto.
2782 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
2784         * config.host: Add h8300-*-linux
2785         * config/h8300/t-linux: New file.
2786         * config/h8300/lib1funs.s: Change symbol prefix.
2787         * config/h8300/sfp-machine.h: 64bit double support.
2789 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
2790             Szabolcs Nagy  <szabolcs.nagy@arm.com>
2792         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2793         Linux if target provides dl_iterate_phdr.
2795 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
2797         PR target/65612
2798         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2799         * config/i386/cpuinfo.c (__cpu_model): Initialize.
2800         (__cpu_indicator_init@GCC_4.8.0): New.
2801         (__cpu_model@GCC_4.8.0): Likewise.
2802         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2803         -DUSE_ELF_SYMVER.
2805 2015-04-16  Nick Clifton  <nickc@redhat.com>
2807         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2808         and __modhi3 functions.
2809         * config/rl78/divmodso.S: Add G14 and G13 versions of the
2810         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2812 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
2814         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2815         do-while loop as macro body to avoid warnings.
2817 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
2818             Iain Sandoe  <iain@codesourcery.com>
2820         PR target/65351
2821         * configure: Regenerate.
2823 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
2824             Iain Sandoe  <iain@codesourcery.com>
2826         PR target/65351
2827         * configure: Regenerate.
2829 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
2831         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2833 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
2835         Implement call0 ABI for xtensa
2836         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2837         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2838         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2839         use ret in call0 ABI.
2840         * config/xtensa/t-windowed: New file.
2841         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2842         * libgcc/configure: Regenerated.
2843         * libgcc/configure.ac: Check if xtensa target is configured for
2844         windowed ABI and thus needs to use custom unwind code.
2846 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
2848         PR libgcc/64885
2849         * gthr-single.h: Use __unused__ attribute instead of unused.
2850         * config/gthr-vxworks.h: Likewise.
2851         * config/i386/gthr-win32.h: Likewise.
2853 2015-02-27  Kai Tietz  <ktietz@redhat.com>
2855         PR target/65038
2856         * config.in: Regenerated.
2857         * configure: Likewise.
2858         * configure.ac (AC_HEADER_STDC): Added explicit.
2859         (AC_CHECK_HEADERS): Check for default headers  plus
2860         for ftw.h header.
2861         * libgcov-util.c (gcov_read_profile_dir): Disable use
2862         of ftw-function, if header is not found.
2863         (ftw_read_file): Likewise.
2865 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
2867         PR target/65181
2868         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2869         -Dinhibit_libc.
2871 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
2873         * config/arm/bpabi.S (test_div_by_zero): Make label names
2874         consistent between thumb2 and arm mode cases.  Separate the
2875         signed comparison on the high word of the numerator from the
2876         unsigned comparison on the low word.
2877         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2878         signed comparison.
2880 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2882         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2883         and <string.h>.
2884         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2886 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
2888         PR gcov-profile/61889
2889         * libgcov-driver-system.c: undefine clashing macro for mkdir.
2891 2015-02-02  Nick Clifton  <nickc@redhat.com>
2893         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2894         rounding up the fraction.
2896 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
2898         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2899         oldval and newval to const void *.  Fix typo.
2900         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2901         (FETCH_AND_OP_WORD): Likewise.
2902         (OP_AND_FETCH_WORD): Likewise.
2903         (COMPARE_AND_SWAP_2): Likewise.
2904         (__sync_val_compare_and_swap_4): Likewise.
2905         (__sync_lock_test_and_set_4): Likewise.
2906         (SYNC_LOCK_RELEASE_2): Likewise.
2907         Remove support for long long atomic operations.
2909 2015-01-27  Caroline Tice  <cmtice@google.com>
2911         Committing VTV Cywin/Ming patch for Patrick Wollgast
2912         * Makefile.in: Move rules to build vtv_*.o out of the check
2913         for CUSTOM_CRTSTUFF.
2914         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2915         i[34567]86-*-mingw*)
2916          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2917         enable_vtable_verify.
2919 2015-01-27  Nick Clifton  <nickc@redhat.com>
2921         * config/rl78/cmpsi2.S: Use function start and end macros.
2922         (__gcc_bcmp): New function.
2923         * config/rl78/lshrsi3.S: Use function start and end macros.
2924         * config/rl78/mulsi3.S: Add support for G10.
2925         (__mulqi3): New function for G10.
2926         * config/rl78/signbit.S: Use function start and end macros.
2927         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2928         fpmath-sf.S.
2929         (LIB2FUNCS_EXCLUDE): Define.
2930         (LIB2FUNCS_ST): Define.
2931         * config/rl78/trampoline.S: Use function start and end macros.
2932         * config/rl78/vregs.h (START_FUNC): New macro.
2933         (START_ANOTHER_FUNC): New macro.
2934         (END_FUNC): New macro.
2935         (END_ANOTHER_FUNC): New macro.
2936         * config/rl78/bit-count.S: New file.  Contains assembler
2937         implementations of the bit counting functions: ___clzhi2,
2938         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2939         __paritysi2, __popcounthi2 and __popcountsi2.
2940         * config/rl78/fpbit-sf.S: New file.  Contains assembler
2941         implementationas of the math functions: __negsf2, __cmpsf2,
2942         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2943         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
2944         * config/rl78/fpmath-sf.S: New file.  Contains assembler
2945         implementations of the math functions: __subsf3, __addsf3,
2946         __mulsf3 and __divsf3
2948 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2950         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2951         Add i386/elf-lib.h to tm_file.
2952         * config/i386/elf-lib.h: Fix comment.
2953         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2954         && __sun__ && __svr4__]: Remove workaround.
2956 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2958         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2959         FEATURE_BMI2.
2960         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2962 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
2964         * config/i386/cpuinfo.c (processor_subtypes): Add
2965         INTEL_COREI7_BROADWELL.
2966         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2967         model numbers.
2969 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
2971         * config/i386/elf-lib.h: New file.
2972         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2973         Wrap definition in #ifdef __i386__.
2974         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2975         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2976         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2977         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2978         to tm_file.
2980 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
2982         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2983         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2985 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
2987         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2988         Update rt_sigframe format and address for current Nios II
2989         Linux conventions.
2991 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2993         * config.host (arm*-*-freebsd*): Add new configuration for
2994         arm*-*-freebsd*.
2995         * config/arm/freebsd-atomic.c: New file.
2996         * config/arm/t-freebsd: Likewise.
2997         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2998         'PC-relative indirect' OS's.
3000 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
3002         * config.host: Add Visium support.
3003         * config/visium: New directory.
3005 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
3007         Update copyright years.
3009 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
3011         * config.host: Support mipsisa32r6 and mipsisa64r6.
3012         * config/mips/mips16.S: Do not build for R6.
3014 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
3016         * config/sh/crt.h: New.
3017         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3018         symbols.
3019         * config/sh/crt1.S: Likewise.
3021 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
3023         PR libgcc/63832
3024         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3025         func_ptr *dtor_list temporary variable to avoid "array subscript
3026         is above array bounds" warnings.
3028 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
3030         * Makefile.in (with_aix_soname): Define.
3031         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3032         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3033         * configure: Recreate.
3035 2014-12-05  Olivier Hainque  <hainque@adacore.com>
3037         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3038         now provided by defaults.h.
3040 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
3042         PR target/55351
3043         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3044         whether it's defined.
3046 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
3048         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3049         * config/i386/cpuinfo.c (get_available_features): Detect it.
3051 2014-11-27  Tony Wang  <tony.wang@arm.com>
3053         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3054         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3055         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3057 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
3059         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3061 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
3063         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3064         instead.
3066 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3067             John David Anglin  <danglin@gcc.gnu.org>
3069         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3070         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
3071         (OP_AND_FETCH_2): Likewise.
3072         (COMPARE_AND_SWAP_2): Likewise.
3073         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3074         (SYNC_LOCK_RELEASE_2): Likewise.
3075         (SUBWORD_SYNC_OP): Remove.
3076         (SUBWORD_VAL_CAS): Likewise.
3077         (SUBWORD_BOOL_CAS): Likewise.
3078         (FETCH_AND_OP_WORD): Update.
3079         Consistently use signed types.
3081 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
3082             Thomas Schwinge  <thomas@codesourcery.com>
3083             Ilya Verbin  <ilya.verbin@intel.com>
3084             Andrey Turetskiy  <andrey.turetskiy@intel.com>
3086         * Makefile.in (crtoffloadbegin$(objext)): New rule.
3087         (crtoffloadend$(objext)): Likewise.
3088         * configure: Regenerate.
3089         * configure.ac (accel_dir_suffix): Compute new variable.
3090         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3091         if enable_offload_targets is not empty.
3092         * offloadstuff.c: New file.
3094 2014-11-13  Nick Clifton  <nickc@redhat.com>
3096         * config/rl78/divmodhi.S: Add support for the G10 architecture.
3097         Use START_FUNC and END_FUNC macros to enable linker garbage
3098         collection.
3099         * config/rl78/divmodqi.S: Likewise.
3100         * config/rl78/divmodsi.S: Likewise.
3101         * config/rl78/mulsi3.S: Likewise.
3102         * config/rl78/lib2div.c: Remove G10 functions.
3103         * config/rl78/lib2muls.c: Likewise.
3104         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3105         * config/rl78/vregs.h (START_FUNC): New macro.
3106         (END_FUNC): New macro.
3108 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
3110         * config/mips/mips16.S: Set .module when supported.  Update O32
3111         FP64 calling convention and use for FPXX when possible.  Add FPXX
3112         calling convention fallback case.
3114 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
3116         * config.host: Handle nvptx-*-*.
3117         * shared-object.mk (as-flags-$o): Define.
3118         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3119         -xassembler-with-cpp.
3120         * static-object.mk: Identical changes.
3121         * config/nvptx/t-nvptx: New file.
3122         * config/nvptx/crt0.s: New file.
3123         * config/nvptx/free.asm: New file.
3124         * config/nvptx/malloc.asm: New file.
3125         * config/nvptx/realloc.c: New file.
3127 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3129         * Makefile.in (libgcc.map.in): New target.
3130         (libgcc.map): Use libgcc.map.in.
3131         * config/t-softfp (softfp_compat): New variable to be set by
3132         users.
3133         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3134         variables.
3135         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3136         directory.
3137         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3138         that use compat symbols and disable all code unless [SHARED].
3139         * config/t-softfp-compat: New file.
3140         * find-symver.awk: New file.
3141         * configure.ac (--with-glibc-version): New configure option.
3142         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3143         * configure: Regenerate.
3144         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3145         soft-float and e500.
3147 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
3149         * config/t-hardfp (hardfp_exclusions): Document new variable for
3150         user to define.
3151         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3152         * config/t-softfp (softfp_extras): Document new variable for user
3153         to define.
3154         (softfp_func_list): Add functions from $(softfp_extras).
3155         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3156         * config.host (powerpc*-*-linux*): For e500v1, use
3157         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3158         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3159         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3161 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
3163         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3164         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3165         memory read accesses are ok.
3167 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
3169         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3170         * configure: Regenerate.
3171         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3172         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
3173         of soft-fp for 32-bit classic hard float.  Do not use
3174         t-softfp-excl for soft float.
3176 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
3178         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3179         configurations.
3180         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3181         Remove variables.
3183 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
3185         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3186         introduced with 2014-10-21 trunk r216525.
3188 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
3189             Vidya Praveen  <vidya.praveen@atmel.com>
3190             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
3191             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
3192             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
3194         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3195         order.
3197         Updated library functions for AVRTINY arch.
3198         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3199         Replaced occurrences of r0/r1 with tmp/zero reg macros.
3200         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3201         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3202         wsubi/wadi macors.
3203         (__mulsi3_helper): Update stack, preserve callee saved regs and
3204         argument from stack. Restore callee save registers.
3205         (__mulpsi3): Likewise.
3206         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3207         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3208         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3209         AVRTINY.
3210         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3211         (__do_copy_data): Added new definition for AVRTINY.
3212         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3213         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3214         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3215         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3216         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3217         macors.
3218         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3219         AVRTINY.
3221         Fix broken long multiplication on tiny arch.
3223 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3225         * soft-fp/double.h: Update from glibc.
3226         * soft-fp/eqdf2.c: Likewise.
3227         * soft-fp/eqsf2.c: Likewise.
3228         * soft-fp/eqtf2.c: Likewise.
3229         * soft-fp/extenddftf2.c: Likewise.
3230         * soft-fp/extended.h: Likewise.
3231         * soft-fp/extendsfdf2.c: Likewise.
3232         * soft-fp/extendsftf2.c: Likewise.
3233         * soft-fp/extendxftf2.c: Likewise.
3234         * soft-fp/gedf2.c: Likewise.
3235         * soft-fp/gesf2.c: Likewise.
3236         * soft-fp/getf2.c: Likewise.
3237         * soft-fp/ledf2.c: Likewise.
3238         * soft-fp/lesf2.c: Likewise.
3239         * soft-fp/letf2.c: Likewise.
3240         * soft-fp/op-1.h: Likewise.
3241         * soft-fp/op-2.h: Likewise.
3242         * soft-fp/op-4.h: Likewise.
3243         * soft-fp/op-8.h: Likewise.
3244         * soft-fp/op-common.h: Likewise.
3245         * soft-fp/quad.h: Likewise.
3246         * soft-fp/single.h: Likewise.
3247         * soft-fp/soft-fp.h: Likewise.
3248         * soft-fp/unorddf2.c: Likewise.
3249         * soft-fp/unordsf2.c: Likewise.
3250         * soft-fp/unordtf2.c: Likewise.
3251         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3252         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3253         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3254         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3255         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3256         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3257         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3258         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3259         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3260         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3262 2014-10-08  Rong Xu  <xur@google.com>
3264         * libgcov-util.c (read_gcda_file): Fix format.
3265         (find_match_gcov_info): Ditto.
3266         (calculate_2_entries): New.
3267         (compute_one_gcov): Ditto.
3268         (gcov_info_count_all_cold): Ditto.
3269         (gcov_info_count_all_zero): Ditto.
3270         (extract_file_basename): Ditto.
3271         (get_file_basename): Ditto.
3272         (set_flag): Ditto.
3273         (matched_gcov_info): Ditto.
3274         (calculate_overlap): Ditto.
3275         (gcov_profile_overlap): Ditto.
3276         * libgcov-driver.c (compute_summary): Make
3277         it avavilable for external calls.
3279 2014-10-06  Rong Xu  <xur@google.com>
3281         * Makefile.in: Ditto.
3282         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3283         (gcov_sort_icall_topn_counter): Ditto.
3284         (gcov_sort_topn_counter_arrays): Ditto.
3285         (dump_one_gcov): Sort indirect_call topn counters.
3286         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3287         function.
3288         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3289         utility function.
3290         (__gcov_indirect_call_topn_profiler): New profiler function.
3291         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3292         * libgcov.h: New decls.
3294 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
3296         * config.host: Remove support for score-*.
3298 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3300         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3301         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3302         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3303         __LIBGCC_XF_MANT_DIG__.
3304         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3305         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3306         __LIBGCC_TF_MANT_DIG__.
3307         * libgcc2.c (NOTRUNC): Define in terms of
3308         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3309         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3311 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
3313         PR target/63312
3314         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3315         New macros.
3317 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
3319         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3320         override USE_PT_GNU_EH_FRAME.
3321         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3322         check USE_EH_FRAME_REGISTRY_ALWAYS against
3323         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3324         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3325         variable for substituted force_explicit_eh_registry.
3326         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3327         * configure.ac (explicit-exception-frame-registration):
3328         New AC_ARG_ENABLE.
3329         * configure: Regenerate.
3331 2014-09-19  Olivier Hainque  <hainque@adacore.com>
3333         * config.host (powerpc-wrs-vxworksmils): New configuration,
3334         same as vxworksae.
3336 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3338         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3340 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
3342         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3343         bits not set bits as indicating trapping exceptions.
3345 2014-09-17  Nathan sidwell  <nathan@acm.org>
3347         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3348         (LIBGCOV_DRIVER): ... here.
3349         * libgcov-driver.c (gcov_master): New.
3350         (gcov_exit): Remove from master chain.
3351         (__gcov_init): Add to master chain if version compatible.  Don't
3352         clear the version.
3353         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3354         (gcov_reset_int): Clear master chain, if compatible.
3355         (gcov_dump_int): New internal interface.  Dump master chain, if
3356         compatible.
3357         (gcov_dump): Alias for gcov_dump_int.
3358         * libgcov.h (struct gcov_root): Add next and prev fields.
3359         (struct gcov_master): New struct.
3360         (__gcov_master): New.
3361         (gcov_dump_int): Declare.
3363 2014-09-17  Olivier Hainque  <hainque@adacore.com>
3365         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3366         and crtbegin.o + crtend.o to extra_parts.
3368 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3370         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3371         __LIBGCC_HAS_SF_MODE__.
3372         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3373         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3374         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3375         * config/libbid/bid_gcc_intrinsics.h
3376         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3377         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3378         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3379         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3380         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3381         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3383 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
3385         PR target/63223
3386         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3387         and R24 as needed.  Make work for all devices and .text locations.
3388         (__do_global_ctors, __do_global_dtors): Use word addresses.
3389         (__tablejump__, __tablejump_elpm__): Remove functions.
3390         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3391         Add _tablejump2.
3392         (XICALL, XIJMP): New macros.
3394 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3395         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3397         * config.host (aarch64*): Include crtfastmath.o and
3398         t-crtfm.
3399         * config/aarch64/crtfastmath.c: New file.
3401 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
3403         * config.host: Remove picochip support.
3404         * config/picochip/adddi3.S: Remove.
3405         * config/picochip/ashlsi3.S: Remove.
3406         * config/picochip/ashlsi3.c: Remove.
3407         * config/picochip/ashrsi3.S: Remove.
3408         * config/picochip/ashrsi3.c: Remove.
3409         * config/picochip/clzsi2.S: Remove.
3410         * config/picochip/cmpsi2.S: Remove.
3411         * config/picochip/divmod15.S: Remove.
3412         * config/picochip/divmodhi4.S: Remove.
3413         * config/picochip/divmodsi4.S: Remove.
3414         * config/picochip/lib1funcs.S: Remove.
3415         * config/picochip/longjmp.S: Remove.
3416         * config/picochip/lshrsi3.S: Remove.
3417         * config/picochip/lshrsi3.c: Remove.
3418         * config/picochip/parityhi2.S: Remove.
3419         * config/picochip/popcounthi2.S: Remove.
3420         * config/picochip/setjmp.S: Remove.
3421         * config/picochip/subdi3.S: Remove.
3422         * config/picochip/t-picochip: Remove.
3423         * config/picochip/ucmpsi2.S: Remove.
3424         * config/picochip/udivmodhi4.S: Remove.
3425         * config/picochip/udivmodsi4.S: Remove.
3427 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3429         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3430         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3431         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3432         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3433         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
3434         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3435         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
3436         defined and LIBGCC2_HAS_DF_MODE is defined.
3437         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
3438         defined and LIBGCC2_HAS_XF_MODE is defined.
3439         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
3440         defined and LIBGCC2_HAS_TF_MODE is defined.
3442 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
3444         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3445         and ROUND_TOWARDS_ZERO conditionals.
3447 2014-09-07  Nathan sidwell  <nathan@acm.org>
3449         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3450         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
3452 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
3454         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3455         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3456         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3457         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3458         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3459         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3460         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3461         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3462         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3463         (DWARF_FRAME_REGISTERS): Change all uses to
3464         __LIBGCC_DWARF_FRAME_REGISTERS__.
3465         (EH_RETURN_STACKADJ_RTX): Change all uses to
3466         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3467         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3468         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
3469         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3470         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3471         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3472         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3473         to __LIBGCC_EH_FRAME_SECTION_NAME__.
3474         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3475         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3476         __LIBGCC_STACK_POINTER_REGNUM__.
3477         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3478         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3479         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3480         to __LIBGCC_STACK_POINTER_REGNUM__.
3481         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3482         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3483         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3484         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3485         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3486         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3487         (STACK_POINTER_REGNUM): Change all uses to
3488         __LIBGCC_STACK_POINTER_REGNUM__.
3489         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3490         use to __LIBGCC_STACK_POINTER_REGNUM__.
3491         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3492         uses to __LIBGCC_STACK_POINTER_REGNUM__.
3493         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3494         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3495         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3496         to __LIBGCC_DWARF_FRAME_REGISTERS__.
3497         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3498         to __LIBGCC_STACK_POINTER_REGNUM__.
3499         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3500         Remove conditional definition.
3501         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3502         __LIBGCC_TEXT_SECTION_ASM_OP__.
3503         (EH_FRAME_SECTION_NAME): Change all uses to
3504         __LIBGCC_EH_FRAME_SECTION_NAME__.
3505         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3506         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3507         (CTORS_SECTION_ASM_OP): Change all uses to
3508         __LIBGCC_CTORS_SECTION_ASM_OP__.
3509         (DTORS_SECTION_ASM_OP): Change all uses to
3510         __LIBGCC_DTORS_SECTION_ASM_OP__.
3511         (JCR_SECTION_NAME): Change all uses to
3512         __LIBGCC_JCR_SECTION_NAME__.
3513         (INIT_SECTION_ASM_OP): Change all uses to
3514         __LIBGCC_INIT_SECTION_ASM_OP__.
3515         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3516         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3517         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3518         __LIBGCC_STACK_GROWS_DOWNWARD__.
3519         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3520         __LIBGCC_INIT_SECTION_ASM_OP__.
3521         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3522         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3523         (EH_FRAME_SECTION_NAME): Change all uses to
3524         __LIBGCC_EH_FRAME_SECTION_NAME__.
3525         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3526         definitions.  Change all uses to
3527         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3528         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3529         __LIBGCC_STACK_GROWS_DOWNWARD__.
3530         (DWARF_FRAME_REGISTERS): Change all uses to
3531         __LIBGCC_DWARF_FRAME_REGISTERS__.
3532         (EH_RETURN_STACKADJ_RTX): Change all uses to
3533         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3534         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3535         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3536         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3537         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3538         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3540 2014-09-02  Nathan sidwell  <nathan@acm.org>
3542         * libgcov-interface.c (STRONG_ALIAS): New.
3543         (__gcov_flush): Call __gcov_reset_int.
3544         (__gcov_reset): Strong alias for ...
3545         (__gcov_reset_ing): ... this renamed hidden version.
3546         * libgcov.h (__gcov_reset_int): New declaration.
3548 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
3550         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3551         call from here...
3552         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3553         (__dso_handle): Define on Cygwin.
3554         * config/i386/t-cygming (crtbeginS.o): New rule.
3555         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3557         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3558         declaration syntax.
3560 2014-08-13  Steve Ellcey  <sellcey@mips.com>
3562         * crtstuff.c: Undef caddr_t.
3564 2014-08-12  Steve Ellcey  <sellcey@mips.com>
3566         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
3568 2014-08-07  Nathan Sidwell  <nathan@acm.org>
3570         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3571         (LIBGCOV_DRIVER): ... to here.
3572         * libgcov.h (gcov_do_dump): New #define.
3573         (struct gcov_root): New.
3574         (__gcov_root): New declaration.
3575         (__gcov_dump_one): Declare.
3576         * libgcov-driver.c (gcov_list, gcov_dump_complete,
3577         run_accounted): Delete.
3578         (gcov_compute_histogram): Add LIST argument, adjust.
3579         (compute_summary): Adjust gcov_compute_histogram call.
3580         (gcov_do_dump): Not hidden, static in libgcov.
3581         (gcov_clear): Move  to interface.c.
3582         (__gcov_dump_one): New, broken out of ...
3583         (gcov_exit): ... here.  Make static.
3584         (__gcov_root): New.
3585         (__gcov_init): Adjust.
3586         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3587         declarations.
3588         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3589         (gcov_clear): Moved from driver.c.   Add LIST argument.
3590         (__gcov_reset): Adjust for changed interfaces.
3591         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3593 2014-08-04  Rohit  <rohitarulraj@freescale.com>
3595         PR target/60102
3596         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3597         based on change in SPE high register numbers and 3 HTM registers.
3599 2014-08-01  Nathan Sidwell  <nathan@acm.org>
3601         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3602         LIBGCOV_INTERFACE): Reformat.
3603         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3604         IN_GCOV_TOOL.
3605         * libgcov-interface.c: Reformat some comments.
3606         (__gcov_flush_mx): Add declaration.  Tidy up definition.
3608 2014-07-31  Alan Modra  <amodra@gmail.com>
3609             Peter Bergner  <bergner@vnet.ibm.com>
3611         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3612         (pack_ldouble): New function.
3613         (__gcc_qadd): Use it.
3614         (__gcc_qmul): Likewise.
3615         (__gcc_qdiv): Likewise.
3616         (__gcc_qneg): Likewise.
3617         (__gcc_stoq): Likewise.
3618         (__gcc_dtoq): Likewise.
3620 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
3622         * config/s390/tpf-unwind.h: Include <stdbool.h>.
3623         (__tpf_eh_return): Add original return address as second parameter.
3624         Handle cases where unwinder routines were called directly, instead
3625         of from within the C++ library.
3627 2014-07-29  Nathan Sidwell  <nathan@acm.org>
3629         * libgcov.h: Move renaming of entry points to lib gcov specific
3630         portion.
3631         (gcov_do_dump): New rename.
3632         (gcov_rewrite): Remove inline, make HIDDEN.
3633         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3634         (gcov_exit_compute_summary): Rename to ...
3635         (compute_summary): ... here.  Add LIST argument.
3636         (gcov_exit_merge_gcda): Rename to ...
3637         (merge_one_data): ... here.
3638         (gcov_exit_write_gcda): Rename to ...
3639         (write_one_data): ... here.
3640         (gcov_exit_merge_summary): Rename to ...
3641         (merge_summary): Add RUN_COUNTED argument.
3642         (gcov_exit_dump_gcov): Rename to ...
3643         (dump_one_gcov): Add RUN_COUNTED argument.
3644         (gcov_do_dump): New function, broken out of ...
3645         (gcov_exit): ... here.  Call it.
3647 2014-07-27  Anthony Green  <green@moxielogic.com>
3649         * config.host: Add moxiebox configuration suppport.
3651 2014-07-27  Nathan Sidwell  <nathan@acm.org>
3653         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3654         (struct gcov_filename): ... here.  Include buffer and max length
3655         fields.
3656         (gcov_max_filename): Remove.
3657         (gi_filename): Remove.
3658         (gcov_exit_compute_summary): Compute max filename here.
3659         (gcov_exit_merge_gcda): Add filename parm, adjust.
3660         (gcov_exit_merge_summary): Likewise.
3661         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3662         (gcov_exit): Likewise.
3663         (__gcov_init): Don't calculate max length here.
3664         * libgcov_util.c (max_filename_len): Remove.
3665         (read_gcda_file): Don't calculate max length here.
3666         (gcov_read_profile_dir): Don't propagate here.
3667         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3668         struct gcov_filename changes.
3669         (gcov_exit_open_gcda_file): Likewise.
3671 2014-07-25  Nathan Sidwell  <nathan@acm.org>
3673         * libgcov-driver.c (set_gcov_dump_complete,
3674         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3675         functions polluting user's namespace.
3676         (gcov_exit): Set variable directly.
3677         (gcov_clear): Reset variable directly.
3678         * libgcov-interface.c (get_gcov_dymp_complete,
3679         reset_gov_dump_complete): Remove declarations.
3680         (__gcov_reset, __gcov_dump): Don't call them.
3682 2014-07-24  DJ Delorie  <dj@redhat.com>
3684         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3685         (__gcc_deregister_frame): Move logic to detect deregister function
3686         to ...
3687         (__gcc_register_frame): here, so it's consistent with the register
3688         logic.
3690 2014-07-23  Nathan Sidwell  <nathan@acm.org>
3692         * libgcov-driver.c (set_gcov_list): Remove.
3693         (gcov_list): Make non-static in GCOV_TOOL.
3694         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3696 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
3698         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3699         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3700         Don't use SYNC_LOCK_RELEASE for int type.
3702 2014-07-14  Richard Biener  <rguenther@suse.de>
3704         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3706 2014-07-11  Rong Xu  <xur@google.com>
3708         * libgcov-util.c (gcov_max_filename): Fix declartion.
3710 2014-07-10  Rong Xu  <xur@google.com>
3712         Add gcov-tool: an offline gcda profile processing tool
3713         Support.
3714         * libgcov-driver.c (gcov_max_filename): Make available
3715         to gcov-tool.
3716         * libgcov-merge.c (__gcov_merge_add): Replace
3717         gcov_read_counter() with a Macro.
3718         (__gcov_merge_ior): Ditto.
3719         (__gcov_merge_time_profile): Ditto.
3720         (__gcov_merge_single): Ditto.
3721         (__gcov_merge_delta): Ditto.
3722         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3723         in the utility functions.
3724         (set_fn_ctrs): Utility function for reading gcda files to in-memory
3725         gcov_list object link lists.
3726         (tag_function): Ditto.
3727         (tag_blocks): Ditto.
3728         (tag_arcs): Ditto.
3729         (tag_lines): Ditto.
3730         (tag_counters): Ditto.
3731         (tag_summary): Ditto.
3732         (read_gcda_finalize): Ditto.
3733         (read_gcda_file): Ditto.
3734         (ftw_read_file): Ditto.
3735         (read_profile_dir_init): Ditto.
3736         (gcov_read_profile_dir): Ditto.
3737         (gcov_read_counter_mem): Ditto.
3738         (gcov_get_merge_weight): Ditto.
3739         (merge_wrapper): A wrapper function that calls merging handler.
3740         (gcov_merge): Merge two gcov_info objects with weights.
3741         (find_match_gcov_info): Find the matched gcov_info in the list.
3742         (gcov_profile_merge): Merge two gcov_info object lists.
3743         (__gcov_add_counter_op): Process edge profile counter values.
3744         (__gcov_ior_counter_op): Process IOR profile counter values.
3745         (__gcov_delta_counter_op): Process delta profile counter values.
3746         (__gcov_single_counter_op): Process single  profile counter values.
3747         (fp_scale): Callback function for float-point scaling.
3748         (int_scale): Callback function for integer fraction scaling.
3749         (gcov_profile_scale): Scaling profile counters.
3750         (gcov_profile_normalize): Normalize profile counters.
3751         * libgcov.h: Add headers and functions for gcov-tool use.
3752         (gcov_get_counter): New.
3753         (gcov_get_counter_target): Ditto.
3754         (struct gcov_info): Make the functions field mutable in gcov-tool
3755         compilation.
3757 2014-06-23  Kai Tietz  <ktietz@redhat.com>
3759         PR libgcc/61585
3760         * unwind-seh.c (_Unwind_GetGR): Check for proper
3761         index range.
3762         (_Unwind_SetGR): Likewise.
3764 2014-05-22  Nick Clifton  <nickc@redhat.com>
3766         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3767         -mhwmult=none.
3769 2014-05-22  Teresa Johnson  <tejohnson@google.com>
3771         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3772         include.
3774 2014-05-20  John Marino  <gnugcc@marino.st>
3776         * config.host (*-*-dragonfly*): New target.
3777         * crtstuff.c: Make dl_iterate_support generic on *bsd.
3778         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3779         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3780         * config/i386/dragonfly-unwind.h: New.
3782 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
3784         PR libgcc/60166
3785         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3786         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3788 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3790         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3791         implementation.
3793 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
3795         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3797 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3799         PR libgcc/61097
3800         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3801         if --enable-shared.
3803 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3805         Work around for current cygwin32 build problems.
3806         * config/i386/cygming-crtbegin.c (__register_frame_info,
3807         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3808         functions only for 64-bit systems.
3810 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3812         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3813         (sigill_caught, sigill_hdlr): Remove.
3815 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3817         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3818         check.
3819         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3820         Solaris 9 single-threaded support.
3821         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3822         Solaris 9 single-threaded support.  Add call_user_handler code
3823         sequences.
3824         (sparc_is_sighandler): Likewise.
3826 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3828         * config.host: Append t-floattodi to tmake_file depending on
3829         host_address.
3831 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
3833         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3835 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
3837         PR libgcc/60472
3838         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3839         variable to avoid "array subscript is above array bounds" warnings.
3840         Use __builtin_expect when checking *jcr_list for NULL.
3842 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3844         PR libgcc/59339
3845         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3846         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3847         vtv_*.o to extra_parts if enable_vtable_verify.
3849 2014-03-06  Nick Clifton  <nickc@redhat.com>
3851         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3852         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3854 2014-02-28  Joey Ye  <joey.ye@arm.com>
3856         PR libgcc/60166
3857         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3858         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3859         Set to zero.
3861 2014-02-24  Walter Lee  <walt@tilera.com>
3863         * config.host: Support "tilegx*" and "tilepro*" triplets.
3864         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3865         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3867 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
3868             Chung-Lin Tang  <cltang@codesourcery.com>
3870         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3871         * config/nios2/crti.S: Remove .file directive.
3872         * config/nios2/crtn.S: Likewise.
3874 2014-02-18  Kai Tietz  <ktietz@redhat.com>
3875         Jonathan Schleifer  <js@webkeks.org>
3877         PR objc/56870
3878         * unwind-seh.c (_GCC_specific_handler): Pass proper
3879         value to unwind-handler.
3881 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3883         * soft-fp/adddf3.c: Update from glibc.
3884         * soft-fp/addsf3.c: Likewise.
3885         * soft-fp/addtf3.c: Likewise.
3886         * soft-fp/divdf3.c: Likewise.
3887         * soft-fp/divsf3.c: Likewise.
3888         * soft-fp/divtf3.c: Likewise.
3889         * soft-fp/double.h: Likewise.
3890         * soft-fp/eqdf2.c: Likewise.
3891         * soft-fp/eqsf2.c: Likewise.
3892         * soft-fp/eqtf2.c: Likewise.
3893         * soft-fp/extenddftf2.c: Likewise.
3894         * soft-fp/extended.h: Likewise.
3895         * soft-fp/extendsfdf2.c: Likewise.
3896         * soft-fp/extendsftf2.c: Likewise.
3897         * soft-fp/extendxftf2.c: Likewise.
3898         * soft-fp/fixdfdi.c: Likewise.
3899         * soft-fp/fixdfsi.c: Likewise.
3900         * soft-fp/fixdfti.c: Likewise.
3901         * soft-fp/fixsfdi.c: Likewise.
3902         * soft-fp/fixsfsi.c: Likewise.
3903         * soft-fp/fixsfti.c: Likewise.
3904         * soft-fp/fixtfdi.c: Likewise.
3905         * soft-fp/fixtfsi.c: Likewise.
3906         * soft-fp/fixtfti.c: Likewise.
3907         * soft-fp/fixunsdfdi.c: Likewise.
3908         * soft-fp/fixunsdfsi.c: Likewise.
3909         * soft-fp/fixunsdfti.c: Likewise.
3910         * soft-fp/fixunssfdi.c: Likewise.
3911         * soft-fp/fixunssfsi.c: Likewise.
3912         * soft-fp/fixunssfti.c: Likewise.
3913         * soft-fp/fixunstfdi.c: Likewise.
3914         * soft-fp/fixunstfsi.c: Likewise.
3915         * soft-fp/fixunstfti.c: Likewise.
3916         * soft-fp/floatdidf.c: Likewise.
3917         * soft-fp/floatdisf.c: Likewise.
3918         * soft-fp/floatditf.c: Likewise.
3919         * soft-fp/floatsidf.c: Likewise.
3920         * soft-fp/floatsisf.c: Likewise.
3921         * soft-fp/floatsitf.c: Likewise.
3922         * soft-fp/floattidf.c: Likewise.
3923         * soft-fp/floattisf.c: Likewise.
3924         * soft-fp/floattitf.c: Likewise.
3925         * soft-fp/floatundidf.c: Likewise.
3926         * soft-fp/floatundisf.c: Likewise.
3927         * soft-fp/floatunditf.c: Likewise.
3928         * soft-fp/floatunsidf.c: Likewise.
3929         * soft-fp/floatunsisf.c: Likewise.
3930         * soft-fp/floatunsitf.c: Likewise.
3931         * soft-fp/floatuntidf.c: Likewise.
3932         * soft-fp/floatuntisf.c: Likewise.
3933         * soft-fp/floatuntitf.c: Likewise.
3934         * soft-fp/gedf2.c: Likewise.
3935         * soft-fp/gesf2.c: Likewise.
3936         * soft-fp/getf2.c: Likewise.
3937         * soft-fp/ledf2.c: Likewise.
3938         * soft-fp/lesf2.c: Likewise.
3939         * soft-fp/letf2.c: Likewise.
3940         * soft-fp/muldf3.c: Likewise.
3941         * soft-fp/mulsf3.c: Likewise.
3942         * soft-fp/multf3.c: Likewise.
3943         * soft-fp/negdf2.c: Likewise.
3944         * soft-fp/negsf2.c: Likewise.
3945         * soft-fp/negtf2.c: Likewise.
3946         * soft-fp/op-1.h: Likewise.
3947         * soft-fp/op-2.h: Likewise.
3948         * soft-fp/op-4.h: Likewise.
3949         * soft-fp/op-8.h: Likewise.
3950         * soft-fp/op-common.h: Likewise.
3951         * soft-fp/quad.h: Likewise.
3952         * soft-fp/single.h: Likewise.
3953         * soft-fp/soft-fp.h: Likewise.
3954         * soft-fp/subdf3.c: Likewise.
3955         * soft-fp/subsf3.c: Likewise.
3956         * soft-fp/subtf3.c: Likewise.
3957         * soft-fp/truncdfsf2.c: Likewise.
3958         * soft-fp/trunctfdf2.c: Likewise.
3959         * soft-fp/trunctfsf2.c: Likewise.
3960         * soft-fp/trunctfxf2.c: Likewise.
3961         * soft-fp/unorddf2.c: Likewise.
3962         * soft-fp/unordsf2.c: Likewise.
3963         * soft-fp/unordtf2.c: Likewise.
3964         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3965         macro.
3966         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3967         Likewise.
3968         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3969         Likewise.
3970         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3971         Likewise.
3972         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3973         Likewise.
3974         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3975         Likewise.
3976         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3977         Likewise.
3978         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3979         Likewise.
3980         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3981         Likewise.
3982         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3983         Likewise.
3984         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3985         Likewise.
3986         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3987         Likewise.
3988         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3989         Likewise.
3990         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3991         Likewise.
3992         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3993         Likewise.
3994         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3995         Likewise.
3997 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3999         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4000         cannot be represented.
4001         * config/s390/32/_fixsfdi.c: Likewise.
4002         * config/s390/32/_fixtfdi.c: Likewise.
4003         * config/s390/32/_fixunsdfdi.c: Likewise.
4004         * config/s390/32/_fixunssfdi.c: Likewise.
4005         * config/s390/32/_fixunstfdi.c: Likewise.
4007 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
4009         * configure.ac (libgcc_cv_mips_hard_float): New.
4010         * configure: Regenerate.
4011         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4012         t-softfp-sfdf for hard-float targets.
4013         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4014         (softfp_float_modes, softfp_int_modes, softfp_extensions)
4015         (softfp_truncations, softfp_exclude_libgcc2): New.
4016         * config/t-hardfp: New file.
4017         * config/t-hardfp-sfdf: Likewise.
4018         * config/hardfp.c: Likewise.
4020 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4022         * config.host: Include t-floattodi also for s390x.
4023         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4024         * config/s390/32/_fixsfdi.c: Likewise.
4025         * config/s390/32/_fixtfdi.c: Likewise.
4026         * config/s390/32/_fixunsdfdi.c: Likewise.
4027         * config/s390/32/_fixunssfdi.c: Likewise.
4028         * config/s390/32/_fixunstfdi.c: Likewise.
4030 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4032         PR target/59788
4033         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4034         (install-libgcc-unwind-map-forbuild): New target.
4035         (all): Depend on install-libgcc-unwind-map-forbuild.
4036         (install-libgcc-unwind-map): New target.
4037         (install): Depend on install-libgcc-unwind-map.
4039 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
4041         * config/nios2/crti.S (_init): Initialize GOT pointer from
4042         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4044 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
4046         * configure.ac: Check __mips64 when setting host_address.
4047         * configure: Regenerate.
4048         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4049         mips/t-mips64 and t-softfp.
4050         (mips*-*-linux*): Don't add mips/t-tpbit.
4051         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4052         (DPBIT, DPBIT_CFLAGS): Delete.
4053         * config/mips/sfp-machine.h: New file.
4054         * config/mips/t-mips64: Likewise.
4055         * config/mips/t-softfp-tf: Likewise.
4056         * config/mips/t-tpbit: Delete.
4058 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4060         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4061         as long long.
4063 2014-01-25  Walter Lee  <walt@tilera.com>
4065         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
4066         config.h or system.h.
4067         (bool) Define.
4069 2014-01-25  Walter Lee  <walt@tilera.com>
4071         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4072         (post_atomic_barrier): Ditto.
4073         (__fetch_and_do): New macro.
4074         (__atomic_fetch_and_do): Use __fetch_and_do.
4075         (__sync_fetch_and_do): New macro.
4076         (__sync_fetch_and_add_4): New function.
4077         (__sync_fetch_and_sub_4): New function.
4078         (__sync_fetch_and_or_4): New function.
4079         (__sync_fetch_and_and_4): New function.
4080         (__sync_fetch_and_xor_4): New function.
4081         (__sync_fetch_and_nand_4): New function.
4082         (__sync_fetch_and_add_8): New function.
4083         (__sync_fetch_and_sub_8): New function.
4084         (__sync_fetch_and_or_8): New function.
4085         (__sync_fetch_and_and_8): New function.
4086         (__sync_fetch_and_xor_8): New function.
4087         (__sync_fetch_and_nand_8): New function.
4088         (__do_and_fetch): New macro.
4089         (__atomic_do_and_fetch): Use __do_and_fetch.
4090         (__sync_do_and_fetch): New macro.
4091         (__sync_add_and_fetch_4): New function.
4092         (__sync_sub_and_fetch_4): New function.
4093         (__sync_or_and_fetch_4): New function.
4094         (__sync_and_and_fetch_4): New function.
4095         (__sync_xor_and_fetch_4): New function.
4096         (__sync_nand_and_fetch_4): New function.
4097         (__sync_add_and_fetch_8): New function.
4098         (__sync_sub_and_fetch_8): New function.
4099         (__sync_or_and_fetch_8): New function.
4100         (__sync_and_and_fetch_8): New function.
4101         (__sync_xor_and_fetch_8): New function.
4102         (__sync_nand_and_fetch_8): New function.
4103         (__sync_exchange_methods): New macro.
4104         (__sync_val_compare_and_swap_4): New function.
4105         (__sync_bool_compare_and_swap_4): New function.
4106         (__sync_lock_test_and_test_4): New function.
4107         (__sync_val_compare_and_swap_8): New function.
4108         (__sync_bool_compare_and_swap_8): New function.
4109         (__sync_lock_test_and_test_8): New function.
4110         (__subword_cmpxchg_body): New macro.
4111         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4112         (__atomic_compare_exchange_2): Ditto.
4113         (__sync_subword_cmpxchg): New macro.
4114         (__sync_val_compare_and_swap_1): New function.
4115         (__sync_bool_compare_and_swap_1): New function.
4116         (__sync_val_compare_and_swap_2): New function.
4117         (__sync_bool_compare_and_swap_2): New function.
4118         (__atomic_subword): Rename to ...
4119         (__subword): ... New name.
4120         (__atomic_subword_fetch): Use __subword.
4121         (__sync_subword_fetch): New macro.
4122         (__sync_fetch_and_add_1): New function.
4123         (__sync_fetch_and_sub_1): New function.
4124         (__sync_fetch_and_or_1): New function.
4125         (__sync_fetch_and_and_1): New function.
4126         (__sync_fetch_and_xor_1): New function.
4127         (__sync_fetch_and_nand_1): New function.
4128         (__sync_fetch_and_add_2): New function.
4129         (__sync_fetch_and_sub_2): New function.
4130         (__sync_fetch_and_or_2): New function.
4131         (__sync_fetch_and_and_2): New function.
4132         (__sync_fetch_and_xor_2): New function.
4133         (__sync_fetch_and_nand_2): New function.
4134         (__sync_add_and_fetch_1): New function.
4135         (__sync_sub_and_fetch_1): New function.
4136         (__sync_or_and_fetch_1): New function.
4137         (__sync_and_and_fetch_1): New function.
4138         (__sync_xor_and_fetch_1): New function.
4139         (__sync_nand_and_fetch_1): New function.
4140         (__sync_add_and_fetch_2): New function.
4141         (__sync_sub_and_fetch_2): New function.
4142         (__sync_or_and_fetch_2): New function.
4143         (__sync_and_and_fetch_2): New function.
4144         (__sync_xor_and_fetch_2): New function.
4145         (__sync_nand_and_fetch_2): New function.
4146         (__atomic_subword_lock): Use __subword.
4147         (__sync_subword_lock): New macro.
4148         (__sync_lock_test_and_set_1): New function.
4149         (__sync_lock_test_and_set_2): New function.
4151 2014-01-25  Walter Lee  <walt@tilera.com>
4153         * config/tilepro/atomic.c (BIT_OFFSET): Define.
4154         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4155         (__atomic_subword): Ditto.
4157 2014-01-25  Walter Lee  <walt@tilera.com>
4159         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4160         a prefix op argument.
4161         (__atomic_nand_fetch_4): Add prefix op.
4162         (__atomic_nand_fetch_8): Ditto.
4164 2014-01-21  Baruch Siach  <barch@tkos.co.il>
4166         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4168 2014-01-09  Rong Xu  <xur@google.com>
4170         * libgcov-driver.c (this_prg): make it local to save
4171         bss space.
4172         (gcov_exit_compute_summary): Ditto.
4173         (gcov_exit_merge_gcda): Ditto.
4174         (gcov_exit_merge_summary): Ditto.
4175         (gcov_exit_dump_gcov): Ditto.
4177 2014-01-08  Rong Xu  <xur@google.com>
4179         * libgcov-driver.c: Use libgcov.h.
4180         (buffer_fn_data): Use xmalloc instead of malloc.
4181         (gcov_exit_merge_gcda): Ditto.
4182         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4183         * libgcov.h: New common header files for libgcov-*.h.
4184         * libgcov-interface.c: Use libgcov.h
4185         * libgcov-merge.c: Ditto.
4186         * libgcov-profiler.c: Ditto.
4187         * Makefile.in: Add dependence to libgcov.h
4189 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4191         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4192         case of small numerator and finite nonzero result.
4194 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4196         Update copyright years
4198 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
4200         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4201         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4202         config/arc/dp-hack.h, config/arc/fp-hack.h,
4203         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4204         config/arc/ieee-754/arc600-dsp/divdf3.S,
4205         config/arc/ieee-754/arc600-dsp/divsf3.S,
4206         config/arc/ieee-754/arc600-dsp/muldf3.S,
4207         config/arc/ieee-754/arc600-dsp/mulsf3.S,
4208         config/arc/ieee-754/arc600-mul64/divdf3.S,
4209         config/arc/ieee-754/arc600-mul64/divsf3.S,
4210         config/arc/ieee-754/arc600-mul64/muldf3.S,
4211         config/arc/ieee-754/arc600-mul64/mulsf3.S,
4212         config/arc/ieee-754/arc600/divsf3.S,
4213         config/arc/ieee-754/arc600/mulsf3.S,
4214         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4215         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4216         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4217         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4218         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4219         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4220         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4221         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4222         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4223         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4224         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4225         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4226         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4227         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4228         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4229         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4230         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4231         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4232         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4233         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4234         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4235         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4236         vtv_start_preinit.c: Use the standard form for the copyright notice.
4238 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
4239             Chung-Lin Tang  <cltang@codesourcery.com>
4240             Based on patches from Altera Corporation
4242         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4243         * config/nios2/lib2-nios2.h: New file.
4244         * config/nios2/lib2-divmod-hi.c: New file.
4245         * config/nios2/linux-unwind.h: New file.
4246         * config/nios2/lib2-divmod.c: New file.
4247         * config/nios2/linux-atomic.c: New file.
4248         * config/nios2/t-nios2: New file.
4249         * config/nios2/crti.asm: New file.
4250         * config/nios2/t-linux: New file.
4251         * config/nios2/lib2-divtable.c: New file.
4252         * config/nios2/lib2-mul.c: New file.
4253         * config/nios2/tramp.c: New file.
4254         * config/nios2/crtn.asm: New file.
4256 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
4258         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4259         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4260         from cpuid.h to check vendor signatures.
4262 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
4264         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4265         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4266         (get_amd_cpu): Likewise.
4268 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
4270         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4271         Haswell.
4273 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4274             H.J. Lu  <hongjiu.lu@intel.com>
4276         PR target/59422
4277         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
4278         and AMD_JAGUAR.
4279         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4280         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4281         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
4282         FEATURE_XOP and FEATURE_FMA.
4283         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4284         AMDFAM15H_BDVER3.
4285         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4286         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4287         FEATURE_FMA4 and FEATURE_XOP.
4289 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
4291         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4292         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4293         (get_intel_cpu): Updated.
4295 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
4297         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4299 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
4301         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4302         instructions when __SSE_MATH__ is defined.
4304 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
4306         * config.host (microblaze-*-rtems*): New.
4308 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
4310         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4311         architectures that do not have hardware divide instruction.
4312         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4314 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
4316         * longlong.h: Delete (moved to include/).
4318 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4320         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4321         of normal number and qNaN to not raise an inexact exception.
4323 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
4325         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4327 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
4329         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4330         for correct opcodes on BE.
4332 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
4334         * soft-fp/op-4.h: Update from glibc.
4336 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
4338         * libgcc2.c (__udivmoddi4): Define new implementation when
4339         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4340         divide instructions.
4342 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
4344         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4346 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4348         * config/t-softfp (soft-fp-objects-base): New variable.
4349         (soft-fp-objects): Use it.
4351 2013-11-23  David Edelson  <dje.gcc@gmail.com>
4352             Andrew Dixie  <andrewd@gentrack.com>
4354         PR target/33704
4355         * config/rs6000/aixinitfini.c: New file.
4356         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4357         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4358         symbols.
4360 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
4362         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4364 2013-11-18  Jan Hubicka  <jh@suse.cz>
4366         * libgcov-driver.c (run_accounted): Make global level static.
4367         (gcov_exit_merge_summary): Silence warning; do not clear
4368         run_accounted here.
4369         (gcov_exit): Clear it here.
4371         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4372         run_accounted.
4374         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4375         (all_prg, crc32): Remove static vars.
4376         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4377         all_prg.
4378         (gcov_exit_merge_gcda): Add crc32 parameter.
4379         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4380         do not account run if it was already accounted.
4381         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4382         (gcov_exit): Initialize all_prg; update.
4384 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
4386         * configure: Regenerate.
4388 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4389             Alan Modra  <amodra@gmail.com>
4391         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4392         (frob_update_context): Use it.
4394 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4395             Alan Modra  <amodra@gmail.com>
4397         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4398         (trampoline_initial): Provide ELFv2 variant.
4399         (__trampoline_setup): Likewise.
4401         * config/rs6000/linux-unwind.h (frob_update_context): Do not
4402         check for AIX indirect function call sequence if _CALL_ELF == 2.
4404 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4405             Alan Modra  <amodra@gmail.com>
4407         * config/rs6000/linux-unwind.h (get_regs): Do not support
4408         old kernel versions if _CALL_ELF == 2.
4409         (frob_update_context): Do not support PLT stub variants only
4410         generated by old linkers if _CALL_ELF == 2.
4412 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
4413             Alan Modra  <amodra@gmail.com>
4415         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4416         location of CR save area for 64-bit little-endian systems.
4418 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
4420         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4421         in tmake_file.
4422         * config/arm/t-vxworks: Delete.
4424 2013-11-10  Kai Tietz  <ktietz@redhat.com>
4426         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4427         Increment load-count on use of LIBGCC_SONAME DLL.
4428         (hmod_libgcc): New static variable to hold handle of
4429         LIBGCC_SONAME DLL.
4430         (__gcc_deregister_frame): Decrement load-count of
4431         LIBGCC_SONAME DLL.
4433 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
4435         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4436         availability.
4437         * configure: Regenerate
4439 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
4441         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4442         FP_EX_DENORM.  Store result to volatile location after SSE division
4443         to close interrupt window.  Remove unneeded fwait after x87
4444         division since interrupt window will be closed by emitted fstp.
4445         Rewrite FP_EX_INEXACT handling.
4447 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
4449         * soft-fp/README: Update.
4450         * soft-fp/adddf3.c: Update from glibc.
4451         * soft-fp/addsf3.c: Likewise.
4452         * soft-fp/addtf3.c: Likewise.
4453         * soft-fp/divdf3.c: Likewise.
4454         * soft-fp/divsf3.c: Likewise.
4455         * soft-fp/divtf3.c: Likewise.
4456         * soft-fp/double.h: Likewise.
4457         * soft-fp/eqdf2.c: Likewise.
4458         * soft-fp/eqsf2.c: Likewise.
4459         * soft-fp/eqtf2.c: Likewise.
4460         * soft-fp/extenddftf2.c: Likewise.
4461         * soft-fp/extended.h: Likewise.
4462         * soft-fp/extendsfdf2.c: Likewise.
4463         * soft-fp/extendsftf2.c: Likewise.
4464         * soft-fp/extendxftf2.c: Likewise.
4465         * soft-fp/fixdfdi.c: Likewise.
4466         * soft-fp/fixdfsi.c: Likewise.
4467         * soft-fp/fixdfti.c: Likewise.
4468         * soft-fp/fixsfdi.c: Likewise.
4469         * soft-fp/fixsfsi.c: Likewise.
4470         * soft-fp/fixsfti.c: Likewise.
4471         * soft-fp/fixtfdi.c: Likewise.
4472         * soft-fp/fixtfsi.c: Likewise.
4473         * soft-fp/fixtfti.c: Likewise.
4474         * soft-fp/fixunsdfdi.c: Likewise.
4475         * soft-fp/fixunsdfsi.c: Likewise.
4476         * soft-fp/fixunsdfti.c: Likewise.
4477         * soft-fp/fixunssfdi.c: Likewise.
4478         * soft-fp/fixunssfsi.c: Likewise.
4479         * soft-fp/fixunssfti.c: Likewise.
4480         * soft-fp/fixunstfdi.c: Likewise.
4481         * soft-fp/fixunstfsi.c: Likewise.
4482         * soft-fp/fixunstfti.c: Likewise.
4483         * soft-fp/floatdidf.c: Likewise.
4484         * soft-fp/floatdisf.c: Likewise.
4485         * soft-fp/floatditf.c: Likewise.
4486         * soft-fp/floatsidf.c: Likewise.
4487         * soft-fp/floatsisf.c: Likewise.
4488         * soft-fp/floatsitf.c: Likewise.
4489         * soft-fp/floattidf.c: Likewise.
4490         * soft-fp/floattisf.c: Likewise.
4491         * soft-fp/floattitf.c: Likewise.
4492         * soft-fp/floatundidf.c: Likewise.
4493         * soft-fp/floatundisf.c: Likewise.
4494         * soft-fp/floatunditf.c: Likewise.
4495         * soft-fp/floatunsidf.c: Likewise.
4496         * soft-fp/floatunsisf.c: Likewise.
4497         * soft-fp/floatunsitf.c: Likewise.
4498         * soft-fp/floatuntidf.c: Likewise.
4499         * soft-fp/floatuntisf.c: Likewise.
4500         * soft-fp/floatuntitf.c: Likewise.
4501         * soft-fp/gedf2.c: Likewise.
4502         * soft-fp/gesf2.c: Likewise.
4503         * soft-fp/getf2.c: Likewise.
4504         * soft-fp/ledf2.c: Likewise.
4505         * soft-fp/lesf2.c: Likewise.
4506         * soft-fp/letf2.c: Likewise.
4507         * soft-fp/muldf3.c: Likewise.
4508         * soft-fp/mulsf3.c: Likewise.
4509         * soft-fp/multf3.c: Likewise.
4510         * soft-fp/negdf2.c: Likewise.
4511         * soft-fp/negsf2.c: Likewise.
4512         * soft-fp/negtf2.c: Likewise.
4513         * soft-fp/op-1.h: Likewise.
4514         * soft-fp/op-2.h: Likewise.
4515         * soft-fp/op-4.h: Likewise.
4516         * soft-fp/op-8.h: Likewise.
4517         * soft-fp/op-common.h: Likewise.
4518         * soft-fp/quad.h: Likewise.
4519         * soft-fp/single.h: Likewise.
4520         * soft-fp/soft-fp.h: Likewise.
4521         * soft-fp/subdf3.c: Likewise.
4522         * soft-fp/subsf3.c: Likewise.
4523         * soft-fp/subtf3.c: Likewise.
4524         * soft-fp/truncdfsf2.c: Likewise.
4525         * soft-fp/trunctfdf2.c: Likewise.
4526         * soft-fp/trunctfsf2.c: Likewise.
4527         * soft-fp/trunctfxf2.c: Likewise.
4528         * soft-fp/unorddf2.c: Likewise.
4529         * soft-fp/unordsf2.c: Likewise.
4530         * soft-fp/unordtf2.c: Likewise.
4532 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
4534         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4535         (_FP_MUL_MEAT_D): Ditto.
4536         (_FP_DIV_MEAT_S): Ditto.
4537         (_FP_DIV_MEAT_D): Ditto.
4538         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4539         t-softfp-sfdf and t-softfp to tmake_file.
4541 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
4543         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4544         * config/i386/crtprec.c: Ditto.
4546 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
4547             Shiva Chen  <shiva0217@gmail.com>
4549         * config.host (nds32*-elf*): Add nds32 target.
4550         * config/nds32 : New directory and files.
4552 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
4554         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
4555         * config.host (cpu_type) <Setting default>: Add entry for
4556         crisv32-*-*.
4557         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4558         <crisv32-*-linux*>: Adjust.
4559         * longlong.h: Wrap the whole CRIS section in a single
4560         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
4561         and sub_ddmmss.
4562         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4563         defined.
4564         [__CRIS__] (__umulsidi3): Define.
4565         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4566         * config/cris/sfp-machine.h: New file.
4567         * config/cris/umulsidi3.S: New file.
4568         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4569         * config/cris/arit.c (SIGNMULT): New macro.
4570         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4571         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4572         saving 3 out of originally 33 cycles from the fastest
4573         path, 3 out of 54 from the medium path and one from the longest
4574         path.  Improve comments.
4576 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
4578         * sync.c: Remove static aliases and define each function directly
4579         under its real name.
4581 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
4583         * config.host (hppa*64*-*-linux*): Define extra_parts.
4584         (hppa*-*-linux*): Likewise.
4586 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
4588         * config/arc/crtgend.S: Add 2013 to Copyright years.
4589         * config/arc/gmon/atomic.h: Likewise.
4590         * config/arc/gmon/auxreg.h: Likewise.
4591         * config/arc/gmon/sys/gmon_out.h: Likewise.
4592         * config/arc/gmon/sys/gmon.h: Likewise.
4593         * config/arc/gmon/prof-freq.c: Likewise.
4594         * config/arc/gmon/mcount.c: Likewise.
4595         * config/arc/gmon/prof-freq-stub.S: Likewise.
4596         * config/arc/gmon/gmon.c: Likewise.
4597         * config/arc/gmon/machine-gmon.h: Likewise.
4598         * config/arc/gmon/profil.S: Likewise.
4599         * config/arc/gmon/dcache_linesz.S: Likewise.
4600         * config/arc/crtg.S: Likewise.
4601         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4602         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4603         * config/arc/ieee-754/adddf3.S: Likewise.
4604         * config/arc/ieee-754/truncdfsf2.S: Likewise.
4605         * config/arc/ieee-754/fixsfsi.S: Likewise.
4606         * config/arc/ieee-754/gtsf2.S: Likewise.
4607         * config/arc/ieee-754/floatsisf.S: Likewise.
4608         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4609         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4610         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4611         * config/arc/ieee-754/fixdfsi.S: Likewise.
4612         * config/arc/ieee-754/addsf3.S: Likewise.
4613         * config/arc/ieee-754/gesf2.S: Likewise.
4614         * config/arc/ieee-754/floatsidf.S: Likewise.
4615         * config/arc/ieee-754/extendsfdf2.S: Likewise.
4616         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4617         * config/arc/ieee-754/gtdf2.S: Likewise.
4618         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4619         * config/arc/ieee-754/uneqdf2.S: Likewise.
4620         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4621         * config/arc/ieee-754/uneqsf2.S: Likewise.
4622         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4623         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4624         * config/arc/ieee-754/eqdf2.S: Likewise.
4625         * config/arc/ieee-754/ordsf2.S: Likewise.
4626         * config/arc/ieee-754/divsf3.S: Likewise.
4627         * config/arc/ieee-754/divdf3.S: Likewise.
4628         * config/arc/ieee-754/floatunsidf.S: Likewise.
4629         * config/arc/ieee-754/orddf2.S: Likewise.
4630         * config/arc/ieee-754/eqsf2.S: Likewise.
4631         * config/arc/ieee-754/gedf2.S: Likewise.
4632         * config/arc/crtn.S: Likewise.
4633         * config/arc/crti.S: Likewise.
4634         * config/arc/t-arc700-uClibc: Likewise.
4635         * config/arc/asm.h: Likewise.
4636         * config/arc/libgcc-excl.ver: Likewise.
4637         * config/arc/t-arc-newlib: Likewise.
4638         * config/arc/divtab-arc700.c: Likewise.
4639         * config/arc/initfini.c: Likewise.
4640         * config/arc/fp-hack.h: Likewise.
4642 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4643             Diego Novillo  <dnovillo@google.com>
4645         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4646         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4647         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4648         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4650 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
4651             Brendan Kehoe  <brendan@zen.org>
4652             Simon Cook  <simon.cook@embecosm.com>
4654         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4655         * config/arc: New directory.
4656         * longlong.h [__arc__] (umul_ppmm): Remove.
4657         [__arc__] (__umulsidi3): Define.
4658         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4659         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4661 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
4663         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4664         CreateSemaphoreA.
4665         * config/i386/gthr-win32.h: Likewise.
4667 2013-09-16  DJ Delorie  <dj@redhat.com>
4669         * config/rl78/vregs.h: Add G10 register definitions.
4670         * config/rl78/lib2mul.c: Enable for RL78/G10.
4671         * config/rl78/lib2div.c: Likewise.
4672         * config/rl78/lshrsi3.S: Use vregs.h.
4673         * config/rl78/cmpsi2.S: Likewise.
4674         * config/rl78/trampoline.S: Likewise.
4675         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
4677 2013-09-14  DJ Delorie  <dj@redhat.com>
4678             Nick Clifton  <nickc@redhat.com>
4680         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4681         * config/rl78/vregs.h: New.
4682         * config/rl78/signbit.S: New file.  Implements signbit function.
4683         * config/rl78/divmodsi.S: New.
4684         * config/rl78/divmodhi.S: New.
4685         * config/rl78/divmodqi.S: New.
4686         * config/rl78/t-rl78: Build them here...
4687         * config/rl78/lib2div.c: ...but not here.
4689 2013-09-12  DJ Delorie  <dj@redhat.com>
4691         * config.host (msp*-*-elf): New.
4692         * config/msp430/: New port.
4694 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
4696         PR gcov-profile/58127
4697         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4698         __thread var for emulated TLS.
4699         (__gcov_indirect_call_counters): Likewise.
4701 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
4702             Catherine Moore  <clm@codesourcery.com>
4703             Richard Sandiford  <rdsandiford@googlemail.com>
4705         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4706         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4707         (CALL_STUB_NO_RET): Likewise.
4708         (CALL_STUB_RET): Likewise.
4709         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4710         __mips16_ret call/return stub symbols.
4711         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4712         to tmake_file.
4714 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
4716         * config.host <mips*-*-linux*>: Remove a stray comment.
4718 2013-08-10  Jan Hubicka  <jh@suse.cz>
4720         Work around binutils PR14342
4721         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4722         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4723         (L_gcov_indirect_call_profiler_v2): New.
4725 2013-08-06  Jan Hubicka  <jh@suse.cz>
4727         * libgcov.c (__gcov_indirect_call_callee,
4728         __gcov_indirect_call_counters): New global vars.
4729         (__gcov_indirect_call_profiler): replace by ...
4730         (__gcov_indirect_call_profiler_v2) ... this one.
4732 2013-08-06  Caroline Tice  <cmtice@google.com>
4734         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4735         vtv_start_preinit.o and vtv_end_preinit.o.
4736         * configure.ac: Add code to check/set enable_vtable_verify.
4737         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4738         true.
4739         * vtv_start_preinit.c: New file.
4740         * vtv_end_preinit.c: New file.
4741         * vtv_start.c: New file.
4742         * vtv_end.c: New file.
4743         * configure: Regenerated.
4745 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
4747         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4748         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4749         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4750         GPL-3.0-with-GCC-exception.
4752 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
4754         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4755         ISA and up.
4757 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4759         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4760         mapping for FPRs when creating the fallback framestate.
4762 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
4764         PR target/57516
4765         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4766         (__round_s2_const, __round_u2_const)
4767         (__round_s4_const, __round_u4_const, __round_x8):
4768         Saturate result if addition result cannot be represented.
4770 2013-07-15  Matthias Klose  <doko@ubuntu.com>
4772         * libgcc2.c: Don't include <limits.h>.
4774 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
4776         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4778 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
4780         PR target/29776
4781         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4783 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
4785         PR middle-end/36041
4786         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4787         Define.
4788         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4789         instead of table lookups.
4790         (__popcountDI2): Likewise.
4792 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4794         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4795         correctly.
4797 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
4799         PR other/53317
4800         * soft-fp/adddf3.c: Update from glibc.
4801         * soft-fp/addsf3.c: Likewise.
4802         * soft-fp/addtf3.c: Likewise.
4803         * soft-fp/divdf3.c: Likewise.
4804         * soft-fp/divsf3.c: Likewise.
4805         * soft-fp/divtf3.c: Likewise.
4806         * soft-fp/double.h: Likewise.
4807         * soft-fp/eqdf2.c: Likewise.
4808         * soft-fp/eqsf2.c: Likewise.
4809         * soft-fp/eqtf2.c: Likewise.
4810         * soft-fp/extenddftf2.c: Likewise.
4811         * soft-fp/extended.h: Likewise.
4812         * soft-fp/extendsfdf2.c: Likewise.
4813         * soft-fp/extendsftf2.c: Likewise.
4814         * soft-fp/fixdfdi.c: Likewise.
4815         * soft-fp/fixdfsi.c: Likewise.
4816         * soft-fp/fixsfdi.c: Likewise.
4817         * soft-fp/fixsfsi.c: Likewise.
4818         * soft-fp/fixtfdi.c: Likewise.
4819         * soft-fp/fixtfsi.c: Likewise.
4820         * soft-fp/fixunsdfdi.c: Likewise.
4821         * soft-fp/fixunsdfsi.c: Likewise.
4822         * soft-fp/fixunssfdi.c: Likewise.
4823         * soft-fp/fixunssfsi.c: Likewise.
4824         * soft-fp/fixunstfdi.c: Likewise.
4825         * soft-fp/fixunstfsi.c: Likewise.
4826         * soft-fp/floatdidf.c: Likewise.
4827         * soft-fp/floatdisf.c: Likewise.
4828         * soft-fp/floatditf.c: Likewise.
4829         * soft-fp/floatsidf.c: Likewise.
4830         * soft-fp/floatsisf.c: Likewise.
4831         * soft-fp/floatsitf.c: Likewise.
4832         * soft-fp/floatundidf.c: Likewise.
4833         * soft-fp/floatundisf.c: Likewise.
4834         * soft-fp/floatunditf.c: Likewise.
4835         * soft-fp/floatunsidf.c: Likewise.
4836         * soft-fp/floatunsisf.c: Likewise.
4837         * soft-fp/floatunsitf.c: Likewise.
4838         * soft-fp/gedf2.c: Likewise.
4839         * soft-fp/gesf2.c: Likewise.
4840         * soft-fp/getf2.c: Likewise.
4841         * soft-fp/ledf2.c: Likewise.
4842         * soft-fp/lesf2.c: Likewise.
4843         * soft-fp/letf2.c: Likewise.
4844         * soft-fp/muldf3.c: Likewise.
4845         * soft-fp/mulsf3.c: Likewise.
4846         * soft-fp/multf3.c: Likewise.
4847         * soft-fp/negdf2.c: Likewise.
4848         * soft-fp/negsf2.c: Likewise.
4849         * soft-fp/negtf2.c: Likewise.
4850         * soft-fp/op-1.h: Likewise.
4851         * soft-fp/op-2.h: Likewise.
4852         * soft-fp/op-4.h: Likewise.
4853         * soft-fp/op-8.h: Likewise.
4854         * soft-fp/op-common.h: Likewise.
4855         * soft-fp/quad.h: Likewise.
4856         * soft-fp/single.h: Likewise.
4857         * soft-fp/soft-fp.h: Likewise.
4858         * soft-fp/subdf3.c: Likewise.
4859         * soft-fp/subsf3.c: Likewise.
4860         * soft-fp/subtf3.c: Likewise.
4861         * soft-fp/truncdfsf2.c: Likewise.
4862         * soft-fp/trunctfdf2.c: Likewise.
4863         * soft-fp/trunctfsf2.c: Likewise.
4864         * soft-fp/unorddf2.c: Likewise.
4865         * soft-fp/unordsf2.c: Likewise.
4866         * soft-fp/unordtf2.c: Likewise.
4867         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4868         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4869         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4870         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4871         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4872         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4873         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4874         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4875         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4876         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4877         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4878         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4880 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
4882         * config/mips/lib2funcs.c: New file.
4883         * config/mips/t-mips (LIB2ADD_ST): Add it.
4885 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
4887         PR target/6526
4888         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4889         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
4891 2013-06-08  Walter Lee  <walt@tilera.com>
4893         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4894         Replace int64_t with long long.  Add __extension__ where
4895         appropriate.
4896         * config/tilepro/atomic.c: Include config.h.
4898 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
4900         * config.host (arm-wrs-vxworks): Configure with other soft float.
4902 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
4904         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4905         (mips64r5900el-*-elf*): New configurations.
4907 2013-06-04  Alan Modra  <amodra@gmail.com>
4909         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4911 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
4913         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4915 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
4917         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4918         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4919         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4921 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4923         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4924         (powerpc-wrs-vxworks): Likewise.
4926 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
4928         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4929         signal frames as well.
4930         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4931         STACK_BIAS to the CFA offset.
4933 2013-05-17  Richard Henderson  <rth@redhat.com>
4935         PR target/49146
4936         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4937         (execute_cfa_program): Use it when storing to fs->regs.
4939 2013-05-08  Kai Tietz  <ktietz@redhat.com>
4941         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4942         (__deregister_frame_info): Likewise.
4944 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
4946         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4947         NaN's payload.
4949         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4951 2013-04-25  Alan Modra  <amodra@gmail.com>
4953         * config.host: Match little-endian powerpc-linux.
4955 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
4957         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4958         as 'unsigned long long' instead of 'unsigned long'.
4959         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4960         'signed long'.
4962 2013-04-10  Julian Brown  <julian@codesourcery.com>
4964         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4965         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4966         unsigned char/unsigned short.
4967         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4969 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4971         PR other/55274
4972         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4974 2013-04-04  Meador Inge  <meadori@codesourcery.com>
4976         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4977         computing the location of the link register.
4978         (aeabi_uldivmod): Ditto.
4980 2013-03-27  Kai Tietz  <ktietz@redhat.com>
4982         * config.host: Add support for cygwin x64 target.
4983         * configure: Regenerated.
4985 2013-03-26  Walter Lee  <walt@tilera.com>
4987         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4988         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4990 2013-03-25  Kai Tietz  <ktietz@redhat.com>
4992         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4994 2013-03-20  Robert Mason  <rbmj@verizon.net>
4996         * config/vxlib-tls.c (__gthread_get_tsd_data,)
4997         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4998         (__gthread_leave_tsd_dtor_context): Add prototypes.
4999         (tls_delete_hook): Update.
5001 2013-03-20  Catherine Moore  <clm@codesourcery.com>
5002             Joseph Myers  <joseph@codesourcery.com>
5003             Chao-ying Fu  <fu@mips.com>
5005         * config/mips/mips16.S:  Don't build for microMIPS.
5006         * config/mips/linux-unwind.h: Handle microMIPS frame.
5007         * config/mips/crtn.S (fini, init): New labels.
5009 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
5011         PR tree-optimization/53265
5012         * unwind-dw2.c (execute_cfa_program): Avoid
5013         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5014         on targets with DWARF_FRAME_REGISTERS < 32.
5016 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
5018         PR target/49880
5019         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5020         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5022 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
5024         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5025         sandybridge processors.
5027 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
5029         PR target/56529
5030         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5031         inclusion list.
5033 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5035         * config/microblaze/crti.S: Setup stack protection at entry
5037 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
5039         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5040         (__rotldi3): Shift bytewise if applicable.
5042 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
5044         * config/aarch64/sync-cache.c
5045         (__aarch64_sync_cache_range): Silence warnings.
5047 2013-02-25  Catherine Moore  <clm@codesourcery.com>
5049         Revert:
5050         2013-02-24  Catherine Moore  <clm@codesourcery.com>
5051             Joseph Myers  <joseph@codesourcery.com>
5052             Chao-ying Fu  <fu@mips.com>
5054         * config/mips/mips16.S:  Don't build for microMIPS.
5055         * config/mips/linux-unwind.h: Handle microMIPS frame.
5056         * config/mips/crtn.S (fini, init): New labels.
5058 2013-02-24  Catherine Moore  <clm@codesourcery.com>
5059             Joseph Myers  <joseph@codesourcery.com>
5060             Chao-ying Fu  <fu@mips.com>
5062         * config/mips/mips16.S:  Don't build for microMIPS.
5063         * config/mips/linux-unwind.h: Handle microMIPS frame.
5064         * config/mips/crtn.S (fini, init): New labels.
5066 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5067         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5068         as dividend.
5070 2013-02-16  Alan Modra  <amodra@gmail.com>
5072         PR target/55431
5073         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5074         (ppc_fallback_frame_state): Always set up save locations for fp
5075         and altivec.  Don't bother with non-callee-saved regs, r0-r13
5076         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5078 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
5080         PR target/54222
5081         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5082         _ssmulHA, _ssmulSA.
5083         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5084         _ssmulha3, _usmulusa3, _ssmulsa3.
5085         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5086         (__muldi3): XCALL __muldi3_6 instead of rcall.
5087         (__umulsidi3, __mulsidi3): New functions.
5088         (do_prologue_saves, do_epilogue_restores): New .macros.
5089         (__divdi3_moddi3): Use them.
5090         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5091         (__usmulusa3, __ssmulsa3): New functions.
5093 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
5094             Jack Howarth  <howarth@bromo.med.uc.edu>
5095             Patrick Marlier  <patrick.marlier@gmail.com>
5097         PR libitm/55693
5098         * config/darwin-crt-tm.c: Remove dummy functions hack.
5100 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
5102         PR target/54222
5103         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5104         * config/avr/lib2-object.mk: New iterator to build objects from it.
5105         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5106         lib2funcs.c.
5107         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5108         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5109         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5110         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5111         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5112         * config/avr/lib1funcs-fixed.S: Implement them.
5114 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
5116         Update copyright years.
5118 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
5120         PR target/54601
5121         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5122         Add crtcxa to extra_parts.
5123         * config/rs6000/exit.h: New file.
5124         * config/rs6000/cxa_atexit.c: New file.
5125         * config/rs6000/cxa_finalize.c: New file.
5126         * config/rs6000/crtcxa.c: New file.
5127         * config/rs6000/t-aix-cxa: New file.
5128         * config/rs6000/libgcc-aix-cxa.ver: New file.
5130 2013-01-31  Nick Clifton  <nickc@redhat.com>
5132         * config/v850/lib1funcs.S: Add support for e3v5 architecture
5133         variant.
5135 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
5137         PR target/54222
5138         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5139         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
5140         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5141         _divQQ,  _divHQ,  _divHA,  _divSA,
5142         _divUQQ, _divUHQ, _divUHA, _divUSA.
5144 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
5146         * config.host(microblaze*-linux*): tmake_file: Remove
5147         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5148         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5149         to exclude functions from being built with libgcc.c and use
5150         the microblaze assembly.
5152 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
5154         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5155         extra_parts.
5157 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
5159         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5160         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5161         __UINTPTR_TYPE__; also cast 'base' to the same type before the
5162         alignment operation.
5164 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
5166         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5167         loop start address for cache clearing.
5169 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5171         * config/avr/lib1funcs.S: Remove trailing blanks.
5172         * config/avr/lib1funcs-fixed.S: Ditto.
5174 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5176         * config/avr/avr-lib.h: Add GPL copyright notice.
5178 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5180         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5181         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5182         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5183         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5185 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5187         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5188         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5190 2013-01-04  Nick Clifton  <nickc@redhat.com>
5192         * config/v850/lib1funcs.S: Only provide CALLT support functions if
5193         the CALLT instruction is supported.
5195 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
5197         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5198         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5200 2012-12-13  John Tytgat  <John@bass-software.com>
5202         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5203         is 25.
5205 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
5207         PR libgcc/55451
5208         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5209         undefined signed overflows.
5211 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
5213         PR target/55344
5214         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5216 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
5218         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5219         (FP_TRAPPING_EXCEPTIONS): Define.
5220         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5221         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5223 2012-12-04  Richard Henderson  <rth@redhat.com>
5225         PR bootstrap/55571
5226         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5228 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5230         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5231         (FP_EX_SHIFT): Define.
5232         (FP_TRAPPING_EXCEPTIONS): Define.
5234 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5236         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5237         (FP_ROUNDMODE): Use FP_RND_MASK.
5238         * config/aarch64/sfp-exceptions.c: New.
5239         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5240         Use __sfp_handle_exceptions.
5242 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
5244         * config.host: (arm*-*-freebsd*): Remove.
5245         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5246         (arm*-*-elf*): Remove.
5247         (arm*-*-wince-pe*): Remove.
5248         * arm/unwind-arm.c (struct fpa_reg): Delete.
5249         (struct fpa_regs): Delete.
5250         (phase1_vrs): Remove fpa element.
5251         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5252         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5253         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5254         * ieee754-sf.S (floatundisf): Remove FPA support.
5255         (floatdisf): Likewise.
5256         * ieee75f-df.S (floatundidf): Likewise.
5257         (floatdidf): Likewise.
5259 2012-11-29  Kai Tietz  <ktietz@redhat.com>
5261         PR target/55445
5262         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5263         * unwind-generic.h: Likewise.
5264         * unwind-seh.c: Likewise.
5266 2012-11-28  Richard Henderson  <rth@redhat.com>
5268         PR libgcc/48076
5269         * emutls.c (__emutls_get_address): Avoid race condition between
5270         obj->loc.offset read and emutls_key initialization.
5272 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
5274         Adjust decimal point of signed accum mode to GCC default.
5276         PR target/54222
5277         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5278         _divqq_helper.
5279         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5280         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5281         (__mulha3, __mulsa3)
5282         (__divqq3, __divha3, __divsa3): Adjust to new position of
5283         decimal point of signed accum types.
5285         (__mulusa3_round): New function.
5286         (__mulusa3): Use it.
5287         (__divqq_helper): New function.
5288         (__udivuqq3): Use it.
5290 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
5292         PR bootstrap/55370
5293         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5295 2012-11-18  Teresa Johnson  <tejohnson@google.com>
5297         PR bootstrap/55051
5298         * libgcov.c (gcov_exit): Remove merged program summary
5299         comparison unless !GCOV_LOCKED.
5301 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5303         * soft-fp: Updated from glibc upstream.
5305 2012-11-06  Ian Lance Taylor  <iant@google.com>
5307         * generic-morestack.c (__generic_morestack): Align the returned
5308         stack pointer to a 32 byte boundary.
5309         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5310         increment the return address until we have decided that we don't
5311         have a varargs function.
5312         (__morestack) [32-bit]: Align stack correctly when calling C
5313         functions.
5314         (__morestack) [64-bit]: Likewise.
5316 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
5318         * configure: Regenerate.
5320 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
5322         PR target/55175
5323         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5324         * config/i386/sfp-machine.h: Guard exception handling
5325         code with _SOFT_FLOAT.
5326         * config/i386/32/sfp-machine.h: Guard rounding handling
5327         code with _SOFT_FLOAT.
5328         * config/i386/64/sfp-machine.h: Ditto.
5330 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
5332         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5333         as extra_parts.
5335 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
5337         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5338         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
5339         when appropriate.  Correct structure element types.
5340         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5341         -minline-all-stringops from compile flags.
5343 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5345         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5347 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
5349         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5351 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5353         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5354         tmake_file.
5356 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
5357             Jim MacArthur  <jim.macarthur@arm.com>
5358             Marcus Shawcroft  <marcus.shawcroft@arm.com>
5359             Nigel Stephens  <nigel.stephens@arm.com>
5360             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5361             Richard Earnshaw  <rearnsha@arm.com>
5362             Sofiane Naci  <sofiane.naci@arm.com>
5363             Stephen Thomas  <stephen.thomas@arm.com>
5364             Tejas Belagod  <tejas.belagod@arm.com>
5365             Yufeng Zhang  <yufeng.zhang@arm.com>
5367         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5368         * config/aarch64/crti.S: New file.
5369         * config/aarch64/crtn.S: New file.
5370         * config/aarch64/linux-unwind.h: New file.
5371         * config/aarch64/sfp-machine.h: New file.
5372         * config/aarch64/sync-cache.c: New file.
5373         * config/aarch64/t-aarch64: New file.
5374         * config/aarch64/t-softfp: New file.
5376 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
5378         * config/mmix/crti.S: Mark program and data addresses using PRELD.
5379         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
5380         no-longer-needed LDBU insns.
5382 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5384         * config.host
5385         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5386         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5388 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
5390         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5392 2012-10-15  Matthias Klose  <doko@ubuntu.com>
5394         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5396 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
5398         * configure: Regenerate.
5399         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5401 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5403         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5404         instructions for 64bit targets only.
5406 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
5408         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5409         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5410         * config/i386/32/sfp-machine.h: ... here.
5411         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5412         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5413         New defines.
5415 2012-10-07  Matthias Klose  <doko@ubuntu.com>
5417         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5418         as unused.
5419         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5421 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
5423         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5424         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5425         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5426         (ElfW): Likewise.
5428 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
5430         PR other/53889
5431         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5432         Fix parameter names.
5434 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
5436         PR target/33135
5437         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5438         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5439         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5441 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
5443         PR target/50457
5444         * config/sh/linux-atomic.S: Delete.
5445         * config/sh/linux-atomic.c: New.
5446         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5447         linux-atomic.c.  Add cflags to disable warnings.
5449 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
5451         PR other/53889
5452         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5453         function.
5454         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5455         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5456         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5457         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5458         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5459         Likewise.
5460         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5461         Likewise.
5462         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5463         Likewise.
5464         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5465         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5467 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
5469         * config.host (hppa-*-openbsd*): New target.
5470         * config/pa/t-openbsd: New file.
5472 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
5474         PR target/54222
5475         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5476         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5477         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5478         (__divsa3): Use __negsi2 to negate r_quoL.
5479         * config/avr/lib1funcs.S (FALIAS): New macro.
5480         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5481         (__negsi2): ...this new function.
5482         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5483         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5484         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5485         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5486         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5487         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5489 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
5491         PR target/54089
5492         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5493         (lshrsi3): Reimplement as lshrsi3_r0.
5495 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
5497         PR target/46191
5498         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5499         of libgcc.a.
5501 2012-09-07  Teresa Johnson  <tejohnson@google.com>
5503         PR gcov-profile/54487
5504         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5505         differences.
5507 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
5509         PR target/54461
5510         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5511         not configured --with-avrlibc=no.
5512         * config/avr/t-avrlibc: New file.
5513         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5514         (DPBIT_FUNCS): Ditto.
5515         (TPBIT_FUNCS): Ditto.
5517 2012-09-04  Teresa Johnson  <tejohnson@google.com>
5519         * libgcov.c (struct gcov_summary_buffer): New structure.
5520         (gcov_histogram_insert): New function.
5521         (gcov_compute_histogram): Ditto.
5522         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5523         histograms during summary merging.
5525 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
5527         * config.host (x86_64-*-openbsd*): New target.
5529 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
5531         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5532         attribute.
5534 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5536         PR target/54222
5537         * config/avr/t-avr (conv_X): Rename to func_X.
5539 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
5541         PR target/54222
5542         * config/avr/lib1funcs-fixed.S: New file.
5543         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
5544         after they are used.
5545         (neg2, neg4): New macros.
5546         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5547         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5548         (__umulhisi3): Speed up MUL variant if there is enough flash.
5549         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5550         avr-modes.def.
5551         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5552         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5553         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5554         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5555         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5556         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5557         (LIB2FUNCS_EXCLUDE): Add supported functions.
5559 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
5561         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5562         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5563         libgcc-s-objects.
5564         * fixed-obj.mk: Only expand dependency if $o is not in
5565         LIB2FUNCS_EXCLUDE.
5567 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
5569         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5571 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
5573         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5574         depend on --enable-shared.
5575         ($(lib1asmfuncs-o)): Use %.vis files independent of
5576         --enable-shared.
5577         * static-object.mk ($(base)$(objext), $(base).vis)
5578         ($(base)_s$(objext)): Use same rules for visibility handling as in
5579         shared-object.mk.
5581 2012-08-21  Ian Lance Taylor  <iant@google.com>
5583         * config/i386/morestack.S (__morestack_non_split): Increase amount
5584         of space allocated for non-split code stack.
5586 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
5588         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5589         even if inhibit_libc.
5591 2012-08-17  Julian Brown  <julian@codesourcery.com>
5593         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5594         -fexceptions -fnon-call-exceptions if not defined.
5595         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5596         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5598 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
5600         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5601         type.
5603 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
5605         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5606         rs6000/t-slibgcc-aix.
5608 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5610         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5612 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
5614         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5616 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
5618         PR driver/54171
5619         * Makefile.in (version): Replace top_srcdir with srcdir.
5621 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
5623         * Makefile.in (version): set to BASE-VER file from gcc directory.
5625 2012-08-01  Nick Clifton  <nickc@redhat.com>
5627         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5628         Implements __clrsb for an HImode argument.
5630 2012-07-31  Nick Clifton  <nickc@redhat.com>
5632         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5633         Implements __clrsb for an HImode argument.
5634         * config/stormy16/clrsbhi2.c: New file:
5635         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5637 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
5639         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5641 2012-07-19  Tristan Gingold  <gingold@adacore.com>
5642             Richard Henderson  <rth@redhat.com>
5644         * unwind-seh.c: New file.
5645         * unwind-generic.h: Include windows.h for SEH.
5646         (_Unwind_Exception): Use 6 private fields for SEH.
5647         (_GCC_specific_handler): Declare.
5648         * unwind-c.c (__gcc_personality_seh0): New function.
5649         Adjust for SEH.
5650         * config/i386/libgcc-cygming.ver: New file.
5651         * config/i386/t-seh-eh: New file.
5652         * config.host (x86_64-*-mingw*): Default to seh.
5654 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
5656         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5658 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
5660         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5661         __builtin_expect when checking for exceptions.
5662         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5664 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5666         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5667         function declaration.
5668         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5669         (FP_RND_MASK): New.
5670         * config/ia64/sfp-exceptions.c: New.
5671         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5673 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
5675         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5676         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5677         * config/i386/64/sfp-machine: ... (delete here) ...
5678         * config/i386/sfp-machine.h: ... to here.
5679         (FP_EX_MASK): Remove.
5680         (FP_RND_MASK): New.
5681         (FP_INIT_ROUNDMODE): Declare asm as volatile.
5683 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
5685         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5686         * config/i386/libgcc-sol2.ver: Ditto.
5687         * config/i386/libgcc-glibc.ver: Ditto.
5689 2012-06-11  Roland McGrath  <mcgrathr@google.com>
5691         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5692         If __GLIBC__ is defined, refer to __pthread_key_create instead of
5693         pthread_cancel.
5695 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
5697         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5698         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5699         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5700         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5701         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5702         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5703         * config/i386/64/sfp-machine: ... (delete here) ...
5704         * config/i386/sfp-machine.h: ... to here.
5705         (FP_EX_MASK): New.
5706         (__sfp_handle_exceptions): New function declaration.
5707         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5708         * config/i386/sfp-exceptions.c: New.
5709         * config/i386/t-softfp: New.
5710         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5711         i386/t-softfp to tmake_file.
5713 2012-06-03  David S. Miller  <davem@davemloft.net>
5715         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5716         change.
5718 2012-05-31  David S. Miller  <davem@davemloft.net>
5720         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5721         multiply and divide instructions on 32-bit when V9.
5722         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5724 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
5726         * config/arm/ieee754-df.S: Fix typos.
5727         * config/arm/ieee754-sf.S: Fix typos.
5728         * config/c6x/libunwind.S: Fix typos.
5729         * config/epiphany/udivsi3-float.c: Fix typos.
5730         * config/microblaze/muldi3_hard.S: Fix typos.
5731         * config/picochip/adddi3.S: Fix typos.
5732         * config/picochip/ashlsi3.S: Fix typos.
5733         * config/picochip/ashrsi3.S: Fix typos.
5734         * config/picochip/clzsi2.S: Fix typos.
5735         * config/picochip/cmpsi2.S: Fix typos.
5736         * config/picochip/divmod15.S: Fix typos.
5737         * config/picochip/divmodhi4.S: Fix typos.
5738         * config/picochip/divmodsi4.S: Fix typos.
5739         * config/picochip/longjmp.S: Fix typos.
5740         * config/picochip/lshrsi3.S: Fix typos.
5741         * config/picochip/parityhi2.S: Fix typos.
5742         * config/picochip/popcounthi2.S: Fix typos.
5743         * config/picochip/setjmp.S: Fix typos.
5744         * config/picochip/subdi3.S: Fix typos.
5745         * config/picochip/ucmpsi2.S: Fix typos.
5746         * config/picochip/udivmodhi4.S: Fix typos.
5747         * config/picochip/udivmodsi4.S: Fix typos.
5748         * config/spu/divv2df3.c: Fix typos.
5749         * config/spu/mfc_multi_tag_release.c: Fix typos.
5750         * config/spu/mfc_tag_release.c: Fix typos.
5751         * configure.ac: Fix typos.
5752         * configure: Regenerate.
5754 2012-05-25  Ian Lance Taylor  <iant@google.com>
5756         * config/i386/morestack.S (__morestack_non_split): Check whether
5757         caller is varargs and needs %bp to hold the stack frame on return.
5759 2012-05-25  Olivier Hainque  <hainque@adacore.com>
5761         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5762         sequence in the non pic case on VxWorks.
5764 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5766         * Makefile.in: Move dependency on install-unwind_h from
5767         "install-leaf" to "install".
5769 2012-05-24  Olivier Hainque  <hainque@adacore.com>
5771         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5772         Use a separate command for stamp removals.
5774 2012-05-21  Andrew Pinski  <apinski@cavium.com>
5776         PR bootstrap/53183
5777         * configure.ac: Define the default includes to being none.
5778         * configure: Regenerate.
5780 2012-05-16  Olivier Hainque  <hainque@adacore.com>
5782         * Makefile.in (install-unwind_h): Rename into ...
5783         (install-unwind_h-forbuild): New target.
5784         (all): Use it instead of the former install-unwind_h.
5785         (install-unwind_h): Reinstate, copy to user install destination
5786         for include files, not to the internal gcc object directory one.
5787         (install-leaf): Depend on it.
5789 2012-05-15  Olivier Hainque  <hainque@adacore.com>
5791         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5792         register numbers. LR_REGNO replaces R_LR.
5793         (ucontext_for): New, helper for ...
5794         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5795         and 5.3 of ...
5796         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5798 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5800         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5801         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5802         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5803         i386/t-cpuinfo ...
5804         (i[34567]86-*-*, x86_64-*-*): ... here.
5806         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5807         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5809         * config/i386/i386-cpuinfo.c: Rename to ...
5810         * config/i386/cpuinfo.c: ... this.
5811         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5813         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5814         (libgcc_cv_init_priority): New test.
5815         * configure: Regenerate.
5816         * config.in: New file.
5817         * Makefile.in (clean): Rename config.h to auto-target.h.
5818         (config.h): Likewise.
5819         (stamp-h): Likewise.
5821         * config/i386/cpuinfo.c (auto-target.h): Include.
5822         (CONSTRUCTOR_PRIORITY): Define.
5823         (__cpu_indicator_init): Use it.
5825 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
5827         * longlong.h: Use a URL instead of an FSF postal address.
5828         Replace spaces with tab.
5830 2012-05-08  Teresa Johnson  <tejohnson@google.com>
5832         * libgcov.c (gcov_clear, __gcov_reset): New functions.
5833         (__gcov_dump): Ditto.
5834         (gcov_dump_complete): New global variable.
5835         (gcov_exit): Export hidden to enable use in L_gcov_dump.
5836         (__gcov_flush): Outline functionality now in gcov_clear.
5837         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5839 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
5841         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5842         (mips*-*-linux*): Include mips/t-tpbit when long double is
5843         16 bytes long.
5845 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
5847         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5848         (get_available_features): New argument. Check for AVX2.
5849         (__cpu_indicator_init): Modify call to get_available_features.
5851 2012-04-25  Alan Modra  <amodra@gmail.com>
5853         * config/rs6000/crtsavevr.S: New file.
5854         * config/rs6000/crtrestvr.S: New file.
5855         * config/rs6000/t-savresfgpr: Build the above.
5856         * config/rs6000/t-netbsd: Likewise.
5858 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5860         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5862 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
5864         * libgcc/config/i386/i386-cpuinfo.c: New file.
5865         * libgcc/config/i386/t-cpuinfo: New file.
5866         * libgcc/config.host: Include t-cpuinfo.
5867         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5869 2012-04-24  Chao-ying Fu  <fu@mips.com>
5871         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5873 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
5875         struct siginfo vs. siginfo_t
5877         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5878         siginfo_t instead of struct siginfo.
5879         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5880         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5881         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5882         (ia64_handle_unwabi): Likewise.
5883         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5884         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5885         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5886         (sh_fallback_frame_state): Likewise.
5887         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5888         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5890 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
5892         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5893         system call number.
5895 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
5897         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5898         if it hasn't been previously saved.
5900 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5902         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5903         only for glibc.
5905 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
5907         PR target/52737
5908         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5909         instead of __AVR_HAVE_8BIT_SP__.
5911 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5913         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5914         (unw_table_entry): Use unw_word instead of unsigned long.
5915         (_Unwind_FindTableEntry): Likewise.
5916         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5917         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5918         (_Unwind_FindTableEntry): Likewise.
5919         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5920         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5921         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5922         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5923         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5924         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5925         (uw_init_context_1, uw_install_context): Likewise.
5926         (unw_word): Move to unwind-ia64.h
5928 2012-03-26  Tristan Gingold  <gingold@adacore.com>
5930         * config/vms/vms-ucrt0.c: Update copyright years.
5931         Add a sanity check.
5932         (___gcc_main_flags): Declare.
5933         (__main): Check flags to remap argv and exit code.
5934         * config.host (*-*-*vms*): Adjust extra_parts.
5935         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5936         (crt0.o): Add.
5938 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
5940         * arm/lib1funcs.asm (ctzsi2): New function.
5941         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5942         * arm/t-linux (LIB1ASMFUNCS): Likewise.
5943         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5944         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5945         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5946         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5948 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
5950         * config.host: Add bits to support powerpc64-*-freebsd*.
5951         * config/rs6000/freebsd-unwind.h: New file.
5952         * config/rs6000/t-freebsd64: New file.
5954 2012-03-20  Richard Guenther  <rguenther@suse.de>
5956         PR gcov-profile/52627
5957         * libgcov.c (init_mx): Fix mutex name.
5959 2012-03-16  Tristan Gingold  <gingold@adacore.com>
5961         * config/ia64/vms-unwind.h: Remove ulong (and replace
5962         it by unw_reg where used).  Define unw_reg with __int64.
5964 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5966         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5967         Solaris 8 handling.
5968         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5969         Solaris 8 handling.
5970         (sparc_is_sighandler): Likewise.
5972 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
5974         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5975         <= saved reg size.
5977 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5979         * config/arm/crtn.S: Fix typo.
5981 2012-03-13  Richard Guenther  <rguenther@suse.de>
5983         * libgcov.c: Remove stdio.h include and NULL un-define.
5985 2012-03-13  Richard Guenther  <rguenther@suse.de>
5987         PR target/52569
5988         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5990 2012-03-13  Richard Guenther  <rguenther@suse.de>
5992         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5994 2012-03-13  Richard Guenther  <rguenther@suse.de>
5996         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5997         and __gthread_mutex_init_function definitions.
5999 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6001         * config.host (mips*-*-openbsd*): Remove.
6003 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6005         * config.host: Remove alpha*-dec-osf5.1* handling.
6006         * config/alpha/gthr-posix.c: Remove.
6007         * config/alpha/libgcc-osf5.ver: Remove.
6008         * config/alpha/osf5-unwind.h: Remove.
6009         * config/alpha/t-osf-pthread: Remove.
6010         * config/alpha/t-slibgcc-osf: Remove.
6011         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6012         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6013         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6014         * mkmap-flat.awk: Remove osf_export handling.
6016 2012-03-12  Richard Guenther  <rguenther@suse.de>
6018         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6019         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6020         (__gthread_mutex_init_function): New function.
6021         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6023         PR gcov/49484
6024         * libgcov.c: Include gthr.h.
6025         (__gcov_flush_mx): New global variable.
6026         (init_mx, init_mx_once): New functions.
6027         (__gcov_flush): Protect self with a mutex.
6028         (__gcov_fork): Re-initialize mutex after forking.
6029         * unwind-dw2-fde.c: Change condition under which to use
6030         __GTHREAD_MUTEX_INIT_FUNCTION.
6032 2012-03-12  Tristan Gingold  <gingold@adacore.com>
6034         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6035         * config/ia64/t-vms: Likewise.
6037 2012-03-11  Michael Hope  <michael.hope@linaro.org>
6039         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6040         for Thumb-2.
6042 2012-03-07  Walter Lee  <walt@tilera.com>
6044         * config/tilepro/atomic.c: Rename "atomic_" prefix to
6045         "arch_atomic_".
6046         (atomic_xor): Rename and move definition to
6047         config/tilepro/atomic.h.
6048         (atomic_nand): Ditto.
6049         * config/tilepro/atomic.h: Rename "atomic_" prefix to
6050         "arch_atomic_".
6051         (arch_atomic_xor): Move from config/tilepro/atomic.c.
6052         (arch_atomic_nand): Ditto.
6054 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6056         PR target/52507
6057         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6059 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6061         PR target/52505
6062         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6063         from RAM.
6065 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
6067         PR target/52461
6068         PR target/52508
6069         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6070         if RAMPZ affects reading from RAM.
6071         (__tablejump_elpm__): Ditto.
6072         (.xload): Ditto.
6073         (__movmemx_hi): Ditto.
6074         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6075         (__do_global_dtors): Ditto.
6076         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6077         (__movmemx_hi): Ditto.
6079 2012-03-05  Richard Henderson  <rth@redhat.com>
6081         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6082         [ARM] (count_trailing_zeros): Use the builtin.
6084 2012-03-01  Kai Tietz  <ktietz@redhat.com>
6086         * soft-fp: Imported from glibc upstream.
6088 2012-02-28  Kai Tietz  <ktietz@redhat.com>
6090         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6091         for mingw-targets as attribute gcc_struct.
6093 2012-02-28  Ian Lance Taylor  <iant@google.com>
6095         * generic-morestack.c (__splitstack_releasecontext): Correct call
6096         to __morestack_release_segments.
6098 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6100         PR target/52390
6101         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6102         for __linux__ when removing signals from __morestack_fullmask.
6104 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
6106         PR target/52261
6107         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6109 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6111         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6112         instead of HAVE_INITFINI_ARRAY.
6113         * config/ia64/crtend.S: Likewise.
6115 2012-02-20  Kai Tietz  <ktietz@redhat.com>
6117         PR libstdc++/52300
6118         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6120         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6121         to w32-unwind.h header.
6123 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6125         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6126         (mips*-*-linux*): Remove t-slibgcc-libgcc.
6127         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6128         * config/mips/mips16.S (__mips16_rdhwr): Delete.
6130 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
6132         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6134 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6136         PR libitm/52220
6137         * config/darwin-crt-tm.c: Correct typo.
6139 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6140             Patrick Marlier  <patrick.marlier@gmail.com>
6142         PR libitm/52220
6143         * config/darwin-crt-tm.c: Generate dummy functions.
6145 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
6146             Patrick Marlier  <patrick.marlier@gmail.com>
6148         PR libitm/52042
6149         * config/darwin-crt-tm.c (getTMCloneTable): New function.
6150         (__doTMRegistrations): Call it.
6151         (__doTMdeRegistrations): Likewise.
6153 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
6154             Anatoly Sokolov  <aesok@post.ru>
6155             Eric Weddington  <eric.weddington@atmel.com>
6157         PR target/52261
6158         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6159         (__epilogue_restores__): Ditto.
6161 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
6163         PR target/51921
6164         PR target/52205
6165         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6166         Solaris 11 and slightly reformat.
6167         (sparc_is_sighandler): Likewise.
6169 2012-02-14  Walter Lee  <walt@tilera.com>
6171         * config.host: Handle tilegx and tilepro.
6172         * config/tilegx/sfp-machine.h: New file.
6173         * config/tilegx/sfp-machine32.h: New file.
6174         * config/tilegx/sfp-machine64.h: New file.
6175         * config/tilegx/t-crtstuff: New file.
6176         * config/tilegx/t-softfp: New file.
6177         * config/tilegx/t-tilegx: New file.
6178         * config/tilepro/atomic.c: New file.
6179         * config/tilepro/atomic.h: New file.
6180         * config/tilepro/linux-unwind.h: New file.
6181         * config/tilepro/sfp-machine.h: New file.
6182         * config/tilepro/softdivide.c: New file.
6183         * config/tilepro/softmpy.S: New file.
6184         * config/tilepro/t-crtstuff: New file.
6185         * config/tilepro/t-tilepro: New file.
6187 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
6189         PR libstdc++/51296
6190         PR libstdc++/51906
6191         * gthr-posix.h: Allow static initializer macros to be disabled.
6192         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6194 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6196         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6197         Add t-slibgcc-libgcc to tmake_file.
6198         * config/mips/libgcc-mips16.ver: Revert previous patch.
6199         * config/mips/mips16.S (__mips16_rdhwr): Hide.
6201 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
6202             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
6204         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6205         * config/cr16/crti.S: New file.
6206         * config/cr16/crtlibid.S: New file.
6207         * config/cr16/crtn.S: New file.
6208         * config/cr16/lib1funcs.S: New file.
6209         * config/cr16/t-cr16: New file.
6210         * config/cr16/t-crtlibid: New file.
6211         * config/cr16/unwind-dw2.h: New file.
6212         * config/cr16/unwind-cr16.c: New file.
6213         * config/cr16/divmodhi3.c: New file.
6215 2012-01-25  Alan Modra  <amodra@gmail.com>
6217         * config/rs6000/t-linux64: Delete.  Move..
6218         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6219         * config/rs6000/t-linux: ..and libgcc flags to here.
6221 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
6223         * config.host (i[34567]86-*-interix3*):
6224         Change triplet to i[34567]86-*-interix[3-9]*.
6225         * configure: Regenerate.
6227 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
6228             Richard Sandiford  <rdsandiford@googlemail.com>
6230         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6231         * config/mips/mips16.S (__mips16_rdhwr): New function.
6232         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6234 2012-01-11  Nathan Sidwell  <nathan@acm.org>
6236         * libgcov.c (__gcov_init): Ignore objects with no functions.
6238 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
6240         PR target/49868
6241         Extend __pgmx semantics to linearize memory.
6242         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6243         * config/avr/lib1funcs.S (__xload_1): New function.
6244         (__movmemx_qi, __movmemx_hi): New functions.
6245         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6246         semantics.
6248 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6250         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6251         purported sigacthandler address isn't null before dereferencing it.
6252         (sparc_is_sighandler): Likewise.
6254 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
6256         PR ada/41929
6257         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6258         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
6259         (sparc_is_sighandler): Likewise.
6260         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6262 2012-01-06  Tristan Gingold  <gingold@adacore.com>
6264         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6265         compatibility thunks...
6266         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6267         (crtbeginS.o, crtendS.o): ... and these to ...
6268         * config/ia64/t-ia64-elf: ... this new file.
6269         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6270         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6272 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6274         * configure: Regenerate.
6275         * config/s390/t-crtstuff: Remove -fPIC.
6277 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
6279         PR bootstrap/51006
6280         * enable-execute-stack-mprotect.c (getpagesize): Do not define
6281         for NetBSD.
6283 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6285         PR target/51345
6286         * config/avr/lib1funcs.S: Remove FIXME comments.
6287         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6289 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
6291         Implement light-weight DImode support.
6292         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6293         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6294         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6295         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6297 2011-12-30  Nathan Sidwell  <nathan@acm.org>
6299         * libgcov.c (gcov_crc32): Remove global var.
6300         (free_fn_data): New function.
6301         (buffer_fn_data): Pass in filename, more robust error recovery.
6302         (crc32_unsigned): New function.
6303         (gcov_exit): More robust detection of new program. More robust
6304         error recovery.
6305         (__gcov_init): Do not update program's crc here.
6307 2011-12-21  Tristan Gingold  <gingold@adacore.com>
6309         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6311 2011-12-21  Ian Lance Taylor  <iant@google.com>
6313         * config/i386/morestack.S: Simplify CFI opcodes throughout.
6315 2011-12-20  Ian Lance Taylor  <iant@google.com>
6317         * config/i386/morestack.S (__morestack_non_split): If there is
6318         enough stack space already, don't split.  Ask for more stack space
6319         than we required.
6321 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
6323         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6324         `sys/sdt.h'.
6325         (_Unwind_DebugHook): New function.
6326         (uw_restore_core_regs): New define.
6327         (unwind_phase2): Use uw_restore_core_regs instead of
6328         restore_core_regs.
6329         (unwind_phase2_forced): Likewise.
6330         (__gnu_Unwind_Resume): Likewise.
6332 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
6334         * config/alpha/linux-unwind.h: Update copyright years.
6335         (MD_FROB_UPDATE_CONTEXT): New define.
6336         (alpha_frob_update_context): New function.
6338 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
6340         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6341         tmake_file rather replacing it.
6343 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
6345         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6346         function is not used for PPC64.
6347         (save_world): Amend comments.  Update the VRsave mask to reflect the
6348         saved regs.
6349         (rest_world): Update comments, do not  clobber r10, do not use r8.
6350         (eh_rest_world_r10): Amend comments, do not use r8.
6351         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6352         no longer used, move restore of CR and target address to the end of
6353         the routine.
6355 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
6357         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6358         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6360 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
6362         PR target/49313
6363         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6364         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6366 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
6368         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6370 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
6372         PR target/49313
6373         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6374         * config/avr/lib1funcs.S (__muldi3): New function.
6376 2011-12-06  Andrew Pinski  <apinski@cavium.com>
6378         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6379         size of func_ptr.
6380         (__frame_dummy_init_array_entry): Likewise.
6382 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
6384         Forward-port from gcc-4_6-branch r181936 2011-12-02.
6386         PR target/51345
6387         PR target/51002
6388         * config/avr/lib1funcs.S (__prologue_saves__,
6389         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6390         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
6392 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
6394         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6396 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6398         PR other/51272
6399         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6400         (_ITM_deregisterTMCloneTable): Likewise.
6401         (__register_frame_info): Fix unused warning.
6402         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6403         pthread_default_stacksize_np): Likewise.
6404         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6406 2011-11-29  DJ Delorie  <dj@redhat.com>
6408         * config.host (rl78-*-elf): New case.
6409         * config/rl78: New directory for the Renesas RL78.
6411 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
6413         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
6414         formatting.
6416 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6418         PR other/51022
6419         * config/rs6000/t-savresfgpr: New file.
6420         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6421         $(srcdir)/config/rs6000/eabi.S.
6422         * config/rs6000/t-ppccomm-ldbl: Remove.
6423         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6424         tmake_file.
6425         (powerpc-*-eabispe*): Likewise.
6426         (powerpc-*-eabi*): Likewise.
6427         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6428         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6429         to tmake_file, remove rs6000/t-ppccomm-ldbl.
6430         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6431         tmake_file.
6432         (powerpc-*-eabisim*): Likewise.
6433         (powerpc-*-elf*): Likewise.
6434         (powerpc-*-eabialtivec*): Likewise.
6435         (powerpc-xilinx-eabi*): Likewise.
6436         (powerpc-*-rtems*): Likewise.
6437         (powerpcle-*-elf*): Likewise.
6438         (powerpcle-*-eabisim*): Likewise.
6439         (powerpcle-*-eabi*): Likewise.
6441 2011-11-27  Ian Lance Taylor  <iant@google.com>
6443         * generic-morestack.c (__splitstack_find): Check for NULL old
6444         stack value.
6445         (__splitstack_resetcontext): New function.
6446         (__splitstack_releasecontext): New function.
6447         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6449 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6451         * config/darwin-crt-tm.c: Correct comments, use correct licence.
6453 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
6455         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6457 2011-11-26  Richard Henderson  <rth@redhat.com>
6459         * config/m68k/linux-atomic.c: New file.
6460         * config/m68k/t-linux: New file.
6461         * config.host (m68k-uclinux, m68k-linux): Use it.
6463 2011-11-26  Richard Henderson  <rth@redhat.com>
6465         * crtstuff.c (__TMC_LIST__): Mark used not unused.
6466         (__TMC_END__): Only declare if hidden is available; in the definition,
6467         if hidden is unavailable add a null record.
6468         (deregister_tm_clones, register_tm_clones): New.
6469         (__do_global_dtors_aux, frame_dummy): Use them.
6470         (__do_global_dtors, __do_global_ctors_1): Likewise.
6472 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
6474         * config/darwin-crt-tm.c: New file.
6475         * config.host (darwin): Build crttms.o crttme.o to provide
6476         startup and shutdown for tm clones.
6477         * config/t-darwin (crttms.o): New build rule.
6478         (crttme.o): Likewise.
6480 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
6482         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6483         et al.
6485 2011-11-21  Richard Henderson  <rth@redhat.com>
6487         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6488         (__TMC_LIST__, __TMC_END__): New.
6489         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6490         (__do_global_dtors): Likewise.
6491         (frame_dummy): Call _ITM_registerTMCloneTable.
6492         (__do_global_ctors_1): Likewise.
6494 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6496         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6497         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6498         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6499         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6500         * config/i386/t-darwin64: Remove.
6501         * config/sh/t-netbsd (LIB2ADD): Remove.
6503 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
6505         PR target/49313
6506         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6507         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6508         * config/avr/lib1funcs.S (wmov): New assembler macro.
6509         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6510         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6511         (__udivmod64): New function.
6512         (__negdi2): New function.
6514 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
6516         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6517         *-*-freebsd*aout*): Remove.
6519 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
6521         * static-object.mk (c_flags-$o): Save c_flags.
6522         ($(base)$(objext)): Use it.
6524 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
6526         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6528 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
6530         PR target/49868
6531         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6532         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6533         New functions.
6535 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
6537         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6538         functions.
6539         (aeabi_uidivmod): Likewise.
6540         (umodsi3): Likewise.
6541         (divsi3): Likewise.
6542         (aeabi_idivmod): Likewise.
6543         (modsi3): Likewise.
6545 2011-11-16  Tristan Gingold  <gingold@adacore.com>
6547         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6549 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
6551         PR target/49868
6552         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
6553         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6555 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6557         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6558         tmake_file list.
6559         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6560         * config/pa/t-stublib64: Delete.
6562 2011-11-12  Richard Henderson  <rth@redhat.com>
6564         * config/rs6000/linux-unwind.h (frob_update_context): Properly
6565         cast the pointer argument to _Unwind_SetGRPtr.
6567 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6569         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6571 2011-11-09  Ian Lance Taylor  <iant@google.com>
6573         * generic-morestack.c: Include <string.h>.
6574         (uintptr_type): Define.
6575         (struct initial_sp): Add dont_block_signals field.  Reduce size of
6576         extra array by 1.
6577         (allocate_segment): Set prev field to NULL.  Don't set
6578         __morestack_current_segment or __morestack_segments.
6579         (__generic_morestack): Update current->prev and *pp after calling
6580         allocate_segment.
6581         (__morestack_block_signals): Don't do anything if
6582         dont_block_signals is set.
6583         (__morestack_unblock_signals): Likewise.
6584         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
6585         uintptr_type.
6586         (__splitstack_block_signals): New function.
6587         (enum __splitstack_content_offsets): Define.
6588         (__splitstack_getcontext, __splitstack_setcontext): New functions.
6589         (__splitstack_makecontext): New function.
6590         (__splitstack_block_signals_context): New function.
6591         (__splitstack_find_context): New function.
6592         * config/i386/morestack.S (__morestack_get_guard): New function.
6593         (__morestack_set_guard, __morestack_make_guard): New functions.
6594         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6596 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6598         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6599         (i[34567]86-*-mingw*): ... here.
6600         (x86_64-*-mingw*): ... here.
6602 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6604         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6606 2011-11-07  Nathan Sidwell  <nathan@acm.org>
6608         * libgcov.c (struct gcov_fn_buffer): New struct.
6609         (buffer_fn_data): New helper.
6610         (gcov_exit): Rework for new gcov data structures.
6612 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
6614         PR target/49313
6615         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6617 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6619         * config.host (tmake_file): Correct comment.
6620         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6621         t-libgcc-pic.
6622         (bfin*-uclinux*): Likewise.
6623         (bfin*-linux-uclibc*): Likewise.
6624         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6626         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6627         assigning.
6628         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6629         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6630         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6631         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6632         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6633         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6634         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6635         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6636         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6637         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6638         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6639         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6640         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6642         * config/bfin/t-elf: Remove.
6643         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6645 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6647         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6648         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6649         (lm32-*-elf*, lm32-*-rtems*): Split into ...
6650         (lm32-*-elf*): ... this.
6651         (lm32-*-rtems*): ... and this.
6652         Add to tmake_file.
6653         (m32r-*-rtems*): Add to tmake_file.
6654         (moxie-*-rtems*): Likewise.
6655         (sparc-*-rtems*): Likewise.
6656         Remove t-rtems from tmake_file.
6657         (sparc64-*-rtems*): Likewise.
6658         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6659         instead.
6661 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6663         PR bootstrap/50982
6664         * config/gthr-posix.h: Move ...
6665         * gthr-posix.h: ... here.
6666         * config/gthr-lynx.h: Reflect this.
6667         * config/gthr-vxworks.h: Likewise.
6668         * config/rs6000/gthr-aix.h: Likewise.
6669         * configure.ac (target_thread_file): Likewise.
6670         * configure: Regenerate.
6672 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
6674         * config.host (arm*-*-rtemseabi*): New target.
6676 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6678         PR other/50991
6679         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6680         extra-parts.
6682 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
6684         * config.host (epiphany-*-elf*): New configuration.
6685         * config/epiphany: New Directory.
6687 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
6689         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6690         * config/avr/t-rtems: New.
6691         Filter out _exit from LIB1ASMFUNCS.
6693 2011-11-04  David S. Miller  <davem@davemloft.net>
6695         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6696         * configure: Rebuild.
6698 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6700         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6701         variable.
6703 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
6705         PR target/50931
6706         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6707         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6709 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
6711         PR target/50989
6712         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6714 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6716         * config/c6x/t-elf (LIB2ADDEH): Set.
6717         * config/c6x/t-c6x-elf: Remove.
6719 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6721         * config/i386/sol2-ci.S: Rename to ...
6722         * config/i386/crti.S: ... this.
6723         * config/i386/sol2-cn.S: Rename to ...
6724         * config/i386/crtn.S: ... this.
6725         * config/sparc/sol2-ci.S: Rename to ...
6726         * config/sparc/crti.S: ... this.
6727         * config/sparc/sol2-cn.S: Rename to ...
6728         * config/sparc/crtn.S: ... this.
6729         * config/t-sol2 (CUSTOM_CRTIN): Remove.
6730         (crti.o, crtn.o): Remove.
6732 2011-11-04  Tristan Gingold  <gingold@adacore.com>
6734         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6736 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6738         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6740 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
6742         * config.host (crisv32-*-none, cris-*-none): Remove.
6743         (crisv32-*-elf): Append to tmake_file, don't just set it.
6744         (cris-*-elf): Add missing t-fdpbit to tmake_file.
6746 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6748         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6749         (ecrtn$(objext)): Likewise.
6750         (ncrti$(objext)): Likewise.
6751         (ncrtn$(objext)): Likewise.
6753 2011-11-03  Andreas Schwab  <schwab@redhat.com>
6755         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6757 2011-11-02  David S. Miller  <davem@davemloft.net>
6759         * configure.ac: Set host_address on sparc too.
6760         * configure: Regenerate.
6761         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6762         based upon host_address.
6763         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6765 2011-11-02  Jason Merrill  <jason@redhat.com>
6767         * config/rs6000/t-ppccomm: Add missing \.
6769 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6771         * gthr-single.h, gthr.h: New files.
6772         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6773         config/gthr-vxworks.h, config/i386/gthr-win32.h,
6774         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6775         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6776         * config/i386/gthr-win32.c: Include "gthr-win32.h".
6777         * configure.ac (thread_header): New variable.
6778         Set it depending on target_thread_file.
6779         (gthr-default.h): Link from $thread_header.
6780         * configure: Regenerate.
6781         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6783 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6785         * configure.ac (tm_file_): New variable.
6786         Determine from tm_file.
6787         (tm_file, tm_defines): Substitute.
6788         * configure: Regenerate.
6789         * mkheader.sh: New file.
6790         * Makefile.in (clean): Remove libgcc_tm.h.
6791         ($(objects)): Depend on libgcc_tm.h.
6792         (libgcc_tm_defines, libgcc_tm_file): New variables.
6793         (libgcc_tm.h, libgcc_tm.stamp): New targets.
6794         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6795         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6796         ($(extra-parts)): Depend on libgcc_tm.h.
6797         * config.host (tm_defines, tm_file): New variable.
6798         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6799         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6800         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6801         (avr-*-rtems*): Likewise.
6802         (avr-*-*): Likewise.
6803         (frv-*-elf): Likewise.
6804         (frv-*-*linux*): Likewise.
6805         (h8300-*-rtems*): Likewise.
6806         (h8300-*-elf*): Likewise.
6807         (i[34567]86-*-darwin*): Likewise.
6808         (x86_64-*-darwin*): Likewise.
6809         (rx-*-elf): Likewise.
6810         (tic6x-*-uclinux): Likewise.
6811         (tic6x-*-elf): Likewise.
6812         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6813         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6814         * config/i386/cygming-crtbegin.c: Likewise.
6815         * config/i386/cygming-crtend.c: Likewise.
6816         * config/ia64/fde-vms.c: Likewise.
6817         * config/ia64/unwind-ia64.c: Likewise.
6818         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6819         * config/rs6000/darwin-fallback.c: Likewise.
6820         * config/stormy16/lib2funcs.c: Likewise.
6821         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6822         * crtstuff.c: Likewise.
6823         * dfp-bit.h: Likewise.
6824         * emutls.c: Likewise.
6825         * fixed-bit.c: Likewise.
6826         * fp-bit.c: Likewise.
6827         * generic-morestack-thread.c: Likewise.
6828         * generic-morestack.c: Likewise.
6829         * libgcc2.c: Likewise.
6830         * libgcov.c: Likewise.
6831         * unwind-dw2-fde-dip.c: Likewise.
6832         * unwind-dw2-fde.c: Likewise.
6833         * unwind-dw2.c: Likewise.
6834         * unwind-sjlj.c: Likewise.
6836 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6838         * configure.ac: Include ../config/picflag.m4.
6839         (GCC_PICFLAG): Call it.
6840         Substitute.
6841         * configure: Regenerate.
6842         * Makefile.in (gcc_srcdir): Remove.
6843         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6844         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6845         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6846         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6847         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6848         Use $<.
6849         Remove comment.
6850         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6851         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6852         to refer to libgcc2.c.
6853         Use $<.
6854         * config/darwin-64.c: New file.
6855         * config/darwin-crt3.c: Remove comment.
6856         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6857         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6858         config/udivmodsi4.c: New files.
6859         * config/memcmp.c, config/memcpy.c, config/memmove.c,
6860         config/memset.c: New files.
6861         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6862         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6863         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6864         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6865         * config/t-openbsd-thread: New file.
6866         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6867         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6868         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6869         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6870         qrnnd.S.
6871         Adapt filename.
6872         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6873         to refer to gthr-posix.c.
6874         * config/alpha/t-vms (LIB2ADD): Set.
6875         * config/alpha/vms-gcc_shell_handler.c: New file.
6876         * config/arm/bpabi.c, config/arm/fp16.c,
6877         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6878         config/arm/unaligned-funcs.c: New files.
6879         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6880         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6881         * config/arm/t-linux: Likewise.
6882         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6883         * config/arm/t-netbsd: New file.
6884         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6885         * config/arm/t-symbian (LIB2ADD_ST): Set.
6886         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6887         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6888         * config/bfin/t-elf: New file.
6889         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6890         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6891         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6892         config/c6x/ltf.c: New files.
6893         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6894         (HOST_LIBGCC2_CFLAGS): Set.
6895         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6896         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6897         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6898         New files.
6899         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6900         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6901         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6902         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6903         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6904         files.
6905         * config/frv/t-frv (LIB2ADD): Set.
6906         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6907         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6908         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6909         config/h8300/popcounthi2.c: New files.
6910         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6911         * config/i386/gthr-win32.c: New file.
6912         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6913         * config/i386/t-cygwin: Likewise.
6914         * config/i386/t-darwin, config/i386/t-darwin64,
6915         config/i386/t-gthr-win32, config/i386/t-interix: New files.
6916         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6917         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6918         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6919         * config/ia64/quadlib.c: New file.
6920         * config/ia64/t-hpux (LIB2ADD): Set.
6921         * config/ia64/t-ia64: Add comment.
6922         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6923         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6924         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6925         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6926         * config/m32c/t-m32c (LIB2ADD): Set.
6927         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6928         * config/m32r/t-m32r: Likewise.
6929         * config/m68k/fpgnulib.c: New file.
6930         * config/m68k/t-floatlib (LIB2ADD): Set.
6931         (xfgnulib.c): New target.
6932         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6933         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6934         * config/mep/t-mep (LIB2ADD): Set.
6935         * config/microblaze/divsi3.asm: Rename to divsi3.S.
6936         * config/microblaze/moddi3.asm: Rename to moddi3.S.
6937         * config/microblaze/modsi3.asm: Rename to modsi3.S.
6938         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6939         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6940         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6941         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6942         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6943         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6944         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6945         New files.
6946         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6947         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6948         * config/pa/fptr.c, config/pa/lib2funcs.S,
6949         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6950         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6951         (LIB2ADD, LIB2ADD_ST): Set.
6952         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6953         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6954         Set.
6955         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6956         * config/pdp11/t-pdp11: New file.
6957         * config/picochip/libgccExtras/adddi3.S,
6958         config/picochip/libgccExtras/ashlsi3.S,
6959         config/picochip/libgccExtras/ashrsi3.S,
6960         config/picochip/libgccExtras/clzsi2.S,
6961         config/picochip/libgccExtras/cmpsi2.S,
6962         config/picochip/libgccExtras/divmod15.S,
6963         config/picochip/libgccExtras/divmodhi4.S,
6964         config/picochip/libgccExtras/divmodsi4.S,
6965         config/picochip/libgccExtras/lshrsi3.S,
6966         config/picochip/libgccExtras/parityhi2.S,
6967         config/picochip/libgccExtras/popcounthi2.S,
6968         config/picochip/libgccExtras/subdi3.S,
6969         config/picochip/libgccExtras/ucmpsi2.S,
6970         config/picochip/libgccExtras/udivmodhi4.S,
6971         config/picochip/libgccExtras/udivmodsi4.S: New files.
6972         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6973         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6974         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6975         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6976         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6977         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6978         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
6979         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6980         files.
6981         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6982         (HOST_LIBGCC2_CFLAGS): Set.
6983         * config/rs6000/t-darwin64: New file.
6984         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6985         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6986         * config/rs6000/t-ppccomm (LIB2ADD): Add
6987         $(srcdir)/config/rs6000/tramp.S.
6988         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6989         Add  $(srcdir)/config/rs6000/eabi.S.
6990         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6991         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6992         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6993         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6994         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6995         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6996         * config/rs6000/tramp.S: New file.
6997         * config/s390/t-tpf: Remove.
6998         * config/sh/linux-atomic.S: New file.
6999         * config/sh/t-linux (LIB2ADD): Set.
7000         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7001         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7002         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7003         to unwind-dw2.c.
7004         (HOST_LIBGCC2_CFLAGS): Set.
7005         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7006         * config/spu/divmodti4.c, config/spu/divv2df3.c,
7007         config/spu/float_disf.c, config/spu/float_unsdidf.c,
7008         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7009         config/spu/mfc_multi_tag_release.c,
7010         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7011         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7012         config/spu/multi3.c: New files.
7013         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7014         (HOST_LIBGCC2_CFLAGS): Set.
7015         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7016         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7017         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7018         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7019         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7020         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7021         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7022         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7023         config/stormy16/umodsi3.c: New files.
7024         * config/xtensa/lib2funcs.S: New file.
7025         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7026         * config/xtensa/t-xtensa (LIB2ADD): Set.
7027         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7028         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7029         Add t-freebsd-thread to tmake_file for posix threads.
7030         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7031         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7032         (*-*-lynxos*): Likewise.
7033         (*-*-netbsd*): Likewise.
7034         (*-*-openbsd*): Likewise.
7035         Add t-openbsd-thread to tmake_file for posix threads.
7036         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7037         (*-*-vxworks*): Set tmake_file.
7038         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7039         (alpha*-*-freebsd*): Likewise.
7040         (alpha*-*-netbsd*): Likewise.
7041         (alpha*-*-openbsd*): Likewise.
7042         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7043         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7044         (alpha*-dec-*vms*): Likewise.
7045         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7046         (bfin*-elf*): Add bfin/t-elf to tmake_file.
7047         (bfin*-uclinux*): Likewise.
7048         (bfin*-linux-uclibc*): Likewise.
7049         (crisv32-*-elf): Add cris/t-cris to tmake_file.
7050         (crisv32-*-none): Likewise.
7051         (cris-*-elf): Likewise.
7052         (cris-*-none): Likewise.
7053         (cris-*-linux*, crisv32-*-linux*): Likewise.
7054         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7055         tmake_file.
7056         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7057         tmake_file.
7058         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7059         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7060         (x86_64-*-elf*): Likewise.
7061         (i[34567]86-*-nto-qnx*): Likewise.
7062         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7063         win32 threads.
7064         (x86_64-*-mingw*): Likewise.
7065         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7066         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7067         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7068         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7069         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7070         tmake_file.
7071         (mipsisa64sr71k-*-elf*): Likewise.
7072         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7073         (mips-*-elf*, mipsel-*-elf*): Likewise.
7074         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7075         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7076         (mips*-*-rtems*): Likewise.
7077         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7078         to tmake_file.
7079         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7080         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7081         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7082         (spu-*-elf*): Likewise.
7083         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7085 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7087         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7088         $(srcdir) to refer to $(LIB1ASMSRC).
7089         Use $<.
7090         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7091         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7092         config/arm/lib1funcs.S: New files.
7093         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7094         * config/arm/t-arm: New file.
7095         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7096         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7097         config/arm/t-strongarm-elf: New files.
7098         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7099         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7100         * config/avr/lib1funcs.S: New file.
7101         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7102         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7103         * config/c6x/lib1funcs.S: New file.
7104         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7105         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7106         * config/frv/lib1funcs.S: New file.
7107         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7108         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7109         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7110         * config/ia64/__divxf3.asm: Rename to ...
7111         * config/ia64/__divxf3.S: ... this.
7112         Adapt lib1funcs.asm filename.
7113         * config/ia64/_fixtfdi.asm: Rename to ...
7114         * config/ia64/_fixtfdi.S: ... this.
7115         Adapt lib1funcs.asm filename.
7116         * config/ia64/_fixunstfdi.asm: Rename to ...
7117         * config/ia64/_fixunstfdi.S: ... this.
7118         Adapt lib1funcs.asm filename.
7119         * config/ia64/_floatditf.asm: Rename to ...
7120         * config/ia64/_floatditf.S: ... this.
7121         Adapt lib1funcs.asm filename.
7122         * config/ia64/lib1funcs.S: New file.
7123         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7124         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7125         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7126         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7127         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7128         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7129         * config/mep/lib1funcs.S: New file.
7130         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7131         * config/mips/mips16.S: New file.
7132         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7133         * config/pa/milli64.S: New file.
7134         * config/pa/t-linux, config/pa/t-linux64: New files.
7135         * config/picochip/lib1funcs.S: New file.
7136         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7137         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7138         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7139         * config/sh/t-netbsd: New file.
7140         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7141         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7142         * config/sh/t-sh64: New file.
7143         * config/sparc/lb1spc.S: New file.
7144         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7145         filename.
7146         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7147         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7148         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7149         config/xtensa/lib1funcs.S: New files.
7150         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7151         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7152         tmake_file.
7153         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7154         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7155         (arm*-*-linux*): Likewise.
7156         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7157         arm*-*-linux-*eabi, add arm/t-linux otherwise.
7158         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7159         (arm*-*-ecos-elf): Likewise.
7160         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7161         (arm*-*-rtems*): Likewise.
7162         (arm*-*-elf): Likewise.
7163         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7164         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7165         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7166         (bfin*-uclinux*): Likewise.
7167         (bfin*-linux-uclibc*): Likewise.
7168         (bfin*-rtems*): Likewise.
7169         (bfin*-*): Likewise.
7170         (fido-*-elf): Merge into m68k-*-elf*.
7171         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7172         (frv-*-*linux*): Add frv/t-frv to tmake_file.
7173         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7174         (h8300-*-elf*): Likewise.
7175         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7176         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7177         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7178         (i[34567]86-*-mingw*): Likewise.
7179         (x86_64-*-mingw*): Likewise.
7180         (i[34567]86-*-interix3*): Likewise.
7181         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7182         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7183         (m68k-*-elf*): Also handle fido-*-elf.
7184         Add m68k/t-floatlib to tmake_file.
7185         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7186         (m68k-*-linux*): Likewise.
7187         (m68k-*-rtems*): Likewise.
7188         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7189         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7190         sh64*-*-*.
7191         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7192         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7193         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7194         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7195         sh/t-netbsd to tmake_file.
7196         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7197         (sh-*-rtems*): Add sh/t-sh to tmake_file.
7198         (sh-wrs-vxworks): Likewise.
7199         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7200         *-leon[3-9]*.
7201         (v850*-*-*): Add v850/t-v850 to tmake_file.
7202         (vax-*-linux*): Add vax/t-linux to tmake_file.
7203         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7205 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7207         * crtstuff.c: New file.
7208         * Makefile.in (CRTSTUFF_CFLAGS): Define.
7209         (CRTSTUFF_T_CFLAGS): Define.
7210         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7211         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7212         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7213         crtstuff.c.
7214         Use $<.
7215         (crtbeginT.o): Use $(objext).
7216         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7217         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7218         (gcc-extra-parts): Remove.
7219         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7220         Set extra_parts.
7221         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7222         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7223         Add t-crtstuff-pic to tmake_file.
7224         (*-*-lynxos*): New case.
7225         Set tmake_file, extra_parts.
7226         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7227         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7228         *-*-netbsdelf[2-9]*.
7229         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7230         (*-*-rtems*): Set extra_parts.
7231         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7232         (*-*-uclinux*): New case.
7233         Set extra_parts.
7234         (*-*-vms*): New case.
7235         Set tmake_file, extra_parts.
7236         (*-*-elf): Set extra_parts.
7237         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7238         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7239         vms/t-vms64.
7240         Set extra_parts.
7241         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7242         Set extra_parts.
7243         (arm*-*-freebsd*): Add t-crtin to tmake_file.
7244         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7245         (arm-wrs-vxworks): Append to tmake_file.
7246         Set extra_parts.
7247         (arm*-*-uclinux*): Set extra_parts.
7248         (arm*-*-ecos-elf): Likewise.
7249         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7250         arm*-*-eabi*.
7251         (arm*-*-rtems*): Set extra_parts.
7252         (arm*-*-elf): Likewise.
7253         (avr-*-rtems*): Clear extra_parts.
7254         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7255         Set extra_parts.
7256         (bfin*-uclinux*): Likewise.
7257         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7258         (bfin*-rtems*): Append to tmake_file.
7259         Set extra_parts.
7260         (bfin*-*): Likewise.
7261         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7262         (crisv32-*-elf): ... this.
7263         (crisv32-*-none): ... this.
7264         (cris-*-elf, cris-*-none): New cases.
7265         Add cris/t-elfmulti to tmake_file.
7266         (fr30-*-elf): Append to tmake_file.
7267         Set extra_parts.
7268         (frv-*-elf): Append to tmake_file, add frv/t-frv.
7269         Set extra_parts.
7270         (h8300-*-rtems*): Append to tmake_file.
7271         Set extra_parts.
7272         (h8300-*-elf*): Likewise.
7273         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7274         Set extra_parts.
7275         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7276         Set extra_parts.
7277         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7278         (x86_64-*-elf*): Likewise.
7279         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7280         (x86_64-*-freebsd*): Likewise.
7281         (x86_64-*-netbsd*): Likewise.
7282         (i[34567]86-*-linux*): Likewise.
7283         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7284         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7285         (x86_64-*-linux*): Likewise.
7286         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7287         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7288         tmake_file.
7289         Set extra_parts.
7290         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7291         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7292         Append to extra_parts, remove crtbegin.o, crtend.o.
7293         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7294         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7295         crtend.o, crtbeginS.o, crtendS.o.
7296         (ia64*-*-linux*): Comment extra_parts.
7297         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7298         Set extra_parts.
7299         (iq2000*-*-elf*): Clear extra_parts.
7300         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7301         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7302         (m32r-*-elf*, m32r-*-rtems*): Split off ...
7303         (m32r-*-rtems*): ... this.
7304         Add m32r/t-m32r to tmake_file.
7305         (m68k-*-elf*): Add t-crtin to tmake_file.
7306         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7307         (mcore-*-elf): Likewise.
7308         (microblaze*-*-*): Set extra_parts.
7309         (mips*-sde-elf*): New case.
7310         Set tmake_file, extra_parts.
7311         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7312         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7313         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7314         tmake_file.
7315         Set extra_parts.
7316         (mipsisa64sr71k-*-elf*): Likewise.
7317         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7318         (mips-*-elf*, mipsel-*-elf*): Likewise.
7319         (mips64-*-elf*, mips64el-*-elf*): Likewise.
7320         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7321         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
7322         (mips*-*-rtems*): Likewise.
7323         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7324         (moxie-*-*): Split into ...
7325         (moxie-*-elf, moxie-*-uclinux*): ... this.
7326         Add to extra_parts, remove crtbegin.o, crtend.o.
7327         (moxie-*-rtems*): New case.
7328         Set tmake_file.
7329         Clear extra_parts.
7330         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7331         Set extra_parts.
7332         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7333         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7334         tmake_file.
7335         Set extra_parts.
7336         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7337         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7338         Set extra_parts.
7339         (powerpc-*-eabisim*): Likewise.
7340         (powerpc-*-elf*): Likewise.
7341         (powerpc-*-eabialtivec*): Likewise.
7342         (powerpc-xilinx-eabi*): Likewise.
7343         (powerpc-*-eabi*): Likewise.
7344         (powerpc-*-rtems*): Likewise.
7345         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7346         tmake_file.
7347         Set extra_parts.
7348         (powerpc-*-lynxos*): Add to tmake_file.
7349         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7350         rs6000/t-crtstuff, t-crtstuff-pic.
7351         Set extra_parts.
7352         (powerpcle-*-eabisim*): Likewise.
7353         (powerpcle-*-eabi*): Likewise.
7354         (rx-*-elf): Remove extra_parts.
7355         (s390x-ibm-tpf*): Set extra_parts.
7356         (score-*-elf): Set extra_parts.
7357         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7358         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7359         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7360         (sh64l*-*-netbsd*): Split into ...
7361         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7362         Add t-crtstuff-pic to tmake_file.
7363         Set extra_parts.
7364         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7365         Set extra_parts.
7366         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7367         (sparc-*-elf*): Remove t-crtin from tmake_file.
7368         Add to extra_parts, remove crtbegin.o, crtend.o.
7369         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7370         (sparc64-*-linux*): Likewise.
7371         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7372         Add to extra_parts, remove crtbegin.o, crtend.o.
7373         (sparc64-*-elf*): Remove t-crtin from tmake_file.
7374         Add to extra_parts, remove crtbegin.o, crtend.o.
7375         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7376         Add to extra_parts, remove crtbegin.o, crtend.o.
7377         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7378         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7379         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7380         Set extra_parts.
7381         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7382         Set extra_parts.
7383         (tic6x-*-*): Change to ...
7384         (tic6x-*-elf): ... this.
7385         Set extra_parts.
7386         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7387         Set extra_parts.
7388         (am33_2.0-*-linux*): Add comment.
7389         (mep*-*-*): Add mep/t-mep to tmake_file.
7390         Set extra_parts.
7391         * config/alpha/t-vms: New file.
7392         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7393         * config/arm/crti.S, config/arm/crtn.S: New files.
7394         * config/bfin/crti.S, config/bfin/crtn.S: New files.
7395         * config/bfin/crtlibid.S: New file.
7396         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7397         * config/c6x/crti.S, config/c6x/crtn.S: New files.
7398         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7399         (crti.o, crtin.o): New rules.
7400         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7401         * config/c6x/t-uclinux: New file.
7402         * config/cris/t-elfmulti: New file.
7403         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7404         * config/fr30/crti.S, config/fr30/crtn.S: New files.
7405         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7406         * config/frv/t-frv: New file.
7407         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7408         * config/h8300/crti.S, config/h8300/crtn.S: New files.
7409         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7410         New files.
7411         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7412         refer to cygming-crtbegin.c, cygming-crtend.c.
7413         Use $<.
7414         * config/i386/t-nto: New file.
7415         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7416         * config/ia64/crti.S, config/ia64/crtn.S: New files.
7417         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7418         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7419         Use .S extension.
7420         Use $<.
7421         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7422         (crtinitS.o): New rule.
7423         * config/ia64/vms-crtinit.S: New file.
7424         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7425         * config/m32r/initfini.c: New file.
7426         * config/m32r/t-linux, config/m32r/t-m32r: New files.
7427         * config/m68k/crti.S, config/m68k/crtn.S: New files.
7428         * config/mcore/crti.S, config/mcore/crtn.S: New files.
7429         * config/mep/t-mep: New file.
7430         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7431         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7432         * config/mips/crti.S, config/mips/crtn.S: New files.
7433         * config/mips/t-crtstuff: New file.
7434         * config/mmix/crti.S, config/mmix/crtn.S: New files.
7435         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7436         (CUSTOM_CRTIN): Set.
7437         ($(T)crti.o, $(T)crtn.o): Remove $(T),
7438         dependencies.
7439         Use $(srcdir) to refer to crti.S, crtn.S.
7440         Use .S extension, $<.
7441         * config/moxie/crti.asm: Rename to ...
7442         * config/moxie/crti.S: ... this.
7443         * config/moxie/crtn.asm: Rename to ...
7444         * config/moxie/crtn.S: ... this.
7445         * config/moxie/t-moxie: Remove.
7446         * config/pa/stublib.c: New file.
7447         * config/pa/t-stublib, config/pa/t-stublib64: New files.
7448         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7449         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7450         * config/rs6000/t-crtstuff: New file.
7451         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7452         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7453         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7454         Make output file explicit.
7455         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7456         Make output file explicit.
7457         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7458         Make output file explicit.
7459         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7460         Make output file explicit.
7461         * config/score/crti.S, config/score/crtn.S: New files.
7462         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7463         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7464         files.
7465         * config/sh/t-sh, config/sh/t-superh: New files.
7466         * config/sparc/t-linux64: New file.
7467         * config/spu/cache.S, config/spu/cachemgr.c: New files.
7468         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7469         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7470         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7471         * config/t-crtin: Remove.
7472         * config/t-crtstuff-pic: New file.
7473         * config/t-sol2 (CUSTOM_CRTIN): Set.
7474         (crti.o, crtn.o): New rules.
7475         * config/vms/t-vms: New file.
7476         * config/vms/vms-ucrt0.c: New file.
7477         * config/xtensa/t-elf: New file.
7479 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7481         * Makefile.in (SHLIB_NM_FLAGS): Set.
7482         * mkmap-flat.awk, mkmap-symver.awk: New files.
7483         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7484         exceptions.
7485         * configure: Regenerate.
7486         * config/libgcc-glibc.ver: New file.
7487         * config/libgcc-libsystem.ver: New file.
7488         * config/t-libunwind (SHLIB_LC): Set.
7489         * config/t-linux: New file.
7490         * config/t-slibgcc (INSTALL_SHLIB): New.
7491         (SHLIB_INSTALL): Use it.
7492         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7493         to mkmap-symver.awk.
7494         (SHLIB_MAPFILES): Don't append, adapt pathname.
7495         (SHLIB_VERPFX): Set.
7496         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7497         to mkmap-symver.awk.
7498         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7499         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7500         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7501         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7502         to mkmap-flat.awk.
7503         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7504         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7505         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7506         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7507         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7508         * config/i386/libgcc-darwin.10.4.ver,
7509         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7510         New files.
7511         * config/i386/t-darwin: Remove.
7512         * config/i386/t-darwin64: Likewise.
7513         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7514         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7515         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7516         * config/i386/t-linux: New file.
7517         * config/i386/t-mingw32: New file.
7518         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7519         * config/ia64/t-glibc: Rename to ...
7520         * config/ia64/t-linux: ... this.
7521         (SHLIB_MAPFILES): Set.
7522         * config/ia64/t-glibc-libunwind: Rename to ...
7523         * config/ia64/t-linux-libunwind: ... this.
7524         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7525         * config/ia64/t-slibgcc-hpux: New file.
7526         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7527         * config/m68k/t-slibgcc-elf-ver: New file.
7528         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7529         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7530         to mkmap-flat.awk.
7531         * config/pa/t-slibgcc-hpux: New file.
7532         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7533         files.
7534         * config/rs6000/libgcc-darwin.10.4.ver,
7535         config/rs6000/libgcc-darwin.10.5.ver: New files.
7536         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7537         config/rs6000/libgcc-glibc.ver.
7538         * config/rs6000/libgcc-ppc64.ver: Rename to
7539         config/rs6000/libgcc-ibm-ldouble.ver.
7540         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7541         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7542         * config/rs6000/t-ldbl128: Rename to ...
7543         * config/rs6000/t-linux: ... this.
7544         (SHLIB_MAPFILES): Adapt filename.
7545         * config/rs6000/t-slibgcc-aix: New file.
7546         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7547         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7548         libgcc-excl.ver, libgcc-glibc.ver.
7549         (SHLIB_LINK, SHLIB_INSTALL): Remove.
7550         * config/sparc/libgcc-glibc.ver: New file.
7551         * config/sparc/t-linux: New file.
7552         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7553         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7554         t-slibgcc-elf-ver to tmake_file.
7555         Add t-slibgcc-nolc-override to tmake_file for posix threads on
7556         *-*-freebsd[34].
7557         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7558         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7559         t-slibgcc-elf-ver, t-linux to tmake_file.
7560         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7561         tmake_file.
7562         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7563         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7564         (alpha*-dec-*vms*): Likewise.
7565         (arm*-*-freebsd*): Append to tmake_file.
7566         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7567         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7568         arm*-*-linux-*eabi.
7569         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7570         tmake_file for arm*-*-symbianelf*.
7571         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7572         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7573         cris/t-linux.
7574         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7575         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7576         pa/t-slibgcc-dwarf-ver to tmake_file.
7577         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7578         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7579         (hppa*64*-*-hpux11*): Likewise.
7580         (hppa[12]*-*-hpux11*): Likewise.
7581         (x86_64-*-darwin*): Don't override tmake_file, but only keep
7582         i386/t-crtpc, i386/t-crtfm.
7583         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7584         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7585         to tmake_file.
7586         Add i386/t-cygwin to tmake_file.
7587         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7588         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7589         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7590         to tmake_file.
7591         Add i386/t-mingw32 to tmake_file.
7592         (x86_64-*-mingw*): Likewise.
7593         (ia64*-*-freebsd*): Append to tmake_file.
7594         (ia64*-*-linux*): Append to tmake_file.
7595         Replace ia64/t-glibc by ia64/t-linux.
7596         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7597         system libunwind.
7598         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7599         t-slibgcc-hpux to tmake_file.
7600         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7601         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7602         (m32rle-*-linux*): Likewise.
7603         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7604         sjlj exceptions.
7605         (microblaze*-linux*): New case.
7606         Append to tmake_file, add t-slibgcc-nolc-override.
7607         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7608         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7609         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7610         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7611         rs6000/t-slibgcc-aix to tmake_file.
7612         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7613         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7614         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7615         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7616         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7617         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7618         sh*-*-linux*.
7619         (sparc-*-linux*): Append to tmake_file for *-leon*.
7620         Add sparc/t-linux to tmake_file for non-Leon targets.
7621         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7622         (tic6x-*-uclinux): New case.
7623         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7624         (tic6x-*-*): Add c6x/t-elf to tmake_file.
7625         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7626         (am33_2.0-*-linux*): Append to tmake_file.
7627         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7628         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7629         x86_64-*-kfreebsd*-gnu.
7630         Add i386/t-linux to tmake_file.
7632 2011-10-28  Ian Lance Taylor  <iant@google.com>
7634         * config/i386/morestack.S: Correct CFI information to do proper
7635         returns throughout function.  In 32-bit mode, save %ebx so that it
7636         is restored on unwind.
7638 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
7640         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7641         case where B3 isn't the return register.
7643         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7644         logic for doubleword pops.
7646 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
7648         * config/rs6000/t-freebsd: Add wildcard.
7650 2011-10-21  Paul Brook  <paul@codesourcery.com>
7652         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7654 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
7655             Eric Botcazou  <ebotcazou@adacore.com>
7657         PR target/50737
7658         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7659         fs->signal_frame to 1.
7661 2011-10-07  Ian Lance Taylor  <iant@google.com>
7663         * generic-morestack-thread.c: #include <errno.h>.
7665 2011-10-07  Ian Lance Taylor  <iant@google.com>
7667         PR target/46093
7668         * generic-morestack.c (__generic_morestack): Make sure the segment
7669         is large enough for both the stack frame and the copied
7670         parameters.
7672 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7674         PR bootstrap/49804
7675         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7676         extra_parts.
7678 2011-09-28  Nick Clifton  <nickc@redhat.com>
7680         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7681         64-bit doubles are not enabled.
7682         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7683         and floatunsisf functions.
7685 2011-09-13  Paul Brook  <paul@codesourcery.com>
7687         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
7688         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7689         * unwind-arm-common.inc: New file.
7690         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7691         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7692         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7693         * config/c6x/libunwind.S: New file.
7694         * config/c6x/pr-support.c: New file.
7695         * config/c6x/unwind-c6x.c: New file.
7696         * config/c6x/unwind-c6x.h: New file.
7697         * config/c6x/t-c6x-elf: New file.
7699 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
7701         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7702         (ASM_DIVZERO): Ditto.
7703         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7705 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
7707         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7709 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
7711         PR target/50090
7712         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7713         instead of an assembly one.
7715 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
7717         PR bootstrap/50047
7718         * Makefile.in (install-unwind_h): Create
7719         $(gcc_objdir)/include/unwind.h atomically.
7721 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7723         * Makefile.in (install-unwind_h): Remove destination file first.
7725 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7727         * sync.c: New file.
7728         * config/mips/t-mips16: New file.
7729         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7730         (mips*-*-linux*): Likewise.
7731         (mips*-sde-elf*): Likewise.
7732         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7733         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7734         Add mips/t-mips16 to tmake_file.
7735         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7736         (mips-*-elf*): Likewise.
7737         (mips64-*-elf*): Likewise.
7738         (mips64orion-*-elf*): Likewise.
7739         (mips*-*-rtems*): Likewise.
7740         (mipstx39-*-elf*): Likewise.
7741         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7742         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7743         LIBGCC_SYNC_CFLAGS.
7744         Use $(srcdir) to refer to sync.c.
7745         Use $<.
7746         ($(libgcc-sync-funcs-o)): Likewise.
7747         ($(libgcc-sync-size-funcs-s-o)): Likewise.
7748         ($(libgcc-sync-funcs-s-o)): Likewise.
7750 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7752         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7753         t-libunwind.
7755 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
7757         PR other/48007
7758         * config/i386/value-unwind.h: New.
7760 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
7762         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7763         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7764         Add to tmake_file rather than overriding it.
7766 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7768         * config/t-softfp: Remove.
7769         * soft-fp: Moved from ../gcc/config.
7770         * soft-fp/README: Remove t-softfp reference.
7771         * soft-fp/t-softfp: Move to config/t-softfp.
7772         (softfp_machine_header): Remove.
7773         (softfp_file_list): Remove config subdir.
7774         (soft-fp-objects): New variable.
7775         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7776         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7777         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7778         * config/t-softfp-excl: New file.
7779         * config/t-softfp-sfdf: New file.
7780         * config/t-softfp-tf: New file.
7781         * config/no-sfp-machine.h: New file.
7782         * config/arm/sfp-machine.h: New file.
7783         * config/arm/t-softfp: New file.
7784         * config/c6x/sfp-machine.h: New file.
7785         * config/i386/32/t-fprules-softfp: Rename to ...
7786         * config/i386/32/t-softfp: ... this.
7787         (tifunctions, LIB2ADD): Remove.
7788         (softfp_int_modes): Override.
7789         * config/i386/64/t-softfp-compat (tf-functions): Remove config
7790         subdir.
7791         * config/i386/64/eqtf2.c: Likewise.
7792         * config/i386/64/getf2.c: Likewise.
7793         * config/i386/64/letf2.c: Likewise.
7794         * config/ia64/sft-machine.h: New file.
7795         * config/ia64/t-fprules-softfp: Rename to ...
7796         * config/ia64/t-softfp: ... this.
7797         * config/lm32/sfp-machine.h: New file.
7798         * config/moxie/t-moxie-softfp: Remove.
7799         * config/rs6000/ibm-ldouble-format: New file.
7800         * config/rs6000/ibm-ldouble.c: New file.
7801         * config/rs6000/libgcc-ppc-glibc.ver: New file
7802         * config/rs6000/libgcc-ppc64.ver: New file
7803         * config/rs6000/sfp-machine.h: New file.
7804         * config/rs6000/t-freebsd: New file.
7805         * config/rs6000/t-ibm-ldouble: New file.
7806         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7807         libgcc-ppc-glibc.ver.
7808         * config/rs6000/t-linux64: New file.
7809         * config/rs6000/t-ppccomm (LIB2ADD): Add
7810         $(srcdir)/config/rs6000/ibm-ldouble.c.
7811         * config/rs6000/t-ppccomm-ldbl: New file.
7812         * config/score/sfp-machine.h: New file.
7813         * config.host (sfp_machine_header): Explain.
7814         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7815         t-softfp to tmake_file.
7816         (arm*-*-uclinux*): Likewise.
7817         (arm*-*-ecos-elf): Likewise.
7818         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7819         (arm*-*-rtems*): Likewise.
7820         (arm*-*-elf): Likewise.
7821         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7822         in tmake_file.
7823         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7824         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7825         (lm32-*-uclinux*): Likewise.
7826         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7827         t-softfp-excl, t-softfp.
7828         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7829         (powerpc64-*-darwin*): Likewise.
7830         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7831         to tmake_file.
7832         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7833         tmake_file.
7834         (powerpc-*-eabisim*): Likewise.
7835         (powerpc-*-elf*): Likewise.
7836         (powerpc-*-eabialtivec*): Likewise.
7837         (powerpc-xilinx-eabi*): Likewise.
7838         (powerpc-*-rtems*): Likewise.
7839         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7840         t-softfp-excl, t-softfp to tmake_file.
7841         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7842         rs6000/t-ppccomm-ldbl to tmake_file.
7843         (powerpcle-*-elf*): Likewise.
7844         (powerpcle-*-eabisim*): Likewise.
7845         (powerpcle-*-eabi*): Likewise.
7846         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7847         rs6000/t-ibm-ldouble to tmake_file.
7848         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7849         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7850         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7851         (tic6x-*-*): Likewise.
7852         (i[34567]86-*-darwin*, x86_64-*-darwin*,
7853         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7854         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7855         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7856         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7857         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7858         t-softfp to tmake_file.
7859         * configure.ac (sfp_machine_header): Provide default if unset.
7860         Substitute.
7861         Link sfp-machine.h to config/$sfp_machine_header.
7862         * configure: Regenerate.
7864 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7866         * Makefile.in (double_type_size, long_double_type_size): Set.
7867         Remove $(fpbit-in-libgcc) support.
7868         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7869         (fpbit-src): New variable.
7870         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7871         Compile with -DFLOAT $(FPBIT_CFLAGS).
7872         Use $<.
7873         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7874         Compile with $(FPBIT_CFLAGS).
7875         Use $<.
7876         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7877         Compile with -DFLOAT $(TPBIT_CFLAGS).
7878         Use $<.
7879         * configure.ac (double_type_size, long_double_type_size):
7880         Determine and substitute.
7881         * configure: Regenerate.
7882         * fp-bit.c, fp-bit.h: New files.
7883         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7884         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7885         * config/mips/t-mips: New file.
7886         * config/mips/t-sdemtk: New file.
7887         * config/rs6000/ppc64-fp.c: New file.
7888         * config/rs6000/t-darwin (LIB2ADD): Add
7889         $(srcdir)/config/rs6000/ppc64-fp.c.
7890         * config/rs6000/t-ppc64-fp: New file.
7891         * config/rx/rx-lib.h: New file.
7892         * config/rx/t-rx (FPBIT): Set to true.
7893         ($(gcc_objdir)/fp-bit.c): Remove.
7894         (DPBIT): Set to true only with -m64bit-doubles.
7895         ($(gcc_objdir)/dp-bit.c): Remove.
7896         * config/sparc/t-softfp: Remove.
7897         * config/spu/t-elf: New file.
7898         * config/t-fdpbit, config/t-fpbit: New files.
7899         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7900         (mips*-*-*): Likewise.
7901         (arm-wrs-vxworks): Likewise.
7902         (arm*-*-freebsd*): Likewise.
7903         (avr-*-rtems*): Add t-fpbit to tmake_file.
7904         (avr-*-*): Likewise.
7905         (bfin*-elf*): Add t-fdpbit to tmake_file.
7906         (bfin*-uclinux*): Likewise.
7907         (bfin*-linux-uclibc*): Likewise.
7908         (bfin*-rtems*): New case.
7909         Add t-fdpbit to tmake_file.
7910         (bfin*-*): Add t-fdpbit to tmake_file.
7911         (crisv32-*-elf): Likewise.
7912         (cris-*-linux*): Likewise.
7913         (fr30-*-elf): Likewise.
7914         (frv-*-elf, frv-*-*linux*): Likewise.
7915         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7916         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7917         (m32r-*-elf*): Likewise.
7918         (m32rle-*-elf*): Likewise.
7919         (m32r-*-linux*): Likewise.
7920         (m32rle-*-linux*): Likewise.
7921         (mcore-*-elf): Add t-fdpbit to tmake_file.
7922         (microblaze*-*-*): Likewise.
7923         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7924         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7925         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7926         Fix typo.
7927         Add mips/t-tpbit to tmake-file.
7928         (mips*-*-linux*): Fix typo.
7929         (mips*-sde-elf*): New case
7930         Add mips/t-sdemtk unless using newlib.
7931         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7932         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7933         (mn10300-*-*): Likewise.
7934         (pdp11-*-*): Likewise.
7935         (picochip-*-*): Add t-fpbit to tmake_file.
7936         (powerpc-*-eabisimaltivec*): Likewise.
7937         (powerpc-*-eabisim*): Likewise.
7938         (powerpc-*-elf*): Likewise.
7939         (powerpc-*-eabialtivec*): Likewise.
7940         (powerpc-xilinx-eabi*): New case.
7941         Add t-fdpbit to tmake_file.
7942         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
7943         (powerpc-*-rtems*): Likewise.
7944         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7945         tmake_file.
7946         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7947         tmake_file.
7948         (powerpc-*-lynxos*): Likewise.
7949         (powerpcle-*-elf*): Likewise.
7950         (powerpcle-*-eabisim*): Likewise.
7951         (powerpcle-*-eabi*): Likewise.
7952         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7953         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7954         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7955         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7956         (rx-*-elf): Add t-fdpbit to tmake_file.
7957         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7958         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7959         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7960         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7961         sh*-*-netbsd*.
7962         (sh-*-rtems*): Add t-fdpbit to tmake_file.
7963         (sh-wrs-vxworks): Likewise.
7964         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7965         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7966         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7967         (sparc64-*-rtems*): ... new case.
7968         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7969         (spu-*-elf*): Likewise.
7970         Add spu/t-elf to tmake_file.
7971         (v850*-*-*): Add t-fdpbit to tmake_file.
7972         (xstormy16-*-elf): Likewise.
7973         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7974         (mep*-*-*): Likewise.
7976 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7978         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7979         variables.
7980         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7981         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7982         (install-unwind_h): New target.
7983         (all): Depend on it.
7984         * config.host (unwind_header): New variable.
7985         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7986         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7987         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7988         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7989         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7990         Set unwind_header.
7991         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7992         Set unwind_header.
7993         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7994         arm*-*-eabi*.
7995         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7996         Set unwind_header.
7997         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7998         (ia64*-*-freebsd*): Likewise.
7999         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8000         tmake_file.
8001         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8002         $with_system_libunwind.
8003         (ia64*-*-hpux*): Set tmake_file.
8004         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8005         (picochip-*-*): Set tmake_file.
8006         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8007         md_unwind_header.
8008         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8009         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8010         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8011         (xtensa*-*-elf*): Set tmake_file.
8012         (xtensa*-*-linux*): Likewise.
8013         * configure.ac: Include ../config/unwind_ipinfo.m4.
8014         Call GCC_CHECK_UNWIND_GETIPINFO.
8015         Link unwind.h to $unwind_header.
8016         * configure: Regenerate.
8017         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8018         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8019         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8020         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8021         * config/unwind-dw2-fde-darwin.c: New file.
8022         * config/arm/libunwind.S, config/arm/pr-support.c,
8023         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8024         config/arm/unwind-arm.h,: New files.
8025         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8026         config/ia64/t-eh-ia64, config/ia64/t-glibc,
8027         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8028         config/ia64/t-vms, config/ia64/unwind-ia64.c,
8029         config/ia64/unwind-ia64.h: New files.
8030         * config/picochip/t-picochip: New file.
8031         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8032         files.
8033         * config/rs6000/t-darwin (LIB2ADDEH): Set.
8034         * config/s390/t-tpf (LIB2ADDEH): Remove.
8035         * config/t-darwin (LIB2ADDEH): Set.
8036         * config/t-eh-dw2-dip: New file.
8037         * config/t-libunwind, config/t-libunwind-elf: New files.
8038         * config/t-sol2 (LIB2ADDEH): Remove.
8039         * config/xtensa/t-xtensa: New file.
8041 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
8043         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8044         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8045         long long to check rt_sigreturn syscall.
8047 2011-08-02  Alan Modra  <amodra@gmail.com>
8049         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8050         Restore for indirect call bcrtl from correct stack slot, and only
8051         if cfa+40 isn't valid.
8053 2011-08-01  Julian Brown  <julian@codesourcery.com>
8055         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8056         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8057         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8059 2011-08-01  Julian Brown  <julian@codesourcery.com>
8061         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8062         (libgcc-std.ver.in): Use above.
8063         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8064         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
8065         throughout file.
8066         * config/t-fixedpoint-gnu-prefix: New file.
8067         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8068         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8069         instead of __PFX__.
8071 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8073         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8074         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8075         for x86-64.  Properly check __x86_64__ and __LP64__.
8077 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
8079         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8080         version.
8081         (_FP_WS_TYPE): Likewise.
8082         (_FP_I_TYPE): Likewise.
8084 2011-07-28  Alan Modra  <amodra@gmail.com>
8086         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8087         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8088         in a plt call stub.  Do restore r2 if stopped on bctrl.
8090 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8092         * config.host (i[3456x]86-*-netware*): Remove.
8093         * config/i386/netware-crt0.c, config/i386/t-nwld,
8094         config/i386/t-slibgcc-nwld: Remove.
8096 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
8098         * config.host: Handle tic6x-*-*.
8099         * config/c6x/c6x-abi.h: New file.
8101 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8103         * config/i386/crtprec.c: New file.
8104         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8105         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8106         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8107         (x86_64-*-darwin*): Likewise.
8108         (i[34567]86-*-solaris2*: Likewise.
8110 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8112         * config/alpha/crtfastmath.c: New file.
8113         * config/i386/crtfastmath.c: New file.
8114         * config/ia64/crtfastmath.c: New file.
8115         * config/mips/crtfastmath.c: New file.
8116         * config/sparc/crtfastmath.c: New file.
8118         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8119         crtfastmath.c.
8120         Add -frandom-seed=gcc-crtfastmath.
8121         * config/alpha/t-crtfm: Remove.
8122         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8123         * config/ia64/t-ia64 (crtfastmath.o): Remove.
8125         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8126         (alpha*-dec-osf5.1*): Likewise.
8127         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8128         Add crtfastmath.o to extra_parts.
8129         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8130         Add crtfastmath.o to extra_parts.
8131         (x86_64-*-darwin*): Likewise.
8132         (x86_64-*-mingw*): Likewise.
8133         (ia64*-*-elf*): Add t-crtfm to tmake_file.
8134         (ia64*-*-freebsd*): Likewise.
8135         (ia64*-*-linux*): Likewise.
8136         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8137         Add crtfastmath.o to extra_parts.
8139 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8141         * config/darwin-crt3.o: New file.
8142         * config/rs6000/darwin-crt2.c: New file.
8143         * config/t-darwin: New file.
8144         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8145         (crt2.o): New rule.
8146         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8147         (powerpc-*-darwin*): Add crt2.o to extra_parts.
8148         (powerpc64-*-darwin*): Likewise.
8150 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8152         * config/i386/netware-crt0.c: New file.
8153         * config/i386/t-nwld: Rename to ...
8154         * config/i386/t-slibgcc-nwld: ... this.
8155         * config/i386/t-nwld: New file.
8156         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8157         tmake_file.
8158         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8159         extra_parts.
8161 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8163         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8164         i386/t-crtstuff.
8165         * configure: Regenerate.
8167 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8169         * dfp-bit.c, dfp-bit.h: New files.
8170         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8171         variables.
8172         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8173         ($(d64pbit-o)): Likewise.
8174         ($(d128pbit-o)): Likewise.
8175         * config/t-dfprules: New file.
8176         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8177         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8178         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8179         (x86_64-*-linux*): Likewise.
8180         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8181         (i[34567]86-*-cygwin*): Likewise.
8182         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
8183         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8185 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8187         * Makfile.in (LIBGCOV): New variable.
8188         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8189         * libgcov.c: New file.
8191 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8193         * fixed-bit.c, fixed-bit.h: New files.
8194         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8195         refer to fixed-bit.c.
8197 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
8199         * config.host (*local*): Remove.
8201 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8203         PR target/39150
8204         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8205         like i?86-*-solaris2.1[0-9]*.
8206         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8207         * configure.ac (i?86-*-solaris2*): Likewise.
8208         * configure: Regenerate.
8210 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
8212         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8213         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8214         md_unwind_header by splitting out of...
8215         (i[34567]86-*-linux*): ... this.
8216         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8217         Remove md_unwind_header by splitting out of...
8218         (x86_64-*-linux*): ... this.
8220 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
8222         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8224 2011-06-28  Nick Clifton  <nickc@redhat.com>
8226         * config.host: Recognize all V850 variants.
8228 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
8230         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8232 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8234         * shared-object.mk (c_flags-$o): Save c_flags.
8235         ($(base)$(objext)): Use it.
8236         ($(base)_s$(objext)): Likewise.
8238 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
8240         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8241         * libgcc-std.ver.in (GCC_4.7.0): New section.
8243 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
8245         PR target/49313
8246         PR target/29524
8247         * config/avr/t-avr: Fix line endings.
8248         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
8249         _parityXX2.
8251 2011-06-14  Olivier Hainque  <hainque@adacore.com>
8252             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8254         * config/mips/irix6-unwind.h: New file.
8255         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8257 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
8259         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8260         (sparc64_fallback_frame_state): Use it.
8261         (sparc64_frob_update_context): Further adjust context.
8262         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8263         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8264         * config/sparc/sol2-cn.S: Likewise.
8266 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8268         * enable-execute-stack-empty.c: New file.
8269         * enable-execute-stack-mprotect.c: New file.
8270         * config/i386/enable-execute-stack-mingw32.c: New file.
8271         * config.host (enable_execute_stack): New variable.
8272         Select appropriate variants.
8273         * configure.ac: Link enable-execute-stack.c to
8274         $enable_execute_stack.
8275         * configure: Regenerate.
8276         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8277         (lib2funcs): Remove _enable_execute_stack.
8279 2011-06-09  David S. Miller  <davem@davemloft.net>
8280             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8282         * config.host (sparc-*-linux*): Correct md_unwind_header
8283         filename.
8284         (s390x-ibm-tpf*): Fix typo.
8286 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8288         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8289         Add crtfastmath.o to extra_parts.
8290         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8291         mips/t-crtfm.
8292         * config/mips/t-crtfm: Remove.
8294 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8296         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8298 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8300         * config.host (sh*-*-linux*): Fix typo.
8302 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8304         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8305         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8306         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8307         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8308         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8309         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8310         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8311         Wrap in !__MINGW64__.
8312         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8313         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8314         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8315         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8316         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8317         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8318         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8319         Wrap in !__LP64__.
8320         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8321         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8322         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8323         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8324         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8325         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8326         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8327         * config/no-unwind.h: New file.
8328         * config.host (md_unwind_header): Document.
8329         Define.
8330         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8331         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8332         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8333         hppa[12]*-*-hpux11*): Set md_unwind_header.
8334         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8335         Set md_unwind_header.
8336         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8337         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8338         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8339         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8340         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8341         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8342         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8343         md_unwind_header.
8344         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8345         * configure: Regenerate.
8347 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8349         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8350         Set tmake_file, extra_parts.
8351         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8352         Remove O32 support.
8353         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8354         Remove O32 support.
8355         * config/mips/t-irix6: New file.
8356         * config/mips/t-slibgcc-irix: New file.
8358 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8360         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8361         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8363 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8365         * configure.ac (target_thread_file): Determine thread model.
8366         * configure: Regenerate.
8367         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8368         * config/alpha/t-alpha: New file.
8369         * config/alpha/t-crtfm: Use $<.
8370         * config/alpha/t-ieee: New file.
8371         * config/alpha/t-osf-pthread: New file.
8372         * config/alpha/t-slibgcc-osf: New file.
8373         * config/alpha/libgcc-osf5.ver: New file.
8375 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8377         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8378         tmake_file.
8379         Add crtfastmath.o to extra_parts.
8381 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8383         * config/gmon-sol2.c: Reindent.
8384         Cleanup comments.
8385         Remove, correct casts.
8386         Use STDERR_FILENO, NULL.
8387         (BASEADDRESS): Remove.
8388         (minbrk): Remove.
8389         (errno, sbrk): Remove declarations.
8390         (monstartup) [hp300]: Remove.
8391         (mcount): Remove.
8393 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8395         * Makefile.in (cpu_type): Define.
8396         * config.host (i[34567]86-*-rtems*): Handle it.
8397         (i[34567]86-*-solaris2*): Move body ...
8398         (*-*-solaris2*): ... here.
8399         New case, generalize.
8400         (sparc-*-elf*): Handle it.
8401         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8402         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8403         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8404         Fold into ...
8405         (sparc*-*-solaris2*): ... this.
8406         New case.
8407         (sparc64-*-elf*): Handle it.
8408         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8409         Merge ../gcc/config/i386/gmon-sol2.c.
8410         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8411         Use C comments.
8412         Merge ../gcc/config/i386/sol2-gc1.asm.
8413         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8414         Use C comments.
8415         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8416         Use C comments.
8417         * config/i386/t-crtfm (crtfastmath.o): Use $<.
8418         * config/i386/t-crtstuff: New file.
8419         * config/i386/t-softfp: New file.
8420         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8421         $(T)crti.o, $(T)crtn.o): Remove.
8422         (gcrt1.o): New rule.
8423         (TARGET_LIBGCC2_CFLAGS): Remove.
8424         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8425         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8426         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8427         * config/sparc/t-sol2: New file.
8428         * config/sparc/t-crtfm: Move to ...
8429         * config/t-crtfm: ... this.
8430         Use $(cpu_type), $<.
8431         * config/t-crtin: New file.
8432         * config/sparc/t-softfp: New file.
8433         * config/sparc/t-softmul: New file.
8434         * config/t-rtems: New file.
8435         * config/t-slibgcc: New file.
8436         * config/t-slibgcc-elf-ver: New file.
8437         * config/t-slibgcc-gld: New file.
8438         * config/t-slibgcc-sld: New file.
8439         * config/t-sol2: New file.
8440         * configure.ac: Include ../config/lib-ld.m4.
8441         Call AC_LIB_PROG_LD_GNU.
8442         Substitute cpu_type.
8443         * configure: Regenerate.
8445 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
8447         PR bootstrap/49173
8448         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8449         libgcc-std.ver in the build directory.
8450         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8451         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8453 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
8455         * libgcc-std.ver.in: New file.
8456         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8457         variables.
8458         (libgcc-std.ver): New rule.
8459         * config/t-gnu-prefix: New file.
8461 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8463         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8465 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8467         * config/i386/darwin-lib.h: New file.
8469 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
8471         * config/arm/symbian-lib.h: New.
8473 2011-05-04  Chris Demetriou  <cgd@google.com>
8475         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8476         (__x86.get_pc_thunk.bx): ...this.
8477         (__morestack): Adjust for rename, remove undef of __i686.
8479 2011-05-03  Chris Demetriou  <cgd@google.com>
8481         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8483 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
8485         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8486         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8487         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8488         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8489         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8490         Remove cases.
8492 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
8494         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8495         Adjust copyright year.
8497 2011-03-07  Ian Lance Taylor  <iant@google.com>
8499         * generic-morestack.c (__splitstack_find): Adjust returned stack
8500         pointer to include all registers pushed by __morestack.
8502 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
8504         PR target/40125
8505         * configure.ac: Call ACX_NONCANONICAL_TARGET.
8506         (toolexecdir): Calculate and AC_SUBST.
8507         (toolexeclibdir): Likewise.
8508         * Makefile.in (target_noncanonical): Import.
8509         (toolexecdir): Likewise.
8510         (toolexeclibdir): Likewise.
8511         * configure: Regenerate.
8513 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
8515         PR target/46040
8516         * config/arm/bpabi.h: Rename to...
8517         * config/arm/bpabi-lib.h: ...this.
8519 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8521         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8522         appropriate.
8523         * configure: Regenerate.
8525 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
8527         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8528         __FLOAT_WORD_ORDER__.
8529         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8530         Delete.
8532 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8534         PR other/46202
8535         * Makefile.in (install-strip): New phony target.
8537 2010-11-07  Ian Lance Taylor  <iant@google.com>
8539         PR target/46089
8540         * config/i386/morestack.S (__morestack_large_model): New
8541         function.
8543 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
8545         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8546         Delete.
8547         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8549 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
8551         * config/arm/bpabi.h: New file.
8552         * config/frv/frv-abi.h: New file.
8554 2010-10-01  Ian Lance Taylor  <iant@google.com>
8556         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8557         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8559 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
8561         PR target/45858
8562         * config.host: Add the missing `$'.
8564 2010-09-30  Michael Eager  <eager@eagercon.com>
8566         * config.host: Add microblaze*-*-*.
8567         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8568         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8569         udivsi3.asm,umodsi3.asm}:  New.
8571 2010-09-28  Ian Lance Taylor  <iant@google.com>
8573         * configure.ac: Adjust CFI test to test assembler directly rather
8574         than checking gcc preprocessor macro.
8575         * configure: Rebuild.
8577 2010-09-27  Ian Lance Taylor  <iant@google.com>
8579         * configure.ac: Test whether assembler supports CFI directives.
8580         * config.host: Only add t-stack and i386/t-stack-i386 to
8581         tmake_file if libgcc_cv_cfi is "yes".
8582         * configure: Rebuild.
8584 2010-09-27  Ian Lance Taylor  <iant@google.com>
8586         * generic-morestack.h: New file.
8587         * generic-morestack.c: New file.
8588         * generic-morestack-thread.c: New file.
8589         * config/i386/morestack.S: New file.
8590         * config/t-stack: New file.
8591         * config/i386/t-stack-i386: New file.
8592         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8593         i386/t-stack-i386 to tmake_file.
8595 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
8597         * Makefile.in (libgcc-extra-parts):  Check for static archives and
8598         invoke ranlib after installing them.
8599         (gcc-extra-parts): Likewise.
8600         (install-leaf): Likewise.
8602 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8604         * configure: Regenerated.
8606 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
8608         * configure: Regenerated.
8610 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
8611             Andrew Pinski  <pinskia@gmail.com>
8613         PR target/40959
8614         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
8616 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8618         PR target/45524
8619         * configure: Regenerated.
8621 2010-09-06  Andreas Schwab  <schwab@redhat.com>
8623         * configure: Regenerate.
8625 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8627         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8628         64bit targets.
8629         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8630         for 64bit targets.
8632 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
8633             Iain Sandoe  <iains@gcc.gnu.org>
8635         PR target/45476
8636         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8637         LIB2FUNCS_EXCLUDE functions.
8639 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8641         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8642         Include dfp.m4.
8643         * configure: Regenerate.
8645 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
8647         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8648         i386/t-freebsd to tmake_file.
8649         * config/i386/t-freebsd: New file.
8650         * config/i386/libgcc-bsd.ver: New file.
8652 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
8654         * config.host (powerpc*-eabispe*): Set tmake_file.
8655         (powerpc*-eabi*): Likewise.
8656         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8657         crtbeginS, crtendS, crtbeginT.
8659 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
8661         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8662         to tmake_file.  Add crtfastmath.o to extra_parts.
8663         * config/mips/t-crtfm: New.
8665 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
8667         * config.host (sparc64-*-rtems*): New target.
8669 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8671         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8672         assembler syntax.
8674 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
8676         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8678 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8680         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8681         alpha-dec-osf5.0* support.
8683 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
8685         * config.host: Add lm32-*-rtems*.
8687 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8688             Uros Bizjak  <ubizjak@gmail.com>
8690         PR target/39048
8691         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8692         like other remaining 32-bit x86 OSes.
8693         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8694         assembler syntax.
8695         * config/i386/libgcc-sol2.ver: New file.
8696         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8698 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
8700         PR c/43553
8701         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8702         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8703         is used and substitute set_use_emutls.
8704         * configure: Regenerated.
8706 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
8708         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8710 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8712         PR target/38085
8713         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8714         MULTILIB_CFLAGS.
8715         ($(T)gcrt1.o): Likewise.
8716         ($(T)crt1.o): Likewise.
8717         ($(T)crti.o): Likewise.
8718         ($(T)crtn.o): Likewise.
8720 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8722         PR other/42980
8723         * Makefile.in (install): Use $(MAKE) string in rule, for
8724         parallel make.
8726 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
8728         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8729         * config/mmix/t-mmix: New file.
8730         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8732 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
8734         PR java/41991
8735         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8736         SHLIB_MAPFILES.
8738 2010-01-04  Anthony Green  <green@moxielogic.com>
8740         * config/moxie/crti.asm, config/moxie/crtn.asm,
8741         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8742         config/moxie/t-moxie: New files.
8743         * config.host: Add t-moxie-softfp reference.
8745 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
8747         PR other/39888
8748         * config/t-slibgcc-darwin: Fix embedded rpaths for
8749         --enable-version-specific-runtime-libs, build extension stub
8750         libs exposing features available from current libgcc_s.
8752 2009-11-11  Jon Beniston  <jon@beniston.com>
8754         * config.host: Add lm32 targets.
8755         * config/lm32: New directory.
8756         * config/lm32/libgcc_lm32.h: New file.
8757         * config/lm32/_mulsi3.c: New file.
8758         * config/lm32/_udivmodsi4.c: New file.
8759         * config/lm32/_divsi3.c: New file.
8760         * config/lm32/_modsi3.c: New file.
8761         * config/lm32/_udivsi3.c: New file.
8762         * config/lm32/_umodsi3.c: New file.
8763         * config/lm32/_lshrsi3.S: New file.
8764         * config/lm32/_ashrsi3.S: New file.
8765         * config/lm32/_ashlsi3.S: New file.
8766         * config/lm32/crti.S: New file.
8767         * config/lm32/crtn.S: New file.
8768         * config/lm32/t-lm32: New file.
8769         * config/lm32/t-elf: New file.
8770         * config/lm32/t-uclinux: New file.
8772 2009-10-26  Nick Clifton  <nickc@redhat.com>
8774         * config.host: Add support for RX target.
8775         * config/rx: New directory.
8776         * config/rx/rx-abi-functions.c: New file. Supplementary
8777         functions for libgcc to support the RX ABI.
8778         * config/rx/rx-abi.h: New file.  Supplementary header file for
8779         libgcc RX ABI functions.
8780         * config/rx/t-rx: New file: Makefile fragment for building
8781         libgcc for the RX.
8783 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
8785         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8786         constraint of y0 to "g".
8788 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8790         * config.host: Include the s390 makefile fragments.
8791         * config/s390/32/_fixdfdi.c: New file.
8792         * config/s390/32/_fixsfdi.c: New file.
8793         * config/s390/32/_fixtfdi.c: New file.
8794         * config/s390/32/_fixunsdfdi.c: New file.
8795         * config/s390/32/_fixunssfdi.c: New file.
8796         * config/s390/32/_fixunstfdi.c: New file.
8797         * config/s390/32/t-floattodi: New file.
8798         * config/s390/libgcc-glibc.ver: New file.
8799         * config/s390/t-crtstuff: New file.
8800         * config/s390/t-linux: New file.
8801         * config/s390/t-tpf: New file.
8803 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8805         * configure.ac (AC_PREREQ): Bump to 2.64.
8807 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
8809         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8811 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8813         * configure: Regenerate.
8815 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
8817         * config.host (ia64-hp-*vms*): New target.
8818         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8819         with ia64-hp-*vms*.
8821 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
8823         * configure.ac: Add snippet for maintainer-mode.
8824         * configure: Regenerate.
8825         * Makefile.in (AUTOCONF, configure_deps): New variables.
8826         ($(srcdir)/configure)): New rule, active only with maintainer
8827         mode turned on.
8829 2009-06-23  DJ Delorie  <dj@redhat.com>
8831         Add MeP port.
8832         * config.host: Add mep support.
8834 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
8836         * config.host: Add i386/${host_address}/t-fprules-softfp and
8837         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8839         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8840         for mingw targets.
8841         * config/i386/64/_multc3.c: Likewise.
8842         * config/i386/64/_powitf2.c: Likewise.
8843         * config/i386/64/eqtf2.c: Likewise.
8844         * config/i386/64/getf2.c: Likewise.
8845         * config/i386/64/letf2.c: Likewise.
8846         * config/i386/64/letf2.c: Likewise.
8847         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8848         unsigned long long for x64 mingw targets.
8849         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8850         (_FP_I_TYPE): Define as long long for x64 mingw target.
8852 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
8854         * config.host (vax-*-linux*): New.
8856 2009-05-31  Anthony Green  <green@moxielogic.com>
8858         * config.host: Add moxie support.
8859         * config/moxie/t-moxie: New file.
8861 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
8863         * config.host: Add i386/${host_address}/t-fprules-softfp and
8864         t-softfp to tmake_file for i[34567]86-*-cygwin*.
8866 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
8868         * config.host: Add i386/${host_address}/t-fprules-softfp to
8869         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8871 2009-04-09  Nick Clifton  <nickc@redhat.com>
8873         * config/ia64/tf-signs.c: Change copyright header to refer to
8874         version 3 of the GNU General Public License with version 3.1
8875         of the GCC Runtime Library Exception and to point readers at
8876         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8877         web page.
8878         * config/i386/32/tf-signs.c: Likewise.
8879         * config/libbid/_addsub_dd.c: Likewise.
8880         * config/libbid/_addsub_sd.c: Likewise.
8881         * config/libbid/_addsub_td.c: Likewise.
8882         * config/libbid/_dd_to_df.c: Likewise.
8883         * config/libbid/_dd_to_di.c: Likewise.
8884         * config/libbid/_dd_to_sd.c: Likewise.
8885         * config/libbid/_dd_to_sf.c: Likewise.
8886         * config/libbid/_dd_to_si.c: Likewise.
8887         * config/libbid/_dd_to_td.c: Likewise.
8888         * config/libbid/_dd_to_tf.c: Likewise.
8889         * config/libbid/_dd_to_udi.c: Likewise.
8890         * config/libbid/_dd_to_usi.c: Likewise.
8891         * config/libbid/_dd_to_xf.c: Likewise.
8892         * config/libbid/_df_to_dd.c: Likewise.
8893         * config/libbid/_df_to_sd.c: Likewise.
8894         * config/libbid/_df_to_td.c: Likewise.
8895         * config/libbid/_di_to_dd.c: Likewise.
8896         * config/libbid/_di_to_sd.c: Likewise.
8897         * config/libbid/_di_to_td.c: Likewise.
8898         * config/libbid/_div_dd.c: Likewise.
8899         * config/libbid/_div_sd.c: Likewise.
8900         * config/libbid/_div_td.c: Likewise.
8901         * config/libbid/_eq_dd.c: Likewise.
8902         * config/libbid/_eq_sd.c: Likewise.
8903         * config/libbid/_eq_td.c: Likewise.
8904         * config/libbid/_ge_dd.c: Likewise.
8905         * config/libbid/_ge_sd.c: Likewise.
8906         * config/libbid/_ge_td.c: Likewise.
8907         * config/libbid/_gt_dd.c: Likewise.
8908         * config/libbid/_gt_sd.c: Likewise.
8909         * config/libbid/_gt_td.c: Likewise.
8910         * config/libbid/_isinfd128.c: Likewise.
8911         * config/libbid/_isinfd32.c: Likewise.
8912         * config/libbid/_isinfd64.c: Likewise.
8913         * config/libbid/_le_dd.c: Likewise.
8914         * config/libbid/_le_sd.c: Likewise.
8915         * config/libbid/_le_td.c: Likewise.
8916         * config/libbid/_lt_dd.c: Likewise.
8917         * config/libbid/_lt_sd.c: Likewise.
8918         * config/libbid/_lt_td.c: Likewise.
8919         * config/libbid/_mul_dd.c: Likewise.
8920         * config/libbid/_mul_sd.c: Likewise.
8921         * config/libbid/_mul_td.c: Likewise.
8922         * config/libbid/_ne_dd.c: Likewise.
8923         * config/libbid/_ne_sd.c: Likewise.
8924         * config/libbid/_ne_td.c: Likewise.
8925         * config/libbid/_sd_to_dd.c: Likewise.
8926         * config/libbid/_sd_to_df.c: Likewise.
8927         * config/libbid/_sd_to_di.c: Likewise.
8928         * config/libbid/_sd_to_sf.c: Likewise.
8929         * config/libbid/_sd_to_si.c: Likewise.
8930         * config/libbid/_sd_to_td.c: Likewise.
8931         * config/libbid/_sd_to_tf.c: Likewise.
8932         * config/libbid/_sd_to_udi.c: Likewise.
8933         * config/libbid/_sd_to_usi.c: Likewise.
8934         * config/libbid/_sd_to_xf.c: Likewise.
8935         * config/libbid/_sf_to_dd.c: Likewise.
8936         * config/libbid/_sf_to_sd.c: Likewise.
8937         * config/libbid/_sf_to_td.c: Likewise.
8938         * config/libbid/_si_to_dd.c: Likewise.
8939         * config/libbid/_si_to_sd.c: Likewise.
8940         * config/libbid/_si_to_td.c: Likewise.
8941         * config/libbid/_td_to_dd.c: Likewise.
8942         * config/libbid/_td_to_df.c: Likewise.
8943         * config/libbid/_td_to_di.c: Likewise.
8944         * config/libbid/_td_to_sd.c: Likewise.
8945         * config/libbid/_td_to_sf.c: Likewise.
8946         * config/libbid/_td_to_si.c: Likewise.
8947         * config/libbid/_td_to_tf.c: Likewise.
8948         * config/libbid/_td_to_udi.c: Likewise.
8949         * config/libbid/_td_to_usi.c: Likewise.
8950         * config/libbid/_td_to_xf.c: Likewise.
8951         * config/libbid/_tf_to_dd.c: Likewise.
8952         * config/libbid/_tf_to_sd.c: Likewise.
8953         * config/libbid/_tf_to_td.c: Likewise.
8954         * config/libbid/_udi_to_dd.c: Likewise.
8955         * config/libbid/_udi_to_sd.c: Likewise.
8956         * config/libbid/_udi_to_td.c: Likewise.
8957         * config/libbid/_unord_dd.c: Likewise.
8958         * config/libbid/_unord_sd.c: Likewise.
8959         * config/libbid/_unord_td.c: Likewise.
8960         * config/libbid/_usi_to_dd.c: Likewise.
8961         * config/libbid/_usi_to_sd.c: Likewise.
8962         * config/libbid/_usi_to_td.c: Likewise.
8963         * config/libbid/_xf_to_dd.c: Likewise.
8964         * config/libbid/_xf_to_sd.c: Likewise.
8965         * config/libbid/_xf_to_td.c: Likewise.
8966         * config/libbid/bid128.c: Likewise.
8967         * config/libbid/bid128_2_str.h: Likewise.
8968         * config/libbid/bid128_2_str_macros.h: Likewise.
8969         * config/libbid/bid128_2_str_tables.c: Likewise.
8970         * config/libbid/bid128_add.c: Likewise.
8971         * config/libbid/bid128_compare.c: Likewise.
8972         * config/libbid/bid128_div.c: Likewise.
8973         * config/libbid/bid128_fma.c: Likewise.
8974         * config/libbid/bid128_logb.c: Likewise.
8975         * config/libbid/bid128_minmax.c: Likewise.
8976         * config/libbid/bid128_mul.c: Likewise.
8977         * config/libbid/bid128_next.c: Likewise.
8978         * config/libbid/bid128_noncomp.c: Likewise.
8979         * config/libbid/bid128_quantize.c: Likewise.
8980         * config/libbid/bid128_rem.c: Likewise.
8981         * config/libbid/bid128_round_integral.c: Likewise.
8982         * config/libbid/bid128_scalb.c: Likewise.
8983         * config/libbid/bid128_sqrt.c: Likewise.
8984         * config/libbid/bid128_string.c: Likewise.
8985         * config/libbid/bid128_to_int16.c: Likewise.
8986         * config/libbid/bid128_to_int32.c: Likewise.
8987         * config/libbid/bid128_to_int64.c: Likewise.
8988         * config/libbid/bid128_to_int8.c: Likewise.
8989         * config/libbid/bid128_to_uint16.c: Likewise.
8990         * config/libbid/bid128_to_uint32.c: Likewise.
8991         * config/libbid/bid128_to_uint64.c: Likewise.
8992         * config/libbid/bid128_to_uint8.c: Likewise.
8993         * config/libbid/bid32_to_bid128.c: Likewise.
8994         * config/libbid/bid32_to_bid64.c: Likewise.
8995         * config/libbid/bid64_add.c: Likewise.
8996         * config/libbid/bid64_compare.c: Likewise.
8997         * config/libbid/bid64_div.c: Likewise.
8998         * config/libbid/bid64_fma.c: Likewise.
8999         * config/libbid/bid64_logb.c: Likewise.
9000         * config/libbid/bid64_minmax.c: Likewise.
9001         * config/libbid/bid64_mul.c: Likewise.
9002         * config/libbid/bid64_next.c: Likewise.
9003         * config/libbid/bid64_noncomp.c: Likewise.
9004         * config/libbid/bid64_quantize.c: Likewise.
9005         * config/libbid/bid64_rem.c: Likewise.
9006         * config/libbid/bid64_round_integral.c: Likewise.
9007         * config/libbid/bid64_scalb.c: Likewise.
9008         * config/libbid/bid64_sqrt.c: Likewise.
9009         * config/libbid/bid64_string.c: Likewise.
9010         * config/libbid/bid64_to_bid128.c: Likewise.
9011         * config/libbid/bid64_to_int16.c: Likewise.
9012         * config/libbid/bid64_to_int32.c: Likewise.
9013         * config/libbid/bid64_to_int64.c: Likewise.
9014         * config/libbid/bid64_to_int8.c: Likewise.
9015         * config/libbid/bid64_to_uint16.c: Likewise.
9016         * config/libbid/bid64_to_uint32.c: Likewise.
9017         * config/libbid/bid64_to_uint64.c: Likewise.
9018         * config/libbid/bid64_to_uint8.c: Likewise.
9019         * config/libbid/bid_b2d.h: Likewise.
9020         * config/libbid/bid_binarydecimal.c: Likewise.
9021         * config/libbid/bid_conf.h: Likewise.
9022         * config/libbid/bid_convert_data.c: Likewise.
9023         * config/libbid/bid_decimal_data.c: Likewise.
9024         * config/libbid/bid_decimal_globals.c: Likewise.
9025         * config/libbid/bid_div_macros.h: Likewise.
9026         * config/libbid/bid_dpd.c: Likewise.
9027         * config/libbid/bid_flag_operations.c: Likewise.
9028         * config/libbid/bid_from_int.c: Likewise.
9029         * config/libbid/bid_functions.h: Likewise.
9030         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9031         * config/libbid/bid_inline_add.h: Likewise.
9032         * config/libbid/bid_internal.h: Likewise.
9033         * config/libbid/bid_round.c: Likewise.
9034         * config/libbid/bid_sqrt_macros.h: Likewise.
9036 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
9038         * Makefile.in: Change copyright header to refer to version
9039         3 of the GNU General Public License and to point readers at the
9040         COPYING3 file and the FSF's license web page.
9041         * config.host: Likewise.
9043 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
9045         * config.host: Reorder and merge to match config.gcc change.
9047 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
9049         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9051 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
9053         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9054         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9055         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9056         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9058 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
9060         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9061         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9063 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
9065         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9066         ia64/t-softfp-compat to tmake_file.
9068         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9070         * config/ia64/__divxf3.asm: New.
9071         * config/ia64/_fixtfdi.asm: Likewise.
9072         * config/ia64/_fixunstfdi.asm: Likewise.
9073         * config/ia64/_floatditf.asm: Likewise.
9074         * config/ia64/t-fprules-softfp: Likewise.
9075         * config/ia64/t-softfp-compat: Likewise.
9076         * config/ia64/tf-signs.c: Likewise.
9078 2009-01-18  Ben Elliston  <bje@au.ibm.com>
9080         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9082 2009-01-16  Ben Elliston  <bje@au.ibm.com>
9084         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9085         to tmake_file.
9087 2009-01-13  Ben Elliston  <bje@au.ibm.com>
9089         * config/t-softfp: New file.
9090         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9091         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9093 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
9095         * config.host: Add m32r*-*-rtems*.
9097 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
9099         * config.host: Add m32c*-*-rtems*.
9101 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9103         PR bootstrap/33100
9104         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9105         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9106         * configure: Regenerate.
9107         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9108         tmake_file here from gcc/config.gcc.
9109         Move extra_parts here from gcc/config.gcc.
9110         * config/i386/t-sol2: Move here from gcc/config/i386.
9111         Use gcc_srcdir instead of srcdir.
9113 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
9115         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9116         case.
9118 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
9120         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9122 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
9124         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9126 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
9128         Add picoChip port.
9129         * config.host: Add picochip-*-*.
9131 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
9133         * config.host: Match more processor names for Xtensa.
9135 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
9137         * config/i386/64/t-softfp-compat: Update comments.
9139 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9141         * config/i386/64/_divtc3-compat.c: Moved to ...
9142         * config/i386/64/_divtc3.c: Here.
9144         * config/i386/64/_multc3-compat.c: Moved to ...
9145         * config/i386/64/_multc3.c: Here.
9147         * config/i386/64/_powitf2-compat.c: Moved to ...
9148         * config/i386/64/_powitf2.c: Here.
9150         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9151         .c suffix instead of -compat.c.
9153 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
9155         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9156         (_FP_MUL_MEAT_D): Ditto.
9157         (_FP_DIV_MEAT_S): Ditto.
9158         (_FP_DIV_MEAT_D): Ditto.
9160 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
9162         * Makefile.in: Add support for __sync_* libgcc functions.
9164 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
9166         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9168 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9170         PR boostrap/36702
9171         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9172         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
9174         * config/i386/64/t-fprules-softfp: Moved to ...
9175         * config/i386/64/t-softfp-compat: This.  New.
9177 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
9179         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9180         Initialize f with 0.0.
9182 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9184         PR target/36669
9185         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9187         * config/i386/64/_divtc3-compat.c: New.
9188         * config/i386/64/_multc3-compat.c: Likewise.
9189         * config/i386/64/_powitf2-compat.c: Likewise.
9190         * config/i386/64/eqtf2.c: Likewise.
9191         * config/i386/64/getf2.c: Likewise.
9192         * config/i386/64/letf2.c: Likewise.
9193         * config/i386/64/t-fprules-softfp: Likewise.
9195 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9197         * config.host: Add i386/${host_address}/t-fprules-softfp to
9198         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9199         i[34567]86-*-linux*, x86_64-*-linux*.
9201         * configure.ac: Set host_address to 64 or 32 for x86.
9202         * configure: Regenerated.
9204         * Makefile.in (config.status): Also depend on
9205         $(srcdir)/config.host.
9207         * config/i386/32/t-fprules-softfp: New.
9208         * config/i386/32/tf-signs.c: Likewise.
9210         * config/i386/64/sfp-machine.h: New. Moved from gcc.
9212 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
9213             Uros Bizjak  <ubizjak@gmail.com>
9215         * config/i386/32/sfp-machine.h: New.
9217 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
9219         * config/rs6000/t-ppccomm: Remove rules that conflict with
9220         auto-generated rules.
9222 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
9224         * configure.ac: sinclude override.m4.
9225         * configure: Regenerate.
9227 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
9229         * configure: Regenerate.
9231 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
9233         * Makefile.in (DECNUMINC): Remove
9234         -I$(MULTIBUILDTOP)../../libdecnumber.
9235         * gstdint.h: New.
9237 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
9239         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9240         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9241         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9242         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9243         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9244         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9245         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9246         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9247         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9248         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9249         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9250         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9251         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9252         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9254 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
9256         * config.host (sh2[lbe]*-*-linux*): Allow target.
9258 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
9260         * config/rs6000/t-ppccomm: Add build rules for new files.
9261         (LIB2ADD_ST): New variable.
9263 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
9265         PR target/34210
9266         PR target/35508
9267         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9268         * config/t-avr: New file. Build 16bit libgcc functions.
9270 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
9272         PR target/35401
9273         * config/t-slibgcc-darwin: Make install-leaf dependent on
9274         install-darwin-libgcc-stubs instead of install.
9276 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
9278         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9279         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9280         sh-*-rtemscoff*): Remove cases.
9282 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
9284         * Makefile.in (all): Use install-leaf rather than install.
9285         (install): Split most of the rule into...
9286         (install-leaf): ...this new one.
9288 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
9289             Paolo Bonzini  <bonzini@gnu.org>
9291         PR target/30572
9292         * Makefile.in: Use @shlib_slibdir@ substitution to get
9293         correct install name on darwin.
9294         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9296 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
9298         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9299         cris-*-elf and cris-*-none.
9300         (crisv32-*-linux*): Similar, as cris-*-linux*.
9302 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
9304         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9306 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
9308         PR regression/33926
9309         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9310         * configure: Regenerated.
9312 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
9314         * Makefile.in (dfp-filenames): Replace decimal_globals,
9315         decimal_data, binarydecimal and convert_data with
9316         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9317         and bid_convert_data, respectively.
9319 2007-09-17  Chao-ying Fu  <fu@mips.com>
9320             Nigel Stephens  <nigel@mips.com>
9322         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9323         * Makefile.in (fixed_point): Define.
9324         Check if fixed_point is yes to build support functions.
9325         * configure.ac: Check for fixed_point support.
9326         * configure: Regenerated.
9327         * gen-fixed.sh: New file to generate lists of fixed-point labels,
9328         funcs, modes, from, to.
9330 2007-09-11  Janis Johnson  <janis187@us.ibm.com
9332         * Makefile.in (dfp-filenames): Add bid128_noncomp.
9334 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
9336         * Makefile.in (dfp-filenames): Remove decUtility, add
9337         decDouble, decPacked, decQuad, decSingle.
9339 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
9341         * config.host : Add x86_64-elf target.
9343 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9345         * configure.ac (set_have_cc_tls): Add a missing =.
9346         * configure: Regenerated.
9348 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
9350         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9351         and x86_64-*-linux*.
9353         * config/t-tls: New file.
9355         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9357         * configure.ac: Include ../config/enable.m4 and
9358         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
9359         supports TLS and substitute set_have_cc_tls.
9360         * configure: Regenerated.
9362 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
9364         * Makefile.in: Use libbid for DFP when BID is enabled.
9366 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
9368         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9369         extra_parts. Add config/i386/t-cygming to tmake_file.
9370         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9372 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
9373             Danny Smith  <dannysmith@users.sourceforge.net>
9375         PR target/29498
9376         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9377         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
9378         * config/i386/t-crtfm: Compile crtfastmath.o with
9379         -minline-all-stringops.
9381 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
9383         * config.host (sparc-wrs-vxworks): New target.
9385 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
9387         * config.host: Recognize fido.
9389 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
9391         * configure: Check host, not target, for decimal float support.
9393 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
9395         * config/i386/t-crtpc: New file.
9396         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9397         (x86_64-*-linux*): Ditto.
9399 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
9401         * config.host (x86_64-*-mingw*): New target.
9403 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
9404             H.J. Lu  <hongjiu.lu@intel.com>
9406         * Makefile.in (enable_decimal_float): New.
9407         (DECNUMINC): Add
9408         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9409         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9410         (decbits-filenames): This.
9411         (decbits-objects): New.
9412         (libgcc-objects): Add $(decbits-objects).
9414         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9415         Substitute enable_decimal_float.
9416         * configure: Regenerated.
9418 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
9420         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9422 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
9424         * Makefile.in (install-info): New dummy target.
9426 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
9428         * config.host (bfin*-linux-uclibc*): Set extra_parts.
9430 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
9432         * Makefile.in: Add install-html and install-pdf dummy
9433         targets.
9435 2007-02-05  Roger Sayle  <roger@eyesopen.com>
9436             Daniel Jacobowitz  <dan@codesourcery.com>
9438         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9439         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9440         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9442 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
9444         * Makefile.in (dec-filenames): Add decExcept.
9446 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
9448         PR bootstrap/30469
9449         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9450         -fprofile-use.
9452 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
9454         * configure.ac: Add --enable-version-specific-runtime-libs.
9455         Correct $slibdir default.
9456         * configure: Regenerated.
9458 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
9460         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9462 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
9464         PR target/30519
9465         * config.host (alpha*-*-linux*): Set extra_parts.
9467 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
9469         * config/sh/t-linux: New.
9470         * config.host (sh*-*-linux*): Set tmake_file.
9472 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
9474         * Makefile.in (install): Handle multilibs.
9476 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9478         * Makefile.in: Added .PHONY entry for documentation targets.
9480 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
9482         * Makefile.in: Add empty info, html, dvi, pdf targets.
9484 2007-01-04  Mike Stump  <mrs@apple.com>
9486         * Makefile.in (MAKEINFO): Remove.
9487         (PERL): Likewise.
9489 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
9491         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9492         * configure: Regenerate.
9493         * Makefile.in (host_subdir): Substitute it.
9494         (gcc_objdir): Use it.
9496 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9498         * config.host (ia64*-*-linux*): Set tmake_file.
9500 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
9502         * Makefile.in (version): Define.
9504 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
9505             Paolo Bonzini  <bonzini@gnu.org>
9507         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9508         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9509         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9510         config/sparc/t-crtfm, config/t-slibgcc-darwin,
9511         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9512         shared-object.mk, siditi-object.mk, static-object.mk: New files.
9513         * configure: Generated.
9515 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9517 Copying and distribution of this file, with or without modification,
9518 are permitted in any medium without royalty provided the copyright
9519 notice and this notice are preserved.